Skip to content

ND assigns vlan 2000 to more than one VRFs #676

Description

@skaszlik

DCNM version

ND 3.1, 3.2 and 4.1.

Affected module(s)

dcnm_vrf.py

Ansible Playbook

vxlan:
  overlay:
    vrfs:
      - name: A-AZ2-SILVER-VRF1
        vrf_attach_group: all_leaves
        vrf_id: 500101
      - name: A-AZ2-SILVER-VRF2
        vrf_id: 500102
        vrf_attach_group: all_leaves  

Debug Output

 "A-AZ2-SILVER-VRF2-[9QLBFZDW4G9/A-AZ2-Silver-Leaf1]": "Entered VRF VLAN id 2000 is already in use."

Expected Behavior

ND Should assign unique vlan ID to each vrf

Actual Behavior

ND assigns vlan 2000 to each vrf

Steps to Reproduce

  1. Define two or more VRFs without specifying vlan_id
vxlan:
  overlay:
    vrfs:
      - name: A-AZ2-SILVER-VRF1
        vrf_attach_group: all_leaves
        vrf_id: 500101
      - name: A-AZ2-SILVER-VRF2
        vrf_id: 500102
        vrf_attach_group: all_leaves  
  1. The dcnm_vrf.py module assigns vlan_id: 0
  2. ND assigns vlan 2000 to both the VRFs
  3. ND returns error: "A-AZ2-SILVER-VRF2-[9QLBFZDW4G9/A-AZ2-Silver-Leaf1]": "Entered VRF VLAN id 2000 is already in use."

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions