mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-13 14:26:15 +00:00
![]() 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> |
||
---|---|---|
.. | ||
r1 | ||
__init__.py | ||
test_srv6_encap_src_addr.py |