

@atomic.action_timer('nova.create_keypair')
def _create_keypair(self, **kwargs):
    'Create a keypair\n\n        :returns: Created keypair name\n        '
    keypair_name = self.generate_random_name()
    keypair = self.clients('nova').keypairs.create(keypair_name, **kwargs)
    return keypair.name

dataset/ETHPy150Open openstack/rally/rally/plugins/openstack/scenarios/nova/utils.py NovaScenario._create_keypair/original