diff options
Diffstat (limited to 'test/lib')
-rw-r--r-- | test/lib/base.py | 6 | ||||
-rw-r--r-- | test/lib/gobgp.py | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/test/lib/base.py b/test/lib/base.py index ef8e7ab7..86a339c7 100644 --- a/test/lib/base.py +++ b/test/lib/base.py @@ -310,7 +310,8 @@ class BGPContainer(Container): is_rr_client=False, cluster_id=None, 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): + v6=False, llgr=None, vrf='', interface='', allow_as_in=0, + remove_private_as=None): neigh_addr = '' local_addr = '' it = itertools.product(self.ip_addrs, peer.ip_addrs) @@ -352,7 +353,8 @@ class BGPContainer(Container): 'prefix_limit': prefix_limit, 'llgr': llgr, 'vrf': vrf, - 'allow_as_in': allow_as_in} + 'allow_as_in': allow_as_in, + 'remove_private_as': remove_private_as} if self.is_running and reload_config: self.create_config() self.reload_config() diff --git a/test/lib/gobgp.py b/test/lib/gobgp.py index 15264bfb..92e19f07 100644 --- a/test/lib/gobgp.py +++ b/test/lib/gobgp.py @@ -345,6 +345,7 @@ class GoBGPContainer(BGPContainer): 'peer-as': peer.asn, 'auth-password': info['passwd'], 'vrf': info['vrf'], + 'remove-private-as': info['remove_private_as'], }, 'afi-safis': afi_safi_list, 'timers': { |