[DM]: EVPN: Use vxlan identifier if user configured vxlan mode is enabled
- Use vxlan identifier as evpn vni id if configured else default to network id
- added test support for evpn configuration vni/vrf target id
Ex: generated config if global-vrouter's vxlan mode is 'user conifgured' and vn's vxlan id is 12345
set groups __contrail__ protocols evpn vni-options vni 12345 vrf-target target:65000:8000002
set groups __contrail__ protocols evpn encapsulation vxlan
set groups __contrail__ protocols evpn multicast-mode ingress-replication
Reviewed: https:/ /review. opencontrail. org/35438 github. com/Juniper/ contrail- controller/ commit/ 5db776419369d5e d4ac6e070427701 accaf7be77
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: master
commit 5db776419369d5e d4ac6e070427701 accaf7be77
Author: sbalineni <email address hidden>
Date: Sat Sep 9 13:23:49 2017 -0700
[DM]: EVPN: Use vxlan identifier if user configured vxlan mode is enabled
- Use vxlan identifier as evpn vni id if configured else default to network id
- added test support for evpn configuration vni/vrf target id
Ex: generated config if global-vrouter's vxlan mode is 'user conifgured' and vn's vxlan id is 12345
set groups __contrail__ protocols evpn vni-options vni 12345 vrf-target target: 65000:8000002
set groups __contrail__ protocols evpn encapsulation vxlan
set groups __contrail__ protocols evpn multicast-mode ingress-replication
Change-Id: I4766d5f20a6c39 77e954dce665a08 2156e45c35a
Closes-Bug: #1716094