Skip to content

Commit c6572bf

Browse files
committed
fixup! Rework traffic-rules
1 parent c58453f commit c6572bf

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tests/sdncontroller_test_cases/functions.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@
5555
"exception": {
5656
"type": XenAPIPlugin.Failure,
5757
"code": "3",
58-
"text": "Error running ovs-vsctl command: ['ovs-vsctl', 'br-to-parent', 'abcd']: ovs-vsctl: no bridge named abcd",
58+
"text": "Error running ovs-vsctl command: ['ovs-vsctl', "
59+
"'br-to-parent', 'abcd']: ovs-vsctl: no bridge named abcd",
5960
},
6061
"cmd": [
6162
{
@@ -230,7 +231,8 @@
230231
"exception": {
231232
"type": XenAPIPlugin.Failure,
232233
"code": "3",
233-
"text": "Error running ovs-ofctl command: ['ovs-ofctl', '-O', 'OpenFlow11', 'add-flow', 'xenbr0', 'ip,in_port=5,nw_dst=1.1.1.1/24,actions=drop']: fake error",
234+
"text": "Error running ovs-ofctl command: ['ovs-ofctl', '-O', 'OpenFlow11', 'add-flow', 'xenbr0', "
235+
"'ip,in_port=5,nw_dst=1.1.1.1/24,actions=drop']: fake error",
234236
},
235237
"cmd": [
236238
{"returncode": 0, "stdout": "xenbr0", "stderr": ""}, # br-to-parent
@@ -370,7 +372,8 @@
370372
"exception": {
371373
"type": XenAPIPlugin.Failure,
372374
"code": "3",
373-
"text": "Error running ovs-ofctl command: ['ovs-ofctl', '-O', 'OpenFlow11', 'del-flows', 'xenbr0', 'ip,in_port=5,nw_dst=1.1.1.1/24']: fake error",
375+
"text": "Error running ovs-ofctl command: ['ovs-ofctl', '-O', 'OpenFlow11', 'del-flows', 'xenbr0', "
376+
"'ip,in_port=5,nw_dst=1.1.1.1/24']: fake error",
374377
},
375378
"cmd": [
376379
{"returncode": 0, "stdout": "xenbr0", "stderr": ""}, # br-to-parent

0 commit comments

Comments
 (0)