fullstack: Remove ovsdb_interface config opt
ovsdb_interface option was deprecated [1]. Fullstack tests are still not stable so removing tests using ovs-vsctl interface from fullstack won't remove much of testing coverage but removal will simplify the testing matrix a lot. [1] Change Ieb2b8916d4cdbb3b7e6a953c827b176f2217a42f Change-Id: I2655e403c2a63038035048a9ada985c471437367
This commit is contained in:
parent
fc73306daa
commit
70d504faff
|
@ -166,7 +166,6 @@ class OVSConfigFixture(ConfigFixture):
|
|||
'local_ip': local_ip,
|
||||
'integration_bridge': self._generate_integration_bridge(),
|
||||
'of_interface': host_desc.of_interface,
|
||||
'ovsdb_interface': host_desc.ovsdb_interface,
|
||||
},
|
||||
'securitygroup': {
|
||||
'firewall_driver': host_desc.firewall_driver,
|
||||
|
|
|
@ -61,14 +61,13 @@ class HostDescription(object):
|
|||
under?
|
||||
"""
|
||||
def __init__(self, l3_agent=False, dhcp_agent=False,
|
||||
of_interface='ovs-ofctl', ovsdb_interface='vsctl',
|
||||
of_interface='ovs-ofctl',
|
||||
l2_agent_type=constants.AGENT_TYPE_OVS,
|
||||
firewall_driver='noop'):
|
||||
self.l2_agent_type = l2_agent_type
|
||||
self.l3_agent = l3_agent
|
||||
self.dhcp_agent = dhcp_agent
|
||||
self.of_interface = of_interface
|
||||
self.ovsdb_interface = ovsdb_interface
|
||||
self.firewall_driver = firewall_driver
|
||||
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@ LOG = logging.getLogger(__name__)
|
|||
class BaseConnectivitySameNetworkTest(base.BaseFullStackTestCase):
|
||||
|
||||
of_interface = None
|
||||
ovsdb_interface = None
|
||||
arp_responder = False
|
||||
use_dhcp = True
|
||||
|
||||
|
@ -53,7 +52,6 @@ class BaseConnectivitySameNetworkTest(base.BaseFullStackTestCase):
|
|||
environment.HostDescription(
|
||||
l3_agent=self.l2_pop,
|
||||
of_interface=self.of_interface,
|
||||
ovsdb_interface=self.ovsdb_interface,
|
||||
l2_agent_type=self.l2_agent_type,
|
||||
dhcp_agent=self.use_dhcp,
|
||||
)
|
||||
|
@ -206,7 +204,6 @@ class TestConnectivitySameNetworkNoDhcp(BaseConnectivitySameNetworkTest):
|
|||
use_dhcp = False
|
||||
network_type = 'vxlan'
|
||||
l2_pop = False
|
||||
ovsdb_interface = 'native'
|
||||
of_interface = 'native'
|
||||
|
||||
def test_connectivity(self):
|
||||
|
|
|
@ -46,7 +46,6 @@ DSCP_MARK = 16
|
|||
|
||||
class BaseQoSRuleTestCase(object):
|
||||
of_interface = None
|
||||
ovsdb_interface = None
|
||||
number_of_hosts = 1
|
||||
|
||||
@property
|
||||
|
@ -61,7 +60,6 @@ class BaseQoSRuleTestCase(object):
|
|||
environment.HostDescription(
|
||||
l3_agent=False,
|
||||
of_interface=self.of_interface,
|
||||
ovsdb_interface=self.ovsdb_interface,
|
||||
l2_agent_type=self.l2_agent_type
|
||||
) for _ in range(self.number_of_hosts)]
|
||||
env_desc = environment.EnvironmentDescription(
|
||||
|
|
|
@ -40,13 +40,11 @@ class OVSVersionChecker(object):
|
|||
class BaseSecurityGroupsSameNetworkTest(base.BaseFullStackTestCase):
|
||||
|
||||
of_interface = None
|
||||
ovsdb_interface = None
|
||||
|
||||
def setUp(self):
|
||||
host_descriptions = [
|
||||
environment.HostDescription(
|
||||
of_interface=self.of_interface,
|
||||
ovsdb_interface=self.ovsdb_interface,
|
||||
l2_agent_type=self.l2_agent_type,
|
||||
firewall_driver=self.firewall_driver,
|
||||
dhcp_agent=True) for _ in range(2)]
|
||||
|
@ -83,17 +81,14 @@ class TestSecurityGroupsSameNetwork(BaseSecurityGroupsSameNetworkTest):
|
|||
('ovs-hybrid', {
|
||||
'firewall_driver': 'iptables_hybrid',
|
||||
'of_interface': 'native',
|
||||
'ovsdb_interface': 'native',
|
||||
'l2_agent_type': constants.AGENT_TYPE_OVS}),
|
||||
('ovs-openflow-cli_ovsdb-cli', {
|
||||
('ovs-openflow-cli', {
|
||||
'firewall_driver': 'openvswitch',
|
||||
'of_interface': 'ovs-ofctl',
|
||||
'ovsdb_interface': 'vsctl',
|
||||
'l2_agent_type': constants.AGENT_TYPE_OVS}),
|
||||
('ovs-openflow-native_ovsdb-native', {
|
||||
('ovs-openflow-native', {
|
||||
'firewall_driver': 'openvswitch',
|
||||
'of_interface': 'native',
|
||||
'ovsdb_interface': 'native',
|
||||
'l2_agent_type': constants.AGENT_TYPE_OVS}),
|
||||
('linuxbridge-iptables', {
|
||||
'firewall_driver': 'iptables',
|
||||
|
|
|
@ -13,12 +13,6 @@
|
|||
|
||||
def get_ovs_interface_scenarios():
|
||||
return [
|
||||
('openflow-cli_ovsdb-cli', {'of_interface': 'ovs-ofctl',
|
||||
'ovsdb_interface': 'vsctl'}),
|
||||
('openflow-native_ovsdb-cli', {'of_interface': 'native',
|
||||
'ovsdb_interface': 'vsctl'}),
|
||||
('openflow-cli_ovsdb-native', {'of_interface': 'ovs-ofctl',
|
||||
'ovsdb_interface': 'native'}),
|
||||
('openflow-native_ovsdb-native', {'of_interface': 'native',
|
||||
'ovsdb_interface': 'native'}),
|
||||
('openflow-cli', {'of_interface': 'ovs-ofctl'}),
|
||||
('openflow-native', {'of_interface': 'native'}),
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue