diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-04-06 23:33:02 +0900 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-04-10 23:58:17 +0000 |
commit | 59420a4c4623492085348e07fb78eaae51182782 (patch) | |
tree | ea4ab75a0b39ca4ff049924edec59d7247ca0759 /test/lib/base.py | |
parent | aa79a4de21772f556450cfe7e55e6f400c3f9dec (diff) |
server: support prefix-limit
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test/lib/base.py')
-rw-r--r-- | test/lib/base.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/lib/base.py b/test/lib/base.py index 29920451..d5dfc221 100644 --- a/test/lib/base.py +++ b/test/lib/base.py @@ -254,7 +254,7 @@ class BGPContainer(Container): policies=None, passive=False, is_rr_client=False, cluster_id=None, flowspec=False, bridge='', reload_config=True, as2=False, - graceful_restart=None, local_as=None): + graceful_restart=None, local_as=None, prefix_limit=None): neigh_addr = '' local_addr = '' for me, you in itertools.product(self.ip_addrs, peer.ip_addrs): @@ -283,7 +283,8 @@ class BGPContainer(Container): 'local_addr': local_addr, 'as2': as2, 'graceful_restart': graceful_restart, - 'local_as': local_as} + 'local_as': local_as, + 'prefix_limit': prefix_limit} if self.is_running and reload_config: self.create_config() self.reload_config() |