def __init__(self, name, config, comp=None, net=None, server=False): Instance.__init__(self, name, config, comp, net) self.is_server = server if "I" in config.protocols: self.ping = PingTool(self) else: self.ping = None if config.tp_tool: self.tp_tool = config.tp_tool(self) else: self.tp_tool = None
def __init__(self, name, config, comp=None, net=None, server=False): Instance.__init__(self, name, config, comp, net) self.is_server = server if 'I' in config.protocols: self.ping = PingTool(self) else: self.ping = None if config.tp_tool: self.tp_tool = config.tp_tool(self) else: self.tp_tool = None
def __init__(self, name, config, comp=None, net=None, server=False): Instance.__init__(self, name, config, comp, net) self.is_server = server if 'I' in config.protocols: self.ping = PingTool(self) else: self.ping = None if config.tp_tool: self.tp_tool = config.tp_tool(self, config.perf_tool_path) else: self.tp_tool = None # Override the config drive option to save in instance if config.config_drive: self.config_drive = True else: self.config_drive = None
def __init__(self, conf_file): Instance.__init__(self, conf_file) self.tenant_id = self.nova.client.tenant_id self.instance_quota = self.nova.quotas.get(self.tenant_id).instances self.floatingip_quota = self.nova.quotas.get( self.tenant_id).floating_ips
def __init__(self, meta_data): Instance.__init__(self, meta_data) self.instance_name = meta_data['']
def __init__(self, conf_file): Instance.__init__(self, conf_file)
def __init__(self, instance_name): Instance.__init__(self, instance_name) self.instance_name = instance_name