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

[BUG] passing None to --vlan on --mod-cloud not working #388

Closed
grafuls opened this issue Aug 23, 2021 · 1 comment
Closed

[BUG] passing None to --vlan on --mod-cloud not working #388

grafuls opened this issue Aug 23, 2021 · 1 comment

Comments

@grafuls
Copy link
Contributor

grafuls commented Aug 23, 2021

  • QUADS version (rpm -qa | grep quads and/or quads-cli --version):quads-1.1.5-20210511.noarch
  • Python version:Python 3.7.4
  • Operating System:Fedora release 29

Describe the bug
When trying to clear a vlan from an existing cloud and as per the documentation, passing None to --vlan argument fails in the parsing of the string into an integer.

To Reproduce
Steps to reproduce the behavior:

  1. define a cloud with a vlan_id
  2. run mod-cloud against that cloud and pass --vlan None
  3. See the stack trace for the exeption

Expected behavior
The vlan should be cleared from the cloud and no error msg should be displayed.

@grafuls
Copy link
Contributor Author

grafuls commented Aug 26, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant