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

Add vlans to nios_network #167

Open
BZValoche opened this issue Dec 26, 2022 · 0 comments
Open

Add vlans to nios_network #167

BZValoche opened this issue Dec 26, 2022 · 0 comments

Comments

@BZValoche
Copy link

Add the associated VLAN list when creating a network. For example :

nios_network:
  provider: "{{ipam_provider}}"
  network: "10.0.0.0/27"
  state: present
  vlans:
    - vlan: "{{lookup('nios', 'vlan', filter={'id':123}, provider=ipam_provider)._ref}}"
    - vlan: "{{lookup('nios', 'vlan', filter={'id':456}, provider=ipam_provider)._ref}}"

And handle modifications, and destruction of network (which needs the vlans dissociated from it before removal).

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

No branches or pull requests

1 participant