Add parameters for Veritas HyperScale distributed setup.
authorabhishek.kane <abhishek.kane@veritas.com>
Mon, 24 Jul 2017 09:13:32 +0000 (14:43 +0530)
committerabhishek.kane <abhishek.kane@veritas.com>
Mon, 24 Jul 2017 16:31:14 +0000 (22:01 +0530)
Add more parameters to Veritas Hyperscale's composable service, which
will be relevant in distributed setup.

Change-Id: Ib1b90edbf17ea7f14bdbed4857241fca86b87a18
Signed-off-by: abhishek.kane <abhishek.kane@veritas.com>
environments/veritas-hyperscale/veritas-hyperscale-config.yaml
puppet/services/veritas-hyperscale-controller.yaml

index 30fe399..f663353 100644 (file)
@@ -22,3 +22,10 @@ parameter_defaults:
   VrtsRabbitPassword: ''
   VrtsKeystonePassword: ''
   VrtsMysqlPassword: ''
+  VrtsCtrlMgmtIP: ''
+  VrtsDashboardIP: ''
+  VrtsZookeeperIP: ''
+  VrtsSSHPassword: ''
+  VrtsConfigParam1: ''
+  VrtsConfigParam2: ''
+  VrtsConfigParam3: ''
index bcb9e38..fe641ad 100644 (file)
@@ -19,13 +19,41 @@ description: >
 parameters:
   VrtsRabbitPassword:
     type: string
-    default: ''
+    description: The Rabbitmq password of the hyperscale user. Mandatory.
   VrtsKeystonePassword:
     type: string
-    default: ''
+    description: The Keystone password of the hyperscale service. Mandatory.
   VrtsMysqlPassword:
+    type: string
+    description: The MySQL password of the hyperscale user. Mandatory.
+  VrtsCtrlMgmtIP:
+    type: string
+    default: ''
+    description: The management IP of HyperScale. The value will be inferred
+                 from the rest of the deployment settings if left blank.
+  VrtsDashboardIP:
+    type: string
+    default: ''
+    description: The dashboard IP of HyperScale. The value will be inferred
+                 from the rest of the deployment settings if left blank.
+  VrtsZookeeperIP:
+    type: string
+    description: The IP of a node where Zookeeper is configured. Mandatory.
+  VrtsSSHPassword:
+    type: string
+    description: The SSH password of the hyperscale user. Mandatory.
+  VrtsConfigParam1:
+    type: string
+    default: ''
+    description: Additional config parameter. Optional.
+  VrtsConfigParam2:
+    type: string
+    default: ''
+    description: Additional config parameter. Optional.
+  VrtsConfigParam3:
     type: string
     default: ''
+    description: Additional config parameter. Optional.
   ServiceData:
     default: {}
     description: Dictionary packing service data
@@ -59,6 +87,14 @@ outputs:
     value:
       service_name: veritas_hyperscale_controller
       config_settings:
+      global_config_settings:
+        vrts_ctrl_mgmt_ip: {get_param: VrtsCtrlMgmtIP}
+        vrts_dashboard_ip: {get_param: VrtsDashboardIP}
+        vrts_zookeeper_ip: {get_param: VrtsZookeeperIP}
+        vrts_ssh_passwd: {get_param: VrtsSSHPassword}
+        vrts_config_param1: {get_param: VrtsConfigParam1}
+        vrts_config_param2: {get_param: VrtsConfigParam2}
+        vrts_config_param3: {get_param: VrtsConfigParam3}
       step_config: |
         include ::veritas_hyperscale::controller_pkg_inst
       service_config_settings: