Skip to content

Optimize VLAN Adapter #350

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

Merged
merged 18 commits into from
Apr 8, 2025
Merged

Optimize VLAN Adapter #350

merged 18 commits into from
Apr 8, 2025

Conversation

Dav-C
Copy link
Contributor

@Dav-C Dav-C commented Mar 28, 2025

Closes: #278

What's Changed

  • When loading VLANs from Nautobot into the diffsync store, only VLANs with a location matching the location of at least 1 device selected to sync, are loaded.

    • Known limitations:
      • This change does not add support for VLANs with multiple locations assigned.
  • VLANs are identified by a combination of ID and Location and will not be created unless a single unique location can be found using the name of the location assigned to the synced device. It has always been the case that VLAN assignments to interfaces required a VLAN with an ID and single location assigned, but this has been properly reflected in the VLAN model create method to prevent creation of VLANs without a location (and therefore never assigned to an interface).

To Do

  • Explanation of Change(s)
  • Added change log fragment(s) (for more information see the documentation)
  • Attached Screenshots, Payload Example
  • Unit, Integration Tests
  • Documentation Updates (when adding/changing features)
  • Outline Remaining Work, Constraints from Design

@Dav-C Dav-C changed the title Optimize Vlan Adapter, Add option to load fixture data for development and testing Optimize VLAN Adapter Apr 4, 2025
@scetron scetron merged commit 8ce28db into develop Apr 8, 2025
15 checks passed
@scetron scetron deleted the dcates-optimize-vlan-adapter branch April 8, 2025 13:24
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.

Load only VLANs specific to the scope of the onboarding device
6 participants