Hi, I seem to have some trouble using resubmit action within a group
action. Am I doing something wrong, or is this not supported?

I installed rules as follows and did a test to see if the bucket action is
applied. But, didn't see that work. At the least, If it is not supported,
I'd have to like to see a message saying that it isn't.

$ sudo ovs-ofctl --protocols=OpenFlow13 add-group s1
group_id=1,type=all,bucket=mod_dl_dst:00:00:00:00:00:02,mod_nw_dst:10.0.0.2,
*resubmit*\(,1\)
$ sudo ovs-ofctl --protocols=OpenFlow13 add-flow s1
ip,nw_dst=10.0.0.5,actions=group:1
$ sudo ovs-ofctl --protocols=OpenFlow13 add-flow s1
table=1,ip,nw_dst=10.0.0.2,actions=output:2


*$ sudo ovs-ofctl --protocols=OpenFlow13 dump-groups s1*OFPST_GROUP_DESC
reply (OF1.3) (xid=0x2):
 
group_id=1,type=all,bucket=actions=set_field:00:00:00:00:00:02->eth_dst,set_field:10.0.0.2->ip_dst,resubmit(,1)


*$ sudo ovs-ofctl --protocols=OpenFlow13 dump-flows s1*OFPST_FLOW reply
(OF1.3) (xid=0x2):
 cookie=0x0, duration=29.300s, table=0, n_packets=0, n_bytes=0,
ip,nw_dst=10.0.0.5 actions=group:1
 cookie=0x0, duration=53.772s, table=1, n_packets=0, n_bytes=0,
ip,nw_dst=10.0.0.2 actions=output:2


*$ sudo ovs-appctl ofproto/trace s1
in_port=1,ip,dl_dst=00:10:10:10:10:14,nw_dst=10.0.0.5*Bridge: s1
Flow:
ip,metadata=0,in_port=1,vlan_tci=0x0000,dl_src=00:00:00:00:00:00,dl_dst=00:10:10:10:10:14,nw_src=0.0.0.0,nw_dst=10.0.0.5,nw_tos=0,nw_ecn=0,nw_ttl=0
Rule: table=0 cookie=0 ip,nw_dst=10.0.0.5
OpenFlow actions=group:1

Final flow: unchanged
Megaflow: recirc_id=0,skb_priority=0,ip,in_port=1,nw_dst=10.0.0.5,nw_frag=no
Datapath actions: drop


When I tested by sending real packets, I had the same drop effect.

Thanks
Srini.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to