feat: review missing prefixes, VRFs and VLANs; enforce tenants
- Review dialog gains "Networks" and "VLANs" tabs: VRF per network (global, tenant VRF or new VRF), missing prefixes and VLANs are only created when ticked; existing tenant VLANs are assigned to ports (802.1Q mode, untagged/tagged) - Read VLAN names from the configuration (Comware now reads the full current-configuration) - Switch IP addresses follow the chosen VRF instead of always global - Tenant required: switches without tenant are refused; IPs, prefixes, VRFs, VLANs and cables get the switch's tenant; client import requires a tenant and client IP addresses now get it too - Fix clipped combo boxes in the review dialog tables Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
7b5dd4bc9b
commit
83787142d3
8 files changed
+386
-25
No files matched your search
@@ -74,7 +74,7 @@ class FakeNetBox:
|
||||
mac_addresses=Endpoint(), platforms=Endpoint(),
|
||||
manufacturers=Endpoint(), device_types=Endpoint(), device_roles=Endpoint(),
|
||||
sites=Endpoint())
|
||||
self.ipam = SimpleNamespace(ip_addresses=Endpoint(), prefixes=Endpoint(), vrfs=Endpoint())
|
||||
self.ipam = SimpleNamespace(ip_addresses=Endpoint(), prefixes=Endpoint(), vrfs=Endpoint(), vlans=Endpoint())
|
||||
self.virtualization = SimpleNamespace(clusters=Endpoint(), cluster_types=Endpoint(), virtual_machines=Endpoint(),
|
||||
interfaces=Endpoint())
|
||||
self.tenancy = SimpleNamespace(tenants=Endpoint())
|
||||
Reference in new issue
Block a user