Implement import policy for the default RI of a VN
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
Trunk |
Fix Committed
|
Wishlist
|
Sahil Sabharwal |
Bug Description
It will be useful to have the ability to manipulate the attributes of IP
routes learnt via XMPP. Proposal is to do via import routing-policy(s)
applied on the VN.
ST will take the routing-policy(s) applied on the VN and link them to the
default RI for the VN. The expectation is that the existing code in CN
for processing policies on an RI should work without any modifications.
Note that this code was added to support import policy on the bookend RIs
of a service chain.
The schema already supports linkage between a RI and routing-policy. We
will need to add similar linkage between a VN and routing-policy.
As an example, such policies can be used to add communities to routes
based on matching the subnet prefix. These communities will automatically
get copied from the paths in the RI to the replicated VPN paths that are
advertised to other BGP peers using L3VPN NLRI.
UI changes for the same are tracked by bug 1743038.
Review in progress for https:/ /review. opencontrail. org/36187
Submitter: <email address hidden> (<email address hidden>)