

def _create_security_groups(self, security_group_count):
    security_groups = []
    with atomic.ActionTimer(self, ('nova.create_%s_security_groups' % security_group_count)):
        for i in range(security_group_count):
            sg_name = i.generate_random_name()
            sg = self.clients('nova').security_groups.create(sg_name, sg_name)
            security_groups.append(sg)
    return security_groups

dataset/ETHPy150Open openstack/rally/rally/plugins/openstack/scenarios/nova/utils.py NovaScenario._create_security_groups/VarMisuse@45/83 `self`->`i`