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

Cross-reference BGP ASN and Devices #17667

Open
dmulyalin opened this issue Oct 3, 2024 · 2 comments
Open

Cross-reference BGP ASN and Devices #17667

dmulyalin opened this issue Oct 3, 2024 · 2 comments
Labels
status: revisions needed This issue requires additional information to be actionable type: feature Introduction of new functionality to the application

Comments

@dmulyalin
Copy link

NetBox version

v4.1.3

Feature type

Data model extension

Proposed functionality

BGP ASN rarely exist on its own and in most of the cases assigned to or used by devices, Netbox as of now does not have capability to capture what devices use what ASNs without relying on custom fields, adding multiref field to device to link ASNs it is using can help to improve Netbox ASN documentation capabilities.

Use case

Devices use ASN but currently Netbox does not have built in way to establish relationship between BGP ASN and devices apart from using custom fields, this use case is to introduce such a relationship and help network operators document what ASNs used by what devices.

Database changes

Device model need to be extended with asns many-to-many field with relevant UI additions.

External dependencies

None

@dmulyalin dmulyalin added status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application labels Oct 3, 2024
@jeremystretch
Copy link
Member

What specifically are you proposing? Assigning an ASN directly to a device would not suffice for moderately complex routing policies which advertise different AS numbers to different peers. IMO this falls entirely within the scope of BGP routing policy.

@jeremystretch jeremystretch added status: revisions needed This issue requires additional information to be actionable and removed status: needs triage This issue is awaiting triage by a maintainer labels Oct 3, 2024
@dmulyalin
Copy link
Author

I am proposing to link devices with ASNs similar to how we link device interfaces with VLANs, since ASNs used by devices and it is important to capture what devices use what ASN for various use cases - configuration rendering, network audit, troubleshooting to name a few.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: revisions needed This issue requires additional information to be actionable type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

2 participants