summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-03-28 10:42:22 +0000
committerISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-03-29 14:24:54 +0000
commit3d808b5c0d6cbad6d62c2d267ca72d0e7605fb9b (patch)
tree1373e0193e309cbc68ee2051dd2c3af35e4c9a5b /test
parent66b0bf2568a894909c4e839b60aa06983ca8f601 (diff)
scenario_test: update gobgp configuration
now gobgp changes its behavior according to PeerType Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test')
-rw-r--r--test/scenario_test/quagga-rsconfig.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/scenario_test/quagga-rsconfig.go b/test/scenario_test/quagga-rsconfig.go
index a7ed661c..4af43cd6 100644
--- a/test/scenario_test/quagga-rsconfig.go
+++ b/test/scenario_test/quagga-rsconfig.go
@@ -106,6 +106,7 @@ func create_config_files(nr int, outputDir string, IPVersion string, nonePeer bo
RouteServer: config.RouteServer{RouteServerClient: true},
TransportOptions: config.TransportOptions{PassiveMode: true},
Timers: config.Timers{HoldTime: 30, KeepaliveInterval: 10, IdleHoldTimeAfterReset: 10},
+ PeerType: config.PEER_TYPE_EXTERNAL,
}
gobgpConf.NeighborList = append(gobgpConf.NeighborList, c)
if !nonePeer {
@@ -149,6 +150,7 @@ func append_config_files(ar int, outputDir string, IPVersion string, nonePeer bo
RouteServer: config.RouteServer{RouteServerClient: true},
TransportOptions: config.TransportOptions{PassiveMode: true},
Timers: config.Timers{HoldTime: 30, KeepaliveInterval: 10, IdleHoldTimeAfterReset: 10},
+ PeerType: config.PEER_TYPE_EXTERNAL,
}
if !nonePeer {
q := NewQuaggaConfig(ar, &gobgpConf.Global, &c, net.ParseIP(serverAddress[IPVersion]))