aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/network_services/vnf_generic/vnf/cgnapt_vnf.py
diff options
context:
space:
mode:
authorMytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>2018-09-21 16:31:23 +0100
committerMytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>2019-02-01 09:25:14 +0000
commit2697582f46264a7c6e5eafeb98dbfe8f9c0d81b2 (patch)
treed85d2a9c5e3e8f3cdad587337e602eac6cf80ece /yardstick/network_services/vnf_generic/vnf/cgnapt_vnf.py
parent11b0b1e3cfcc4b09008c33903d4bf70eb96beba7 (diff)
Refactor SampleVNF wait method
JIRA: YARDSTICK-1439 Change-Id: I26441fe1f6e34a867c1f19d60d2247e888af6c54 Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
Diffstat (limited to 'yardstick/network_services/vnf_generic/vnf/cgnapt_vnf.py')
-rw-r--r--yardstick/network_services/vnf_generic/vnf/cgnapt_vnf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/yardstick/network_services/vnf_generic/vnf/cgnapt_vnf.py b/yardstick/network_services/vnf_generic/vnf/cgnapt_vnf.py
index bfe628f09..62e15094a 100644
--- a/yardstick/network_services/vnf_generic/vnf/cgnapt_vnf.py
+++ b/yardstick/network_services/vnf_generic/vnf/cgnapt_vnf.py
@@ -120,3 +120,7 @@ class CgnaptApproxVnf(SampleVNF):
self.vnf_execute(cmd)
time.sleep(WAIT_FOR_STATIC_NAPT)
+
+ def wait_for_instantiate(self):
+ """Wait for VNF to initialize"""
+ self.wait_for_initialize()