summaryrefslogtreecommitdiffhomepage
path: root/docs/sources/getting-started.md
diff options
context:
space:
mode:
authorNaoto Hanaue <hanaue.naoto@po.ntts.co.jp>2015-08-03 10:35:48 +0900
committerNaoto Hanaue <hanaue.naoto@po.ntts.co.jp>2015-08-03 16:40:05 +0900
commitd895c87c741084b4469bb260e3ef94f7793a8f92 (patch)
tree7f7b91fd7a18db549756d016d8a6bae444c392e5 /docs/sources/getting-started.md
parent46b21a1725111dff416f483a12171d03359df3bf (diff)
doc: update documents in accordance with the latest openconfig yang
Diffstat (limited to 'docs/sources/getting-started.md')
-rw-r--r--docs/sources/getting-started.md22
1 files changed, 14 insertions, 8 deletions
diff --git a/docs/sources/getting-started.md b/docs/sources/getting-started.md
index 2d309bfc..700703fc 100644
--- a/docs/sources/getting-started.md
+++ b/docs/sources/getting-started.md
@@ -36,14 +36,20 @@ uses the following very simple configuration file, `gobgpd.conf`:
```
$ cat gobgpd.conf
[Global]
- As = 64512
- RouterId = "192.168.255.1"
-[[NeighborList]]
- NeighborAddress = "10.0.255.1"
- PeerAs = 65001
-[[NeighborList]]
- NeighborAddress = "10.0.255.2"
- PeerAs = 65002
+ [Global.GlobalConfig]
+ As = 64512
+ RouterId = "192.168.255.1"
+
+[Neighbors]
+ [[Neighbors.NeighborList]]
+ [Neighbors.NeighborList.NeighborConfig]
+ NeighborAddress = "10.0.255.1"
+ PeerAs = 65001
+
+ [[Neighbors.NeighborList]]
+ [Neighbors.NeighborList.NeighborConfig]
+ NeighborAddress = "10.0.255.2"
+ PeerAs = 65002
```
## Starting GoBGP