From d895c87c741084b4469bb260e3ef94f7793a8f92 Mon Sep 17 00:00:00 2001 From: Naoto Hanaue Date: Mon, 3 Aug 2015 10:35:48 +0900 Subject: doc: update documents in accordance with the latest openconfig yang --- docs/sources/getting-started.md | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'docs/sources/getting-started.md') 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 -- cgit v1.2.3