예제 #1
0
파일: manager.py 프로젝트: rmahmood/cobalt
 def _init_vms(self):
     """ Initializes the hypervisor options depending on the openstack connection type. """
     if self.vms_conn == None:
         connection_type = CONF.connection_type
         self.vms_conn = vmsconn.get_vms_connection(connection_type)
         self.vms_conn.configure()
예제 #2
0
 def setUp(self):
     self.vmsconn = vms_conn.get_vms_connection('fake')
예제 #3
0
 def _init_vms(self):
     """ Initializes the hypervisor options depending on the openstack connection type. """
     connection_type = FLAGS.connection_type
     self.vms_conn = vmsconn.get_vms_connection(connection_type)
     self.vms_conn.configure()