[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/35439 github. com/Juniper/ contrail- controller/ commit/ 086db009aaeccb0 b41e5e2037d7553 e63462fdb7
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R4.0
commit 086db009aaeccb0 b41e5e2037d7553 e63462fdb7
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