我正在尝试Opendaylight(Oxygen SR4),每次我成功推动此流程时,由L2交换模块构建的所有其他流程都会消失。当我尝试阻止特定的MAC地址时,它没有这样做,因此xml中是否指定了错误的内容?有人遇到这个问题吗?
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<flow xmlns="urn:opendaylight:flow:inventory">
<strict>false</strict>
<flow-name>Dropflow</flow-name>
<id>10</id>
<cookie_mask>255</cookie_mask>
<cookie>10</cookie>
<table_id>0</table_id>
<priority>100</priority>
<hard-timeout>10</hard-timeout>
<idle-timeout>0</idle-timeout>
<installHw>false</installHw>
<instructions>
<instruction>
<order>0</order>
<apply-actions>
<action>
<order>0</order>
<drop-action/>
</action>
</apply-actions>
</instruction>
</instructions>
<match>
<icmpv4-match>
<icmpv4-type>8</icmpv4-type>
</icmpv4-match>
</match>
</flow>
在我推送流程之后,restconf操作数据存储中剩下的全部是这样的:
{
"flow-node-inventory:table": [
{
"id": 0,
"opendaylight-flow-table-statistics:flow-table-statistics": {
"active-flows": 0,
"packets-looked-up": 104,
"packets-matched": 74
}
}
]
}
我只是想暂时禁止ping通信并尝试一下。谢谢您的回复!