netbox-routing icon indicating copy to clipboard operation
netbox-routing copied to clipboard

Display device name in OSPF Interface table and OSPF Areas assigned in OSPF Instance view

Open LuPo opened this issue 1 year ago • 1 comments

Plugin version

v0.2.3

NetBox version

v4.1.7

Feature type

Data model extension

Proposed functionality

  • display Areas assigned to an instance. The areas visible in the card are naturally sorted by area_id (even if one happen to mix numeric with IP based area_id notation in one instance). OSPF_instance_mix

  • display device name in the interfaces table OSPF_Interfaces

Use case

It greatly enhances visibility into OSPF configuration of every instance. Instead, device name is useful in interface table, especially when looking for interfaces belonging to a particular area.

Database changes

No database changes required. It is enough to implement get_areas() method in OSPFInstance class.

External dependencies

No additional dependency needed. Already available ipaddress module can be used to sort the areas.

LuPo avatar Nov 28 '24 17:11 LuPo

I can fix it once this gets approved https://github.com/DanSheps/netbox-routing/pull/75

Currently the Area is not instance related so there are no relationships between areas an instances This pull request relates the area to an instance - and the instance to a vrf

baldoarturo avatar May 12 '25 14:05 baldoarturo