summaryrefslogtreecommitdiffhomepage
path: root/test/lib/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/base.py')
-rw-r--r--test/lib/base.py5
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()