Merge "Fullstack connectivity: test interface scenario added."
This commit is contained in:
commit
5621e166c9
@ -123,7 +123,10 @@ def setup_test_logging(config_opts, log_dir, log_file_path_template):
|
||||
|
||||
def sanitize_log_path(path):
|
||||
# Sanitize the string so that its log path is shell friendly
|
||||
return path.replace(' ', '-').replace('(', '_').replace(')', '_')
|
||||
replace_map = {' ': '-', '(': '_', ')': '_'}
|
||||
for s, r in six.iteritems(replace_map):
|
||||
path = path.replace(s, r)
|
||||
return path
|
||||
|
||||
|
||||
class AttributeDict(dict):
|
||||
|
@ -81,12 +81,14 @@ class TestOvsConnectivitySameNetwork(BaseConnectivitySameNetworkTest):
|
||||
('VLANs', {'network_type': 'vlan',
|
||||
'l2_pop': False})]
|
||||
interface_scenarios = [
|
||||
('openflow-cli', {'of_interface': 'ovs-ofctl',
|
||||
'ovsdb_interface': 'vsctl'}),
|
||||
('openflow-native', {'of_interface': 'native',
|
||||
'ovsdb_interface': 'vsctl'}),
|
||||
('ovsdb-native', {'of_interface': 'ovs-ofctl',
|
||||
'ovsdb_interface': 'native'})]
|
||||
('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'})]
|
||||
scenarios = testscenarios.multiply_scenarios(
|
||||
network_scenarios, interface_scenarios)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user