Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dcnm_vrf vrf_lite auto dot1q allocation doesn't work as expected #210

Open
dsx1123 opened this issue Mar 10, 2023 · 0 comments
Open

dcnm_vrf vrf_lite auto dot1q allocation doesn't work as expected #210

dsx1123 opened this issue Mar 10, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dsx1123
Copy link

dsx1123 commented Mar 10, 2023

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Ansible Version and collection version

ansible [core 2.12.10]
  config file = /root/.ansible.cfg
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /root/virtualenv/ansible/lib/python3.9/site-packages/ansible
  ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
  executable location = /root/virtualenv/ansible/bin/ansible
  python version = 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
  jinja version = 3.1.2
  libyaml = True

DCNM version

  • V 12.1.2e

Affected module(s)

  • dcnm_vrf

Ansible Playbook

# Copy-paste your anisble playbook here 
---
- name: VRF Lite issue
  hosts: ndfc2
  gather_facts: false
  tasks:
    - name: config vrf_lite
      cisco.dcnm.dcnm_vrf:
        fabric: fabric_n9kv
        config:
          - vrf_name: "{{item}}"
            attach:
              - ip_address: 192.168.123.13
                vrf_lite:
                - peer_vrf: "{{item}}"
                  interface: Ethernet1/1
                  ipv4_addr: 10.33.0.1/30
                  neighbor_ipv4: 10.33.0.2
      loop:
        - vrf_red
        - vrf_blue

Debug Output

https://gist.github.com/dsx1123/afacb77fcd7ad257cd95239804549c7a

Expected Behavior

second vrf vrf_blue should use 3 as dot1q tag

Actual Behavior

playbook failed as second vrf is still using tag 2, NDFC reject the API

Steps to Reproduce

References

@mikewiebe mikewiebe added the bug Something isn't working label Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants