diff options
author | Kevin Kirsche <kevin.kirsche@one.verizon.com> | 2019-08-28 14:33:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-28 14:33:00 -0400 |
commit | a7e6068fbd51ba38a2b739df376ecb4febab4048 (patch) | |
tree | 0618b2f9f3b61e76fb8d3003eaf37c04f7219b92 /cmd/gobgpd/util_windows.go | |
parent | 6db0430be18e46f46faec2b4d83b30980e4882f2 (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 'cmd/gobgpd/util_windows.go')
0 files changed, 0 insertions, 0 deletions