Pcep segment routing config 02/66302/7
authorClaudio D. Gasparini <claudio.gasparini@pantheon.tech>
Thu, 7 Dec 2017 10:55:49 +0000 (11:55 +0100)
committerClaudio D. Gasparini <claudio.gasparini@pantheon.tech>
Thu, 7 Dec 2017 15:56:08 +0000 (15:56 +0000)
Change-Id: Iba71624f5ae29ff0fc2189b9fc0aa4a0dd1408e1
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
docs/user-guide/pcep-user-guide.rst

index 2ca543e43ea567fbe2f1955162604a51bdedc179..a8e74bf1fbb0a57e73b4a42ea6bb95ef27d43e88 100644 (file)
@@ -917,9 +917,7 @@ Segment Identifier (SID) is encoded as a MPLS label.
 
 Configuration
 '''''''''''''
-This capability is enabled by default.
-In PCEP-SR draft version 6, SR Explicit Route Object/Record Route Object subobjects IANA code points change was proposed.
-In order to use the latest code points, a configuration should be changed in following way:
+This capability is enabled by default. In order to disable it, a configuration should be changed as follows:
 
 **URL:** ``/restconf/config/pcep-segment-routing-app-config:pcep-segment-routing-app-config``
 
@@ -931,11 +929,38 @@ In order to use the latest code points, a configuration should be changed in fol
 
 .. code-block:: xml
    :linenos:
+   :emphasize-lines: 2
+
+   <pcep-segment-routing-config xmlns="urn:opendaylight:params:xml:ns:yang:controller:pcep:segment-routing-app-config">
+      <sr-capable>false</sr-capable>
+   </pcep-segment-routing-config>
+
+@line 2: **sr-capable** - True if capability is supported.
+
+IANA code points
+''''''''''''''''
+
+In PCEP-SR draft version 6, SR Explicit Route Object/Record Route Object subobjects IANA code points change was proposed.
+In order to use the latest code points, a configuration should be changed as follows:
+
+**URL:** ``/restconf/config/pcep-segment-routing-app-config:pcep-segment-routing-config``
+
+**Method:** ``PUT``
+
+**Content-Type:** ``application/xml``
+
+**Request Body:**
+
+.. code-block:: xml
+   :linenos:
+   :emphasize-lines: 2
 
    <pcep-segment-routing-config xmlns="urn:opendaylight:params:xml:ns:yang:controller:pcep:segment-routing-app-config">
       <iana-sr-subobjects-type>true</iana-sr-subobjects-type>
    </pcep-segment-routing-config>
 
+@line 2: **iana-sr-subobjects-type** - True if IANA code points should be used.
+
 LSP Operations for PCEP SR
 ''''''''''''''''''''''''''
 The PCEP SR extension defines new ERO subobject - *SR-ERO subobject* capable of carrying a SID.