diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-07-28 10:11:43 +0000 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-07-29 16:31:35 +0900 |
commit | 59997e8daaf9793caecf178c770d9bb3882b148f (patch) | |
tree | 16ec6f729b9902d6711829647fbe8620d6fdd9ca /packet/bmp | |
parent | f3ae68b9f28e0ddbe33be3ecf09c2015cfba6078 (diff) |
server: move default config setting logic inside BgpServer's methods
We have three ways to configure gobgp. config file, grpc api and native lib.
Every methods eventually call (*server.BgpServer).Start() or
(*server.BgpServer).AddNeighbor() when starting bgp server or adding
neighbors.
This commit moves default config setting logic inside them to remove
redundant code in grpc_server.go and simplify the usage of native lib.
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'packet/bmp')
0 files changed, 0 insertions, 0 deletions