summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/lib/quagga.py
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-10-21 22:51:03 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-10-21 22:51:03 +0900
commit94bc49b98ba32b6b334d78d2668b2f2b274e8d53 (patch)
tree6c17331bd7b219ca6d6f2414f0bad93863fd1b9d /test/scenario_test/lib/quagga.py
parent46231a72017a6d669e29ec80557ac89bdf220099 (diff)
test: ROUTE REFRESH handling with update EXPORT policy test
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'test/scenario_test/lib/quagga.py')
-rw-r--r--test/scenario_test/lib/quagga.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/scenario_test/lib/quagga.py b/test/scenario_test/lib/quagga.py
index f36b56a8..6001d9a3 100644
--- a/test/scenario_test/lib/quagga.py
+++ b/test/scenario_test/lib/quagga.py
@@ -152,6 +152,11 @@ class QuaggaBGPContainer(BGPContainer):
raise Exception('not found peer {0}'.format(peer.router_id))
+ def send_route_refresh(self):
+ with QuaggaTelnetDaemon(self) as tn:
+ tn.write('clear ip bgp * soft\n')
+ #tn.read_until('bgpd#')
+
def create_config(self):
self._create_config_bgp()
if self.zebra: