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

Added UI option to set tag_ranges #421

Closed
wants to merge 10 commits into from
Closed

Added UI option to set tag_ranges #421

wants to merge 10 commits into from

Conversation

Alopalao
Copy link

@Alopalao Alopalao commented Oct 5, 2023

Closes #411
Based on branch epic/vlan_pool

Summary

Added available_tags and tag_ranges to Interface.as_dict() so it can be retrieve to be displayed in the UI

- Added `Interface.tag_ranges`
- Moved `kytos/*.link_available_tags` to  kytos/core/interface.py
- Added Interface.range_difference()
- Deleted Interface.verify_first_last_tag()
- Changed from verify_first_last_tag to can_set_tag_ranges
- Changed Interface.set_tag_ranges to resize available_tags
- Changed remove_tag_ranges to resize available_tags
- Using bysect for find_index_add and find_index_remove
- Changed event kytos/core.link_available_tags to kytos/core.interface_tags
- Added KytosTagtypeNotSupported exception
- Updated changelog
- Changed `range_intersection` to return an iterator
- Changed `_get_available_vlans_lock` to `defaultdict(Lock)`
- Deleted can_set_tag_ranges() in favor of range_difference()
- Changed named from notify_interface_tags() to _notify_interface_tags()
- Added kytos event notification to make_tags_available() and use_tags()
kytos/core/interface.py Show resolved Hide resolved
@Alopalao Alopalao closed this Oct 6, 2023
@Alopalao Alopalao deleted the epic/vlan_pool_ui branch October 11, 2023 14:09
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

Successfully merging this pull request may close these issues.

Add front end option to configure tag_ranges
2 participants