Comments (6)
I'd imagine something like this:
Remote Address and iBGP IP Address would be stored in the same DB field, iBGP device would be a new field.
@k01ek what do you think about this approach?
In Addition, this would mean that the list of BGP Sessions of a device would be generated by filtering on the device and ibgp_device fields, so the same session will be shown on the two different devices
Currently I am unsure about uniqueness of the BGPSession objects, what fields to include
from netbox-bgp.
I am not sure editing the UI for add/updating sessions would be needed since the difference between eBGP and iBGP is the remote & local ASNs. You do not go into a config of a device and declare it as iBGP or eBGP.
I feel like its just the way you display the info in tables after the fact, and not the way in which you enter the info.
from netbox-bgp.
I agree with the approach to leave the BGP sessions as they are right now. If the local and remote ASN is the same that's the easy way to determine it's an iBGP session.
from netbox-bgp.
Hi @liquid-metal and thanks for your work! We need to discuss an approach for iBGP session representation.
In my opinion, the BGP session should be considered from a device point of view. So for iBGP should be created two sessions for both devices, because, you know, local address and remote address are different for each device. Another question is how to display iBGP sessions. Maybe they should be grouped in tables, or displayed only one of them (both sessions contain a link to another end). Also, a remote device field is needed for the iBGP session in a table. Anyway, I like your form for eBGP/iBGP session and I will try it soon.
from netbox-bgp.
Just weighing in on this because i too am looking for a good way to model iBGP session, i'm using all of netbox including the bgp plugin as a source-of-truth so i want to use the bgp session model as a data source for templating actual config.
I'm currently running into this discussion from a automating p.o.v.
Wouldn't it be a easy fix and implementation to make a "Device A (local)" and "Device B (remote)" field that is device.object linked just as the current "Device" field is.
I.m.o this would literally be a copy and renaming of the existing "Device" field.
This small addition would provide, from an automation standpoint a easy way to lookup the local and remote device and flip the data in bgp local/remote address in the config templating per device based on 1 bgp session query
Now i have to check the local and remote ip, get that ip object, check which device the ip is living on and based on that information define on which device i need to use the local or remote address as a neighbor ip.
from netbox-bgp.
Another iBGP topic is cluster id's for route reflectors, we really should have that defined somewhere and it is normally tied to the BGP group.
from netbox-bgp.
Related Issues (20)
- Add/Edit BGP Session: don't see Peer group names HOT 5
- Add support for BGP passwords HOT 2
- Getting VDC Contexts page error HOT 1
- Comments field in BGP objects HOT 1
- BGP routing-policy object, Custom Match value is represented as list instead of string. HOT 3
- Version 0.11.1 crashes with error in NetBox v3.5.x HOT 2
- BGP version 11 is not compatible with Netbox version 3.7 HOT 2
- 502 Bad Gateway in Netbox 3.7.0. HOT 5
- Import data from CSV
- Connect prefix lists directly to sessions HOT 5
- Add remote device for BGP Sessions HOT 5
- ERROR: relation "netbox_bgp_community" already exists HOT 10
- Expose BGP Sessions in Device data model HOT 3
- API does not export Peer-Group Custom Fields HOT 1
- Implement MP-BGP
- Server error on first install HOT 1
- Filter IP Family prefix lists on Routing-policy rules
- Add key to ChoiceSets to allow user override of choices HOT 2
- Add Netbox 4.0 support
- Link from Tenant's -> BGP Sessions works incorrect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netbox-bgp.