Donatas Abraitis
9047ce6d9c
tests: Check if enforce-first-as is working with peer-groups
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-12-21 17:08:01 +02:00
Donald Sharp
dc372568ad
tests: Convert to using neighbor X timers connect 1
for exabgp using tests
...
For those tests using exabgp convert them all to use `neighbor X timers
connect 1`. I have noticed that occassionally when looking at the
support files for tests run that peers are in a wait period for
reconnecting which is longer than the test is waiting to converge.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-12-05 14:08:12 -05:00
Donald Sharp
0d7d795c00
tests: bgp_route_server_client should not use /tmp
...
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-12-02 10:59:07 -05:00
Louis Scalbert
5f035edf25
tests: test nexthop-local unchanged with route-server
...
Test nexthop-local unchanged with route-server.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-10-11 14:07:52 +02:00
Louis Scalbert
da7b2d9831
tests: unset r3 enforce-first-as bgp_route_server_client
...
Unset enforce-first-as on r3 of bgp_route_server_client to enable the
reception of routes on this router.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-10-11 14:07:37 +02:00
Louis Scalbert
dd135843ad
tests: rework bgp_route_server_client
...
Rework bgp_route_server_client in a more standard form in order to
facilitate the next commut changes. Cosmetic change.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-10-11 14:07:09 +02:00
Y Bharath
a63bfb7566
tests: supress unused variables at topotests
...
For code maintainability, suppressed unused variables with "_"
Signed-off-by: y-bharath14 <y.bharath@samsung.com>
2024-06-12 13:56:34 +05:30
Donatas Abraitis
086df4bfaa
tests: Drop duplicate pytestmark per file
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-04-27 23:18:15 +03:00
Donatas Abraitis
26d0f530a3
tests: Disable debug log for bgp_vpnv4_asbr.r2
...
For the same reason as we disable debug logs for CI everywhere.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2023-10-27 14:09:02 +03:00
David Lamparter
acddc0ed3c
*: auto-convert to SPDX License IDs
...
Done with a combination of regex'ing and banging my head against a wall.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2023-02-09 14:09:11 +01:00
Donatas Abraitis
a4051cb283
tests: Test if BGP session is up additionally for route_server_client setup
...
Lower connect timer to 5 seconds as well.
```
FAILED test_bgp_route_server_client.py::test_bgp_route_server_client - AssertionError: Cannot see BGP GUA next hop from r3 in r1
```
```
2021-12-02 14:41:21,115 INFO: topolog.r1: vtysh command => "show bgp 2001:db8:f::3/128 json"
2021-12-02 14:41:21,115 DEBUG: topolog.r1: LinuxNamespace(r1): cmd_status("['/bin/bash', '-c', 'vtysh -c "show bgp 2001:db8:f::3/128 json" 2>/dev/null']", kwargs: {'encoding': 'utf-8', 'stdout': -1, 'stderr': -2, 'shell': False, 'stdin': None})
2021-12-02 14:41:21,159 INFO: topolog.r1: vtysh result:
{
}
```
At least can't reproduce a failure locally (before managed to catch it).
Ran >2000 times, no failure.
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2021-12-03 10:03:07 +02:00
Donald Sharp
bdd3a3ccc8
tests: Add aggressive timers to the new route server client test
...
The new bgp_route_server_client test is not setting the
timers for peers to be fast enough to have the ability
to converge in under 60 seconds if a packet is dropped/missed
at startup. Make the test have the ability to converge
under load
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2021-11-23 20:24:08 -05:00
Donatas Abraitis
0d92307ee8
tests: Check if we are sending IPV6 GUA for route-server-client peers
...
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2021-11-15 17:24:20 +02:00