| Age | Commit message (Collapse) | Author |
|
Add a test case to verify that staticd is able to re-install all SIDs
after disabling and re-enabling SRv6.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
|
|
Add a test case to verify that staticd removes all SIDs when the
`no srv6` command is executed.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
|
|
staticd: Add `no` form for `static-sids` command
|
|
Add a test suite that checks that it is possible to filter out
BGP updates based on the extcommunity-list match operation of the
route-map. Check also the extcommunity-limit option.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
|
|
Add a test case to verify that staticd is able to re-install all SIDs
after deleting and re-adding them.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
|
|
Add a test case to verify that staticd removes all SIDs when the
`no static-sids` command is executed.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
|
|
tests: Fixed input dict at create_router_bgp
|
|
support pre-built oper state in libyang tree
|
|
Signed-off-by: Christian Hopps <chopps@labn.net>
|
|
This commit adds a test case to ensure staticd correctly programs SRv6
uA SIDs in the RIB.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
|
|
Missing comma between the key-value pairs
Signed-off-by: y-bharath14 <y.bharath@samsung.com>
|
|
bgpd: fix default instance when leaving the hidden state.
|
|
pim: Fix autorp group joins
|
|
Creates the default VRF instance after the other VRF instances. The
default VRF instance is created in hidden state. Check that AS number
in show run is correctly written.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
|
|
Test that leaving the hidden BGP instance state is working.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
|
|
The multipath number specified is not available through
the yang data and is not retrievable. Make it so.
At this point in time do not allow this to be set from
yang. Perhaps in the future.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Signed-off-by: Christian Hopps <chopps@labn.net>
|
|
Group joining got broken when moving the autorp socket to open/close
as needed. This fixes it so autorp group joining is properly handled
as part of opening the socket.
Signed-off-by: Nathan Bahr <nbahr@atcorp.com>
|
|
Signed-off-by: Christian Hopps <chopps@labn.net>
|
|
tests: Remove warning about passive command
|
|
Several tests have warnings about the passive
command and how to use it. Let's address this.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Add new topology for testing neighbor filtering and more features in
the future.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
|
|
pimd,pim6d: support IGMPv2/MLDv1 immediate leave
|
|
The `srv6_encap_src_addr` runs a vtysh command to configure the SRv6
encapsulation source address and then immediately invokes an iproute2
command to verify that zebra has set this address in the kernel. There
is no wait between the two operations and the verification is attempted
only once. If the topotest does not find the expected address it fails
immediately.
The problem is that when topotest is run on a heavyily loaded system,
it can take some time for zebra to set the address in the kernel.
In this case, when the topotest checks the kernel address right after
running the vtysh command, it doesn't find the expected address because
zebra hasn't set it yet.
This commit gives zebra some time to configure the address. It keeps to
check that the address is the expected one for about 1 minute. If after
1 minute the address is not the expected one then the test fails.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
|
|
The `srv6_encap_src_addr` topotest uses a waiting time that is too
small. For this reason during startup it prints a warning:
```
2025-02-16 09:23:47,704 WARNING: topo: Waiting time is too small (count=10, wait=1), using default values (count=20, wait=3)
```
This commit increases the waiting time to fix the warning.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
|
|
The `srv6_encap_src_addr` topotest tries to load bgpd.conf file that
does not exist, which produces the following warning:
```
2025-02-16 09:23:35,151 WARNING: topo: missing config 'r1' for '/media/frr/tests/topotests/srv6_encap_src_addr/r1/bgpd.conf' creating empty file '/etc/frr/bgpd.conf'
```
Since this topotest doesn't actually use bgpd, there's no point in
loading the config file.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
|
|
The `srv6_encap_src_addr` topotest tries to load sharpd.conf file that
does not exist, which produces the following warning:
```
2025-02-16 09:23:35,151 WARNING: topo: missing config 'r1' for '/media/frr/tests/topotests/srv6_encap_src_addr/r1/sharpd.conf' creating empty file '/etc/frr/sharpd.conf'
```
Since this topotest doesn't actually use sharpd, there's no point in
loading the config file.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
|
|
The `srv6_encap_src_addr` does not use bgp. As such, it should not have
bgpd marker.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
|
|
opensourcerouting/fix/enable_ll_capability_if_using_unnumerred
bgpd: Some fixes/improvements for Link-Local Next Hop capability
|
|
staticd: Fix SRv6 SID installation and deletion
|
|
Incorporate frrbot suggestion to avoid the CI warning.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
|
|
Add new topology for testing IGMPv2/MLDv1 immediate leave and more features
in the future.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
|
|
pimd,pim6d: implement GMP group / source limits
|
|
tests: clear `-Wcalloc-transposed-args` warnings
|
|
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
|
|
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
|
|
bgpd: fix for the validity and the presence of prefixes in the BGP VPN table.
|
|
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
|
|
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
|
|
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
|
|
Add new topology for testing IGMP/MLD group/source limiting and more features
in the future.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
|
|
Allow topotests to generate source group join to test SSM.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
|
|
The `static_srv6_sids` topotest verifies that staticd correctly
programs the SIDs in the zebra RIB. Currently, the topotest only
validates the programmed behavior and SID attributes.
This commit extends the topotest to also validate the SID structure.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
|
|
opensourcerouting/feature/bgp_link_local_capability
bgpd: Implement Link-Local Next Hop capability
|
|
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Fpm problems
|
|
staticd: Add CLI to support steering of IPv4 traffic over SRv6 SID list
|
|
Add bgpevpn route type-2 route map filter tests
|
|
opensourcerouting/fix/bgp_oad_extended_communities
bgpd: Send non-transitive extended communities from/to OAD peers
|
|
opensourcerouting/fix/bgp_deny_zero_bgp_identifier_to_establish
bgpd: Do not start BGP session if BGP identifier is not set
|