summaryrefslogtreecommitdiffhomepage
path: root/docs/sources
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-04-21 08:48:24 +0000
committerISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-04-21 08:57:21 +0000
commita34d8d2651877998fe01d35350259c979a49d295 (patch)
tree220802d9c7b596c8636a80d116b9b9a38518c825 /docs/sources
parentc6ddfb1d8ecc5944a775a458fbce648713ae3b02 (diff)
config: simplify config structures
stop generating self-contained leafref fields in openconfig model. (e.g. bgp:neighbor/bgp:neighbor-address ) Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'docs/sources')
-rw-r--r--docs/sources/configuration.md16
-rw-r--r--docs/sources/evpn.md2
-rw-r--r--docs/sources/flowspec.md3
-rw-r--r--docs/sources/graceful-restart.md1
4 files changed, 21 insertions, 1 deletions
diff --git a/docs/sources/configuration.md b/docs/sources/configuration.md
index 72c527a3..c210b58b 100644
--- a/docs/sources/configuration.md
+++ b/docs/sources/configuration.md
@@ -63,29 +63,43 @@
route-reflector-client = true
route-reflector-cluster-id = "192.168.0.1"
[[neighbors.afi-safis]]
+ [neighbors.afi-safis.config]
afi-safi-name = "ipv4-unicast"
[neighbors.afi-safis.prefix-limit.config]
max-prefixes = 1000
shutdown-threshold-pct = 80
[[neighbors.afi-safis]]
+ [neighbors.afi-safis.config]
afi-safi-name = "ipv6-unicast"
[[neighbors.afi-safis]]
+ [neighbors.afi-safis.config]
afi-safi-name = "ipv4-labelled-unicast"
[[neighbors.afi-safis]]
+ [neighbors.afi-safis.config]
afi-safi-name = "ipv6-labelled-unicast"
[[neighbors.afi-safis]]
+ [neighbors.afi-safis.config]
afi-safi-name = "l3vpn-ipv4-unicast"
[[neighbors.afi-safis]]
+ [neighbors.afi-safis.config]
afi-safi-name = "l3vpn-ipv6-unicast"
[[neighbors.afi-safis]]
+ [neighbors.afi-safis.config]
afi-safi-name = "l2vpn-evpn"
[[neighbors.afi-safis]]
+ [neighbors.afi-safis.config]
afi-safi-name = "rtc"
[[neighbors.afi-safis]]
- afi-safi-name = "encap"
+ [neighbors.afi-safis.config]
+ afi-safi-name = "ipv4-encap"
[[neighbors.afi-safis]]
+ [neighbors.afi-safis.config]
+ afi-safi-name = "ipv6-encap"
+ [[neighbors.afi-safis]]
+ [neighbors.afi-safis.config]
afi-safi-name = "ipv4-flowspec"
[[neighbors.afi-safis]]
+ [neighbors.afi-safis.config]
afi-safi-name = "ipv6-flowspec"
[neighbors.apply-policy.config]
import-policy-list = ["policy1"]
diff --git a/docs/sources/evpn.md b/docs/sources/evpn.md
index b35ba61e..f4e6ee07 100644
--- a/docs/sources/evpn.md
+++ b/docs/sources/evpn.md
@@ -28,6 +28,7 @@ implementations can interchange EVPN messages.
neighbor-address = "10.0.255.1"
peer-as = 64512
[[neighbors.afi-safis]]
+ [neighbors.afi-safis.config]
afi-safi-name = "l2vpn-evpn"
[[neighbors]]
@@ -35,6 +36,7 @@ implementations can interchange EVPN messages.
neighbor-address = "10.0.255.2"
peer-as = 64512
[[neighbors.afi-safis]]
+ [neighbors.afi-safis.config]
afi-safi-name = "l2vpn-evpn"
```
diff --git a/docs/sources/flowspec.md b/docs/sources/flowspec.md
index 1de33fb8..1181cce8 100644
--- a/docs/sources/flowspec.md
+++ b/docs/sources/flowspec.md
@@ -28,10 +28,13 @@ afi-safis like below.
neighbor-address = "10.0.255.1"
peer-as = 64512
[[neighbors.afi-safis]]
+ [neighbors.afi-safis.config]
afi-safi-name = "ipv4-flowspec"
[[neighbors.afi-safis]]
+ [neighbors.afi-safis.config]
afi-safi-name = "ipv6-flowspec"
[[neighbors.afi-safis]]
+ [neighbors.afi-safis.config]
afi-safi-name = "l2vpn-flowspec"
```
diff --git a/docs/sources/graceful-restart.md b/docs/sources/graceful-restart.md
index 3d83ee76..6090eaec 100644
--- a/docs/sources/graceful-restart.md
+++ b/docs/sources/graceful-restart.md
@@ -77,6 +77,7 @@ To support restarting speaker behavior, try the configuration below.
enabled = true
restart-time = 120
[[neighbors.afi-safis]]
+ [neighbors.afi-safis.config]
afi-safi-name = "ipv4-unicast"
[neighbors.afi-safis.mp-graceful-restart.config]
enabled = true