Closed KB-perByte closed 1 year ago
l3_interface does not handle management interface attributes
l3_interfaces
should render mgmt interface fasts and enable actions against it
# RP/0/0/CPU0:an-iosxr-02#show running-config interface # interface Loopback888 # description test for ansible # shutdown # ! # interface MgmtEth0/0/CPU0/0 # ipv4 address 10.8.38.70 255.255.255.0 # ! # interface GigabitEthernet0/0/0/0 # description Configured and Merged by Ansible-Network # mtu 66 # ipv4 address 192.0.2.1 255.255.255.0 # ipv4 address 192.0.2.2 255.255.255.0 secondary # ipv6 address 2001:db8:0:3::/64 # duplex half # ! # interface GigabitEthernet0/0/0/1 # description Configured and Merged by Ansible-Network # mtu 66 # speed 100 # duplex full # dot1q native vlan 10 # l2transport # l2protocol cdp forward # l2protocol pvst tunnel # propagate remote-status # ! # ! # interface GigabitEthernet0/0/0/3 # shutdown # ! # interface GigabitEthernet0/0/0/4 # shutdown # dot1q native vlan 40 # ! - name: Gather l3 interfaces facts cisco.iosxr.iosxr_l3_interfaces: config: state: gathered # Task Output # ----------- # # gathered: # - name: Loopback888 # - ipv4: # - address: 192.0.2.1 255.255.255.0 # - address: 192.0.2.2 255.255.255.0 # secondary: true # ipv6: # - address: 2001:db8:0:3::/64 # name: GigabitEthernet0/0/0/0 # - name: GigabitEthernet0/0/0/1 # - name: GigabitEthernet0/0/0/3 # - name: GigabitEthernet0/0/0/4
Fixed this issue
l3_interface does not handle management interface attributes
SUMMARY
ISSUE TYPE
COMPONENT NAME
l3_interfaces
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
should render mgmt interface fasts and enable actions against it
ACTUAL RESULTS