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

Fixes: #7336 - VLAN Translation #17745

Open
wants to merge 20 commits into
base: feature
Choose a base branch
from

Conversation

bctiemann
Copy link
Contributor

Fixes: #7336

Adds VLANTranslationPolicy and VLANTranslationRule models and all associated UI visualization classes. Provides the ability to associate a VLAN translation policy and all its associated translation rules with a given interface, e.g.

Interface 1:
  Policy 1:
  - 100 -> 200
  - 101 -> 201
  - 102 -> 202

This VLAN translation mapping is then reflected in the Interface's detail page, both in the Addressing section and in an inline table below "VLANs".

Screenshot 2024-10-08 at 2 06 45 PM

@jeremystretch jeremystretch added this to the v4.2 milestone Oct 11, 2024
Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also add

  • Documentation under docs/models/ipam/ for the new models
  • SearchIndexes for the new models
  • View, filterset, and API tests

netbox/ipam/models/vlans.py Outdated Show resolved Hide resolved
netbox/ipam/models/vlans.py Outdated Show resolved Hide resolved
netbox/ipam/models/vlans.py Outdated Show resolved Hide resolved
netbox/ipam/models/vlans.py Show resolved Hide resolved
netbox/ipam/views.py Outdated Show resolved Hide resolved
netbox/dcim/filtersets.py Outdated Show resolved Hide resolved
netbox/dcim/forms/model_forms.py Show resolved Hide resolved
netbox/dcim/views.py Show resolved Hide resolved
netbox/templates/dcim/interface.html Show resolved Hide resolved
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.

2 participants