def _setup_device_handling(self):
     auth_url = cfg.CONF.keystone_authtoken.auth_uri
     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 _svc_vm_mgr(self):
     if self._svc_vm_mgr_obj is None:
         auth_url, u_name, pw = self.get_auth_param()
         tenant = cfg.CONF.general.l3_admin_tenant
         self._svc_vm_mgr_obj = service_vm_lib.ServiceVMManager(
             user=u_name,
             passwd=pw,
             l3_admin_tenant=tenant,
             auth_url=auth_url)
     return self._svc_vm_mgr_obj
Exemple #3
0
 def __init__(self):
     self._setup_backlog_handling()
     self._svc_vm_mgr_obj = service_vm_lib.ServiceVMManager()
     super(TestApplianceL3RouterServicePlugin, self).__init__()