summaryrefslogtreecommitdiff
path: root/tests/topotests/bgp_rfapi_basic_sanity/scripts/add_routes.py
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2018-08-29 14:18:02 +0000
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-11-27 20:22:14 -0500
commit16872f5683b3595c682526a1bd37233cff6d1122 (patch)
treed5418b315f9a3547cedbd7b69c24386b9db56e8a /tests/topotests/bgp_rfapi_basic_sanity/scripts/add_routes.py
parent1677325096a0f05f315fb50f8db5c9b9584bbbf1 (diff)
bgp_rfapi_basic_sanity: added multi-path to timeout test
Signed-off-by: Lou Berger <lberger@labn.net>
Diffstat (limited to 'tests/topotests/bgp_rfapi_basic_sanity/scripts/add_routes.py')
-rw-r--r--tests/topotests/bgp_rfapi_basic_sanity/scripts/add_routes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/topotests/bgp_rfapi_basic_sanity/scripts/add_routes.py b/tests/topotests/bgp_rfapi_basic_sanity/scripts/add_routes.py
index 7b5b192227..2aba5a446d 100644
--- a/tests/topotests/bgp_rfapi_basic_sanity/scripts/add_routes.py
+++ b/tests/topotests/bgp_rfapi_basic_sanity/scripts/add_routes.py
@@ -7,6 +7,7 @@ else:
to = "6"
cost = "cost 50"
luCommand('r1','vtysh -c "debug rfapi-dev open vn 10.0.0.1 un 1.1.1.1"','rfapi_set_response_cb: status 0', 'pass', 'Opened RFAPI')
+luCommand('r1','vtysh -c "debug rfapi-dev query vn 10.0.0.1 un 1.1.1.1 target 11.11.11.11"','rc=2', 'pass', 'Clean query')
luCommand('r1','vtysh -c "debug rfapi-dev register vn 10.0.0.1 un 1.1.1.1 prefix 11.11.11.0/24 lifetime {}"'.format(to),'', 'none', 'Prefix registered')
luCommand('r1','vtysh -c "show vnc registrations local"','1 out of 1','wait','Local registration')
luCommand('r1','vtysh -c "debug rfapi-dev response-omit-self off"','.','none')