From 375e1d65b2c90c3d287b83633ec13efde9aa62a2 Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Sun, 30 Aug 2015 21:36:41 +0900 Subject: server: support route reflector behavior scenario_test is also added Signed-off-by: ISHIDA Wataru --- test/scenario_test/lib/base.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/scenario_test/lib/base.py') diff --git a/test/scenario_test/lib/base.py b/test/scenario_test/lib/base.py index 1bba6f5b..7f73516b 100644 --- a/test/scenario_test/lib/base.py +++ b/test/scenario_test/lib/base.py @@ -224,6 +224,9 @@ class BGPContainer(Container): self.policies = {} super(BGPContainer, self).__init__(name, ctn_image_name) + def __repr__(self): + return str({'name':self.name, 'asn':self.asn, 'router_id':self.router_id}) + def run(self): self.create_config() super(BGPContainer, self).run() @@ -231,7 +234,7 @@ class BGPContainer(Container): def add_peer(self, peer, passwd=None, evpn=False, is_rs_client=False, policies=None, passive=False, - is_rr_client=False, cluster_id='', + is_rr_client=False, cluster_id=None, flowspec=False): neigh_addr = '' local_addr = '' -- cgit v1.2.3