Update stor4nfv install scripts according to opensds aruba release
[stor4nfv.git] / ci / ansible / group_vars / osdsdock.yml
index 1544c65..c0f54f0 100644 (file)
@@ -1,3 +1,17 @@
+# Copyright (c) 2018 Huawei Technologies Co., Ltd. All Rights Reserved.\r
+#\r
+# Licensed under the Apache License, Version 2.0 (the "License");\r
+# you may not use this file except in compliance with the License.\r
+# You may obtain a copy of the License at\r
+#\r
+#     http://www.apache.org/licenses/LICENSE-2.0\r
+#\r
+# Unless required by applicable law or agreed to in writing, software\r
+# distributed under the License is distributed on an "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+# See the License for the specific language governing permissions and\r
+# limitations under the License.\r
+\r
 ---\r
 # Dummy variable to avoid error because ansible does not recognize the\r
 # file as a good configuration file when no variable in it.\r
@@ -10,25 +24,28 @@ dummy:
 \r
 # Change it according to your backend, currently support 'lvm', 'ceph', 'cinder'\r
 enabled_backend: lvm\r
+# Change it according to your node type (host or target), currently support\r
+# 'provisioner', 'attacher'\r
+dock_type: provisioner\r
 \r
 # These fields are NOT suggested to be modified\r
 dock_endpoint: localhost:50050\r
 dock_log_file: "{{ opensds_log_dir }}/osdsdock.log"\r
 \r
+\r
 ###########\r
 #   LVM   #\r
 ###########\r
 \r
-pv_devices: # Specify block devices and ensure them existed if you choose lvm\r
-  #- /dev/sdc\r
-  #- /dev/sdd\r
-vg_name: vg001 # Specify a name randomly\r
 \r
 # These fields are NOT suggested to be modified\r
 lvm_name: lvm backend\r
 lvm_description: This is a lvm backend service\r
 lvm_driver_name: lvm\r
-lvm_config_path: "{{ opensds_config_dir }}/driver/lvm.yaml"\r
+lvm_config_path: "{{ opensds_driver_config_dir }}/lvm.yaml"\r
+opensds_volume_group: opensds-volumes\r
+\r
+\r
 \r
 ###########\r
 #  CEPH   #\r
@@ -43,7 +60,8 @@ ceph_pools: # Specify pool name randomly
 ceph_name: ceph backend\r
 ceph_description: This is a ceph backend service\r
 ceph_driver_name: ceph\r
-ceph_config_path: "{{ opensds_config_dir }}/driver/ceph.yaml"\r
+ceph_config_path: "{{ opensds_driver_config_dir }}/ceph.yaml"\r
+\r
 \r
 ###########\r
 # CINDER  #\r
@@ -65,14 +83,14 @@ cinder_image_tag: debian-cinder
 # removed when use ansible script clean environment.\r
 cinder_volume_group: cinder-volumes\r
 # All source code and volume group file will be placed in the cinder_data_dir:\r
-cinder_data_dir: "{{ workplace }}/cinder_data_dir"\r
-\r
+cinder_data_dir: "/opt/cinder_data_dir"\r
 \r
-# These fields are not suggested to be modified\r
+# These fields are NOT suggested to be modified\r
 cinder_name: cinder backend\r
 cinder_description: This is a cinder backend service\r
 cinder_driver_name: cinder\r
-cinder_config_path: "{{ opensds_config_dir }}/driver/cinder.yaml"\r
+cinder_config_path: "{{ opensds_driver_config_dir }}/cinder.yaml"\r
+\r
 \r
 ###########\r
 # DOCKER  #\r