summaryrefslogtreecommitdiff
path: root/tests/topotests/bgp_rfapi_basic_sanity/scripts/add_routes.py
diff options
context:
space:
mode:
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')