-
-
Notifications
You must be signed in to change notification settings - Fork 24
Add OSPF interfaces to session #89
Copy link
Copy link
Open
Labels
status: help wantedExtra attention is neededExtra attention is neededtype: enhancementEnhancement/Improvement to existing UIEnhancement/Improvement to existing UI
Description
Metadata
Metadata
Assignees
Labels
status: help wantedExtra attention is neededExtra attention is neededtype: enhancementEnhancement/Improvement to existing UIEnhancement/Improvement to existing UI
Plugin version
v0.3.1
NetBox version
v4.3.4
Feature type
Change to existing functionality
Proposed functionality
Currently, a single OSPF interface can be modeled. I propose changing this to sessions between two devices, just like NetBox cables have two terminations.
Use case
Modeling two separate interfaces can lead to inconsistencies between endpoints, such as when the area, passphrase, or other parameters are changed for only one of the two interfaces. Additionally, if a device is removed from NetBox, the missing relationship to the other side doesn’t automatically tear down the OSPF adjacency. Introducing a proper relationship between both sides ensures consistency and automatically maintains clean data.
Database changes
I propose implementing these changes:
OSPFInterfacemodel toOSPFSessioninterfacefield toa_interfaceinstancefield toa_instanceb_interfaceandb_instance(being optional for the moment to not break current data)External dependencies
None
Mockup