You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Paste the complete traceback of the exception between quotes below)
Traceback (most recent call last):
File "c:\Users\User\Documents\Python\test2.py", line 10, in <module>
BGP = device.get_bgp_neighbors()
File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\napalm\ios\ios.py", line 1903, in get_bgp_neighbors
assert afi not in existing["address_family"]
AssertionError
The text was updated successfully, but these errors were encountered:
Description of Issue/Question
Note: Please check https://guides.github.com/features/mastering-markdown/
to see how to properly format your request.
Did you follow the steps from https://github.com/napalm-automation/napalm#faq
(Place an
x
between the square brackets where applicable)x
] YesSetup
napalm version
(Paste verbatim output from
pip freeze | grep napalm
between quotes below)Network operating system version
(Paste verbatim output from
show version
- or equivalent - between quotes below)Steps to Reproduce the Issue
get_bgp_neighbors() fails when there are Peers with same IP on different VRFs, works fine if they are unique
Config :
R-2#sh run | s r b
router bgp 200
bgp log-neighbor-changes
neighbor 12.12.12.1 remote-as 100
!
address-family vpnv4
exit-address-family
!
address-family ipv4 vrf VRF-1
neighbor 20.20.20.1 remote-as 100
neighbor 20.20.20.1 timers 10 30
neighbor 20.20.20.1 activate
neighbor 30.30.30.1 remote-as 100
neighbor 30.30.30.1 timers 10 30
neighbor 30.30.30.1 activate
exit-address-family
!
address-family ipv4 vrf VRF-2
neighbor 20.20.20.1 remote-as 100
neighbor 20.20.20.1 timers 10 30
neighbor 20.20.20.1 activate
exit-address-family
R-2#
CLI BGP O/P (shortened):
R-2#sh ip bgp all summ
For address family: IPv4 Unicast
==omitted==
Error Traceback
(Paste the complete traceback of the exception between quotes below)
The text was updated successfully, but these errors were encountered: