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 86a339c7..907050bc 100644
--- a/test/lib/base.py
+++ b/test/lib/base.py
@@ -311,7 +311,7 @@ class BGPContainer(Container):
flowspec=False, bridge='', reload_config=True, as2=False,
graceful_restart=None, local_as=None, prefix_limit=None,
v6=False, llgr=None, vrf='', interface='', allow_as_in=0,
- remove_private_as=None):
+ remove_private_as=None, replace_peer_as=False):
neigh_addr = ''
local_addr = ''
it = itertools.product(self.ip_addrs, peer.ip_addrs)
@@ -354,7 +354,8 @@ class BGPContainer(Container):
'llgr': llgr,
'vrf': vrf,
'allow_as_in': allow_as_in,
- 'remove_private_as': remove_private_as}
+ 'remove_private_as': remove_private_as,
+ 'replace_peer_as': replace_peer_as}
if self.is_running and reload_config:
self.create_config()
self.reload_config()