diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-11-08 16:30:41 +0900 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-11-11 00:31:35 +0900 |
commit | bedb15304141ea7583e89dbdd2d39a93d50fbcfc (patch) | |
tree | 1b3c847890dbdb387164e41375441d75556d6583 /test | |
parent | 4ee18568a07ce51bf3399a1814ebec82e7d961ad (diff) |
test: support rs-client configuration for quagga container
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/quagga.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lib/quagga.py b/test/lib/quagga.py index 17f855a9..30f036f0 100644 --- a/test/lib/quagga.py +++ b/test/lib/quagga.py @@ -187,6 +187,8 @@ class QuaggaBGPContainer(BGPContainer): c << 'no bgp default ipv4-unicast' c << 'neighbor {0} remote-as {1}'.format(n_addr, peer.asn) + if info['is_rs_client']: + c << 'neighbor {0} route-server-client'.format(n_addr) for name, policy in info['policies'].iteritems(): direction = policy['direction'] c << 'neighbor {0} route-map {1} {2}'.format(n_addr, name, |