diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-03-16 16:02:34 +0900 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-03-17 10:47:03 +0900 |
commit | 5120cfc7ca03bb5742123b16d1452749d62c8db4 (patch) | |
tree | d0b2c75657080546e660cd871094b712f88845c0 /docs/sources | |
parent | b06b3ad42fe07cafd4ffee3e21068a324bff5bba (diff) |
config: move Mrt/Bmp configuration outside of Global configuration
Global config basically store configuration whose change will cause
all neighbor session restart.
Mrt and Bmp configuration is not such. Put them outside of Global
config.
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'docs/sources')
-rw-r--r-- | docs/sources/bmp.md | 6 | ||||
-rw-r--r-- | docs/sources/configuration.md | 14 |
2 files changed, 11 insertions, 9 deletions
diff --git a/docs/sources/bmp.md b/docs/sources/bmp.md index bd9759c1..17c79fe4 100644 --- a/docs/sources/bmp.md +++ b/docs/sources/bmp.md @@ -12,15 +12,15 @@ Assume you finished [Getting Started](https://github.com/osrg/gobgp/blob/master/ ## <a name="config"> Configuration -Add `[bmp-servers]` section under `[global]` to enable BMP like below. +Add `[bmp-servers]` session to enable BMP like below. ```toml [global.config] as = 64512 router-id = "192.168.255.1" -[[global.bmp-servers]] - [global.bmp-servers.config] +[[bmp-servers]] + [bmp-servers.config] address = "127.0.0.1" port=11019 ``` diff --git a/docs/sources/configuration.md b/docs/sources/configuration.md index 894dacfe..24a10508 100644 --- a/docs/sources/configuration.md +++ b/docs/sources/configuration.md @@ -9,12 +9,6 @@ default-import-policy = "reject-route" export-policy-list = ["policy2"] default-export-policy = "accept-route" - [[global.bmp-servers]] - [global.bmp-servers.config] - address = "127.0.0.1" - port = 11019 - [global.mrt] - file-name = "/var/log/mrt.dump" [global.zebra] enabled = true url = "unix:/var/run/quagga/zserv.api" @@ -38,6 +32,14 @@ address = "210.173.170.254" port = 323 +[[bmp-servers]] + [bmp-servers.config] + address = "127.0.0.1" + port = 11019 + +[mrt] + file-name = "/var/log/mrt.dump" + [[neighbors]] [neighbors.config] peer-as = 2 |