ODL PCEP Segment routing
Arun Thiagarajan
Hi, I am trying to setup Segment routing - TE, from ODL, to Junos, using PCEP. For this, I need to change the SR Subonject type (to 36, which is what Junos supports). Followed the PCEP user guide, which had below API (bottom of the email), to make the change. {"errors":{"error":[{"error-type":"protocol","error-tag":"invalid-value","error-message":"URI has bad format. Possible reasons:\n 1. \"pcep-segment-routing-app-config:pcep-segment-routing-app-config\" was not found in parent data node.\n 2. \"pcep-segment-routing-app-config:pcep-segment-routing-app-config\" is behind mount point. Then it should be in format \"/yang-ext:mount/pcep-segment-routing-app-config:pcep-segment-routing-app-config\"."}]}} """ In PCEP-SR draft version 6, SR Explicit Route Object/Record Route Object subobjects IANA code points change was proposed. URL: Method: Content-Type: Request Body: 1 2 3 <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>
|
|
Yrineu Rodrigues
Hi Arun, Could you please specify the ODL version you're using? I believe that for last release the file 33-pcep-segment-routing.xml won't be added to karaf folder. On Wed, Sep 27, 2017 at 9:33 AM, Arun Thiagarajan <arun.t12@...> wrote:
--
Yrineu Rodrigues Software Engineer SERRO LinkedIn • Facebook • YouTube • Vimeo • Twitter @TeamSerro Disclaimer: This e-mail message contains information intended solely for the intended recipient and is confidential or private in nature. If you are not the intended recipient, you must not read, disseminate, distribute, copy or otherwise use this message or any file attached to this message. Any such unauthorized use is prohibited and may be unlawful. If you have received this message in error, please notify the sender immediately by email, facsimile or telephone and then delete the original message from your machine. San Francisco | Santa Clara | New York | Toronto | Mumbai | Pune |
|
Arun Thiagarajan
I am using Boron release Regards, Arun On 27 Sep 2017 6:35 p.m., "Yrineu Rodrigues" <yrineu.rodrigues@...> wrote:
|
|
Yrineu Rodrigues
Could you please test using Carbon-SR1? It follows the documentation for Carbon release. Please, let us know the results. On Wed, Sep 27, 2017 at 10:20 AM, Arun Thiagarajan <arun.t12@...> wrote:
--
Yrineu Rodrigues Software Engineer SERRO LinkedIn • Facebook • YouTube • Vimeo • Twitter @TeamSerro Disclaimer: This e-mail message contains information intended solely for the intended recipient and is confidential or private in nature. If you are not the intended recipient, you must not read, disseminate, distribute, copy or otherwise use this message or any file attached to this message. Any such unauthorized use is prohibited and may be unlawful. If you have received this message in error, please notify the sender immediately by email, facsimile or telephone and then delete the original message from your machine. San Francisco | Santa Clara | New York | Toronto | Mumbai | Pune |
|
Arun Thiagarajan
Hi Yrineu, I am seeing the same issue in Carbon as well as Nitrogen release of ODL. I could see the segment routing feature is started in the ODL command line,odl-bgpcep-pcep-segment-routing | 0.8.0 | | Started | odl-bgpcep-pcep-segment-routing | OpenDaylight :: PCEP :: Segment Routing opendaylight-user@root> opendaylight-user@root>feature:info odl-bgpcep-pcep-segment-routing Feature odl-bgpcep-pcep-segment-routing 0.8.0 Description: OpenDaylight :: PCEP :: Segment Routing Details: OpenDaylight is leading the transformation to Open Software Defined Networking (SDN). For more information, please see https://www.opendaylight.org Feature has no configuration Feature has no configuration files Feature depends on: odl-bgpcep-pcep-stateful07 0.8.0 wrap 0.0.0 Feature contains followed bundles: mvn:org.opendaylight.bgpcep/pcep-segment-routing/0.8.0 Feature has no conditionals. opendaylight-user@root> But still getting the below, when trying to to change the iana type. {"errors":{"error":[{"error- On 27 September 2017 at 18:57, Yrineu Rodrigues <yrineu.rodrigues@...> wrote:
|
|
Arun Thiagarajan
Hi All, Could someone help here ?On 10 October 2017 at 10:22, Arun Thiagarajan <arun.t12@...> wrote:
|
|
Arun Thiagarajan
I am still facing this issue, any help would be appreciated. Regards,On 13 October 2017 at 00:08, Arun Thiagarajan <arun.t12@...> wrote:
|
|
Yrineu Rodrigues
Hey Arun, could you please give me the step-by-step to reproduce it? I believe that I can help you on that. Are you using real routers or are you using the BGP Test Tool? regards, On Tue, Oct 17, 2017 at 3:27 AM, Arun Thiagarajan <arun.t12@...> wrote:
--
Yrineu Rodrigues Software Engineer SERRO LinkedIn • Facebook • YouTube • Vimeo • Twitter @TeamSerro Disclaimer: This e-mail message contains information intended solely for the intended recipient and is confidential or private in nature. If you are not the intended recipient, you must not read, disseminate, distribute, copy or otherwise use this message or any file attached to this message. Any such unauthorized use is prohibited and may be unlawful. If you have received this message in error, please notify the sender immediately by email, facsimile or telephone and then delete the original message from your machine. San Francisco | Santa Clara | New York | Toronto | Mumbai | Pune |
|
Arun Thiagarajan
Hi Yrineu, Below are the steps, I followed,opendaylight-user@root>feature:install odl-dlux-core opendaylight-user@root>feature:install odl-bgpcep-bgp opendaylight-user@root>feature:install odl-bgpcep-pcep opendaylight-user@root>feature:install odl-restconf http://docs.opendaylight.org/en/stable-nitrogen/user-guide/pcep-user-guide.html#segment-routing PUT /restconf/config/pcep-segment-routing-app-config:pcep-segment-routing-app-config HTTP/1.1 Host: x.x.x.x:8181 Content-Type: application/xml Authorization: Basic YWRtaW46YWRtaW4= Cache-Control: no-cache Postman-Token: 8f16f121-7f4f-d2ec-55ad-7c3c93b52bf3 <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> { "errors": { "error": [ { "error-type": "protocol", "error-tag": "invalid-value", "error-message": "URI has bad format. Possible reasons:\n 1. \"pcep-segment-routing-app-config:pcep-segment-routing-app-config\" was not found in parent data node.\n 2. \"pcep-segment-routing-app-config:pcep-segment-routing-app-config\" is behind mount point. Then it should be in format \"/yang-ext:mount/pcep-segment-routing-app-config:pcep-segment-routing-app-config\"." } ] } } On 17 October 2017 at 17:08, Yrineu Rodrigues <yrineu.rodrigues@...> wrote:
|
|
Arun Thiagarajan
Hi Yrineu, Were you able to check this.On 18 October 2017 at 00:35, Arun Thiagarajan <arun.t12@...> wrote:
|
|