update_node_networks: fuelweb_admin network is set directly
update_node_networks: fuelweb_admin network is set directly Automatic substitution is not supported ant it was a reason for tests failure on the fuel-devops 3 Change-Id: Ia7dcee574c3146a870cd317dd991566af7eaefbe
This commit is contained in:
parent
682afd6b27
commit
f15352b934
|
@ -3241,7 +3241,7 @@ class FuelWebClient30(FuelWebClient29):
|
|||
interfaces.extend(raw_data)
|
||||
|
||||
def get_iface_by_name(ifaces, name):
|
||||
iface = [i for i in ifaces if i['name'] == name]
|
||||
iface = [_iface for _iface in ifaces if _iface['name'] == name]
|
||||
assert_true(len(iface) > 0,
|
||||
"Interface with name {} is not present on "
|
||||
"node. Please check override params.".format(name))
|
||||
|
|
|
@ -625,6 +625,7 @@ class NodeMultipleInterfaces(TestBasic):
|
|||
self.env.revert_snapshot("ready_with_3_slaves")
|
||||
|
||||
interfaces_dict = {
|
||||
iface_alias('eth0'): ['fuelweb_admin'],
|
||||
iface_alias('eth1'): ['public'],
|
||||
iface_alias('eth2'): ['storage'],
|
||||
iface_alias('eth3'): ['private'],
|
||||
|
|
|
@ -29,6 +29,7 @@ from fuelweb_test.tests.base_test_case import TestBasic
|
|||
class TestOffloading(TestBasic):
|
||||
|
||||
interfaces = {
|
||||
settings.iface_alias('eth0'): ['fuelweb_admin'],
|
||||
settings.iface_alias('eth1'): ['public'],
|
||||
settings.iface_alias('eth2'): ['management'],
|
||||
settings.iface_alias('eth3'): ['private'],
|
||||
|
|
Loading…
Reference in New Issue