Closed digitalfiend64 closed 1 year ago
@digitalfiend64 Based on the information you've provided, it seems that you should be using (and reporting this issue) in the cisco.iosxr collection. The modules in this repository are not supported to work on the following devices that you've mentioned:
Cisco NCS-5500 Cisco IOS XR Software, Version 7.2.2
Cisco ASR-9010 IOS XR Software, Version 6.5.3[Default]
Please correct me if I've misunderstood this.
@digitalfiend64 I'm closing this issue as per above. Please feel free to re-open this ticket if required. Thank you.
SUMMARY
Some cisco.nxos.nxos_l2_interfaces parameters do not work on Cisco 55A1 devices. Other parameters work when they shouldn’t on Cisco ASR9010 devices.
Parameters that are not supported on 55A1:
Parameters that shouldn’t work on a non-sub interface but do on ASR9010:
ISSUE TYPE
COMPONENT NAME
Cisco.nxos.nxos_l2_interfaces v4.0.0
ANSIBLE VERSION
Ansible v2.9.27
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Cisco NCS-5500 Cisco IOS XR Software, Version 7.2.2 Cisco ASR-9010 IOS XR Software, Version 6.5.3[Default]
STEPS TO REPRODUCE
Task for NCS-5500
Task for ASR-9010
EXPECTED RESULTS
For the NCS-5500 device I expect l2protocol to not be supported. However, documentation on https://docs.ansible.com/ansible/latest/collections/cisco/iosxr/iosxr_l2_interfaces_module.html#ansible-collections-cisco-iosxr-iosxr-l2-interfaces-module should mention that some parameters vary on the device model. The l2transport and propagate parameters should update the interface with l2transport and propagate configurations.
For the ASR-9010 device the encapsulation parameter works on non-sub interfaces.
ACTUAL RESULTS
For the NCS-5500 device, l2transport and propagate parameters create a module failure while l2protocol fails the task since it is not supported by the device.
For the ASR-9010 device, encapsulation is configured on non-sub interfaces.