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 ability to specify VLAN ranges #61

Closed
v0tti opened this issue Feb 10, 2022 · 2 comments
Closed

Add ability to specify VLAN ranges #61

v0tti opened this issue Feb 10, 2022 · 2 comments
Assignees

Comments

@v0tti
Copy link

v0tti commented Feb 10, 2022

SUMMARY

I would like to configure VLAN ranges for trunk interfaces. Currently it is only possible to add VLANs in a list, bur this can be quite cumbersome if many (or all) VLANs are needed on an interface.

ISSUE TYPE
  • Feature Idea
COMPONENT NAME
  • sonic_l2_interfaces
  • sonic_mclag
  • sonic_vlans
ADDITIONAL INFORMATION

Instead of:

sonic_l2_interfaces:
  - name: PortChannel1
    trunk:
      allowed_vlans:
        - vlan: 101
        - vlan: 103
        - vlan: 104
        - vlan: 105
        - ...
        - vlan: 200

I would like the option to configure it somehow like this:

sonic_l2_interfaces:
  - name: PortChannel1
    trunk:
      allowed_vlans:
        - vlan_range: 100-200
@kerry-meyer
Copy link
Collaborator

We agree that this functionality would be useful and are adding it to our roadmap for implementation.

@kerry-meyer
Copy link
Collaborator

We have added the ability to configure VLAN ranges for trunk interfaces with the merging of "#149" (playbook support for vlan trunk ranges) to our "main" branch.

This functionality will be included in the upcoming 2.1.0 release of the Dell Ansible Enterprise SONiC resource module collection.

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

2 participants