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

fix None value handling in l2 interfaces #921

Conversation

AAYUSH2091
Copy link
Contributor

@AAYUSH2091 AAYUSH2091 commented Jan 6, 2025

SUMMARY

Fixes handling of "none" value in allowed_vlans configuration for nxos_l2_interfaces module. Currently, when configuring allowed_vlans: none with state: replaced, the module either fails with int conversion error or removes the VLAN configuration entirely, making the port allow all VLANs instead of setting it to none.
fixed #910

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

cisco.nxos.nxos_l2_interfaces

@AAYUSH2091 AAYUSH2091 changed the title None value handling in l2 interfaces fix None value handling in l2 interfaces Jan 6, 2025
@AAYUSH2091 AAYUSH2091 marked this pull request as ready for review January 6, 2025 11:07
@AAYUSH2091 AAYUSH2091 merged commit f361495 into ansible-collections:main Jan 9, 2025
63 of 64 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cisco.nxos.nxos_l2_interfaces module allowed_vlan: none doesn't work
3 participants