Peering Manager <-> NetBox Integration #498
Replies: 2 comments 2 replies
-
NetBox and Peering Manager being two different sources of truth, we should as much as possible avoid duplicating data between these for the sake of people using both of these projects. That said, NetBox and PM both help in documenting some aspects of networks. While NetBox holds IP address assignments, devices (and much more), PM can leverage NetBox's data for BGP sessions tracking (BGP requires IP addresses right?). We should gather people ideas about possible use cases and what they'd like to see as interactions between NetBox and PM. The first post of this discussion will be updated with accepted ideas and we will draft a proper feature request once enough ideas collected. We will then explore what are our best options to implement the feature (webhooks config, NetBox plugin, etc). We already have some issues mentioning ideas such as: #255 and #263. |
Beta Was this translation helpful? Give feedback.
-
Here are my 2c: tldr, keep SoT for things in the appropriate places and make weak references. I would suggest using NB as a read-only source for various pieces that PM might want to reference. E.g. use the NB GraphQL API to build the list of potential devices that a session can be associated with. Similarly an IX could be associated to a set of Netbox circuits as well so that a given interface/circuit combination could be linked across the two SoTs so that I could, for example ask: "hey, I need to take down et-0/0/1 on edge1, which BGP peers do I have to drain?" NB of recent has added great support for plugins - if you needed to expose a particular integration surface via a new API path etc, you could very easily build a plugin to do that for you. This would then be a requirement for those wishing to integrate PM with NB. I suspect you'd be fine with the vanilla API as it is today anyway. The sticking point could be around broken references - e.g. you keep the id of a NB device in PM - if that device is deleted on the NB side, you'll need to handle that on the PM side. |
Beta Was this translation helpful? Give feedback.
-
Discussion around Netbox to Peering Manager integration, what we want to achieve and how we want to achieve it.
Beta Was this translation helpful? Give feedback.
All reactions