X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=nfvbench%2Fchain_workers.py;h=e332d7b26f23f5e6cf72f8d32d08668f55ca584f;hb=95f2491ed89ac99b0d8bd006b4a13cbeb1eb96ce;hp=7c669d149d20f49d97200e0b254fc629457cb659;hpb=ed33e56c9b8771ed9d22fc3cc19e049a76137db8;p=nfvbench.git diff --git a/nfvbench/chain_workers.py b/nfvbench/chain_workers.py index 7c669d1..e332d7b 100644 --- a/nfvbench/chain_workers.py +++ b/nfvbench/chain_workers.py @@ -29,6 +29,9 @@ class BasicWorker(object): def get_version(self): return {} + def config_interfaces(self): + return {} + def close(self): pass @@ -40,7 +43,6 @@ class BasicWorker(object): Specialized workers can insert their own interface stats inside each existing packet path stats for every chain. """ - pass def update_interface_stats(self, diff=False): """Update all interface stats. @@ -50,4 +52,3 @@ class BasicWorker(object): Make sure that the interface stats inserted in insert_interface_stats() are updated with proper values """ - pass