

def _update_security_groups(self, security_groups):
    'Update a list of security groups\n\n        :param security_groups: list, security_groups that are to be updated\n        '
    with atomic.ActionTimer(self, ('nova.update_%s_security_groups' % len(self))):
        for sec_group in security_groups:
            sg_new_name = self.generate_random_name()
            sg_new_desc = self.generate_random_name()
            self.clients('nova').security_groups.update(sec_group.id, sg_new_name, sg_new_desc)

dataset/ETHPy150Open openstack/rally/rally/plugins/openstack/scenarios/nova/utils.py NovaScenario._update_security_groups/VarMisuse@26/89 `security_groups`->`self`