mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
topotests: append 'exit' after interface config
Lets not rely on the automatic behavior of exiting a node on unknown command and instead use 'exit' explicitly. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
This commit is contained in:
parent
81b26ca1ae
commit
ba6371f9bb
|
@ -509,6 +509,7 @@ def _enable_disable_pim_config(tgen, topo, input_dict, router, build=False):
|
|||
cmd = "interface {}".format(interface_name)
|
||||
config_data.append(cmd)
|
||||
config_data.append("ip pim")
|
||||
config_data.append("exit")
|
||||
|
||||
if "pim" in input_dict[router]:
|
||||
if "disable" in input_dict[router]["pim"]:
|
||||
|
|
Loading…
Reference in a new issue