def _setup_device_handling(self): auth_url = cfg.CONF.keystone_authtoken.identity_uri + "/v2.0" u_name = cfg.CONF.keystone_authtoken.admin_user pw = cfg.CONF.keystone_authtoken.admin_password tenant = cfg.CONF.general.l3_admin_tenant self._svc_vm_mgr = service_vm_lib.ServiceVMManager( user=u_name, passwd=pw, l3_admin_tenant=tenant, auth_url=auth_url)
def __init__(self): self._setup_backlog_handling() self._svc_vm_mgr = service_vm_lib.ServiceVMManager() super(TestApplianceL3RouterServicePlugin, self).__init__()