Use floating_network_name instead of 'public'

In RemoteDeeplyNestedStackTest, network name is assigned as 'public'.
However, there is no guarantee to have 'public' network.
Instead of using the hardcoded network name, we should use
floating_network_name assigned in conf file.

Change-Id: I01313d557e415bb0b0d8df310c445e63190f4505
Story: #2006144
Task: 35640
This commit is contained in:
Keigo Noha 2019-07-01 22:07:27 +09:00
parent 7cb225adda
commit 374fdb793b

View File

@ -22,7 +22,7 @@ class RemoteDeeplyNestedStackTest(scenario_base.ScenarioTestsBase):
def test_remote_nested(self):
parameters = {
'name': 'remote-nested',
'network_name': 'public',
'network_name': self.conf.floating_network_name,
}
stack_id = self.launch_stack(