[EVPN VXLAN]: DM pushing incorrect VNI value for EVPN vni-options
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R4.0 |
Fix Committed
|
Critical
|
Suresh Balineni | |||
Trunk |
Fix Committed
|
Critical
|
Suresh Balineni |
Bug Description
When VxLAN Identifier Mode is configured as User Defined, DM pushing incorrect value for VNI under protocols evpn vni-options. In this case vxlan_id should be used as VNI. Instead vn index is being used.
Diff what need to be pushed:
root@5b11-qfx2# show | compare rollback 1
[edit groups __contrail__ protocols evpn vni-options vni 4] >>>> Instead of VNI 12345 VN Index 4 is used
- vrf-target target:
[edit groups __contrail__ protocols evpn vni-options]
+ vni 12345 {
+ vrf-target target:
+ }
Complete config pushed by DM
-------
root@5b11-qfx2# run show configuration groups __contrail__ | display set
set groups __contrail__ interfaces lo0 unit 0 family inet address 172.16.2.1/32 primary
set groups __contrail__ interfaces lo0 unit 0 family inet address 172.16.2.1/32 preferred
set groups __contrail__ interfaces xe-0/0/46 flexible-
set groups __contrail__ interfaces xe-0/0/46 encapsulation extended-
set groups __contrail__ interfaces xe-0/0/46 unit 6 vlan-id 6
set groups __contrail__ routing-options router-id 172.16.2.1
set groups __contrail__ routing-options route-distingui
set groups __contrail__ routing-options autonomous-system 65000
set groups __contrail__ routing-options resolution rib bgp.rtarget.0 resolution-ribs inet.0
set groups __contrail__ protocols bgp group _contrail_asn-65000 type internal
set groups __contrail__ protocols bgp group _contrail_asn-65000 local-address 172.16.2.1
set groups __contrail__ protocols bgp group _contrail_asn-65000 hold-time 90
set groups __contrail__ protocols bgp group _contrail_asn-65000 family evpn signaling
set groups __contrail__ protocols bgp group _contrail_asn-65000 family route-target
set groups __contrail__ protocols bgp group _contrail_asn-65000 neighbor 172.16.5.10 peer-as 65000
set groups __contrail__ protocols bgp group _contrail_asn-65000 neighbor 172.16.180.101 peer-as 65000
set groups __contrail__ protocols bgp group _contrail_asn-65000 neighbor 172.16.3.1 peer-as 65000
set groups __contrail__ protocols evpn vni-options vni 4********** Wrong value
set groups __contrail__ protocols evpn vni-options vni 12345 vrf-target target:
set groups __contrail__ protocols evpn encapsulation vxlan
set groups __contrail__ protocols evpn multicast-mode ingress-replication
set groups __contrail__ protocols evpn extended-vni-list all
set groups __contrail__ policy-options policy-statement _contrail_
set groups __contrail__ policy-options policy-statement _contrail_
set groups __contrail__ policy-options policy-statement _contrail_
set groups __contrail__ policy-options policy-statement _contrail_
set groups __contrail__ policy-options community _contrail_
set groups __contrail__ policy-options community _contrail_
set groups __contrail__ switch-options vtep-source-
set groups __contrail__ switch-options route-distinguisher 172.16.2.1:1
set groups __contrail__ switch-options vrf-import _contrail_
set groups __contrail__ switch-options vrf-target target:65000:1
set groups __contrail__ switch-options vrf-target auto
set groups __contrail__ vlans contrail_
set groups __contrail__ vlans contrail_
Changed in juniperopenstack: | |
importance: | Undecided → Critical |
assignee: | nobody → Suresh Balineni (sbalineni) |
information type: | Proprietary → Public |
Changed in juniperopenstack: | |
milestone: | none → r4.0.1.0 |
no longer affects: | juniperopenstack/trunk |
description: | updated |
Review in progress for https:/ /review. opencontrail. org/35438
Submitter: Suresh Balineni (<email address hidden>)