diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-12-24 16:41:38 -0800 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-12-24 16:41:38 -0800 |
commit | 1e61c57c160e63940ba85b13ff81a88e899e443d (patch) | |
tree | 7e92b0e90cd3e347b85206948073c8c5be010a60 | |
parent | 03640f3f1d9b9f1b3b3d2d0dce07eaa4f4da8096 (diff) |
tools: simplify AS number usage
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | tools/route-server/quagga-rsconfig.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/route-server/quagga-rsconfig.go b/tools/route-server/quagga-rsconfig.go index cf3d211c..31269d47 100644 --- a/tools/route-server/quagga-rsconfig.go +++ b/tools/route-server/quagga-rsconfig.go @@ -48,14 +48,14 @@ func create_config_files(nr int, outputDir string) { gobgpConf := config.BgpType{ Global: config.GlobalType{ - As: 64512, + As: 65000, RouterId: net.ParseIP("192.168.255.1"), }, } for i := 1; i < nr+1; i++ { c := config.NeighborType{ - PeerAs: 64513 + uint32(i), + PeerAs: 65000 + uint32(i), NeighborAddress: net.ParseIP(fmt.Sprintf("10.0.0.%d", i)), AuthPassword: fmt.Sprintf("hoge%d", i), } |