Comments (11)
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.
@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.
@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.
@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.
@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.
@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.
@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.
@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.
Yes, exactly.
from napalm-junos.
Good, just wanted to make sure we have the same idea in mind.
from napalm-junos.
cool thanks guys for the confirmation. do let me know when you have these changes incorporated
from napalm-junos.
Related Issues (20)
- `get_bgp_neighbors`: down neighbors return inconsistent output
- get_route_to HOT 1
- Feature request: Support interface units HOT 1
- load config with optional config db locking HOT 11
- get_lldp_neighbors_detail doesn't work with JUNOS EX 14.1X53-D25.2 HOT 8
- get_bgp_neighbors generates keyerror exception on vMX HOT 2
- get_facts error with switch stack HOT 6
- Error with "get_bgp_neighbors" HOT 8
- Error with "get_bgp_neighbors_detail' HOT 1
- warning raise exception: add ignore_warning as optional_arg HOT 3
- Junos cli: raw command cause rpc warning HOT 3
- MergeConfigException: return the command caused error HOT 3
- traceroute: crash with ncclient timed out while waiting for an rpc reply HOT 12
- SRX get_facts() enhancement: clustering HOT 10
- KeyError: u'peer_fwd_rti' on Junos 15 HOT 1
- get_lldp_neighbors_detail() fails on JunOS EX switches HOT 4
- get_probes_config gives traceback HOT 4
- get_bgp_neighbors_detail gives encode type error HOT 1
- get_lldp_neighbors_detailed borked on Junos 15, MX series HOT 2
- get_environment temperature generates an exception against SRX HOT 1
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 napalm-junos.