DM: support MPLSoUDP tunnel config on MX
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R5.0 |
Fix Committed
|
High
|
manishkn | |||
Trunk |
Fix Committed
|
High
|
manishkn |
Bug Description
Starting from JUNOS 16.2R1, MX supports MPLSoUDP tunnels. If highest priority encap configured on contrail is MPLSoUDP, and MX junos version supports MPLSoUDP tunnels, then DM should push the below configuration. If the junos on MX does not support MPLSoUDP, then irrespective of the encap priority, MX should be configured for GRE tunnels.
set groups __contrail__ routing-options dynamic-tunnels contrail udp
set groups __contrail__ protocols bgp group contrail export test1-export
set groups __contrail__ policy-options policy-statement test1-export term 1 then community add encap-udp
set groups __contrail__ policy-options policy-statement test1-export term 1 then accept
set groups __contrail__ policy-options community encap-udp members 0x030c:64512:13
Going forward, MX would be able to signal this capability dynamically and so only the 'dynamic-tunnels contrail udp' line would be necessary.
summary: |
- DM: support MPLSoUDP tunnel config on MX if junos is >= 16.1 + DM: support MPLSoUDP tunnel config on MX |
description: | updated |
Review in progress for https:/ /review. opencontrail. org/30769
Submitter: Suresh Balineni (<email address hidden>)