Closed ckishimo closed 6 years ago
I am not sure I understand what bgp.evpn
and default-switch.evpn
are, can you clarify? If I understand this correctly the structure in Junos is: $routing-instance.$family.0
. Which means in your case you should have two instances; bgp
and default-switch
which in turn each one has an evpn
address family.
It's not clear to me either :P and I agree with you about the structure $routing-instance.$family.0
but the prefixes
counters do not add up. I'm closing and we can have a look once the "reunification" is over. Thanks again
This fixes the
address_family
name reported inget_bgp_neighbors()
. After configuringevpn
, there are two tables reportedbgp.evpn.0
anddefault-switch.evpn.0
. With the current code, both families are merged into a single table calledevpn
, but then the results ofaccepted/received/sent_prefixes
are not correct With the current code:With the new code:
This is breaking the mocked data for get_bgp_neighbors.....please let me know what you think. Thanks