aboutsummaryrefslogtreecommitdiffstats
path: root/test/vpp_controler.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/vpp_controler.py')
-rw-r--r--test/vpp_controler.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/vpp_controler.py b/test/vpp_controler.py
index b29f00e..816ed4c 100644
--- a/test/vpp_controler.py
+++ b/test/vpp_controler.py
@@ -39,8 +39,12 @@ class Vpp_controler:
if self.process is None:
return
- subprocess.run(self.ccmd + " create host name vpp1", shell=True)
- subprocess.run(self.ccmd + " create host name vpp2", shell=True)
+ subprocess.run(self.ccmd + " create host name vpp1", shell=True,
+ stdout=subprocess.PIPE,
+ stderr=subprocess.PIPE)
+ subprocess.run(self.ccmd + " create host name vpp2", shell=True,
+ stdout=subprocess.PIPE,
+ stderr=subprocess.PIPE)
def spawn(self):
self.process = subprocess.Popen([self.cmd, "-c", self.configuration],