diff options
Diffstat (limited to 'vnfs/vnf')
-rw-r--r-- | vnfs/vnf/vnf.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vnfs/vnf/vnf.py b/vnfs/vnf/vnf.py index f8d2df90..483faf38 100644 --- a/vnfs/vnf/vnf.py +++ b/vnfs/vnf/vnf.py @@ -121,3 +121,13 @@ class IVnf(tasks.Process): """ self.execute(cmd) self.wait(prompt=prompt, timeout=timeout) + + @staticmethod + def reset_vnf_counter(): + """ + Reset internal VNF counters + + This method is static + """ + IVnf._number_vnfs = 0 + |