You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When speed and duplex settings are removed in nxos_interfaces the order of operations should be to delete duplex first and then speed. Otherwise NXOS gives an error.
router01(config)# interface ethernet 1/9
router01(config-if)# no speed
ERROR: Duplex is not Compatible with Speed
Try to run a config with speed and duplex to auto on an interface that currently is set to 100/full (manual)
- description: some device
duplex: full
enabled: true
mode: layer2
name: Ethernet1/5
speed: '100'
Then after that configure this with duplex and speed removed (default auto)
- description: some device
enabled: true
mode: layer2
name: Ethernet1/5
EXPECTED RESULTS
when casting "speed" and "duplex"
When configuring
Speed
Duplex
When removing (no speed)
Duplex
Speed
ACTUAL RESULTS
Module tries to delete speed first and gets error from device:
ERROR: Duplex is not Compatible with Speed
Possible solution??
in line 380 change the order of operations? I'm not super aware of how this codebase works, but looks like the right area
SUMMARY
When speed and duplex settings are removed in nxos_interfaces the order of operations should be to delete duplex first and then speed. Otherwise NXOS gives an error.
ISSUE TYPE
COMPONENT NAME
cisco.nxos.nxos_interfaces:
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Ansible EE image
STEPS TO REPRODUCE
Try to run a config with speed and duplex to auto on an interface that currently is set to 100/full (manual)
EXPECTED RESULTS
when casting "speed" and "duplex"
When configuring
When removing (no speed)
ACTUAL RESULTS
Module tries to delete speed first and gets error from device:
ERROR: Duplex is not Compatible with Speed
Possible solution??
in line 380 change the order of operations? I'm not super aware of how this codebase works, but looks like the right area
cisco.nxos/plugins/module_utils/network/nxos/config/interfaces/interfaces.py
Line 380 in 19b2473
The text was updated successfully, but these errors were encountered: