From: Iveta Halanova Date: Tue, 16 Jun 2015 09:19:11 +0000 (+0200) Subject: BGPCEP: Update of RESTCONF configuration X-Git-Tag: release/lithium~2^2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=8e7b25652db4751c59dcc55163c4f800a9525af3;p=docs.git BGPCEP: Update of RESTCONF configuration Updated information about changing configuration through PUT Change-Id: Ib45c10f6cbbe3592907adc716cfbcc7daa133c59 Signed-off-by: Iveta Halanova (cherry picked from commit 1f5e2257139908ec92d9811360c0d678d9e6b8ba) --- diff --git a/manuals/user-guide/src/main/asciidoc/bgpcep/odl-bgpcep-bgp-all-user.adoc b/manuals/user-guide/src/main/asciidoc/bgpcep/odl-bgpcep-bgp-all-user.adoc index beca2f160..3cf9756d2 100644 --- a/manuals/user-guide/src/main/asciidoc/bgpcep/odl-bgpcep-bgp-all-user.adoc +++ b/manuals/user-guide/src/main/asciidoc/bgpcep/odl-bgpcep-bgp-all-user.adoc @@ -239,6 +239,8 @@ This URL is also used to POST new configuration. If you want to change any other configuration that is listed here, make sure you include the correct namespaces. RESTCONF will tell you if some namespace is wrong. +To update an existing configuration use *PUT* and give the full path to the element you wish to update. + It is vital that you respect the order of steps described in user guide. ==== RIB ==== @@ -247,8 +249,7 @@ First, configure RIB. This module is already present in the configuration, therefore we change only the parameters we need. In this case, it's *bgp-rib-id* and *local-as*. -*URL:* _ -_http://127.0.0.1:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/controller-config/yang-ext:mount/config:modules/module/odl-bgp-rib-impl-cfg:rib-impl/example-bgp-rib_ +*URL:* _http://127.0.0.1:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/controller-config/yang-ext:mount/config:modules/module/odl-bgp-rib-impl-cfg:bgp-rib/example-bgp-rib_ *PUT:* [source,xml] @@ -310,7 +311,7 @@ IMPORTANT: MIGHT NOT BE NEEDED depending on your BGP router, you might need a switch from linkstate attribute type 99 to 29. Check with your router vendor. Switch the field to true if your router supports type 29. -*URL:* _http://127.0.0.1:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/controller-config/yang-ext:mount/config:modules/module/odl-bgp-linkstate-cfg:bgp-linkstate/bgp-linkstate_ +*URL:* _http://127.0.0.1:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/controller-config/yang-ext:mount/config:modules/module/odl-bgp-linkstate-cfg:bgp-linkstate_ *PUT:* [source,xml]