Merge "Add floating network config option"

This commit is contained in:
Jenkins
2015-03-24 12:11:06 +00:00
committed by Gerrit Code Review
3 changed files with 7 additions and 1 deletions

View File

@@ -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'),

View File

@@ -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)

View File

@@ -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):