PCEP-SR草案版本6,SR显式路径对象/记录路径对象子对象

问题描述 投票:0回答:1

我正在使用ODL Nitrogen Controller和vMX Juniper路由器通过Pathman-SR设置段路由。为了实现这一点,我必须更改IANA subojbects代码点,但我无法做到......

按照这个文件,但仍然没有结果:https://docs.opendaylight.org/en/stable-carbon/user-guide/pcep-user-guide.html#segment-routing https://test-odl-docs.readthedocs.io/en/latest/user-guide/pcep-user-guide.html

我尝试通过REST API更新配置,但是当我发送PUT请求时:/ restconf / config / pcep-segment-routing-app-config:pcep-segment-routing-app-config

与身体:

<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\"."
            }
        ]
    }
}
opendaylight
1个回答
-1
投票

我认为doc中的URL有拼写错误,你必须使用/ restconf / config / pcep-segment-routing-app-config:pcep-segment-routing-config

您可以查看本指南以供参考:https://docs.opendaylight.org/projects/bgpcep/en/stable-neon/pcep/pcep-user-guide-active-stateful-pce.html#iana-code-points

© www.soinside.com 2019 - 2024. All rights reserved.