| Age | Commit message (Collapse) | Author |
|
New compilers are noticing that the tests are compiling with
a pointer for the bgpd_privs variable while the bgp library
that is being linked against is not a pointer. Since
these tests had the declaration just to make the compiler
happy, let's actually align the variable type to make the
compiler even happier.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
```
route-map tstas permit 10
set as-path replace 1
exit
```
Before:
```
donatas-laptop(config-router-af)# do show ip bgp 10.10.10.10/32
BGP routing table entry for 10.10.10.10/32, version 13
Paths: (1 available, best #1, table default)
Advertised to non peer-group peers:
192.168.10.65
65000 1 2 3 123
192.168.10.65 from 192.168.10.65 (10.10.10.11)
Origin IGP, metric 0, valid, external, best (First path received)
Last update: Mon Apr 25 10:39:50 2022
```
After:
```
donatas-laptop(config-router-af)# do show ip bgp 10.10.10.10/32
BGP routing table entry for 10.10.10.10/32, version 15
Paths: (1 available, best #1, table default)
Advertised to non peer-group peers:
192.168.10.65
65000 65010 2 3 123
192.168.10.65 from 192.168.10.65 (10.10.10.11)
Origin IGP, metric 0, valid, external, best (First path received)
Last update: Mon Apr 25 10:40:16 2022
```
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
|
|
tests: Add multicast_pim_dr_nondr_test suite
|
|
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
zebra: Allow system routes to recurse through themselves
|
|
1. Added test cases to test/verify multicast_pim_dr_nondr scenarios
Signed-off-by: kuldeepkash <kashyapk@vmware.com>
|
|
The test is testing whether interface flaps are causing
the appropriate pim reactions. Unfortunately the test
is turning off the multicast stream and the test also
has a keep alive timer of 15 seconds set on all routers.
Which of course means the test has 15 seconds(at most) to finish
testing. This is not always possible given system loads.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
The test_multicast_pim_sm_topo3.py test is both spending extra time
looking for state that will never occurr but also generating a support
bundle when it doesn't find it. Fix the test to come to the correct
solution faster.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Add a test case where a kernel route depends on a kernel route
and when you perturb an interface, ensure that FRR does not
loose the route.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Add a test case to ensure that Kernel routes are not lost
when there are multiple overlapping connected routes.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
pimd: Send immediate join( with possible SG RPT prune bit set
|
|
Speell
|
|
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
tests: skip grpc test if frr not installed
|
|
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
tests: Fix uninitialized usage of variables in tests
|
|
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
a) Remove the retry mechanism to continue looking for 75%
of the time for pim code.
This alone saves a bunch of time in tests that use lib/pim.py
Effectively all the times given for retry are already long
enough. Additionally some tests are gathering data with
the expectation that they will not find data so the entire
time is being taken up in retry's. Extending the retry
mechanism makes this even worse. This is especially bad
for pim in that keep alive timers are counting down and
state can be removed due to excessive time waiting.
b) Reduce verify verify_multicast_traffic from 40 seconds
to 20 seconds to gather traffic data.
A bunch of tests are doing this:
a) gather pre test start traffic data( taking about 70
seconds to run, because a bunch of time it was looking
for data that does not exist yet)
b) run a change to introduce a different traffic flow
c) gather post test traffic data ( taking about 70
seconds to run )
Why does this matter? Tests were iterating through
all the different routers looking for traffic flow
as well as different mroute state. This is against
the keepalive timer of 210 seconds. It does not take
long before the stream can be removed and the test is
still looking for data that is no longer there due
to state timeout.
The multicast_pim_sm_topo3/test_multicast_pim_sm_topo3.py
test reduced run time from 398 seconds to 297 seconds.
Greatly reducing keepalive timeout problems.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Replace existing bgp_peer_hostname() function.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
|
|
it wants yang models installed which will only be there if frr has been
installed before, causing `make check` to fail when run on a system on
which frr has not been installed when GRPC is enabled (--enable-grpc)
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
|
|
ospf6d: stop refreshing type-5 from NSSA
|
|
The routes in the test_nssa_range() are E2
"routes":{
"2001:db8:1000::2/128":{
"destinationType":"Network",
"installedTimeSince":"00:06:29",
"changedTimeSince":"00:06:29",
"numberOfLock":2,
"flags":"BA--",
"associatedArea":"0.0.0.2",
"pathType":"External-2",
"lsOriginRoutePathType":"NSSA",
"lsId":"0.0.0.3",
"lsAdvertisingRouter":"10.254.254.4",
"options":"--|-|-|--|-|--",
"routerBits":"--------",
"prefixOptions":"--|P|--|--|--",
"metricType":2,
"metricCost":10,
"metricCostE2":20,
"pathsCount":1,
"nextHopCount":1,
"nextHops":[
{
"nextHop":"::",
"interfaceName":"r2-eth2"
}
]
}
This PR fixes the key from `metricCost` to `metricCostE2`
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
|
|
Moved the database dump for ospfv3 before ospf route check.
Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
|
|
1. Added 3 test cases to veirfy bgp vrf dynamic route leak functionality
Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
|
|
1. Added 4 test cases to verify bgp vrf dynamic route leak functionlality
Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
|
|
1. Enhance framework to support bgp vrf dynamic route leak automation
Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
|
|
tests: Fix topotests crash when KeyError found
|
|
tests: Adding EVPN-GR scenario to evpn_type5 suite
|
|
1. Handle KeyError
2. logger object is defined in main function and its not not accessible
in other functions so defined it in local functions.
Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
|
|
Improving the test case to show database info as well
to help narrow down whether its a LSA origination problem or
route calculation problem in case of failures.
Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
|
|
tests: adding ospfv3 base cases.
|
|
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
|
|
Covers basic test case like route map, rte calc.
Signed-off-by: nguggarigoud <nguggarigoud@vmware.com>
|
|
Add Support for Setting Protodown Reason Code
|
|
tests: add a topotest for ospf, mutli vrf, and route leaking
|
|
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
|
|
1. Adding EVPN-GR scenario to evpn_type5 suite
Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
|
|
fixes for grpc module
|
|
Signed-off-by: Christian Hopps <chopps@labn.net>
|