aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/common
diff options
context:
space:
mode:
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>2018-07-24 11:00:01 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-07-24 11:00:01 +0000
commit05dcc38c95cf0f35adadc1545fe663bfbb457bef (patch)
tree7e477e9556350e5e2dfd446162d3dbfc91e4838c /yardstick/common
parentb820c1335b9a3fa84125e95d1345d6abf8033d50 (diff)
parent3bd7227f7ec91a69d50ce3e20bccde51d2a5ba6c (diff)
Merge changes from topics 'YARDSTICK-1346', 'YARDSTICK-1345', 'YARDSTICK-1344'
* changes: Add pktgen test case base files Add pktgen traffic profile Add DPDK pktgen traffic generator
Diffstat (limited to 'yardstick/common')
-rw-r--r--yardstick/common/constants.py1
-rw-r--r--yardstick/common/exceptions.py4
2 files changed, 5 insertions, 0 deletions
diff --git a/yardstick/common/constants.py b/yardstick/common/constants.py
index 4ed40f8af..3d775d48e 100644
--- a/yardstick/common/constants.py
+++ b/yardstick/common/constants.py
@@ -175,3 +175,4 @@ SCOPE_CLUSTER = 'Cluster'
# VNF definition
SSH_PORT = 22
+LUA_PORT = 22022
diff --git a/yardstick/common/exceptions.py b/yardstick/common/exceptions.py
index 2e6cbdd7b..56b11b7aa 100644
--- a/yardstick/common/exceptions.py
+++ b/yardstick/common/exceptions.py
@@ -212,6 +212,10 @@ class WaitTimeout(YardstickException):
message = 'Wait timeout while waiting for condition'
+class PktgenActionError(YardstickException):
+ message = 'Error in "%(action)s" action'
+
+
class KubernetesApiException(YardstickException):
message = ('Kubernetes API errors. Action: %(action)s, '
'resource: %(resource)s')