The networking_cisco.plugins.cisco.device_manager.service_vm_lib Module

class networking_cisco.plugins.cisco.device_manager.service_vm_lib.ServiceVMManager(is_auth_v3, user=None, passwd=None, l3_admin_tenant=None, auth_url=”, keystone_session=None)

Bases: object

delete_service_vm(context, vm_id)
delete_service_vm_fake(context, vm_id)
delete_service_vm_real(context, vm_id)
dispatch_service_vm(context, instance_name, vm_image, vm_flavor, hosting_device_drv, credentials_info, connectivity_info, ports=None)
dispatch_service_vm_fake(context, instance_name, vm_image, vm_flavor, hosting_device_drv, credentials_info, connectivity_info, ports=None)
dispatch_service_vm_real(context, instance_name, vm_image, vm_flavor, hosting_device_drv, credentials_info, connectivity_info, ports=None)
get_service_vm_status(vm_id)
interface_attach(vm_id, port_id)
interface_detach(vm_id, port_id)
nova_services_up()

Checks if required Nova services are up and running.

returns: True if all needed Nova services are up, False otherwise

vm_interface_list(vm_id)