Add floating network config option
for integration tests. Change-Id: I14c93a5ffb5e336258105869dcb5fbbe4d6c9e6f
This commit is contained in:
parent
dc5dbd04e4
commit
2e352a382a
|
@ -65,6 +65,9 @@ IntegrationTestGroup = [
|
|||
cfg.StrOpt('fixed_network_name',
|
||||
default='private',
|
||||
help="Visible fixed network name "),
|
||||
cfg.StrOpt('floating_network_name',
|
||||
default='public',
|
||||
help="Visible floating network name "),
|
||||
cfg.StrOpt('boot_config_env',
|
||||
default=('heat_integrationtests/scenario/templates'
|
||||
'/boot_config_none_env.yaml'),
|
||||
|
|
|
@ -52,6 +52,9 @@
|
|||
# Visible fixed network name (string value)
|
||||
#fixed_network_name = private
|
||||
|
||||
# Visible floating network name (string value)
|
||||
#floating_network_name = public
|
||||
|
||||
# Path to environment file which defines the resource type
|
||||
# Heat::InstallConfigAgent. Needs to be appropriate for the image_ref. (string
|
||||
# value)
|
||||
|
|
|
@ -24,7 +24,7 @@ class NeutronLoadBalancerTest(scenario_base.ScenarioTestsBase):
|
|||
|
||||
def setUp(self):
|
||||
super(NeutronLoadBalancerTest, self).setUp()
|
||||
self.public_net = self._get_network('public')
|
||||
self.public_net = self._get_network(self.conf.floating_network_name)
|
||||
self.template_name = 'test_neutron_loadbalancer.yaml'
|
||||
|
||||
def collect_responses(self, ip, expected_resp):
|
||||
|
|
Loading…
Reference in New Issue