mirror_frr/tests/topotests/ospfapi
Donald Sharp 4f032a44a4 tests: Fix ospfapi client to clear ospf process
Test is failing locally:
2023-09-06 18:39:56,865 DEBUG: r1: vtysh result:
        Hello, this is FRRouting (version 9.1-dev).
        Copyright 1996-2005 Kunihiro Ishiguro, et al.

        r1# conf t
        r1(config)# router ospf
        r1(config-router)# ospf router-id 1.1.1.1
        For this router-id change to take effect, use "clear ip ospf process" command
        r1(config-router)#
2023-09-06 18:39:56,865 DEBUG: root: GOT LINE: 'SUCCESS: 1.0.0.0'
2023-09-06 18:39:56,866 DEBUG: root: GOT LINE: '2023-09-06 18:39:55,982 INFO: TESTER: root: Waiting for 1.1.1.1'
2023-09-06 18:39:56,867 DEBUG: root: GOT LINE: '2023-09-06 18:39:55,982 DEBUG: TESTER: root: expected '1.1.1.1' != '1.0.0.0''
2023-09-06 18:39:56,867 DEBUG: root: GOT LINE: 'waiting on notify'

Sure looks like the router-id is not allowed to be changed because
neighbors have already been formed.  If we are changing the router-id
then let's clear the process to allow it to correctly change.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-11-25 13:20:50 -05:00
..
r1 tests: improve the ospfapi test (move to square topology) 2023-02-20 11:58:30 -05:00
r2 tests: improve the ospfapi test (move to square topology) 2023-02-20 11:58:30 -05:00
r3 tests: improve the ospfapi test (move to square topology) 2023-02-20 11:58:30 -05:00
r4 tests: improve the ospfapi test (move to square topology) 2023-02-20 11:58:30 -05:00
ctester.py *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
lib tests: add opaque api test 2022-06-02 16:37:16 -04:00
test_ospf_clientapi.py tests: Fix ospfapi client to clear ospf process 2024-11-25 13:20:50 -05:00