diff options
author | Wataru Ishida <ishida.wataru@lab.ntt.co.jp> | 2017-05-05 11:19:40 -0400 |
---|---|---|
committer | Wataru Ishida <ishida.wataru@lab.ntt.co.jp> | 2017-05-10 08:05:47 +0000 |
commit | 1f053c25c423c79471fbe1d5fb6c618bb67409df (patch) | |
tree | ba3c43da6df3e1163a754ff742f25a64d819d6e2 /test/lib/gobgp.py | |
parent | 540d77319c6eaa1eefd7b52df2a4771c7ee565ac (diff) |
*: support remove private as
cli
```
$ gobgp n add <neighbor-addr> as <asn> remove-private-as (all|replace)
```
config
```
neighbor:
config:
peer-as: <asn>
neighbor-address: <neighbor-addr>
remove-private-as: all
```
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test/lib/gobgp.py')
-rw-r--r-- | test/lib/gobgp.py | 1 |
1 files changed, 1 insertions, 0 deletions
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': { |