mirror of
https://github.com/osrg/gobgp.git
synced 2024-05-11 05:55:10 +00:00
test: support rs-client configuration for quagga container
Signed-off-by: ISHIDA Wataru <[email protected]>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user