Skip to content

Model doesn't validate that the routed interface MTU must be greater equal that the corresponding subinterfaces #470

@juarocha

Description

@juarocha

Ansible Version

2.16.3

Ansible Collection Versions

Collection         Version  
------------------ ---------
ansible.netcommon  7.1.0    
ansible.posix      2.0.0    
ansible.utils      5.1.2    
cisco.dcnm         3.8.0    
cisco.nac_dc_vxlan 0.4.3-dev
community.general  10.1.0

Cisco NDFC Version

12.2.3

Cisco NX-OS Version

9.3(8)

Which role is this issue related to?

cisco.nac_dc_vxlan.validate

Which section of the data model is this issue related to?

vxlan.topology

Expected Behavior

MTU of the physical interface must be greater equal than the sub-interfaces

Actual Behavior

There is no validation on the corresponding MTU values

Ansible Playbook

---
vxlan:
  topology:
    switches:
    - name: nac-border 
      interfaces:
        - name: ethernet1/2
          mode: routed
          enabled: true
          mtu: 1500
        - name: ethernet1/2.110
          mode: routed_sub
          dot1q_id: 110
          vrf: NaC-VRF01
          ipv4_address: 10.33.0.0/31
          mtu: 9216

Steps to Reproduce

Run the attached playbook

Relevant Debug Output

From the switch:
ERROR: MTU must be greater than all sub interface mtus

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions