1. A computer-implemented method comprising: using a data processor to parameterize a routing policy, wherein the parameterizing includes identifying one or more common blocks of policy statements within the routing policy, at least one policy statement in the common blocks of policy statements being an attribute-operator pairing, wherein the operator is a set operator for setting the attribute to a particular value, the common blocks of policy statements sharing a similar structure, assigning sets of parameters to elements of the one or more common blocks, at least one common block being re-used with a different assigned set of parameters, and enabling a hierarchical arrangement of the one or more common blocks of policy statements within the routing policy; compiling the parameterized routing policy; and applying the parameterized routing policy to a route.