@utils.retry_loop(<NUM_LIT:3>)<EOL><INDENT>def update_group_states_for_vifs(self, vifs, ack):<DEDENT>
vif_keys = [self.vif_key(vif.device_id, vif.mac_address)<EOL>for vif in vifs]<EOL>self.set_fields(vif_keys, SECURITY_GROUP_ACK, ack)<EOL>
Updates security groups by setting the ack field