Louis Scalbert
44c6f579c3
tests: rework bgp_bmp
...
The BGP BMP topotest is difficult to debug. It does not say which prefix
is not received by BGP or BMP when it fails.
Rework the test to convert the actual BMP logs to JSON and compare the
BGP table and BMP server logs output to expected reference JSON files.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-10-25 14:16:55 +02:00
Louis Scalbert
a7fc9a27f0
tests: augment bgp bmp test wait time
...
Augment bgp bmp test wait time
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-10-25 10:00:56 +02:00
Loïc Sang
3c2949e1ba
topotests: supress bgp_vpnv4/6_per_nexthop_label warning
...
WARNING: topo: Waiting time is too small
(count=10, wait=0.5), using default values (count=20, wait=3)
Supress warning by inscreasing wait time.
Signed-off-by: Loïc Sang <loic.sang@6wind.com>
2024-10-25 09:31:12 +02:00
Loïc Sang
6975228d66
bgpd: fix prefix same as nexthop in label per nexthop
...
When a prefix is imported using the "network" command under a vrf, which
is a connected prefix, and in the context of label allocation per
nexthop:
..
>router bgp 1 vrf vrf1
> address-family ipv4 unicast
> redistribute static
> network 172.16.0.1/32 <--- connected network
> network 192.168.106.0/29
> label vpn export auto
> label vpn export allocation-mode per-nexthop
..
We encounter an MPLS entry where the nexthop is the prefix itself:
> 18 BGP 172.16.0.1 -
Actually, when using the "network" command, a bnc context is used, but
it is filled by using the prefix itself instead of the nexthop for other
BGP updates. Consequently, when picking up the original nexthop for
label allocation, the function behaves incorrectly. Instead ensure that
the nexthop type of bnc->nexthop is not a nexthop_ifindex; otherwise
fallback to the per vrf label.
Update topotests.
Signed-off-by: Loïc Sang <loic.sang@6wind.com>
2024-10-25 09:30:32 +02:00
Donatas Abraitis
3f446ecb6b
Merge pull request #17199 from enkechen-panw/aigp-fix5
...
bgpd: compare aigp after local route check in bgp_path_info_cmp()
2024-10-25 09:59:29 +03:00
Donatas Abraitis
2606f84b31
Merge pull request #17207 from louis-6wind/bmpserver-log
...
tests: add bmpserver logging
2024-10-25 09:58:57 +03:00
Donald Sharp
274c98628f
Merge pull request #17155 from opensourcerouting/memstats-zlog
...
lib: `debug memstats-at-exit` improvements
2024-10-24 21:07:09 -04:00
Enke Chen
1a2c3d684a
tests: add a new BGP AIGP topotest
...
The topotest verifies that a local route is favored irrespective
of its AIGP value.
Signed-off-by: Enke Chen <enchen@paloaltonetworks.com>
2024-10-24 10:42:41 -07:00
Louis Scalbert
c8ed08b22f
tests: add bmpserver logging
...
Add bmpserver logging
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-10-24 16:37:23 +02:00
Louis Scalbert
ad6c107f91
tests: bmpserver, detect session close immediately
...
bmpserver infinitely loops after the clients has closed the TCP session.
In this situation, recv() returns empty data.
Detect session close immediately.
Fixes: 875511c466
("topotests: add basic bmp collector")
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-10-24 16:37:23 +02:00
Louis Scalbert
6bb0c91d10
tests: apply black to bmpserver
...
Apply black to bmpserver
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-10-24 16:37:23 +02:00
baozhen-H3C
66ef3576af
isisd: The command "'show isis vrf all summary json" has no output.
...
When input 'show isis vrf all summary', output is as follow:
sonic# show isis vrf all summary
vrf : default
Process Id : 55
System Id : 0000.0000.0006
Symbolic name : RouterA
Up time : 4d01h52m ago
Number of areas : 1
Area 10:
Net: 10.0000.0000.0006.00
IS_name: RouterA
TX counters per PDU type:
L1 IIH: 365003
L1 LSP: 20468
L1 PSNP: 8
LSP RXMT: 0
RX counters per PDU type:
L1 IIH: 361577
L2 IIH: 434
L1 LSP: 10492
L1 CSNP: 114260
Level-1:
LSP0 regenerated: 4840
LSPs purged: 0
SPF:
minimum interval : 1
IPv4 route computation:
last run elapsed : 00:01:02 ago
last run duration : 327 usec
run count : 12053
However, json display is null.
After the commit:
sonic# show isis vrf all summary json
{
"vrfs":[
{
"vrf":"default",
"process-id":56,
"system-id":"0000.0000.0007",
"up-time":"20:40:33",
"number-areas":1,
"areas":[
{
"area":"10",
"net":"10.0000.0000.0007.00",
"tx-pdu-type":{
"l1-iih":52234,
"l1-lsp":1053,
"l1-csnp":8269,
"l1-psnp":1,
"lsp-rxmt":0
},
"rx-pdu-type":{
"l1-iih":52245,
"l2-iih":26116,
"l1-lsp":1388,
"l1-csnp":8269
},
"levels":[
{
"id":1,
"lsp0-regenerated":89,
"lsp-purged":0,
"spf":"no pending",
"minimum-interval":1,
"last-run-elapsed":"00:00:05",
"last-run-duration-usec":192,
"last-run-count":1454
}
]
}
]
}
]
}
Signed-off-by: baozhen-H3C <bao.zhen@h3c.com>
2024-10-23 13:27:45 +08:00
Russ White
df0dd1b39e
Merge pull request #17165 from opensourcerouting/fix/bgp_community_no_export_oad
...
bgpd: Do not filter no-export community for BGP OAD
2024-10-22 11:05:38 -04:00
David Lamparter
84fd92c80e
tests: remove strncpy()
use
...
`checkpatch` has sufficiently annoyed me to fix this.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2024-10-22 14:51:25 +02:00
Donatas Abraitis
524627216a
tests: Check if non-transitive link-bandwidth communities are sent/received correctly
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-10-22 09:01:04 +03:00
Enke Chen
7e7f65cc00
tests: add a topotest bgp_aigp_rr
...
In this topotest, the route reflector advertises a route with the
aigp attribute to its client, some with the nexthop unchanged and
some with the nexthp changed. Different aigp values are sent to
the clients depending on the nexthop setting.
Signed-off-by: Enke Chen <enchen@paloaltonetworks.com>
2024-10-21 17:49:19 -07:00
Donatas Abraitis
7eaec540ec
tests: Check if BGP no-export community is passed to BGP OAD peers
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-10-18 22:51:37 +03:00
Liam Brady
1b38f33041
tests: logger masked in topotest.py
...
a local logger masks the global logger and prevents errors from being
gracefully handled within topotest.py
Signed-off-by: Liam Brady <lbrady@labn.net>
2024-10-17 13:36:39 -04:00
David Lamparter
b3e4007197
lib: refactor memstats logging, fix ACTIVEATEXIT
...
Move the various destinations handling into lib/memory.c, include
"normal" logging as target, and make `ACTIVEATEXIT` properly non-error
as it was intended to be.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2024-10-17 13:58:57 +02:00
Enke Chen
51612593f7
tests: add a new topotest to bgp_aigp
...
Add a new topotest for getting the aigp from the "igp-metric"
for a redistributed route (ospf route in the test).
Signed-off-by: Enke Chen <enchen@paloaltonetworks.com>
2024-10-16 11:19:28 -07:00
Russ White
75e34c032b
Merge pull request #16452 from louis-6wind/fix-ipv4-mapped-ipv6-display
...
lib, test: fix display ipv4 mapped ipv6 addresses
2024-10-16 13:01:52 -04:00
Russ White
80dc863d92
Merge pull request #16946 from opensourcerouting/fix/match_src-peer
...
bgpd: Implement match src-peer ... command
2024-10-16 07:51:20 -04:00
Louis Scalbert
3c430cd4e0
tests: update fuzz after ipv4 mapped ipv6 print change
...
Update IS-IS fuzz test to match corrected output after change in the
display of IPv4 mapped IPv6 address.
The update was performed using wuschl [1] like this:
$ wuschl rebuild tests/isisd/test_fuzz_isis_tlv
$ gzip -9 tests/isisd/test_fuzz_isis_tlv_tests.h
[1] https://pypi.org/project/wuschl/
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-10-16 13:45:54 +02:00
Louis Scalbert
84ab0213fc
lib, test: fix display ipv4 mapped ipv6 addresses
...
Display ipv4 mapped ipv6 addresses in the format ::ffff:A.B.C.D.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-10-16 13:45:46 +02:00
Jafar Al-Gharaibeh
df482a0f79
Merge pull request #17107 from donaldsharp/actuallY_call_the_command
...
tests: iproute2_check_path_selection call the actual command
2024-10-15 21:24:33 -05:00
Russ White
de02471a8d
Merge pull request #17038 from opensourcerouting/feature/bgp_set_metric_internal
...
bgpd: Derive and set MED from IGP or AIGP
2024-10-15 17:58:05 -04:00
Russ White
5b5756911c
Merge pull request #17073 from louis-6wind/fix-ipv6-ll-nexthop-reflector
...
bgpd, tests: don't send local nexthop from rr client
2024-10-15 14:18:49 -04:00
Donatas Abraitis
a593f156d7
tests: Check if underlay IGP metric is reflected into BGP after cost changes
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-10-15 17:42:53 +03:00
Donatas Abraitis
7cdece8c84
doc: Add set metric aigp
command
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-10-15 17:42:52 +03:00
Donatas Abraitis
3105ceaee9
tests: Check if set metric aigp
works
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-10-15 17:42:52 +03:00
Donatas Abraitis
8d39cfd613
tests: Check if MED can be derived from set metric igp|aigp
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-10-15 17:42:51 +03:00
Donatas Abraitis
ecb7b78d30
Merge pull request #17093 from enkechen-panw/aigp-fix2
...
bgpd: fix route selection with AIGP
2024-10-15 17:23:04 +03:00
Donald Sharp
c8a947e12b
tests: iproute2_check_path_selection call the actual command
...
For some reason this was missing.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-10-15 09:51:08 -04:00
Donatas Abraitis
5c194b3639
Merge pull request #17001 from louis-6wind/bmp-new
...
bgpd: bmp loc-rib peer up/down for vrfs
2024-10-15 09:09:42 +03:00
Enke Chen
1ee7e63a6c
tests: fix and adjust topotest/bgp_aigp
...
Fix and adjust the topotest post the fix for route selection with
AIGP.
When there are multiple IGP domains (OSPF in this case), the nexthop
for a BGP route with the AIGP attribute must be resolved in its own
IGP domain.
The changes in r2/bgpd.conf and r3/bgpd.conf are needed as incorrect
IGP metrics are received from NHT for the recursive nexthops. Once
the issue is resolved, the changes can be reverted.
Signed-off-by: Enke Chen <enchen@paloaltonetworks.com>
2024-10-14 18:54:07 -07:00
Louis Scalbert
2ac4c3e58d
tests: fix bgp_as_override number of routers
...
There is only 4 routers not 6.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-10-14 14:39:00 +02:00
Louis Scalbert
c4a8263628
bgpd, tests: don't send local nexthop from rr client
...
AS 65000 | AS 65001
|
RR |
| |
R1 --- | --- R2
|
When r1 peer is an iBGP route reflector client of rr and r2 peer is a
eBGP neighbor of rr, and all three routers shares the same network, r2
receives announcements coming from r1 with a IPv6 link-local nexthop
from rr. This is incorrect as r2 should send traffic to r1 without
involving rr.
Do not send an IPv6 link-local nexthop if the originating peer is a
route-reflector client.
Link: https://github.com/FRRouting/frr/pull/16219#issuecomment-2397425505
Link: https://github.com/FRRouting/frr/pull/17037#discussion_r1792529683
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-10-14 10:06:35 +02:00
Louis Scalbert
7bccb8d380
topotest: add bgp_bmp_vrf topotest
...
Add test to check BMP in VRF.
Note that the following configuration works with interface r1-eth0
towards 192.0.2.10 (BMP collector) in the default VRF but not in vrf1.
> router bgp 65501 vrf vrf1
> bmp targets bmp1
> bmp connect 192.0.2.10 port 1789 min-retry 100 max-retry 10000
Also, for some reasons, the test works even without "bgpd: bmp loc-rib
peer up/down for vrfs" commit.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-10-11 15:14:57 +02:00
Louis Scalbert
0430d6f70b
topotests: check for bmp peer up/down messages
...
Check for bmp peer up / down messages
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-10-11 15:14:56 +02:00
Louis Scalbert
d8bfd04e46
topotests: add peer down log in bmp collector
...
Add peer down log in bmp collector
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-10-11 15:14:34 +02:00
Louis Scalbert
1de5015b09
topotests: log bmp peer up message type in collector
...
Log "peer up" message type in BMP collector logs.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-10-11 15:14:21 +02:00
Louis Scalbert
33189510e8
topotests: check export labels to pre-policy bmp
...
Check export labels to pre-policy bmp
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-10-11 15:10:24 +02:00
Louis Scalbert
1005c14768
tests: test nexthop-local unchanged with reflector
...
Test nexthop-local unchanged with route-reflector.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-10-11 14:08:12 +02: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
Louis Scalbert
6dc4d95061
topotests: add bgp_nexthop_ipv6
...
Add bgp_nexthop_ipv6 to check the ipv6 link-local nexthop conformity in
several situations.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-10-10 11:39:04 +02:00
Russ White
374fda66df
Merge pull request #16945 from opensourcerouting/fix/bgp_received-routes_with_soft_inbound
...
bgpd: Show unmodified version of received-routes per neighbor
2024-10-08 10:16:24 -04:00
Russ White
02e5a059ee
Merge pull request #16941 from opensourcerouting/fix/issue_16877
...
bgpd: Relax the same prefix and nexthop to be valid
2024-10-08 10:14:30 -04:00
Russ White
382e4e9338
Merge pull request #15903 from y-bharath14/srib-topotests-v1
...
tests: catch exception during switch shutdown
2024-10-08 08:27:12 -04:00
Christian Hopps
e8648a0c72
lib: add flag to have libyang load internal ietf-yang-library module
...
Mgmtd makes use of libyang's internal ietf-yang-library module to add
support for said module to FRR management. Previously, mgmtd was loading
this module explicitly; however, that required that libyang's
`ietf-yang-library.yang` module definition file be co-located with FRR's
yang files so that it (and ietf-datastore.yang) would be found when
searched for by libyang using FRRs search path. This isn't always the
case depending on how the user compiles and installs libyang so mgmtd
was failing to run in some cases.
Instead of doing it the above way we simply tell libyang to load it's
internal version of ietf-yang-library when we initialize the libyang
context.
This required adding a boolean to a couple of the init functions which
is why so many files are touched (although all the changes are minimal).
Signed-off-by: Christian Hopps <chopps@labn.net>
2024-10-07 03:32:44 +00:00
Russ White
15991e1a08
Merge pull request #16800 from donaldsharp/nhg_reuse_intf_down_up
...
Nhg reuse intf down up
2024-10-04 10:28:58 -04:00
Donatas Abraitis
dab1441128
tests: Check if loopback routes are considered valid for nexthop tracking
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-10-01 21:08:28 +03:00
Donatas Abraitis
2c6eb34af8
tests: Drop test_bgp_with_loopback_with_same_subnet_p1
...
It's replaced and simplified by c3fd1e9520c619babb3004cea6df622ca67b0dfa.
JSON topo is just horrible to debug.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-10-01 21:05:52 +03:00
Donald Sharp
421cf856ef
bgpd: Cleanup multipath figuring out in bgp
...
Currently bgp multipath has these properties:
a) mp_info may or may not be on a single path, based
upon path perturbations in the past.
b) mp_info->count started counting at 0( meaning 1 ). As that the
bestpath path_info was never included in the count
c) The first mp_info in the list held the multipath data associated
with the multipath. As such if you were at any other node that data
was not filled in.
d) As such the mp_info's that are not first on the list basically
were just pointers to the corresponding bgp_path_info that was in
the multipath.
e) On bestpath calculation, a linklist(struct linklist *) of bgp_path_info's was
created.
f) This linklist was passed in to a comparison function that took the
old mpinfo list and compared it item by item to the linklist and
doing magic to figure out how to create a new mp_info list.
g) the old mp_info and the link list had to be memory managed and
freed up.
h) BGP_PATH_MULTIPATH is only set on non bestpath nodes in the
multipath.
This is really complicated. Let's change the algorithm to this:
a) When running bestpath, mark a bgp_path_info node that could be in the ecmp path as
BGP_PATH_MULTIPATH_NEW.
b) When running multipath, just walk the list of bgp_path_info's and if
it has BGP_PATH_MULTIPATH_NEW on it, decide if it is in BGP_MULTIPATH.
If we run out of space to put in the ecmp, clear the flag on the rest.
c) Clean up the counting of sometimes adding 1 to the mpath count.
d) Only allocate a mpath_info node for the bestpath. Clean it up
when done with it.
e) remove the unneeded list management associated with the linklist and
the mp_list.
This greatly simplifies multipath computation for bgp and reduces memory
load for large scale deployments.
2 full feeds in work_queue_run prior:
0 56367.471 1123 50193 493695 50362 493791 0 0 0 TE work_queue_run
BGP multipath info : 1941844 48 110780992 1941844 110780992
2 full feeds in work_queue_run after change:
1 52924.931 1296 40837 465968 41025 487390 0 0 1 TE work_queue_run
BGP multipath info : 970860 32 38836880 970866 38837120
Aproximately 4 seconds of saved cpu time for convergence and ~75 mb
smaller run time.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-10-01 12:25:57 -04:00
Donald Sharp
6ff85fc748
tests: Clean up some logging in test_bgp_default_originate_2links.py
...
Test was confusing. Add some useful data and clean up some debugs
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-10-01 12:25:57 -04:00
Barry A. Trent
41fa154163
tests: enhance autorp topotest
...
Signed-off-by: Barry A. Trent <barry.trent@atcorp.com>
2024-09-27 13:39:50 -07:00
Donatas Abraitis
6e4bee2d33
tests: Check if match src-peer ...
can be used for incoming route-map
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-09-27 23:01:07 +03:00
Donatas Abraitis
791e34258f
tests: Test if match src-peer ...
works
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-09-27 23:01:07 +03:00
Donatas Abraitis
f4c17673d1
tests: Check if we can see unmodified received-routes with soft inbound
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-09-27 14:04:59 +03:00
Y Bharath
5118fd1018
tests: catch exception during switch shutdown
...
Signed-off-by: y-bharath14 <y.bharath@samsung.com>
2024-09-25 19:03:31 +05:30
Nathan Bahr
dff1db9ef6
tests: Addition of AutoRP Discovery uncovered broken PIM test
...
With AutoRP discovery running by default, that adds a new
IGMP group that needs to be accounted for in IGMP output.
For pim.py
The clear IGMP interfaces function is in a broken state. It was
already ignoring any errors and returned true always, but with
the addition of the AutoRP discovery group, you could end up
with a different group order in the json which would cause a key
error making the test fail. For now I just added a check to
avoid the key error.
Signed-off-by: Nathan Bahr <nbahr@atcorp.com>
2024-09-24 16:40:57 +00:00
Nathan Bahr
ec37f603a1
tests: Update existing tests for changes introduced by AutoRP Discovery
...
With AutoRP discovery running by default, that adds a new
IGMP group that needs to be accounted for in IGMP output.
For multicast_pim_sm_topo3:
Ignore the total group number as it is unnecessary for the test.
Signed-off-by: Nathan Bahr <nbahr@atcorp.com>
2024-09-24 16:40:57 +00:00
Nathan Bahr
af45a16fce
tests: Added tests for new AutoRP functionality
...
Uses hardcoded sample AutoRP packets injected in to test
message parsing and proper application of AutoRP learned
RP info. Tests mix of AutoRP and static RP's.
Signed-off-by: Nathan Bahr <nbahr@atcorp.com>
2024-09-24 16:40:55 +00:00
Donald Sharp
269d63a5c1
Merge pull request #16861 from btrent98/igmp-proxy2
...
Add igmp proxy support
2024-09-24 12:32:15 -04:00
Russ White
5cf4af6947
Merge pull request #16907 from opensourcerouting/fix/load_built-in_lua_functions
...
lib: Load built-in Lua functions
2024-09-24 10:56:25 -04:00
Russ White
9fa9e41613
Merge pull request #16906 from opensourcerouting/fix/match_peer_self
...
bgpd: Return NOMATCH only if both conf_if/group does not exist
2024-09-24 10:16:35 -04:00
Russ White
d86524951f
Merge pull request #16904 from louis-6wind/fix-zebra-rib-range
...
tests: fix zebra_rib range
2024-09-24 10:15:25 -04:00
Russ White
74aef8aabd
Merge pull request #16895 from opensourcerouting/fix/dual_as_topotest
...
tests: Simplify BGP dual-as topotest
2024-09-24 10:13:14 -04:00
Russ White
3c89cb638f
Merge pull request #16533 from acooks-at-bda/less-controversial-ospf6d-refactor-before-adding-tlvs
...
OSPF6: Refactor to prepare for E-LSA handling
2024-09-24 09:50:19 -04:00
Donatas Abraitis
623fb6d996
tests: Check if built-in Lua functions are working
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-09-24 13:40:37 +03:00
Donatas Abraitis
a4ed22b0b6
tests: Add a basic test to verify match peer ...
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-09-24 12:34:19 +03:00
Louis Scalbert
eb186bcdad
tests: fix zebra_rib range
...
Range is wrong. We want values 1 and 2 but we only test 1.
> >>> for i in range(1, 2):
> ... print(i)
> ...
> 1
Fixes: abd2a1ff3f
("tests: Test some basic kernel <-> zebra interactions")
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-09-24 10:15:49 +02:00
Donald Sharp
ddbea65491
tests: Add v4/v6 forwarding off/on
...
There are no tests that ensured that turning off then on
v4 and v6 forwarding actually worked. This does so.
This was found via looking at the code coverage.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-09-23 15:16:00 -04:00
Barry A. Trent
1425d4ac48
tests: add topotest for igmp proxy
...
Signed-off-by: Barry A. Trent <barry.trent@atcorp.com>
2024-09-23 11:43:40 -07:00
Donatas Abraitis
89644d5bf3
tests: Simplify BGP dual-as topotest
...
Test if we can establish a session with a global ASN directly.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-09-23 09:49:36 +03:00
Carmine Scarpitta
81de5a5a99
tests: Add testcase for SRv6 End.DT6
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-22 07:40:50 +02:00
Carmine Scarpitta
a963eecc4f
tests: Add testcase for SRv6 End.DT4
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-22 07:40:50 +02:00
Carmine Scarpitta
31376097fc
tests: Add testcase for SRv6 End.DX6
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-22 07:40:50 +02:00
Carmine Scarpitta
a158a561b8
tests: Fix unused variable warning
...
Fix warning unused variable `router_list`.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-22 07:40:50 +02:00
Jafar Al-Gharaibeh
be9ea8099e
Merge pull request #16889 from cscarpitta/fix/remove-duplicate-import-toopotest
...
tests: Remove duplicate `check_ping` import
2024-09-21 10:19:01 -05:00
Jafar Al-Gharaibeh
91a3d4dc32
Merge pull request #16888 from cscarpitta/fix/remove-log-monitor-cli
...
tests: Remove `log monitor XX ` from topotests
2024-09-21 10:18:34 -05:00
Carmine Scarpitta
253991771d
tests: Remove duplicate check_ping
import
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-21 11:17:01 +02:00
Carmine Scarpitta
372b8762eb
tests: Remove log monitor XX
from srv6_sid_manager
test
...
`log monitor XX` command is deprecated and does nothing. Let's remove it.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-21 11:09:41 +02:00
Carmine Scarpitta
1ea13efac0
tests: Remove log monitor XX
from srv6_sid_manager
test
...
`log monitor XX` command is deprecated and does nothing. Let's remove it.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-21 11:09:41 +02:00
Carmine Scarpitta
ddd690968e
tests: Remove log monitor XX
from srv6_encap_src_addr
test
...
`log monitor XX` command is deprecated and does nothing. Let's remove it.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-21 11:09:41 +02:00
Donald Sharp
8bb70ffb26
tests: Add a very basic dump bgp PATH..
topotest
...
None of the bgp dump code was even tested. Add a bit
of basic stuff that it at least generates a dump file.
This can be extended at a future time.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-09-20 13:02:51 -04:00
Enke Chen
cb5e415c2a
tests: adjust topotest after bgp_redistribute_add() fix
...
In ospf_multi_vrf_bgp_route_leak, the admin distance for the
redistributed ospf route should be 110, and should remain as 110 after
it's imported into another vrf, and then downloaded to zebra.
Signed-off-by: Enke Chen <enchen@paloaltonetworks.com>
2024-09-19 11:57:20 -07:00
Mark Stapp
f07579254a
Merge pull request #16857 from donaldsharp/logger_warning
...
tests: use logger.warning not logger.warn
2024-09-18 14:52:41 -04:00
Donald Sharp
8b25888ce8
Merge pull request #16816 from opensourcerouting/feature/bgp_dual_as
...
bgpd: Implement BGP dual-as feature
2024-09-18 11:59:16 -04:00
Donald Sharp
3d3c0e35eb
tests: use logger.warning not logger.warn
...
Apparently logger.warn is being deprecated. So let's
switch over to logger.warning. Clearly it's better
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-09-18 11:56:42 -04:00
Christian Hopps
d5e4e2dfa5
tests: add test for new ietf-yang-library support
...
Signed-off-by: Christian Hopps <chopps@labn.net>
2024-09-17 22:27:36 -04:00
Donald Sharp
ade993b629
Merge pull request #16809 from louis-6wind/fix-rcap-double-free
...
isisd: fix rcap tlv double-free crash
2024-09-17 08:33:43 -04:00
Donald Sharp
5a589217f8
tests: When finding nexthops ensure that they are active
...
Do not accept a nexthop as valid unless it is marked as being
active.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-09-16 09:34:05 -04:00
Donald Sharp
aab2946088
Merge pull request #16828 from enkechen-panw/print-rnh
...
zebra: include the prefix in nht show command
2024-09-16 09:30:53 -04:00
Louis Scalbert
cfd050a0e5
tests: update isisd fuzz test
...
Since the previous commit, if a router capability subTLV is not
readable, the previously read subTLVs are kept.
Update of the ISIS fuzz test.
> $ wuschl rebuild tests/isisd/test_fuzz_isis_tlv
> $ gzip -9 tests/isisd/test_fuzz_isis_tlv_tests.h
> $ ./test_fuzz_isis_tlv 2>/dev/null | grep failed
> Test 139 failed, output differs.
> Test 150 failed, output differs.
> 2 of 405 tests failed.
>
> $ ./test_fuzz_isis_tlv 139 2>/dev/null
> Test 139 failed, output differs.
> Expected output:
> Unpack log:
> Unpacking 564 bytes of TLVs...
> Unpacking TLV...
> Found TLV of type 193 and len 13.
> Skipping unknown TLV 193 (13 bytes)
> Unpacking TLV...
> Found TLV of type 0 and len 0.
> Skipping unknown TLV 0 (0 bytes)
> Unpacking TLV...
> Found TLV of type 0 and len 0.
> Skipping unknown TLV 0 (0 bytes)
> Unpacking TLV...
> Found TLV of type 242 and len 12.
> Unpacking Router Capability TLV...
> WARNING: Router Capability subTLV length too large compared to expected size
> Unpacked TLVs:
> Received output:
> Unpack log:
> Unpacking 564 bytes of TLVs...
> Unpacking TLV...
> Found TLV of type 193 and len 13.
> Skipping unknown TLV 193 (13 bytes)
> Unpacking TLV...
> Found TLV of type 0 and len 0.
> Skipping unknown TLV 0 (0 bytes)
> Unpacking TLV...
> Found TLV of type 0 and len 0.
> Skipping unknown TLV 0 (0 bytes)
> Unpacking TLV...
> Found TLV of type 242 and len 12.
> Unpacking Router Capability TLV...
> WARNING: Router Capability subTLV length too large compared to expected size
> Unpacked TLVs:
> Router Capability: 253.212.128.242 , D:1, S:1
>
> $ ./test_fuzz_isis_tlv 150 2>/dev/null
> Test 150 failed, output differs.
> Expected output:
> Unpack log:
> Unpacking 403 bytes of TLVs...
> Unpacking TLV...
> Found TLV of type 129 and len 13.
> Unpacking Protocols Supported TLV...
> Protocols Supported: 73, 16, 255, 255, 255, 101, 10, 11, 11, 11, 11, 11, 11
> Unpacking TLV...
> Found TLV of type 11 and len 11.
> Skipping unknown TLV 11 (11 bytes)
> Unpacking TLV...
> Found TLV of type 242 and len 12.
> Unpacking Router Capability TLV...
> WARNING: Router Capability subTLV length too large compared to expected size
> Unpacked TLVs:
> Protocols Supported: 73, 16, 255, 255, 255, 101, 10, 11, 11, 11, 11, 11, 11
> Received output:
> Unpack log:
> Unpacking 403 bytes of TLVs...
> Unpacking TLV...
> Found TLV of type 129 and len 13.
> Unpacking Protocols Supported TLV...
> Protocols Supported: 73, 16, 255, 255, 255, 101, 10, 11, 11, 11, 11, 11, 11
> Unpacking TLV...
> Found TLV of type 11 and len 11.
> Skipping unknown TLV 11 (11 bytes)
> Unpacking TLV...
> Found TLV of type 242 and len 12.
> Unpacking Router Capability TLV...
> WARNING: Router Capability subTLV length too large compared to expected size
> Unpacked TLVs:
> Protocols Supported: 73, 16, 255, 255, 255, 101, 10, 11, 11, 11, 11, 11, 11
> Router Capability: 253.212.128.242 , D:1, S:1
Link: https://pypi.org/project/wuschl/
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-09-16 14:53:03 +02:00
Andrew Cooks
89e18bfad1
ospf6d: move lsa structs to ospf6_lsa.h
...
It will be cleaner to have the LSAs in a single header and the future
TLVs in a single header.
Signed-off-by: Andrew Cooks <acooks.at.bda@gmail.com>
2024-09-16 18:38:16 +10:00
Enke Chen
f6e28717ec
zebra: include the prefix in nht show command
...
Include the prefix in "show ip nht" and "show ipv6 nht".
Signed-off-by: Enke Chen <enchen@paloaltonetworks.com>
2024-09-14 23:47:00 -07:00
Christian Hopps
98aaeab23c
tests: fix spawning shells/vtysh on error in xdist mode
...
- Also fix the above and CLI when running in munet native mode
Signed-off-by: Christian Hopps <chopps@labn.net>
2024-09-14 10:05:24 -04:00
Christian Hopps
68f25a1b74
tests: update munet 0.14.14, 0.14.15
...
- improvement to remote CLI
- 0.14.15 fixed a small bug in 0.14.14
Signed-off-by: Christian Hopps <chopps@labn.net>
2024-09-14 10:05:19 -04:00
Christian Hopps
45e42c15df
tests: update munet 0.14.13
...
- Improve remote CLI operation [improves xdist mode]
Signed-off-by: Christian Hopps <chopps@labn.net>
2024-09-13 21:21:13 -04:00
Christian Hopps
bac68aba6c
tests: update munet 0.14.12
...
- Adds retry_sleep (i.e., interval) parameter to native @retry decorator
- Fix --stdout and --stderr munet CLI args
Signed-off-by: Christian Hopps <chopps@labn.net>
2024-09-13 21:21:13 -04:00
Donald Sharp
f3fc33e17b
Merge pull request #16438 from Jafaral/pim-10.1-cand-rp
...
PIM candidate BSR/RP support
2024-09-13 19:45:57 -04:00
Donald Sharp
5074633d05
Merge pull request #16815 from opensourcerouting/fix/adjust_wait_count_default_timers_if_too_low
...
tests: Adjust minimum wait/count timers for run_and_expect() if they are too low
2024-09-13 11:27:19 -04:00
Donatas Abraitis
e229b5bad3
tests: Test neighbor X no-prepend replace-as dual-as
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-09-13 11:28:09 +03:00
Donatas Abraitis
7cc6c9325e
tests: Adjust minimum wait/count timers for run_and_expect() if they are too low
...
If the developer pass way too low timers, we end up with most likely false-positive
situations for random tests under a high load of the system.
It would be better to fallback to the minimum default values for such a cases.
E.g.:
```
WARNING: topo: Waiting time is too small (count=1, wait=0.5), using default values (count=20, wait=3)
```
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-09-13 10:23:51 +03:00
Donatas Abraitis
b916ed358c
Merge pull request #16779 from louis-6wind/fix-as-path-exclude
...
bgpd: fix as-path exclude modify crash
2024-09-13 09:38:15 +03:00
Louis Scalbert
2328d17121
tests: bgp_set_aspath_exclude extend timers
...
Extend timers in bgp_set_aspath_exclude in case of high load on the CI.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-09-11 18:02:52 +02:00
Louis Scalbert
e9c4b33119
tests: bgp_set_aspath_exclude check rule modif
...
No need to do 'no set as-path exclude' to replace the current rule by
another. The code is supposed to support the replacement.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-09-11 18:02:47 +02:00
Russ White
f48b05215a
Merge pull request #16748 from opensourcerouting/fix/issue_12502
...
bgpd: Validate imported routes next-hop that is in a default VRF
2024-09-10 10:17:24 -04:00
Russ White
add56c61dd
Merge pull request #15259 from dmytroshytyi-6WIND/nexthop_resolution
...
zebra: add LSP entry to nexthop via recursive (part 2)
2024-09-10 10:04:08 -04:00
Louis Scalbert
f102fb7aef
tests: bgp_set_aspath_exclude check rule modif crash
...
Check that the following does not cause a crash:
> route-map r2 permit 6
> set as-path exclude 65555
> set as-path exclude as-path-access-list NON-EXISTING
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-09-10 15:18:00 +02:00
Jafar Al-Gharaibeh
571108e0e1
tests: don't set oif to a list if it is None
...
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
2024-09-09 17:14:16 -05:00
Jafar Al-Gharaibeh
c1f8988a28
tests: add candidate BSR/RP topotest
...
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
2024-09-09 17:14:16 -05:00
Christian Hopps
df2133f803
tests: add asyncio default config param to quiet warning
...
Update the topotest doc to the latest pytest* pkg versions
known to work together
Signed-off-by: Christian Hopps <chopps@labn.net>
2024-09-09 16:35:28 -04:00
Russ White
80d3a2b120
Merge pull request #15679 from cscarpitta/test-srv6-sid-manager
...
tests: Add topotest to validate the sharing of an SRv6 locator among multiple protocols
2024-09-08 15:09:50 -04:00
Christian Hopps
956edf6fbf
tests: log json diff output at debug level while retrying
...
Signed-off-by: Christian Hopps <chopps@labn.net>
2024-09-07 07:13:37 -04:00
Christian Hopps
987100333a
tests: optionally pass seconds_left
to retrying functions
...
This allows retrying functions to possibly change their logging level
for diagnostics.
In order to maintain backward compatibility with this longstanding
function we catch the specific exception of it not being handled by the
retrying function and call again w/o the argument.
Signed-off-by: Christian Hopps <chopps@labn.net>
2024-09-07 07:09:27 -04:00
Carmine Scarpitta
c7f47536e6
tests: Add SRv6 SID Manager mem leak testcase
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:24:34 +02:00
Carmine Scarpitta
c6c8efb22c
tests: Add SRv6 SID Manager ping testcase
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:24:34 +02:00
Carmine Scarpitta
f1a63df5a5
tests: Add SRv6 SID Manager VPN RIB testcase
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:24:34 +02:00
Carmine Scarpitta
d00be6af22
tests: Add SRv6 SID Manager SRv6 loc testcase
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:24:34 +02:00
Carmine Scarpitta
0a3be6a2bd
tests: Add SRv6 SID Manager RIB IPv6 testcase
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:24:34 +02:00
Carmine Scarpitta
583c34c4ea
tests: Add SRv6 SID Manager RIB IPv4 testcase
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:24:34 +02:00
Carmine Scarpitta
bbd59ed8a1
tests: Add SRv6 SID Manager ISIS adj testcase
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:24:34 +02:00
Carmine Scarpitta
55c9b65c89
tests: SRv6 SID Manager check rib
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:24:28 +02:00
Carmine Scarpitta
d6d8005395
tests: SRv6 SID Manager open json
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:24:11 +02:00
Carmine Scarpitta
1168c5a747
tests: SRv6 SID Manager check ping
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:23:56 +02:00
Carmine Scarpitta
d157212a21
tests: SRv6 SID Manager json cmp
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:23:37 +02:00
Carmine Scarpitta
fccfda2263
tests: SRv6 SID Manager teardown module
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:23:18 +02:00
Carmine Scarpitta
7d7678d251
tests: SRv6 SID Manager setup module
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:22:58 +02:00
Carmine Scarpitta
eea0da439d
tests: SRv6 SID Manager build topology
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:22:39 +02:00
Carmine Scarpitta
9edf6005f6
tests: Add SRv6 SID Manager topotest
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:22:02 +02:00
Carmine Scarpitta
7b4de98caf
tests: Add json to verify rt6 vpn rib
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
39acb03521
tests: Add json to verify rt6 vrf20 rib
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
ac89710bc4
tests: Add json to verify rt6 vrf10 rib
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
379dacdbe3
tests: Add json to verify rt6 ISIS adj
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
c9e42806ca
tests: Add json to verify rt6 SRv6 locators
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
639e0c9b31
tests: Add json to verify rt6 ipv6 routes
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
459b974ad0
tests: Add json to verify rt6 ip routes
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
0b08195a31
tests: Add zebra configuration for rt6
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
e0e1dd8ac2
tests: Add sharp configuration for rt6
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
70e38f7450
tests: Add ISIS configuration for rt6
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
27d1fa8351
tests: Add BGP configuration for rt6
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
4e126ab88a
tests: Add json to verify rt5 ISIS adj
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
0eb7062890
tests: Add json to verify rt5 SRv6 locators
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
1e885f0fd8
tests: Add json to verify rt5 ipv6 routes
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
7b156dd2c9
tests: Add json to verify rt5 ip routes
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
f5d8c37f0d
tests: Add zebra configuration for rt5
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
42feb8d7c8
tests: Add ISIS configuration for rt5
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
a056dfd996
tests: Add json to verify rt4 ISIS adj
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
d13777e8ee
tests: Add json to verify rt4 SRv6 locators
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
a7eb091662
tests: Add json to verify rt4 ipv6 routes
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
fa3d41963f
tests: Add json to verify rt4 ip routes
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
f443c489d4
tests: Add zebra configuration for rt4
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
e2141d0d08
tests: Add ISIS configuration for rt4
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
25f0af0bd4
tests: Add json to verify rt3 ISIS adj
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
d23fca83f1
tests: Add json to verify rt3 SRv6 locators
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
58866a7c5b
tests: Add json to verify rt3 ipv6 routes
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
51b5dce67a
tests: Add json to verify rt3 ip routes
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
493b504817
tests: Add zebra configuration for rt3
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
1862b8d80c
tests: Add ISIS configuration for rt3
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
5b12e45669
tests: Add json to verify rt2 ISIS adj
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
6c93cd401b
tests: Add json to verify rt2 SRv6 locators
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
1e546db38e
tests: Add json to verify rt2 ipv6 routes
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
06ca995dab
tests: Add json to verify rt2 ip routes
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
a88d234d5c
tests: Add zebra configuration for rt2
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
56a6958c92
tests: Add ISIS configuration for rt2
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
cc909c7266
tests: Add json to verify rt1 ISIS adj
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
5351018240
tests: Add json to verify rt1 SRv6 locators
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
af0499e028
tests: Add json to verify rt1 ipv6 routes
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
b8d40ea6d6
tests: Add json to verify rt1 ip routes
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
740c073692
tests: Add json to verify rt1 vpn rib
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
020fe7d766
tests: Add json to verify rt1 vrf20 rib
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
cb968ad782
tests: Add json to verify rt1 vrf10 rib
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
89b3886429
tests: Add zebra configuration for rt1
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
d305ff4e31
tests: Add sharp configuration for rt1
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
e61f48b902
tests: Add ISIS configuration for rt1
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
dc1b3c4869
tests: Add BGP configuration for rt1
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
613fd9a631
tests: Add zebra configuration for dst
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
e82f79ff75
tests: Add sharp configuration for dst
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
4de80634cc
tests: Add json to verify ce6 rib
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
2b62990b3b
tests: Add zebra configuration for ce6
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
8d171d4d32
tests: Add BGP configuration for ce6
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
afbcc80db1
tests: Add json to verify ce5 rib
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
f4231f36a8
tests: Add zebra configuration for ce5
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:03 +02:00
Carmine Scarpitta
fe0074ca56
tests: Add BGP configuration for ce5
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:02 +02:00
Carmine Scarpitta
153e5df38e
tests: Add json to verify ce4 rib
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:02 +02:00
Carmine Scarpitta
95ef7956cf
tests: Add zebra configuration for ce4
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:02 +02:00
Carmine Scarpitta
b3dc1d4b4f
tests: Add BGP configuration for ce4
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:02 +02:00
Carmine Scarpitta
948c3a37ca
tests: Add json to verify ce3 rib
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:02 +02:00
Carmine Scarpitta
9275d8423d
tests: Add zebra configuration for ce3
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:02 +02:00
Carmine Scarpitta
7a907a9042
tests: Add BGP configuration for ce3
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:02 +02:00
Carmine Scarpitta
eb6458cec3
tests: Add json to verify ce2 rib
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:02 +02:00
Carmine Scarpitta
b8cc37e6fe
tests: Add zebra configuration for ce2
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:02 +02:00
Carmine Scarpitta
0c116a5e7a
tests: Add BGP configuration for ce2
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:02 +02:00
Carmine Scarpitta
b8121539ac
tests: Add json to verify ce1 rib
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:02 +02:00
Carmine Scarpitta
f88c7a7d73
tests: Add zebra configuration for ce1
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:02 +02:00
Carmine Scarpitta
220f7fd588
tests: Add BGP configuration for ce1
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-09-06 23:08:02 +02:00
Donatas Abraitis
f3f96f95bd
Merge pull request #16746 from Jafaral/nhrp-test
...
tests: nhrp, use unified config, remove misleading error log
2024-09-06 09:43:00 +03:00