【发布时间】:2018-04-17 16:46:35
【问题描述】:
我正在尝试在 ODL 中使用 REST API 添加流,但出现以下错误:
{"errors":{"error":[{"error-type":"protocol","error-tag":"malformed-message","error-message":"错误解析输入:子\在父模式节点中找不到“流”
流程规则是:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<flow>
<priority>2</priority>
<flow-name>Foo</flow-name>
<match>
<ethernet-match>
<ethernet-type>
<type>2048</type>
</ethernet-type>
</ethernet-match>
<ipv4-destination>10.0.10.2/24</ipv4-destination>
</match>
<id>1</id>
<table_id>0</table_id>
<instructions>
<instruction>
<order>0</order>
<apply-actions>
<action>
<order>0</order>
<dec-nw-ttl/>
</action>
</apply-actions>
</instruction>
</instructions>
</flow>
有什么想法吗?
【问题讨论】:
标签: opendaylight