summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/quagga-rsconfig.go
diff options
context:
space:
mode:
authorNaoto Hanaue <hanaue.naoto@po.ntts.co.jp>2015-08-05 13:56:53 +0900
committerNaoto Hanaue <hanaue.naoto@po.ntts.co.jp>2015-08-05 15:05:12 +0900
commitca99c628a1a1aa65b3a32d42117d0ed712330b68 (patch)
treeddb6fd236a2a6b5a25654fa0db3566611bab4526 /test/scenario_test/quagga-rsconfig.go
parentb7d8d53c486eff0370e9908e75a97b7d8816725c (diff)
config: change the structure of Neighbor.RouteServer as the Neighbor.RouteReflector
Diffstat (limited to 'test/scenario_test/quagga-rsconfig.go')
-rw-r--r--test/scenario_test/quagga-rsconfig.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/scenario_test/quagga-rsconfig.go b/test/scenario_test/quagga-rsconfig.go
index 76b93ae8..60ae9fd0 100644
--- a/test/scenario_test/quagga-rsconfig.go
+++ b/test/scenario_test/quagga-rsconfig.go
@@ -102,7 +102,7 @@ func create_config_files(nr int, outputDir string, IPVersion string, nonePeer bo
c.NeighborConfig.NeighborAddress = net.ParseIP(fmt.Sprintf("%s%d", baseNeighborAddress[IPVersion], i))
c.NeighborConfig.AuthPassword = fmt.Sprintf("hoge%d", i)
c.Transport.TransportConfig.PassiveMode = true
- c.RouteServer.RouteServerClient = !normalBGP
+ c.RouteServer.RouteServerConfig.RouteServerClient = !normalBGP
timers := config.Timers{}
timers.TimersConfig.HoldTime = 30
@@ -149,7 +149,7 @@ func append_config_files(ar int, outputDir string, IPVersion string, noQuagga bo
c.NeighborConfig.PeerAs = 65000 + uint32(ar)
c.NeighborConfig.NeighborAddress = net.ParseIP(fmt.Sprintf("%s%d", baseNeighborAddress[IPVersion], ar))
c.NeighborConfig.AuthPassword = fmt.Sprintf("hoge%d", ar)
- c.RouteServer.RouteServerClient = !normalBGP
+ c.RouteServer.RouteServerConfig.RouteServerClient = !normalBGP
c.Transport.TransportConfig.PassiveMode = true
timers := config.Timers{}