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

时间:2019-04-26 08:53:00

标签: opendaylight

我正在使用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\"."
            }
        ]
    }
}

1 个答案:

答案 0 :(得分:-1)

我认为文档的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