[ovs-discuss] ovs-ofctl - learn - no way to provide actions=resubmit in the learnt rule

Farhad Sunavala fsbiz at yahoo.com
Wed Jun 15 11:38:42 PDT 2016


Hi,
I would like to implement a learnt rule with an action resubmit.Currently, OVS does not support learn with the learnt rule having a resubmit action.Before I have a go at implementing this functionality,  I would like to check if thereare any gotches why this should not be done.
Thanks,Farhad.

Example:
Supported:
root at compute1-166:/proc/sys/net/ipv4/conf# ovs-ofctl add-flow br-int "table=250, actions=learn(table=20,NXM_OF_VLAN_TCI[0..11],NXM_OF_ETH_DST[]=NXM_OF_ETH_SRC[],load:0->NXM_OF_VLAN_TCI[],load:NXM_NX_TUN_ID[]->NXM_NX_TUN_ID[],output:NXM_OF_IN_PORT[]),resubmit:200"

Not supported:
root at compute1-166:/proc/sys/net/ipv4/conf# ovs-ofctl add-flow br-int "table=250, actions=learn(table=20,NXM_OF_VLAN_TCI[0..11],NXM_OF_ETH_DST[]=NXM_OF_ETH_SRC[],load:0->NXM_OF_VLAN_TCI[],load:NXM_NX_TUN_ID[]->NXM_NX_TUN_ID[],resubmit:300),resubmit:200"

ovs-ofctl: table=20,NXM_OF_VLAN_TCI[0..11],NXM_OF_ETH_DST[]=NXM_OF_ETH_SRC[],load:0->NXM_OF_VLAN_TCI[],load:NXM_NX_TUN_ID[]->NXM_NX_TUN_ID[],resubmit:300: unknown keyword resubmit

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20160615/067de39f/attachment.html>


More information about the discuss mailing list