Code Review
/
bgpcep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Wire SimpleEvpnNlriRegistry statically
[bgpcep.git]
/
docs
/
bgp
/
bgp-user-guide-long-lived-graceful-restart-capability.rst
diff --git
a/docs/bgp/bgp-user-guide-long-lived-graceful-restart-capability.rst
b/docs/bgp/bgp-user-guide-long-lived-graceful-restart-capability.rst
index 01f748afb7f0846957d8e2d19a05c5e6ebd7565a..0f3710b6d7236c80ed02701e187d41b941b9d6f6 100644
(file)
--- a/
docs/bgp/bgp-user-guide-long-lived-graceful-restart-capability.rst
+++ b/
docs/bgp/bgp-user-guide-long-lived-graceful-restart-capability.rst
@@
-22,28
+22,53
@@
or
**Method:** ``PUT``
**Method:** ``PUT``
-**Content-Type:** ``application/xml``
+.. tabs::
-**Request Body:**
+ .. tab:: XML
-.. code-block:: xml
- :linenos:
- :emphasize-lines: 3,6
+ **Content-Type:** ``application/xml``
- <graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions">
- <config>
- <enable>true</enable>
- <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+ **Request Body:**
+
+ .. code-block:: xml
+ :linenos:
+ :emphasize-lines: 5
+
+ <graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions">
<config>
<config>
- <long-lived-stale-time>180</long-lived-stale-time>
+ <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+ <config>
+ <long-lived-stale-time>180</long-lived-stale-time>
+ </config>
+ </ll-graceful-restart>
</config>
</config>
- </ll-graceful-restart>
- </config>
- </graceful-restart>
+ </graceful-restart>
+
+ @line 5: value of Long-Lived Stale timer in seconds
+
+ .. tab:: JSON
+
+ **Content-Type:** ``application/json``
+
+ **Request Body:**
+
+ .. code-block:: json
+ :linenos:
+ :emphasize-lines: 6
-@line 3: if Graceful Restart support is disabled for family only procedures for Long-Lived Graceful Restart applies
+ {
+ "bgp-openconfig-extensions:graceful-restart": {
+ "config": {
+ "bgp-ll-graceful-restart:ll-graceful-restart": {
+ "config": {
+ "long-lived-stale-time": 180
+ }
+ }
+ }
+ }
+ }
-@line 6: value of Long-Lived Stale timer in seconds
+
@line 6: value of Long-Lived Stale timer in seconds
References
^^^^^^^^^^
References
^^^^^^^^^^