Giter Club home page Giter Club logo

Comments (11)

mirceaulinic avatar mirceaulinic commented on August 23, 2024

Thanks for reporting this @narJH27!
Due to a design error, get_bgp_neighbors_detail does not have support for multi-VRF. We are planning to make the necessary adjustments ASAP. This issue will be fixed when applying the changes!
Let's keep this open for the time being, and we'll ask you to confirm once everything is prepared!

from napalm-junos.

dbarrosop avatar dbarrosop commented on August 23, 2024

@narJH27 note that when we fixed the issue, as @mirceaulinic due to a design error, the method response will change. I am sorry for the inconvenience but any code using that method will most likely fail after the change.

from napalm-junos.

narJH27 avatar narJH27 commented on August 23, 2024

@mirceaulinic thanks for replying and letting me know that this indeed is an issue that is being worked on.

@dbarrosop not sure what you mean by "response will change". can you elaborate a bit more on this if possible?

from napalm-junos.

narJH27 avatar narJH27 commented on August 23, 2024

@mirceaulinic & @dbarrosop also i wanted to point out that we are seeing a sudden increase in the number of connections and in turn file descriptors, to junos devices, that are probably being caused due to the design problem you guys alluded to. Is this something that you are aware of as well and will this also be rectified as part of the design changes you guys are working on?

from napalm-junos.

mirceaulinic avatar mirceaulinic commented on August 23, 2024

@narJH27 Can you please provide more details? This does not sound OK & from what I can understand this is not related to the fact that get_bgp_neighbors_detail returns list instead of integer.
The changes we referred to are related to the output structure of get_bgp_neighbors_detail (i.e.: in the root of the main dictionary we'll introduce a new key representing the name of the routing table. Doing so, we'll group all data by VRF, similar to get_bgp_neighbors).

from napalm-junos.

narJH27 avatar narJH27 commented on August 23, 2024

@mirceaulinic will this change in structure be across all the drivers? or just junos? the file descriptor problem might be caused by something else entirely ..... doesn't look to be a napalm issue.

from napalm-junos.

dbarrosop avatar dbarrosop commented on August 23, 2024

@narJH27 The object returned by get_bgp_neighbors_detail will change for all drivers. The change will not be dramatic, most probably the current dictionary will just be nested inside a key representing the address-family as with get_bgp_neighbors. So your existing code using that method should be super easy to adapt.

from napalm-junos.

mirceaulinic avatar mirceaulinic commented on August 23, 2024

@dbarrosop I think you meant "the current dictionary will be nested inside a key representing the VRF, as with get_bgp_neighbors", didn't you?

The keys for the first dictionary will be the vrf (global if no vrf).

from napalm-junos.

dbarrosop avatar dbarrosop commented on August 23, 2024

Yes, exactly.

from napalm-junos.

mirceaulinic avatar mirceaulinic commented on August 23, 2024

Good, just wanted to make sure we have the same idea in mind.

from napalm-junos.

narJH27 avatar narJH27 commented on August 23, 2024

cool thanks guys for the confirmation. do let me know when you have these changes incorporated

from napalm-junos.

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.