summaryrefslogtreecommitdiffhomepage
path: root/docs/sources
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-04-27 09:45:42 +0000
committerISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-04-27 10:32:39 +0000
commitf99362e876873ebab5bcfa8a9e88e65200a9bac1 (patch)
treee26599591299f84e7001836694194d19a50356f4 /docs/sources
parentf6c70e980d41066df51ce8cf63f2351911391e47 (diff)
config: make listen config struct aligned with open-config model
have config/state container Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'docs/sources')
-rw-r--r--docs/sources/configuration.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/sources/configuration.md b/docs/sources/configuration.md
index c082d56b..9f50bae5 100644
--- a/docs/sources/configuration.md
+++ b/docs/sources/configuration.md
@@ -4,6 +4,14 @@
[global.config]
as = 1
router-id = "1.1.1.1"
+ # listen port (by default 179)
+ port = 1790
+ # to disable listening
+ # port = -1
+
+ # listen address list (by default "0.0.0.0" and "::")
+ local-address-list = ["192.168.10.1", "2001:db8::1"]
+
[global.apply-policy.config]
import-policy-list = ["policy1"]
default-import-policy = "reject-route"
@@ -16,14 +24,6 @@
[global.mpls-label-range]
min-label = 1000
max-label = 2000
- [global.listen-config]
- # listen port (by default 179)
- port = 1790
- # to disable listening
- # port = -1
-
- # listen address list (by default "0.0.0.0" and "::")
- local-address-list = ["192.168.10.1", "2001:db8::1"]
[[rpki-servers]]
[rpki-servers.config]