Browse code

Merge "Fix ovs-vsctl executed in worlddump.py failed issue"

Jenkins authored on 2016/05/11 15:13:44
Showing 1 changed files
... ...
@@ -88,7 +88,8 @@ def _header(name):
88 88
 
89 89
 
90 90
 def _bridge_list():
91
-    process = subprocess.Popen(['ovs-vsctl', 'list-br'], stdout=subprocess.PIPE)
91
+    process = subprocess.Popen(['sudo', 'ovs-vsctl', 'list-br'],
92
+                               stdout=subprocess.PIPE)
92 93
     stdout, _ = process.communicate()
93 94
     return stdout.split()
94 95