robottelo.cleanup

Cleanup module for different entities

Module Contents

Functions

capsule_cleanup(proxy_id=None)

Deletes the capsule with the given id

realm_cleanup(realm_id=None)

Deletes the realm with the given id

location_cleanup(loc_id=None)

Deletes the location with the given id

org_cleanup(org_id=None)

Deletes the Org with the given id

host_cleanup(host_id=None)

Deletes the Host with the given id

setting_cleanup(setting_name=None, setting_value=None)

Put necessary value for a specified setting

vm_cleanup(vm)

Destroys virtual machine

cleanup_of_provisioned_server(hostname=None, provisioning_server=None, distro=None)

Cleanup the VM from provisioning server

Attributes

LOGGER

robottelo.cleanup.LOGGER
robottelo.cleanup.capsule_cleanup(proxy_id=None)

Deletes the capsule with the given id

robottelo.cleanup.realm_cleanup(realm_id=None)

Deletes the realm with the given id

robottelo.cleanup.location_cleanup(loc_id=None)

Deletes the location with the given id

robottelo.cleanup.org_cleanup(org_id=None)

Deletes the Org with the given id

robottelo.cleanup.host_cleanup(host_id=None)

Deletes the Host with the given id

robottelo.cleanup.setting_cleanup(setting_name=None, setting_value=None)

Put necessary value for a specified setting

robottelo.cleanup.vm_cleanup(vm)

Destroys virtual machine

Parameters

vm (robottelo.vm.VirtualMachine) – virtual machine to destroy

robottelo.cleanup.cleanup_of_provisioned_server(hostname=None, provisioning_server=None, distro=None)

Cleanup the VM from provisioning server

Param

str hostname: The content host hostname

Param

str provisioning_server: provision server name

Param

str distro: distro type