summaryrefslogtreecommitdiffstats
path: root/vstf/vstf/rpc_frame_work/constant.py
diff options
context:
space:
mode:
authorYiting.Li <liyiting@huawei.com>2015-12-22 17:11:12 -0800
committerYiting.Li <liyiting@huawei.com>2015-12-22 17:11:12 -0800
commit8f1101df131a4d3e03b377738507d88b745831c0 (patch)
tree73f140474fcec2a77c85a453f6946957ca0742d1 /vstf/vstf/rpc_frame_work/constant.py
parent1a24ebbda3f95600c0e7d5ed8661317a8ff7e265 (diff)
Upload the contribution of vstf as bottleneck network framework.
End to End Performance test JIRA:BOTTLENECK-29 Change-Id: Ib2c553c8b60d6cda9e7a7b52b737c9139f706ebd Signed-off-by: Yiting.Li <liyiting@huawei.com>
Diffstat (limited to 'vstf/vstf/rpc_frame_work/constant.py')
-rwxr-xr-xvstf/vstf/rpc_frame_work/constant.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/vstf/vstf/rpc_frame_work/constant.py b/vstf/vstf/rpc_frame_work/constant.py
new file mode 100755
index 00000000..da555dee
--- /dev/null
+++ b/vstf/vstf/rpc_frame_work/constant.py
@@ -0,0 +1,13 @@
+fan_exchange = "esp_exchange"
+exchange_d = "vstf_dexch"
+queue_common = "vstf-"
+TIMEOUT = 10
+NEVERTIMEOUT = 9999
+FAN = "fanout"
+DIRECT = "direct"
+
+# these for commandline
+
+NETDEV = "netdevs"
+LISTDEVS = "lspci | grep Eth"
+LIST_DEVS_NAME = "ls /sys/class/net/"