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

Extend os10_vlan to fully use range-command #170

Open
Planzo opened this issue May 2, 2024 · 0 comments
Open

Extend os10_vlan to fully use range-command #170

Planzo opened this issue May 2, 2024 · 0 comments

Comments

@Planzo
Copy link

Planzo commented May 2, 2024

SUMMARY

The os10_vlan role supports use of "vlan range <0-xxx>" when assigning multiple VLANs to ports/interfaces using "tagged_members" or "untagged_members".
When simply defining a VLAN (interface vlan 123), which is necessary to be used afterwards, this option is not given, but os10 supports this in the same way by using "vlan range ...".

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

os10_vlan

ADDITIONAL INFORMATION

Simple fix - adjusting jinja template roles/os10_vlan/templates/os10_vlan.j2:
(left current version. right, my idea and tested in my environment)

48c48
< no interface vlan{{ vlan_id[1] }}
---
> no interface range vlan{{ vlan_id[1] }}
50c50
< interface vlan{{ vlan_id[1] }}
---
> interface range vlan{{ vlan_id[1] }}
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