summaryrefslogtreecommitdiffstats
path: root/dovetail/userconfig/pod.yaml.sample
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2017-06-22 00:04:51 -0400
committerxudan <xudan16@huawei.com>2017-06-22 00:04:51 -0400
commit21563d9f2ed1da2161e23769da090ba8320c6d7f (patch)
tree22893eecc2fd8ab8df03d7c3b598f438e17d30f2 /dovetail/userconfig/pod.yaml.sample
parent9de3050873909448d675a47326cd4f153a47bef2 (diff)
Bugfix: Move userconfig directory into dovetail/dovetail
JITA: DOVETAIL-449 1. Dovetail cvp.0.1.0 link dovetail/dovetail to /usr/local/lib/python2.7/dist-packages/dovetail/ 2. The directory dovetail/userconfig is lost in this image 3. Move dovetail/userconfig into dovetail/dovetail/userconfig Change-Id: I9da8389e02d92f35879ff5c6a1db1b7d984dd862 Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'dovetail/userconfig/pod.yaml.sample')
-rw-r--r--dovetail/userconfig/pod.yaml.sample50
1 files changed, 50 insertions, 0 deletions
diff --git a/dovetail/userconfig/pod.yaml.sample b/dovetail/userconfig/pod.yaml.sample
new file mode 100644
index 00000000..26636a6b
--- /dev/null
+++ b/dovetail/userconfig/pod.yaml.sample
@@ -0,0 +1,50 @@
+##############################################################################
+# Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+---
+# sample config file about the POD information, including the
+# name/IP/user/ssh key 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: node1
+ role: Controller
+ ip: 10.1.0.50
+ user: root
+ key_filename: /root/.ssh/id_rsa
+-
+ name: node2
+ role: Controller
+ ip: 10.1.0.51
+ user: root
+ key_filename: /root/.ssh/id_rsa
+-
+ name: node3
+ role: Controller
+ ip: 10.1.0.52
+ user: root
+ key_filename: /root/.ssh/id_rsa
+-
+ name: node4
+ role: Compute
+ ip: 10.1.0.53
+ user: root
+ key_filename: /root/.ssh/id_rsa
+-
+ name: node5
+ role: Compute
+ ip: 10.1.0.54
+ user: root
+ key_filename: /root/.ssh/id_rsa