Hello,
I created a no controller 2 host topology in mininet. I added the following
flows:
user@user-HP-ProBook-4440s:~$ sudo ovs-ofctl -O OpenFlow13 add-flow s1
ip,nw_src=10.0.0.1,actions=group:1user@user-HP-ProBook-4440s:~$ sudo ovs-ofctl
-O OpenFlow13 add-flow s1 ip,nw_src=10.0.0.2,actions=group:2
with the corresponding groups being:
user@user-HP-ProBook-4440s:~$ sudo ovs-ofctl -O OpenFlow13 dump-groups
s1OFPST_GROUP_DESC reply (OF1.3) (xid=0x2):
group_id=1,type=all,bucket=actions=output:2
group_id=2,type=all,bucket=actions=output:1
I test it on mininet:
mininet> pingall*** Ping: testing ping reachabilityh1 -> h2 h2 -> h1 ***
Results: 0% dropped (2/2 received)mininet> pingall*** Ping: testing ping
reachabilityh1 -> h2 h2 -> h1 *** Results: 0% dropped (2/2 received)mininet>
pingall*** Ping: testing ping reachabilityh1 -> h2 h2 -> h1 *** Results: 0%
dropped (2/2 received)
Dumping flows i get:
cookie=0x0, duration=51.525s, table=0, n_packets=6, n_bytes=588,
ip,nw_src=10.0.0.1 actions=group:1
cookie=0x0, duration=49.691s, table=0, n_packets=6, n_bytes=588,
ip,nw_src=10.0.0.2 actions=group:2
But dumping groups I get:
user@user-HP-ProBook-4440s:~$ sudo ovs-ofctl -O OpenFlow13 dump-group-stats
s1OFPST_GROUP reply (OF1.3) (xid=0x2):
group_id=1,duration=2553.432s,ref_count=1,packet_count=0,byte_count=0,bucket0:packet_count=0,byte_count=0
group_id=2,duration=2444.484s,ref_count=1,packet_count=0,byte_count=0,bucket0:packet_count=0,byte_count=0
Why are the bucket counters not getting updated like the flow counters? Is
there something I should do for that? Also thanks :)
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss