| Age | Commit message (Collapse) | Author |
|
Signed-off-by: Madhuri Kuruganti <maduri111@gmail.com>
|
|
routes
Signed-off-by: Madhuri Kuruganti <maduri111@gmail.com>
|
|
bgpd: improve labelpool performance at scale
|
|
opensourcerouting/fix/aggregate-address-matching-MED
bgpd: Fix aggregate-address summary-only matching-MED-only
|
|
Do not fail at the first shot.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
|
|
topotests: ignore env for pytest --collect-only
|
|
Before it worked only when configured initially via CLI. Later, when we
receive a new route, that should match a decent MED, we just skip it, because
MED mismatch is not recalculated.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
|
|
`--collect-only` does not run any tests, so bypass env checks for it.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
|
|
When redistributing connected addresses, the address family has
to be figured out. The calculation was not done, the next-hop
address length was not set, and as consequence, the nexthop
is displayed like if it was an ipv6 address, which is wrong for
ipv4 addresses.
Calculate the family for connected addresses.
Change the topotests accordingly.
Fixes: ("7226bc40d606") bgpd: ignore NEXT_HOP for MP_REACH_NLRI
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
|
|
add bgp_vpnv4_ebgp using the 'mpls bgp forwarding' interface
command.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
|
|
This test ensures that MPLS VPN routes can be installed into a
gre interface with route-map l3vpn next-hop encapsulation command
set. On the other hand, if this command is not set, incoming bgp
routes are not considered as valid.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
|
|
- double the size of each new chunk request from zebra
- use bitfields to track label allocations in a chunk
- When allocating:
- skip chunks with no free labels
- search biggest chunks first
- start search in chunk where last search ended
- Improve API documentation in comments (bgp_lp_get() and callback)
- Tweak formatting of "show bgp labelpool chunks"
- Add test features (compiled conditionally on BGP_LABELPOOL_ENABLE_TESTS)
Signed-off-by: G. Paul Ziemba <paulz@labn.net>
|
|
bgpd: Add `neighbor soo` command
|
|
tests: adding bgp admin distance topotests.
|
|
This has bgp admin topotest automation suit.
Signed-off-by: nguggarigoud <nguggarigoud@vmware.com>
|
|
This reverts commit b08784281471bebb8b8dd4a97e558ae7cc078954.
|
|
bgpd: Fix community-list handling
|
|
tests: Log as error if some of the daemons are missing
|
|
Signed-off-by: ARShreenidhi <rshreenidhi@vmware.com>
|
|
Also print runtime directory for topotests if the error occurs.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
|
|
Whn using as-override, we should be able to deny outgoing updates from
being propogated when `neighbor soo` is configured.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
|
|
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
|
|
Time to deprecate it.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
|
|
bgpd: Handle ORF remove-all events correctly and update ORF prefix-list on changes
|
|
To prove that this works. Modify a test that uses mpls to
turn on mpls for the interfaces that need mpls via the
new mpls command.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
|
|
some test fixes and a coverity fix
|
|
bgpd: Override ASN without checking if an entire as-path is from a single ASN
|
|
This test is sometimes failing when it looks at the
v6 routes in the fib. Since the step before is
ensuring that v3 ospf has just converged let's
give it a bit of time to find and see if things
have had a chance to install the routes too.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
This test directory takes almost 7 minutes to complete splitting
this up into 3 test files drops it down to just over 3 minutes.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Updated topology for static rp suite as per testcase.
Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
|
|
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
|
|
|
|
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Bgp no retain
|
|
Adding supporting multicast PIMv6 static rp test
suite.
Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
|
|
Enhanced few exsiting PIM APIs to support both
IPv4 and IPv6 configuration. Added few new APIs
for PIMv6. Tested all existing tests with new
API changes.
Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
|
|
Signed-off-by: Nathan Mangar <nathan@thundergear.io>
|
|
bfdd: allow l3vrf bfd sessions without udp leaking
|
|
This tests checks that there are no errors when receiving BFD
packets over the various linux vrf interfaces. For example, if
an incoming packet is received by the wrong socket, a VRF
mismatch error would occur, and BFD flapping would be observed.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
|
|
tests: bgp default orignate behaviour on network commands
|
|
I rarely get this failure:
@classname: bgp_snmp_mplsl3vpn.test_bgp_snmp_mplsvpn
@name: test_pe1_converge_evpn
@time: 44.875
@message: AssertionError: BGP SNMP does not seem to be running
assert False
+ where False = <bound method SnmpTester.test_oid of <lib.snmptest.SnmpTester object at 0x7fa8562eb4f0>>('bgpVersion', '10')
+ where <bound method SnmpTester.test_oid of <lib.snmptest.SnmpTester object at 0x7fa8562eb4f0>> = <lib.snmptest.SnmpTester object at 0x7fa8562eb4f0>.test_oid
"Wait for protocol convergence"
tgen = get_topogen()
r1 = tgen.gears["r1"]
r1_snmp = SnmpTester(r1, "10.1.1.1", "public", "2c")
assertmsg = "BGP SNMP does not seem to be running"
> assert r1_snmp.test_oid("bgpVersion", "10"), assertmsg
E AssertionError: BGP SNMP does not seem to be running
E assert False
E + where False = <bound method SnmpTester.test_oid of <lib.snmptest.SnmpTester object at 0x7fa8562eb4f0>>('bgpVersion', '10')
E + where <bound method SnmpTester.test_oid of <lib.snmptest.SnmpTester object at 0x7fa8562eb4f0>> = <lib.snmptest.SnmpTester object at 0x7fa8562eb4f0>.test_oid
Under heavy system load a quick test before BGP can fully come up can result in a failed
test. Add some extra time for snmp to come up properly.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
test script covers
1. Default originate behaviour using 'network <x.x.x.x>' command
2. Default originate behaviour using aggregate summary command
Signed-off-by: ARShreenidhi <rshreenidhi@vmware.com>
|
|
This test checks that when retain functionality is disabled,
some prefixes are removed from the BGP ipv4 vpn RIB.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
|
|
Improve valgrind
|
|
tests: Fix multicast_pim_bsm_topo2 static route issue
|
|
Signed-off-by: Christian Hopps <chopps@labn.net>
|
|
- ignore parent from daemonize valgrind files these allocations will be
checked in the child.
- check for memleaks at end of module/file not just after tests.
Signed-off-by: Christian Hopps <chopps@labn.net>
|
|
Signed-off-by: Nathan Mangar <nathan@thundergear.io>
topotests: Remove static route
Signed-off-by: Nathan Mangar <nathan@thundergear.io>
|
|
|