summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorKevin Kirsche <kevin.kirsche@one.verizon.com>2019-08-28 14:33:00 -0400
committerGitHub <noreply@github.com>2019-08-28 14:33:00 -0400
commita7e6068fbd51ba38a2b739df376ecb4febab4048 (patch)
tree0618b2f9f3b61e76fb8d3003eaf37c04f7219b92 /docs
parent6db0430be18e46f46faec2b4d83b30980e4882f2 (diff)
Fix error in BGP Confederation syntax
Sorry about this, I had forgot that TOML subtables require the name of the parent table in their path's. I've validated this configuration: ``` root@kkirsche-dev:/home/kkirsche# ./gobgpd -f config.toml {"level":"info","msg":"gobgpd started","time":"2019-08-28T18:32:23Z"} {"Topic":"Config","level":"info","msg":"Finished reading the config file","time":"2019-08-28T18:32:23Z"} {"level":"info","msg":"Peer 10.0.0.2 is added","time":"2019-08-28T18:32:23Z"} {"Topic":"Peer","level":"info","msg":"Add a peer configuration for:10.0.0.2","time":"2019-08-28T18:32:23Z"} ``` ``` root@kkirsche-dev:# cat config.toml [global] [global.config] as = 65001 router-id = "10.0.0.1" [global.confederation.config] enabled = true identifier = 30 member-as-list = [ 65002 ] ```
Diffstat (limited to 'docs')
-rw-r--r--docs/sources/bgp-confederation.md15
1 files changed, 8 insertions, 7 deletions
diff --git a/docs/sources/bgp-confederation.md b/docs/sources/bgp-confederation.md
index 884ed846..538efa9d 100644
--- a/docs/sources/bgp-confederation.md
+++ b/docs/sources/bgp-confederation.md
@@ -22,13 +22,14 @@ must also configure `member-as-list` with a list of other ASNs which compose the
example, AS65001 would configure this attribute as `member-as-list = [ 65002 ]`.
```toml
-[global.config]
-as = 65001
-router-id = "10.0.0.1"
- [confederation.config]
- enabled = true
- identifier = 30
- member-as-list = [ 65002 ]
+[global]
+ [global.config]
+ as = 65001
+ router-id = "10.0.0.1"
+ [global.confederation.config]
+ enabled = true
+ identifier = 30
+ member-as-list = [ 65002 ]
[[neighbors]]
[neighbors.config]