aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorQiLiang <liangqi1@huawei.com>2015-10-25 14:47:37 +0000
committerQiLiang <liangqi1@huawei.com>2015-11-01 12:12:31 +0000
commitb1eb58006197c7a41aa5f1e2c2db465bb2f0dbc3 (patch)
tree8b62695e6c2323990c74a803d0ae9b2a2b2e08e1 /etc
parent05d5ac8d6d5e9bd1e6b69afbd764000aeb4a030e (diff)
Support NodeContext type
Initial NodeContext implementation to support BareMetal, Controller, Compute scenarios. Usage: 0) install yardstick 1) mkdir -p /etc/yardstick/nodes 2) cp <yardstick_repo>/etc/yardstick/nodes/pod.yaml.sample \ /etc/yardstick/nodes/pod.yaml 3) edit /etc/yardstick/nodes/pod.yaml (make show ip, username, ssh key are configured correctly) 4) yardstick -d task start \ <yardstick_repo>/samples/ping-node-context.yaml 5) cat /tmp/yardstick.out Design etherpad link: https://etherpad.opnfv.org/p/yardstick_framework JIRA: YARDSTICK-169 Change-Id: I3f6ade8243e68d88326f23ed213edb32c638ed32 Signed-off-by: QiLiang <liangqi1@huawei.com>
Diffstat (limited to 'etc')
-rw-r--r--etc/yardstick/nodes/pod.yaml.sample24
1 files changed, 24 insertions, 0 deletions
diff --git a/etc/yardstick/nodes/pod.yaml.sample b/etc/yardstick/nodes/pod.yaml.sample
new file mode 100644
index 000000000..a374596c8
--- /dev/null
+++ b/etc/yardstick/nodes/pod.yaml.sample
@@ -0,0 +1,24 @@
+---
+# Sample config file about the POD information, including the
+# name/IP/user/ssh key of Bare Metal and Controllers/Computes
+#
+# The options of this config file include:
+# name: the name of this node
+# role: node's role, support role: Master/Controller/Comupte/BareMetal
+# ip: the node's IP address
+# user: the username for login
+# key_filename:the path of the private key file for login
+
+nodes:
+-
+ name: athena
+ role: Controller
+ ip: 10.229.47.137
+ user: root
+ key_filename: /root/yardstick/yardstick/resources/files/yardstick_key
+-
+ name: ares
+ role: Controller
+ ip: 10.229.47.138
+ user: root
+ key_filename: /root/yardstick/yardstick/resources/files/yardstick_key