Fix wrong net segment type in test_bond_offloading

Change-Id: Ibf432d16cb3465e1b6f49418b06cf0530ed23796
Closes-Bug: #1524229
This commit is contained in:
zatserklyany 2015-12-14 13:19:15 +02:00
parent 202126f27c
commit a5c19d9279
2 changed files with 5 additions and 6 deletions

View File

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

View File

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