def setUp(self): super(TestNoopComputeDriver, self).setUp() self.driver = driver.NoopComputeDriver() self.name = "amphora_name" self.amphora_flavor = "m1.tiny" self.image_id = self.FAKE_UUID_1 self.image_tag = "faketag" self.image_owner = self.FAKE_UUID_2 self.key_name = "key_name" self.sec_groups = ["default"] self.network_ids = [self.FAKE_UUID_3] self.confdrivefiles = ["config_driver_file1"] self.user_data = "user_data" self.amphora_id = self.FAKE_UUID_4 self.loadbalancer_id = self.FAKE_UUID_5 self.server_group_policy = 'anti-affinity' self.server_group_name = 'my_server_group' self.server_group_id = self.FAKE_UUID_6 self.port_ids = ['port-id-1'] self.port_id = 88 self.network_id = uuidutils.generate_uuid() self.ip_address = "192.0.2.2" self.flavor_id = uuidutils.generate_uuid() self.availability_zone = 'my_test_az'
def setUp(self): super(TestNoopComputeDriver, self).setUp() self.driver = driver.NoopComputeDriver() self.name = "amphora_name" self.amphora_flavor = "m1.tiny" self.image_id = self.FAKE_UUID_2 self.key_name = "key_name" self.sec_groups = "default" self.network_ids = self.FAKE_UUID_3 self.confdrivefiles = "config_driver_files" self.user_data = "user_data" self.amphora_id = self.FAKE_UUID_1
def setUp(self): super(TestNoopComputeDriver, self).setUp() self.driver = driver.NoopComputeDriver() self.name = "amphora_name" self.amphora_flavor = "m1.tiny" self.image_id = self.FAKE_UUID_2 self.image_tag = "faketag" self.key_name = "key_name" self.sec_groups = "default" self.network_ids = self.FAKE_UUID_3 self.confdrivefiles = "config_driver_files" self.user_data = "user_data" self.amphora_id = self.FAKE_UUID_1 self.loadbalancer_id = self.FAKE_UUID_1 self.server_group_policy = 'anti-affinity' self.server_group_id = self.FAKE_UUID_1