这流表用XML如何表示:table=0,actions=resubmit(,1)


参考了流表实例,但是还是不知道resubmit如何表示。

这条等价的流表如何表示? 非常感谢!
已邀请:

邓晓涛 - SDN实践者

赞同来自: 君子一诺


找到答案了。actions=resubmit([port],[table])意思就是将流提交到下一个流表。这里的port省略,意思是任何port来的流表,如果遇到这个Flow Rule后,则转入table 1。

对应的流格式为:
<!-- table=0,actions=resubmit(,1) -->
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<flow xmlns="urn:opendaylight:flow:inventory">
<flow-name>RESUBMIT-FLOW</flow-name>
<table_id>0</table_id>
<id>3</id>
<strict>false</strict>
<installHw>false</installHw>
<instructions>
    <instruction>
        <order>0</order>
        <go-to-table>
            <table_id>1</table_id>
        </go-to-table>
    </instruction>
</instructions>
</flow>

要回复问题请先登录注册