aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/network_services/vnf_generic/vnf/sample_vnf.py
diff options
context:
space:
mode:
authorMartin Banszel <martinx.banszel@intel.com>2017-09-13 17:12:28 +0200
committerRoss Brattain <ross.b.brattain@intel.com>2017-09-18 01:28:28 -0700
commitfa3bb6c5a517564f06096cad24ff1055d9cd1ba0 (patch)
tree667d92c2031d33fb08c8ed8136d2d44585d174c6 /yardstick/network_services/vnf_generic/vnf/sample_vnf.py
parentfc472119a2054dae200d19c2788ada3cd19ad736 (diff)
Fix the offset bug for UDP dst port in the traffic profile
Also sends a new line to the VNF when waiting for prompt. Change-Id: Ib8641093974cd6713594aac9b418595ad5268e87 Signed-off-by: Martin Banszel <martinx.banszel@intel.com>
Diffstat (limited to 'yardstick/network_services/vnf_generic/vnf/sample_vnf.py')
-rw-r--r--yardstick/network_services/vnf_generic/vnf/sample_vnf.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/yardstick/network_services/vnf_generic/vnf/sample_vnf.py b/yardstick/network_services/vnf_generic/vnf/sample_vnf.py
index 96e703060..c240d3778 100644
--- a/yardstick/network_services/vnf_generic/vnf/sample_vnf.py
+++ b/yardstick/network_services/vnf_generic/vnf/sample_vnf.py
@@ -786,8 +786,9 @@ class SampleVNF(GenericVNF):
LOG.info("Waiting for %s VNF to start.. ", self.APP_NAME)
time.sleep(1)
- # put newline to force new prompt?
- self.q_in.put("\r\n")
+ # Send ENTER to display a new prompt in case the prompt text was corrupted
+ # by other VNF output
+ self.q_in.put('\r\n')
def _build_run_kwargs(self):
self.run_kwargs = {