Hi

Openflow v.13 document states that
"For modify requests (OFPGC_MODIFY), if a group entry with the specified
group identifier already re-sides in the group table, then that entry,
including its type and action buckets, must be removed, and the new group
entry added."

I see a different behaviour on the ovs switch though. When a switch
receives a group modify message with different bucket weights- it just
appends the existing buckets without modifying(Deleting and creating ) new
buckets

xxx@xxx:~$ sudo ovs-ofctl -O Openflow13 dump-groups s4
OFPST_GROUP_DESC reply (OF1.3) (xid=0x2):
 group_id=4266446750,type=select,bucket=weight:9121,actions=output:3,
*bucket=weight:9961,actions=output:2*,*bucket=weight:8229,actions=output:2*

Group modify request is as below where buckets is the list of updated
buckets configuration:

req = parser.OFPGroupMod(self.datapaths[dpid],
ofproto.OFPGC_MODIFY,ofproto.OFPGT_SELECT,grp_id,buckets)

Is this expected behavior???

Cheers!
Durga
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to