def __init__(self): self._readConfig = ReadConfig() self._loggers = Loggers() self._os_tenant_name = self._readConfig.accounts.basebench_os_tenant_name self._os_project_name = self._readConfig.accounts.basebench_os_project_name self._os_username = self._readConfig.accounts.basebench_os_username self._os_password = self._readConfig.accounts.basebench_os_password self._init = Init(self._os_tenant_name, self._os_project_name, self._os_username, self._os_password, self._loggers.basebenchLogger) self._accountResource = self._init.initAccountResource() self._test_fio_router_name = 'basebench_fio_router' self._test_iperf_router_name = 'basebench_iperf_router' self._test_unixbench_router_name = 'basebench_unixbench_router' self._user_data_path = 'userdata/user_data' self._test_fio_net_name = 'basebench_fio_net' self._test_fio_subnet_cidr = '192.168.50.0/24' self._test_iperf_net1_name = 'basebench_iperf_net1' self._test_iperf_subnet1_cidr = '192.168.70.0/24' self._test_iperf_net2_name = 'basebench_iperf_net2' self._test_iperf_subnet2_cidr = '192.168.80.0/24' self._test_unixbench_net_name = 'basebench_unixbench_net' self._test_unixbench_subnet_cidr = '192.168.60.0/24' self._loggers.basebenchLogger.info('===初始化基准测试基础资源===') self._initResource()
def __init__(self): self._readConfig=ReadConfig() self._loggers=Loggers() self._os_tenant_name=self._readConfig.accounts.stability_heat_os_tenant_name self._os_project_name=self._readConfig.accounts.stability_heat_os_project_name self._os_username =self._readConfig.accounts.stability_heat_os_username self._os_password=self._readConfig.accounts.stability_heat_os_password self._init=Init(self._os_tenant_name,self._os_project_name,self._os_username,self._os_password,self._loggers.stabilityHeatLogger) self._accountResource = self._init.initAccountResource() self._router_name='basebench_heat_router' self._user_data_path='userdata/user_data' self._test_heat_net_name='basebench_heat_net' self._test_heat_subnet_cidr='192.168.50.0/24' self._loggers.stabilityHeatLogger.info('===初始化稳定性测试基础资源[heat账号]===') self._initResource()
def __init__(self): self._readConfig = ReadConfig() self._loggers = Loggers() self._os_tenant_name = self._readConfig.accounts.stability_fio_os_tenant_name self._os_project_name = self._readConfig.accounts.stability_fio_os_project_name self._os_username = self._readConfig.accounts.stability_fio_os_username self._os_password = self._readConfig.accounts.stability_fio_os_password self._init = Init(self._os_tenant_name, self._os_project_name, self._os_username, self._os_password, self._loggers.stabilityFioLogger) self._accountResource = self._init.initAccountResource() self._router_name = 'basebench_stablity_fio_router' self._user_data_path = 'userdata/user_data' self._fio_net_name = 'basebench_fio_stable_net' self._fio_subnet_cidr = '192.168.50.0/24' self._loggers.stabilityFioLogger.info('===初始化fio稳定性测试资源===') self._initResource()
def __init__(self): self._readConfig = ReadConfig() self._loggers = Loggers() self._os_tenant_name = self._readConfig.accounts.stability_iperf_os_tenant_name self._os_project_name = self._readConfig.accounts.stability_iperf_os_project_name self._os_username = self._readConfig.accounts.stability_iperf_os_username self._os_password = self._readConfig.accounts.stability_iperf_os_password self._init = Init(self._os_tenant_name, self._os_project_name, self._os_username, self._os_password, self._loggers.stabilityIperfLogger) self._accountResource = self._init.initAccountResource() self._router_name = 'basebench_iperf_router' self._user_data_path = 'userdata/user_data' self._test_iperf_net1_name = 'basebench_iperf_net1' self._test_iperf_subnet1_cidr = '192.168.70.0/24' self._test_iperf_net2_name = 'basebench_iperf_net2' self._test_iperf_subnet2_cidr = '192.168.80.0/24' self._loggers.stabilityIperfLogger.info('===初始化稳定性测试基础资源[iperf账号]===') self._initResource()
def __init__(self): self._loggers = Loggers() self._readConfig = ReadConfig()
def __init__(self): self._loggers = Loggers() self._readConfig = ReadConfig() self._tests = Tests() self._accountresource = None