Merge "Extend TRex RFC2544 test case collected stats"
[yardstick.git] / yardstick / network_services / vnf_generic / vnf / acl_vnf.py
index 1357f6b..69d29bf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2016-2017 Intel Corporation
+# Copyright (c) 2016-2019 Intel Corporation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -197,7 +197,7 @@ class AclApproxSetupEnvSetupEnvHelper(DpdkVnfSetupEnvHelper):
                         # e.g.: {"fwd": {"port": 0}}
                         # format action CLI command and add it to the list
                         if action_name not in _action_template_map.keys():
-                            raise exceptions.AclUknownActionTemplate(
+                            raise exceptions.AclUnknownActionTemplate(
                                 action_name=action_name)
                         template = _action_template_map[action_name]
                         try:
@@ -251,3 +251,7 @@ class AclApproxVnf(SampleVNF):
             setup_env_helper_type = AclApproxSetupEnvSetupEnvHelper
 
         super(AclApproxVnf, self).__init__(name, vnfd, setup_env_helper_type, resource_helper_type)
+
+    def wait_for_instantiate(self):
+        """Wait for VNF to initialize"""
+        self.wait_for_initialize()