Fix wrong net segment type in test_bond_offloading
Change-Id: Ibf432d16cb3465e1b6f49418b06cf0530ed23796 Closes-Bug: #1524229
This commit is contained in:
parent
202126f27c
commit
a5c19d9279
@ -19,7 +19,7 @@ from proboscis import test
|
||||
|
||||
from fuelweb_test.helpers.checkers import check_offload
|
||||
from fuelweb_test.helpers.decorators import log_snapshot_after_test
|
||||
from fuelweb_test.settings import DEPLOYMENT_MODE_HA
|
||||
from fuelweb_test import settings
|
||||
from fuelweb_test.tests.base_test_case import SetupEnvironment
|
||||
from fuelweb_test.tests.test_bonding_base import BondingTest
|
||||
|
||||
@ -67,10 +67,10 @@ class TestOffloading(BondingTest):
|
||||
self.show_step(1)
|
||||
cluster_id = self.fuel_web.create_cluster(
|
||||
name=self.__class__.__name__,
|
||||
mode=DEPLOYMENT_MODE_HA,
|
||||
mode=settings.DEPLOYMENT_MODE_HA,
|
||||
settings={
|
||||
"net_provider": 'neutron',
|
||||
"net_segment_type": 'vlan',
|
||||
"net_segment_type": settings.NEUTRON_SEGMENT['vlan'],
|
||||
}
|
||||
)
|
||||
|
||||
@ -163,10 +163,10 @@ class TestOffloading(BondingTest):
|
||||
self.show_step(1)
|
||||
cluster_id = self.fuel_web.create_cluster(
|
||||
name=self.__class__.__name__,
|
||||
mode=DEPLOYMENT_MODE_HA,
|
||||
mode=settings.DEPLOYMENT_MODE_HA,
|
||||
settings={
|
||||
"net_provider": 'neutron',
|
||||
"net_segment_type": 'vlan',
|
||||
"net_segment_type": settings.NEUTRON_SEGMENT['tun'],
|
||||
}
|
||||
)
|
||||
|
||||
|
@ -69,7 +69,6 @@ class BondingTest(TestBasic):
|
||||
if bond['name'] == bond_name:
|
||||
for slave in bond['slaves']:
|
||||
bond_slaves.append(slave['name'])
|
||||
bond_slaves.append(bond_name)
|
||||
return bond_slaves
|
||||
|
||||
def check_interfaces_config_after_reboot(self, cluster_id):
|
||||
|
Loading…
Reference in New Issue
Block a user