

@validation.required_parameters('driver')
@validation.required_services(consts.Service.IRONIC)
@validation.required_openstack(admin=True)
@scenario.configure(context={
    'admin_cleanup': ['ironic'],
})
def create_and_delete_node(self, **kwargs):
    'Create and delete node.\n\n        :param kwargs: Optional additional arguments for node creation\n        '
    node = self._create_node(**kwargs)
    self._delete_node(node.uuid)

dataset/ETHPy150Open openstack/rally/rally/plugins/openstack/scenarios/ironic/nodes.py IronicNodes.create_and_delete_node/original