diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-05-22 08:25:38 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-05-22 10:52:54 -0400 |
| commit | af53f97f348247ffedb23bc850ce0a944c14113c (patch) | |
| tree | ff7cf798a533480d634baa275cbda12416e57562 /tests/topotests/lib/common_config.py | |
| parent | b9de32473d84c387d823fe9543a7f895f7c9fc54 (diff) | |
tests: Add `exit` stanzas to pre-generated config
A bunch of tests rely on pre-generated config from
json files. These tests were not putting `exit` stanzas
and a bunch of the tests as a result are silently failing
to configure properly at all, as commands were being sent
to the wrong daemons.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/topotests/lib/common_config.py')
| -rw-r--r-- | tests/topotests/lib/common_config.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/topotests/lib/common_config.py b/tests/topotests/lib/common_config.py index 67afe8739f..a85b86668c 100644 --- a/tests/topotests/lib/common_config.py +++ b/tests/topotests/lib/common_config.py @@ -2186,6 +2186,7 @@ def create_interfaces_cfg(tgen, topo, build=False): interface_data += _create_interfaces_ospf_cfg( "ospf6", c_data, data, ospf_keywords + ["area"] ) + interface_data.append("exit") if interface_data: interface_data_dict[c_router] = interface_data |
