diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-01-22 11:41:34 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-02-10 23:42:01 -0800 |
commit | aa3cedc03a1595a3941de408d1f2c5ed6b0830ac (patch) | |
tree | 95c8803a0667adebca0a3cdd14897e4bd275a1b0 /test/lib/base.py | |
parent | 023a498e4a90982095c870c5491770bf4952fc2b (diff) |
test: add graceful restart test
Diffstat (limited to 'test/lib/base.py')
-rw-r--r-- | test/lib/base.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/lib/base.py b/test/lib/base.py index 5ab94d8b..37cc26f4 100644 --- a/test/lib/base.py +++ b/test/lib/base.py @@ -247,7 +247,8 @@ class BGPContainer(Container): def add_peer(self, peer, passwd=None, evpn=False, is_rs_client=False, policies=None, passive=False, is_rr_client=False, cluster_id=None, - flowspec=False, bridge='', reload_config=True, as2=False): + flowspec=False, bridge='', reload_config=True, as2=False, + graceful_restart=None): neigh_addr = '' local_addr = '' for me, you in itertools.product(self.ip_addrs, peer.ip_addrs): @@ -274,7 +275,8 @@ class BGPContainer(Container): 'policies': policies, 'passive': passive, 'local_addr': local_addr, - 'as2': as2} + 'as2': as2, + 'graceful_restart': graceful_restart} if self.is_running and reload_config: self.create_config() self.reload_config() |