GithubHelp home page GithubHelp logo

Comments (6)

liquid-metal avatar liquid-metal commented on July 27, 2024 1

I'd imagine something like this:
2021-05-18_12 01 34_screenshot
2021-05-18_12 01 40_screenshot

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.

ryanmerolle avatar ryanmerolle commented on July 27, 2024 1

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.

mkurjanski avatar mkurjanski commented on July 27, 2024 1

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.

k01ek avatar k01ek commented on July 27, 2024

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.

balpoint avatar balpoint commented on July 27, 2024

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.

carbinefreak avatar carbinefreak commented on July 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.