我在MPLS网络上使用由ODL控制的Zodiac FX openflow交换机,并尝试使用以下流在单个数据包( MPLS隧道)上推送2个堆叠的MPLS标签:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<flow
xmlns="urn:opendaylight:flow:inventory">
<flow-name>POP Z2</flow-name>
<instructions>
<instruction>
<order>0</order>
<apply-actions>
<action>
<pop-mpls-action>
<ethernet-type> 8847</ethernet-type>
</pop-mpls-action>
<order>0</order>
</action>
<action>
<pop-mpls-action>
<ethernet-type>2048</ethernet-type>
</pop-mpls-action>
<order>1</order>
</action>
<action>
<output-action>
<output-node-connector>2</output-node-connector>
<max-length>60</max-length>
</output-action>
<order>2</order>
</action>
</apply-actions>
</instruction>
</instructions>
<id>126</id>
<strict>false</strict>
<match>
<in-port>1</in-port>
</match>
<idle-timeout>0</idle-timeout>
<cookie>401</cookie>
<cookie_mask>255</cookie_mask>
<installHw>false</installHw>
<hard-timeout>0</hard-timeout>
<priority>200</priority>
<table_id>0</table_id>
但是ODL不会将流移动到可操作的数据存储。我已经尝试了相同的流程,但只使用了一个推送操作,它删除了第一个MPLS标签。
ODL是否仅限于推送一个MPLS标签?我能做什么?
发布于 2018-10-18 09:09:11
运行数据存储区由实际编程到交换机中的数据填充,它将进入配置->交换机->运行状态。不同的ODL组件做不同的事情(插件,Statsmgr,fwdrulesmgr..)在这些点上,它都可能失败。您可以查看karaf日志(set DEBUG)以查看控制器内部运行情况,查看tcpdump ofchan以查看控制器正在尝试推送的内容,并查看交换流/日志以查看已编程的内容。
https://stackoverflow.com/questions/52641873
复制相似问题