예제 #1
0
 def get_computes(self, cfgm_ip):
     kwargs = {'stack_user': self.stack_user,
               'stack_password': self.stack_password,
               'project_name': self.stack_tenant,
               'openstack_ip': self.auth_ip}
     api_h = VNCApiInspect(cfgm_ip, args=type('', (), kwargs))
     return api_h.get_computes()
예제 #2
0
 def get_computes(self, cfgm_ip):
     kwargs = {
         'stack_user': self.stack_user,
         'stack_password': self.stack_password,
         'project_name': self.stack_tenant,
         'openstack_ip': self.auth_ip
     }
     api_h = VNCApiInspect(cfgm_ip, args=type('', (), kwargs))
     return api_h.get_computes()
 def get_computes(self, cfgm_ip):
     kwargs = {'stack_user': self.stack_user,
               'stack_password': self.stack_password,
               'project_name': self.stack_tenant,
               'auth_ip': self.auth_ip,
               'auth_port': self.auth_port,
               'api_server_port': self.api_server_port,
              }
     api_h = VNCApiInspect(cfgm_ip, inputs=type('', (), kwargs))
     return api_h.get_computes()
예제 #4
0
 def get_computes(self, cfgm_ip):
     kwargs = {'stack_user': self.stack_user,
               'stack_password': self.stack_password,
               'project_name': self.stack_tenant,
               'auth_ip': self.auth_ip,
               'auth_port': self.auth_port,
               'api_server_port': self.api_server_port,
              }
     api_h = VNCApiInspect(cfgm_ip, inputs=type('', (), kwargs))
     return api_h.get_computes()
예제 #5
0
 def get_api_server_inspects(cls):
     cls.api_inspects = []
     for cfgm_ip in cls.inputs.cfgm_ips:
         cls.api_inspects.append(VNCApiInspect(cfgm_ip,
                                             inputs=cls.inputs,
                                             port=cls.inputs.api_server_port,
                                             protocol=cls.inputs.api_protocol,
                                             base_url='/',
                                             insecure=cls.inputs.insecure,
                                             logger=cls.logger))