summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPradip Rawat <Pradip.Rawat.CTR@kaminario.com>2016-11-30 10:42:13 +0530
committerPradip Rawat <Pradip.Rawat.CTR@kaminario.com>2016-11-30 10:42:13 +0530
commitc0ac92b035904787c0915709befa19adf7c9cd99 (patch)
tree6003d5f57b58aa39bfcbe364664424dd310825e5
parent550e506082f9506b2494e9b5bd36aa1441589430 (diff)
Update fuel plugin repo with new UI changes
Change-Id: I9dfc95bdb70adf31242aa272dafdb20295d31f52 Co-Authored-By: Chaithanya Kopparthi<chaithanyak@biarca.com>
Notes
Notes (review): Code-Review+2: Pradip Rawat <Pradip.Rawat.CTR@kaminario.com> Workflow+1: Pradip Rawat <Pradip.Rawat.CTR@kaminario.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 30 Nov 2016 05:32:00 +0000 Reviewed-on: https://review.openstack.org/404542 Project: openstack/fuel-plugin-cinder-kaminario Branch: refs/heads/master
-rw-r--r--components.yaml2
-rw-r--r--deployment_scripts/puppet/modules/kaminario/manifests/controller_config.pp25
-rw-r--r--deployment_scripts/puppet/modules/kaminario/manifests/init.pp51
-rw-r--r--deployment_scripts/puppet/modules/kaminario/manifests/krest.pp2
-rw-r--r--deployment_scripts/puppet/modules/kaminario/manifests/type.pp52
-rw-r--r--deployment_tasks.yaml2
-rw-r--r--doc/plugin guide/source/images/FC_HBA.pngbin0 -> 204123 bytes
-rw-r--r--doc/plugin guide/source/images/cinder_create_success.pngbin0 -> 15918 bytes
-rw-r--r--doc/plugin guide/source/images/cinder_service_list.pngbin0 -> 32901 bytes
-rw-r--r--doc/plugin guide/source/images/iscsi_dashboard.pngbin0 -> 51348 bytes
-rw-r--r--doc/plugin guide/source/images/service_list.pngbin0 -> 30572 bytes
-rw-r--r--doc/plugin guide/source/images/volume_attach.pngbin0 -> 152610 bytes
-rw-r--r--doc/plugin guide/source/images/wwn_wrong.pngbin0 -> 193709 bytes
-rw-r--r--doc/plugin guide/source/index.rst2
-rw-r--r--doc/plugin guide/source/troubleshooting.rst87
-rw-r--r--environment_config.yaml1133
-rw-r--r--metadata.yaml2
17 files changed, 719 insertions, 639 deletions
diff --git a/components.yaml b/components.yaml
index 056eaad..3d3b43c 100644
--- a/components.yaml
+++ b/components.yaml
@@ -1,6 +1,6 @@
1- name: 'storage:block:backend:kaminario' 1- name: 'storage:block:backend:kaminario'
2 label: 'Kaminario' 2 label: 'Kaminario'
3 description: 'Cinder with Kaminario backend' 3 description: 'Use Kaminario K2 as backend for Cinder volumes'
4 compatible: 4 compatible:
5 - name: storage:block:lvm 5 - name: storage:block:lvm
6 - name: storage:block:ceph 6 - name: storage:block:ceph
diff --git a/deployment_scripts/puppet/modules/kaminario/manifests/controller_config.pp b/deployment_scripts/puppet/modules/kaminario/manifests/controller_config.pp
index c3bfa61..6437c0d 100644
--- a/deployment_scripts/puppet/modules/kaminario/manifests/controller_config.pp
+++ b/deployment_scripts/puppet/modules/kaminario/manifests/controller_config.pp
@@ -3,7 +3,7 @@ class kaminario::controller_config{
3$config_file='/etc/cinder/cinder.conf' 3$config_file='/etc/cinder/cinder.conf'
4$plugin_settings = hiera('cinder_kaminario') 4$plugin_settings = hiera('cinder_kaminario')
5 5
6 if $plugin_settings['scheduler_default_filters'] != '' 6 if ($plugin_settings['filter_function_0'] != '') or ($plugin_settings['filter_function_1'] != '') or ($plugin_settings['filter_function_2'] != '') or ($plugin_settings['filter_function_3'] != '') or ($plugin_settings['filter_function_4'] != '') or ($plugin_settings['filter_function_5'] != '')
7 { 7 {
8 ini_subsetting {'scheduler_default_filters': 8 ini_subsetting {'scheduler_default_filters':
9 ensure => present, 9 ensure => present,
@@ -11,23 +11,20 @@ $plugin_settings = hiera('cinder_kaminario')
11 key_val_separator => '=', 11 key_val_separator => '=',
12 path => $config_file, 12 path => $config_file,
13 setting => 'scheduler_default_filters', 13 setting => 'scheduler_default_filters',
14 subsetting => $plugin_settings['scheduler_default_filters'], 14 subsetting => 'DriverFilters',
15 subsetting_separator => ',', 15 subsetting_separator => ',',
16 } 16 }
17 } 17
18 if $plugin_settings['scheduler_default_weighers'] != '' 18 ini_subsetting {'scheduler_default_filter':
19 { 19 ensure => present,
20 cinder_config { 20 section => 'DEFAULT',
21 'DEFAULT/scheduler_default_weighers' : value => $plugin_settings['scheduler_default_weighers']; 21 key_val_separator => '=',
22 } 22 path => $config_file,
23 } 23 setting => 'scheduler_default_filters',
24 if $plugin_settings['rpc_response_timeout'] != '' 24 subsetting => 'CapacityFilter',
25 { 25 subsetting_separator => ',',
26 cinder_config {
27 'DEFAULT/rpc_response_timeout' : value => $plugin_settings['rpc_response_timeout'];
28 } 26 }
29 } 27 }
30
31 cinder_config { 28 cinder_config {
32 'DEFAULT/default_volume_type' : value => $default_volume_type 29 'DEFAULT/default_volume_type' : value => $default_volume_type
33 } 30 }
diff --git a/deployment_scripts/puppet/modules/kaminario/manifests/init.pp b/deployment_scripts/puppet/modules/kaminario/manifests/init.pp
index f7960c1..417f47d 100644
--- a/deployment_scripts/puppet/modules/kaminario/manifests/init.pp
+++ b/deployment_scripts/puppet/modules/kaminario/manifests/init.pp
@@ -10,24 +10,24 @@ define recursion(
10$plugin_settings = hiera('cinder_kaminario') 10$plugin_settings = hiera('cinder_kaminario')
11 11
12 config {"plugin_${value}": 12 config {"plugin_${value}":
13 add_backend => $plugin_settings["add_backend_${value}"], 13 add_backend => $plugin_settings["add_backend_${value}"],
14 cinder_node => $plugin_settings["cinder_node_${value}"], 14 cinder_node => $plugin_settings["cinder_node_${value}"],
15 storage_protocol => $plugin_settings["storage_protocol_${value}"], 15 storage_protocol => $plugin_settings["storage_protocol_${value}"],
16 backend_name => $plugin_settings["backend_name_${value}"], 16 backend_name => $plugin_settings["backend_name_${value}"],
17 storage_user => $plugin_settings["storage_user_${value}"], 17 storage_user => $plugin_settings["storage_user_${value}"],
18 storage_password => $plugin_settings["storage_password_${value}"], 18 storage_password => $plugin_settings["storage_password_${value}"],
19 storage_ip => $plugin_settings["storage_ip_${value}"], 19 storage_ip => $plugin_settings["storage_ip_${value}"],
20 enable_replication => $plugin_settings["enable_replication_${value}"], 20 enable_replication => $plugin_settings["enable_replication_${value}"],
21 replication_ip => $plugin_settings["replication_ip_${value}"], 21 replication_ip => $plugin_settings["replication_ip_${value}"],
22 replication_login => $plugin_settings["replication_login_${value}"], 22 replication_login => $plugin_settings["replication_login_${value}"],
23 replication_rpo => $plugin_settings["replication_rpo_${value}"], 23 replication_rpo => $plugin_settings["replication_rpo_${value}"],
24 replication_password => $plugin_settings["replication_password_${value}"], 24 replication_password => $plugin_settings["replication_password_${value}"],
25 enable_multipath => $plugin_settings["enable_multipath_${value}"], 25 enable_multipath => $plugin_settings["enable_multipath_${value}"],
26 suppress_logs => $plugin_settings["suppress_logs_${value}"], 26 suppress_logs => $plugin_settings["suppress_logs_${value}"],
27 filter_function => $plugin_settings["filter_function_${value}"], 27 filter_function => $plugin_settings["filter_function_${value}"],
28 goodness_function => $plugin_settings["goodness_function_${value}"], 28 oversubscription_ratio => $plugin_settings["oversubscription_ratio_${value}"],
29 oversubscription_ratio => $plugin_settings["oversubscription_ratio_${value}"], 29 report_discard_supported => $plugin_settings["report_discard_supported_${value}"],
30 num => $value 30 num => $value
31 } 31 }
32 $minus1 = inline_template('<%= @value.to_i - 1 %>') 32 $minus1 = inline_template('<%= @value.to_i - 1 %>')
33 if $minus1 < '0' { 33 if $minus1 < '0' {
@@ -41,7 +41,7 @@ $plugin_settings = hiera('cinder_kaminario')
41} 41}
42 42
43 43
44define config($add_backend,$storage_protocol,$backend_name,$storage_user,$storage_password,$storage_ip,$num,$cinder_node,$enable_replication,$replication_ip,$replication_login,$replication_rpo,$replication_password,$enable_multipath,$suppress_logs,$filter_function,$oversubscription_ratio,$goodness_function) { 44define config($add_backend,$storage_protocol,$backend_name,$storage_user,$storage_password,$storage_ip,$num,$cinder_node,$enable_replication,$replication_ip,$replication_login,$replication_rpo,$replication_password,$enable_multipath,$suppress_logs,$filter_function,$oversubscription_ratio,$report_discard_supported) {
45 45
46 $sec_name = section_name( $storage_ip , $backend_name ) 46 $sec_name = section_name( $storage_ip , $backend_name )
47 $config_file = '/etc/cinder/cinder.conf' 47 $config_file = '/etc/cinder/cinder.conf'
@@ -99,17 +99,18 @@ define config($add_backend,$storage_protocol,$backend_name,$storage_user,$storag
99 } 99 }
100 } 100 }
101 101
102 if $goodness_function != '' {
103 cinder_config {
104 "${sec_name}/goodness_function" : value => $goodness_function;
105 }
106 }
107
108 if $oversubscription_ratio == true { 102 if $oversubscription_ratio == true {
109 cinder_config { 103 cinder_config {
110 "${sec_name}/auto_calc_max_oversubscription_ratio" : value => 'True'; 104 "${sec_name}/auto_calc_max_oversubscription_ratio" : value => 'True';
111 } 105 }
112 } 106 }
107
108 if $report_discard_supported == true {
109 cinder_config {
110 "${sec_name}/report_discard_supported" : value => 'True';
111 }
112 }
113
113} 114}
114} 115}
115} 116}
diff --git a/deployment_scripts/puppet/modules/kaminario/manifests/krest.pp b/deployment_scripts/puppet/modules/kaminario/manifests/krest.pp
index cf4b18f..9ce284f 100644
--- a/deployment_scripts/puppet/modules/kaminario/manifests/krest.pp
+++ b/deployment_scripts/puppet/modules/kaminario/manifests/krest.pp
@@ -5,6 +5,6 @@ package { 'krest':
5 ensure => installed, 5 ensure => installed,
6 provider => pip, 6 provider => pip,
7 require => Package['python-pip'],} 7 require => Package['python-pip'],}
8 package { 'git': 8package { 'git':
9 ensure => installed,} 9 ensure => installed,}
10} 10}
diff --git a/deployment_scripts/puppet/modules/kaminario/manifests/type.pp b/deployment_scripts/puppet/modules/kaminario/manifests/type.pp
index 9c6c782..d3e7507 100644
--- a/deployment_scripts/puppet/modules/kaminario/manifests/type.pp
+++ b/deployment_scripts/puppet/modules/kaminario/manifests/type.pp
@@ -7,54 +7,52 @@ define recursion(
7 $value 7 $value
8) { 8) {
9 $plugin_settings = hiera('cinder_kaminario') 9 $plugin_settings = hiera('cinder_kaminario')
10
11 kaminario_type {"plugin_${value}": 10 kaminario_type {"plugin_${value}":
12 create_type => $plugin_settings["create_type_${value}"], 11 create_type => $plugin_settings["create_type_${value}"],
13 options => $plugin_settings["options_${value}"], 12 backend_name => $plugin_settings["type_backendname_${value}"],
14 backend_name => $plugin_settings["backend_name_${value}"], 13 type_enable_replication => $plugin_settings["type_enable_replication_${value}"],
15 type_name => $plugin_settings["type_name_${value}"] 14 enable_nodedup => $plugin_settings["enable_nodedup_${value}"],
15 type_name => $plugin_settings["type_name_${value}"]
16 } 16 }
17 $minus1 = inline_template('<%= @value.to_i - 1 %>') 17 $minus1 = inline_template('<%= @value.to_i - 1 %>')
18 if $minus1 < '0' { 18 if "${minus1}" < '0' {
19 19
20 } else { 20 } else {
21 recursion { "value-${minus1}": 21 recursion { "value-${minus1}":
22 value => $minus1, 22 value => $minus1,
23 } 23 }
24 } 24 }
25} 25}
26} 26}
27 27
28define kaminario_type ($create_type,$options,$backend_name,$type_name) { 28define kaminario_type ($create_type,$backend_name,$type_name,$enable_nodedup,$type_enable_replication) {
29if $create_type == true { 29if $create_type == true {
30case $options { 30if ($enable_nodedup == true) and ($type_enable_replication == false) {
31 'enable_replication_type': {
32 cinder_type {$type_name: 31 cinder_type {$type_name:
33 ensure => present, 32 ensure => present,
34 properties => ["volume_backend_name=${backend_name}",'kaminario:replication=enabled'], 33 properties => ["volume_backend_name=${backend_name}"],
35 } 34 }
36 } 35}
37 'enable_dedup': { 36if ($type_enable_replication == true) and ($enable_nodedup == false) {
38 cinder_type {$type_name: 37 cinder_type {$type_name:
39 ensure => present, 38 ensure => present,
40 properties => ["volume_backend_name=${backend_name}",'kaminario:thin_prov_type=nodedup'], 39 properties => ["volume_backend_name=${backend_name}",'kaminario:replication=enabled', 'kaminario:thin_prov_type=nodedup'],
41 } 40 }
42 } 41}
43 'replication_dedup': { 42if ($type_enable_replication == true) and ($enable_nodedup == true) {
44 cinder_type {$type_name: 43 cinder_type {$type_name:
45 ensure => present, 44 ensure => present,
46 properties => ["volume_backend_name=${backend_name}",'kaminario:thin_prov_type=nodedup','kaminario:replication=enabled'], 45 properties => ["volume_backend_name=${backend_name}",'kaminario:replication=enabled'],
47 } 46 }
48 } 47}
49 'default': { 48
49if ($type_enable_replication == false) and ($enable_nodedup == false) {
50
50 cinder_type {$type_name: 51 cinder_type {$type_name:
51 ensure => present, 52 ensure => present,
52 properties => ["volume_backend_name=${backend_name}"], 53 properties => ["volume_backend_name=${backend_name}",'kaminario:thin_prov_type=nodedup'],
53 } 54 }
54 }
55
56} 55}
57
58} 56}
59
60} 57}
58
diff --git a/deployment_tasks.yaml b/deployment_tasks.yaml
index 932a03e..31fe641 100644
--- a/deployment_tasks.yaml
+++ b/deployment_tasks.yaml
@@ -5,7 +5,7 @@
5 requires: [top-role-cinder] 5 requires: [top-role-cinder]
6 required_for: [deploy_end] 6 required_for: [deploy_end]
7 condition: 7 condition:
8 yaql_exp: "changedAny($.cinder, $.get('cinder_volume_group'), $.network_metadata.nodes.get(concat(\"node-\", $.uid)).network_roles.get('cinder/iscsi'), $.network_metadata.vips, $.debug, $.node_volumes, $.storage, $.rabbit, $.ceilometer, $.get('use_stderr'), $.get('use_syslog'), $.get('syslog_log_facility_cinder'), $.get('syslog_log_facility_ceph'), $.get('proxy_port'), $.get('kombu_compression'), $.get('use_ssl'), $.get('service_endpoint'), $.get('glance_api_servers'), $.get('amqp_hosts'), $.network_metadata.nodes.values().where(\n $.node_roles.any($.matches('controller'))).network_roles.select(\n $.get('mgmt/messaging')))\n" 8 yaql_exp: "changedAny($.cinder_kaminario,$.cinder, $.get('cinder_volume_group'), $.network_metadata.nodes.get(concat(\"node-\", $.uid)).network_roles.get('cinder/iscsi'), $.network_metadata.vips, $.debug, $.node_volumes, $.storage, $.rabbit, $.ceilometer, $.get('use_stderr'), $.get('use_syslog'), $.get('syslog_log_facility_cinder'), $.get('syslog_log_facility_ceph'), $.get('proxy_port'), $.get('kombu_compression'), $.get('use_ssl'), $.get('service_endpoint'), $.get('glance_api_servers'), $.get('amqp_hosts'), $.network_metadata.nodes.values().where(\n $.node_roles.any($.matches('controller'))).network_roles.select(\n $.get('mgmt/messaging')))\n"
9 parameters: 9 parameters:
10 puppet_manifest: puppet/manifests/cinder_kaminario.pp 10 puppet_manifest: puppet/manifests/cinder_kaminario.pp
11 puppet_modules: puppet/modules:/etc/puppet/modules 11 puppet_modules: puppet/modules:/etc/puppet/modules
diff --git a/doc/plugin guide/source/images/FC_HBA.png b/doc/plugin guide/source/images/FC_HBA.png
new file mode 100644
index 0000000..8166cda
--- /dev/null
+++ b/doc/plugin guide/source/images/FC_HBA.png
Binary files differ
diff --git a/doc/plugin guide/source/images/cinder_create_success.png b/doc/plugin guide/source/images/cinder_create_success.png
new file mode 100644
index 0000000..d95acd1
--- /dev/null
+++ b/doc/plugin guide/source/images/cinder_create_success.png
Binary files differ
diff --git a/doc/plugin guide/source/images/cinder_service_list.png b/doc/plugin guide/source/images/cinder_service_list.png
new file mode 100644
index 0000000..500033b
--- /dev/null
+++ b/doc/plugin guide/source/images/cinder_service_list.png
Binary files differ
diff --git a/doc/plugin guide/source/images/iscsi_dashboard.png b/doc/plugin guide/source/images/iscsi_dashboard.png
new file mode 100644
index 0000000..a03e073
--- /dev/null
+++ b/doc/plugin guide/source/images/iscsi_dashboard.png
Binary files differ
diff --git a/doc/plugin guide/source/images/service_list.png b/doc/plugin guide/source/images/service_list.png
new file mode 100644
index 0000000..6cb1235
--- /dev/null
+++ b/doc/plugin guide/source/images/service_list.png
Binary files differ
diff --git a/doc/plugin guide/source/images/volume_attach.png b/doc/plugin guide/source/images/volume_attach.png
new file mode 100644
index 0000000..c5125b2
--- /dev/null
+++ b/doc/plugin guide/source/images/volume_attach.png
Binary files differ
diff --git a/doc/plugin guide/source/images/wwn_wrong.png b/doc/plugin guide/source/images/wwn_wrong.png
new file mode 100644
index 0000000..42acd27
--- /dev/null
+++ b/doc/plugin guide/source/images/wwn_wrong.png
Binary files differ
diff --git a/doc/plugin guide/source/index.rst b/doc/plugin guide/source/index.rst
index 9ccb72e..cdc259f 100644
--- a/doc/plugin guide/source/index.rst
+++ b/doc/plugin guide/source/index.rst
@@ -16,4 +16,4 @@ Contents:
16 installation 16 installation
17 plugin_configuration 17 plugin_configuration
18 guide 18 guide
19 19 troubleshooting
diff --git a/doc/plugin guide/source/troubleshooting.rst b/doc/plugin guide/source/troubleshooting.rst
new file mode 100644
index 0000000..8bc9fdb
--- /dev/null
+++ b/doc/plugin guide/source/troubleshooting.rst
@@ -0,0 +1,87 @@
1Verification
2============
3
4Login into the controller node from the Fuel-master node:
5
61. Verify the status of cinder-volume service for Kaminario backend
7
8 .. code-block:: console
9
10 $ cinder service-list
11
12 .. image:: ./images/service_list.png
13 :width: 400pt
14 :alt: service_list
15
16
17
182. Create a volume. Verify the volume and volume group from the Kaminario K2 all-flash array dashboard.
19
20 .. code-block:: console
21
22 $ cinder create --name volume 1
23
24 .. image:: ./images/cinder_create_success.png
25 :width: 400pt
26 :alt: cinder_create_success
27
28 .. image:: ./images/iscsi_dashboard.png
29 :width: 400pt
30 :alt: iscsi_dashboard
31
32*Note:* The volume name is **cv-<cinder-volume-id>** and volume group name is **cvg-<cinder-volume-id>**.
33
343. Run the OpenStack Test Framework (OSTF). From the Fuel web UI:
35
36 * Click the **Health Check** tab
37 * Select the **Select All** checkbox
38 * Click **Run Tests**.
39
40 *Note:* The Kaminario Fuel plugin verification is mainly based on the Functional tests.
41
42
43Troubleshooting
44===============
45
46On failure of the verification of Kaminario Fuel plugin or any Cinder volume operations related to the Kaminario backend, check the following log files for identifying the root cause of the failure:
47
48#. **/var/log/cinder/cinder-volume.log**
49#. **/var/log/cinder/cinder-api.log**
50#. **/var/log/cinder/cinder-scheduler.log**
51#. **/var/log/nova/nova-compute.log**
52
53Check the status of cinder volume service for Kaminario backend.
54
55 .. code-block:: console
56
57 $ cinder service-list
58
59 .. image:: ./images/cinder_service_list.png
60 :width: 400pt
61 :alt: cinder_service_list
62
63The failures may be caused due to many possibilities, the following are few of them:
64
651. Kaminario rest-api version is less than 2.2.0.
662. Kaminario K2 all-flash array version is less than 5.8.
673. Data path between the Fuel nodes (having cinder and compute role) and the Kaminario K2 all-flash array is not present or inaccessible:
68
69 .. image:: ./images/FC_HBA.png
70 :width: 400pt
71 :alt: FC_HBA
72
73 .. image:: ./images/volume_attach.png
74 :width: 400pt
75 :alt: volume_attach
76
77 .. image:: ./images/wwn_wrong.png
78 :width: 400pt
79 :alt: wwn_wrong
80
81
82
834. Management IP of the Kaminario backend is not correct or inaccessible from the Fuel node having the Cinder role.
845. Wrong credentials (username and password) used for the Kaminario backend.
856. Not using the Kaminario Fuel plugin configuration options for; creating volume type and setting default volume type.
867. No proper use of Kaminario Fuel plugin configuration options like Filter Function, Goodness Function, Scheduler weighers and Scheduler filters.
878. Others.
diff --git a/environment_config.yaml b/environment_config.yaml
index 5872b18..ea388a1 100644
--- a/environment_config.yaml
+++ b/environment_config.yaml
@@ -13,7 +13,7 @@ attributes:
13 type: "radio" 13 type: "radio"
14 weight: 10 14 weight: 10
15 value: "FC" 15 value: "FC"
16 label: "Storage protocol to be used on the data path with storage system" 16 label: "Storage connection types"
17 values: 17 values:
18 - data: "ISCSI" 18 - data: "ISCSI"
19 label: "ISCSI" 19 label: "ISCSI"
@@ -22,42 +22,36 @@ attributes:
22 22
23 cinder_node_0: 23 cinder_node_0:
24 value: "" 24 value: ""
25 label: 'Cinder Node' 25 label: 'Cinder Volume Node'
26 description: 'Name of the cinder node in which the backend must be configured' 26 description: 'Name of the Fuel node with cinder role'
27 weight: 15 27 weight: 15
28 type: "text" 28 type: "text"
29 29
30 backend_name_0: 30 backend_name_0:
31 value: "" 31 value: ""
32 label: 'Backend Name' 32 label: 'Volume Backend Name'
33 description: 'Name of the Backend' 33 description: 'A user defined name for a back-end storage'
34 weight: 20 34 weight: 20
35 type: "text" 35 type: "text"
36 36
37 storage_ip_0: 37 storage_ip_0:
38 value: "" 38 value: ""
39 label: 'Kaminario Storage Hostname/IP' 39 label: 'K2 Management IP'
40 description: 'Provide management IP of kaminario K2 All-Flash array' 40 description: 'The Management IP for the K2 back-end storage system'
41 weight: 20 41 weight: 22
42 type: "text" 42 type: "text"
43 regex:
44 source: '^\w[\w\-\s.]+$'
45 error: 'Invalid IP ranges'
46 43
47 storage_user_0: 44 storage_user_0:
48 value: "" 45 value: ""
49 label: 'Username' 46 label: 'Username'
50 description: 'Provide username of kaminario K2 All-Flash array' 47 description: 'The user name for accessing K2 management'
51 weight: 25 48 weight: 25
52 type: "text" 49 type: "text"
53 regex:
54 source: '\S'
55 error: "Username field cannot be empty"
56 50
57 storage_password_0: 51 storage_password_0:
58 value: "" 52 value: ""
59 label: 'Password' 53 label: 'Password'
60 description: 'Provide password of kaminario K2 All-Flash array' 54 description: 'The password for accessing K2 management'
61 weight: 30 55 weight: 30
62 type: "password" 56 type: "password"
63 57
@@ -80,162 +74,96 @@ attributes:
80 74
81 replication_ip_0: 75 replication_ip_0:
82 value: "" 76 value: ""
83 label: 'IPaddress' 77 label: 'Replication Target IP'
84 description: 'Ipaddress of Kaminario replication array' 78 description: 'Replication target MGMT IP'
85 weight: 45 79 weight: 45
86 type: "text" 80 type: "text"
87 restrictions: 81 restrictions:
88 - condition: "settings:cinder_kaminario.enable_replication_0.value == false" 82 - condition: "settings:cinder_kaminario.enable_replication_0.value == false"
89 action: 'hide' 83 action: 'hide'
90 regex: 84
91 source: '^\w[\w\-\s.]+$'
92 error: 'Invalid IP ranges'
93
94 replication_login_0: 85 replication_login_0:
95 value: "" 86 value: ""
96 label: 'Username' 87 label: 'Username'
97 description: 'user name of Kaminario replication device' 88 description: 'Replication target username'
98 weight: 50 89 weight: 50
99 type: "text" 90 type: "text"
100 restrictions: 91 restrictions:
101 - condition: "settings:cinder_kaminario.enable_replication_0.value == false" 92 - condition: "settings:cinder_kaminario.enable_replication_0.value == false"
102 action: 'hide' 93 action: 'hide'
94
95
103 96
104 replication_password_0: 97 replication_password_0:
105 value: "" 98 value: ""
106 label: 'Password' 99 label: 'Password'
107 description: 'password of Kaminario replication device' 100 description: 'Replication target password'
108 weight: 55 101 weight: 55
109 type: "password" 102 type: "password"
110 restrictions: 103 restrictions:
111 - condition: "settings:cinder_kaminario.enable_replication_0.value == false" 104 - condition: "settings:cinder_kaminario.enable_replication_0.value == false"
112 action: 'hide' 105 action: 'hide'
113 106
114 replication_rpo_0: 107 replication_rpo_0:
115 value: "60" 108 value: "60"
116 label: 'RPO' 109 label: 'RPO'
117 description: 'Value (in seconds) should be either 60 sec or multiple of 300 sec' 110 description: 'Replication recovery point objective in seconds. Must be eighter 60 or multiplies of 300'
118 weight: 60 111 weight: 60
119 type: "text" 112 type: "text"
120 restrictions: 113 restrictions:
121 - condition: "settings:cinder_kaminario.enable_replication_0.value == false" 114 - condition: "settings:cinder_kaminario.enable_replication_0.value == false"
122 action: 'hide' 115 action: 'hide'
123 regex:
124 source: '^\d+$'
125 error: "You must provide a number"
126
127 create_type_0:
128 value: false
129 label: 'Create Volume Type'
130 description: 'Create volume type for the backend'
131 weight: 65
132 type: 'checkbox'
133
134 type_name_0:
135 value: ""
136 label: 'Volume Type Name'
137 description: 'Name of the volume type'
138 weight: 70
139 type: "text"
140 restrictions:
141 - condition: "settings:cinder_kaminario.create_type_0.value == false"
142 action: 'hide'
143 116
144 options_0:
145 type: "radio"
146 weight: 75
147 value: ""
148 label: "Advance options for volume type"
149 values:
150 - data: "enable_replication_type"
151 label: "Enable Replication"
152 - data: "enable_dedup"
153 label: "Enable nodedup"
154 - data: "replication_dedup"
155 label: "Enable both Replication and nodedup"
156 restrictions:
157 - condition: "settings:cinder_kaminario.create_type_0.value == false"
158 action: 'hide'
159
160 default_type_0:
161 value: false
162 label: 'Default Type'
163 description: 'Make this volume type as default volume type'
164 weight: 80
165 type: 'checkbox'
166 restrictions:
167 - condition: "settings:cinder_kaminario.create_type_0.value == false "
168 action: 'hide'
169 117
170 enable_multipath_0: 118 enable_multipath_0:
171 value: false 119 value: true
172 label: 'Enable Multipath' 120 label: 'Enable Multipath'
173 description: 'Enable multipath for cinder volumes' 121 description: 'Use initiator multipath option'
174 weight: 85 122 weight: 85
175 type: 'checkbox' 123 type: 'checkbox'
176 124
177 suppress_logs_0: 125 suppress_logs_0:
178 value: false 126 value: true
179 label: 'Suppress Logs' 127 label: 'Suppress SSL Warnings'
180 description: 'Suppress Additional logs created by krest' 128 description: 'Supress requests library SSL certificate warnings'
181 weight: 86 129 weight: 86
182 type: 'checkbox' 130 type: 'checkbox'
183 131
132 report_discard_supported_0:
133 value: true
134 label: 'Report Discard Supported'
135 description: 'Report to clients of Cinder that the backend supports discard (aka. trim/unmap)'
136 weight: 87
137 type: 'checkbox'
138
184 filter_function_0: 139 filter_function_0:
185 value: "capabilities.total_volumes < 250" 140 value: "capabilities.total_volumes < 250"
186 label: 'Filter Function' 141 label: 'Filter Function'
187 description: 'Filter function for backend' 142 description: 'Set a limit on total number of volumes that will be created on the K2 array'
188 weight: 87
189 type: "text"
190
191 goodness_function_0:
192 value: ""
193 label: 'Goodness Function'
194 description: 'Goodness function for backend'
195 weight: 88 143 weight: 88
196 type: "text" 144 type: "text"
197 145
146
198 oversubscription_ratio_0: 147 oversubscription_ratio_0:
199 value: false 148 value: false
200 label: 'Oversubscription Ratio' 149 label: 'Over-subscription Ratio'
201 description: 'Enable Oversubscription Ratio for backend If "auto_calc_max_oversubscription_ratio = True", kaminario driver will calculate dynamically "max_over_subscription_ratio"' 150 description: 'Thin provisioning settings. False (default)- uses the default value of x20; True-calculates reduction rate based on the existing data'
202 weight: 89
203 type: 'checkbox'
204
205 scheduler_default_weighers:
206 value: "CapacityWeigher"
207 label: 'Scheduler weighers'
208 description: 'Default weighers for scheduler. For enabling multiple weighers, provide weighers seperated by ","'
209 weight: 90 151 weight: 90
210 type: "text" 152 type: 'checkbox'
211
212 scheduler_default_filters:
213 value: "DriverFilters"
214 label: 'Scheduler filters'
215 description: 'Default filters for scheduler. For enabling multiple weighers, provide weighers seperated by ","'
216 weight: 91
217 type: "text"
218 153
219 154
220 rpc_response_timeout:
221 value: "60"
222 label: 'RPC timeout'
223 description: 'Timeout for RPC. Default timeout is 60'
224 weight: 92
225 type: "text"
226
227 add_backend_1: 155 add_backend_1:
228 value: false 156 value: false
229 label: 'Add a new kaminario backend or scale an existing backend' 157 label: 'Add a new Backend'
230 description: 'Add a new kaminario backend or scale an existing backend' 158 description: ''
231 weight: 93 159 weight: 94
232 type: 'checkbox' 160 type: 'checkbox'
233 161
234 storage_protocol_1: 162 storage_protocol_1:
235 type: "radio" 163 type: "radio"
236 weight: 95 164 weight: 95
237 value: "FC" 165 value: "FC"
238 label: "Storage protocol to be used on the data path with storage system" 166 label: "Storage connection types"
239 values: 167 values:
240 - data: "ISCSI" 168 - data: "ISCSI"
241 label: "ISCSI" 169 label: "ISCSI"
@@ -247,8 +175,8 @@ attributes:
247 175
248 cinder_node_1: 176 cinder_node_1:
249 value: "" 177 value: ""
250 label: 'Cinder Node' 178 label: 'Cinder Volume Node'
251 description: 'Name of the cinder node in which the backend must be configured' 179 description: 'Name of the Fuel node with cinder role'
252 weight: 100 180 weight: 100
253 type: "text" 181 type: "text"
254 restrictions: 182 restrictions:
@@ -257,8 +185,8 @@ attributes:
257 185
258 backend_name_1: 186 backend_name_1:
259 value: "" 187 value: ""
260 label: 'Backend Name' 188 label: 'Volume Backend Name'
261 description: 'Name of the Backend' 189 description: 'A user defined name for a back-end storage'
262 weight: 105 190 weight: 105
263 type: "text" 191 type: "text"
264 restrictions: 192 restrictions:
@@ -267,36 +195,20 @@ attributes:
267 195
268 storage_ip_1: 196 storage_ip_1:
269 value: "" 197 value: ""
270 label: 'Kaminario Storage Hostname/IP' 198 label: 'K2 Management IP'
271 description: 'Provide management IP of kaminario K2 All-Flash array' 199 description: 'The Management IP for the K2 back-end storage system'
272 weight: 110 200 weight: 110
273 type: "text" 201 type: "text"
274 restrictions: 202 restrictions:
275 - condition: "settings:cinder_kaminario.add_backend_1.value != true" 203 - condition: "settings:cinder_kaminario.add_backend_1.value != true"
276 action: 'hide' 204 action: 'hide'
277 regex:
278 source: '^\w[\w\-\s.]+$'
279 error: 'Invalid IP ranges'
280 205
281 storage_user_1: 206 storage_user_1:
282 value: "" 207 value: ""
283 label: 'Username' 208 label: 'Username'
284 description: 'Provide username of kaminario K2 All-Flash array' 209 description: 'The user name for accessing K2 management'
285 weight: 115 210 weight: 115
286 type: "text" 211 type: "text"
287 regex:
288 source: '\S'
289 error: "Username field cannot be empty"
290 restrictions:
291 - condition: "settings:cinder_kaminario.add_backend_1.value != true"
292 action: 'hide'
293
294 storage_password_1:
295 value: ""
296 label: 'Password'
297 description: 'Provide password of kaminario K2 All-Flash array'
298 weight: 120
299 type: "password"
300 restrictions: 212 restrictions:
301 - condition: "settings:cinder_kaminario.add_backend_1.value != true" 213 - condition: "settings:cinder_kaminario.add_backend_1.value != true"
302 action: 'hide' 214 action: 'hide'
@@ -310,24 +222,21 @@ attributes:
310 restrictions: 222 restrictions:
311 - condition: "settings:cinder_kaminario.add_backend_1.value != true" 223 - condition: "settings:cinder_kaminario.add_backend_1.value != true"
312 action: 'hide' 224 action: 'hide'
313 225
314 replication_ip_1: 226 replication_ip_1:
315 value: "" 227 value: ""
316 label: 'IPaddress' 228 label: 'IPaddress'
317 description: 'Ipaddress of Kaminario replication array' 229 description: 'Replication target MGMT IP'
318 weight: 130 230 weight: 130
319 type: "text" 231 type: "text"
320 restrictions: 232 restrictions:
321 - condition: "settings:cinder_kaminario.enable_replication_1.value == false" 233 - condition: "settings:cinder_kaminario.enable_replication_1.value == false"
322 action: 'hide' 234 action: 'hide'
323 regex:
324 source: '^\w[\w\-\s.]+$'
325 error: 'Invalid IP ranges'
326 235
327 replication_login_1: 236 replication_login_1:
328 value: "" 237 value: ""
329 label: 'Username' 238 label: 'Username'
330 description: 'user name of Kaminario replication device' 239 description: 'Replication target username'
331 weight: 135 240 weight: 135
332 type: "text" 241 type: "text"
333 restrictions: 242 restrictions:
@@ -337,7 +246,7 @@ attributes:
337 replication_password_1: 246 replication_password_1:
338 value: "" 247 value: ""
339 label: 'Password' 248 label: 'Password'
340 description: 'password of Kaminario replication device' 249 description: 'Replication target password'
341 weight: 140 250 weight: 140
342 type: "password" 251 type: "password"
343 restrictions: 252 restrictions:
@@ -347,67 +256,17 @@ attributes:
347 replication_rpo_1: 256 replication_rpo_1:
348 value: "60" 257 value: "60"
349 label: 'RPO' 258 label: 'RPO'
350 description: 'Value (in seconds) should be either 60 sec or multiple of 300 sec' 259 description: 'Replication recovery point objective in seconds. Must be eighter 60 or multiplies of 300'
351 weight: 145 260 weight: 145
352 type: "text" 261 type: "text"
353 restrictions: 262 restrictions:
354 - condition: "settings:cinder_kaminario.enable_replication_1.value == false" 263 - condition: "settings:cinder_kaminario.enable_replication_1.value == false"
355 action: 'hide' 264 action: 'hide'
356 regex:
357 source: '^\d+$'
358 error: "You must provide a number"
359
360
361 create_type_1:
362 value: false
363 label: 'Create Volume Type'
364 description: 'Create volume type for the backend'
365 weight: 150
366 type: 'checkbox'
367 restrictions:
368 - condition: "settings:cinder_kaminario.add_backend_1.value != true"
369 action: 'hide'
370
371 type_name_1:
372 value: ""
373 label: 'Volume Type Name'
374 description: 'Name of the volume type'
375 weight: 155
376 type: "text"
377 restrictions:
378 - condition: "settings:cinder_kaminario.create_type_1.value == false"
379 action: 'hide'
380
381 options_1:
382 type: "radio"
383 weight: 160
384 value: ""
385 label: "Advance options for volume type"
386 values:
387 - data: "enable_replication_type"
388 label: "Enable Replication"
389 - data: "enable_dedup"
390 label: "Enable nodedup"
391 - data: "replication_dedup"
392 label: "Enable both Replication and nodedup"
393 restrictions:
394 - condition: "settings:cinder_kaminario.create_type_1.value == false"
395 action: 'hide'
396
397 default_type_1:
398 value: false
399 label: 'Default Type'
400 description: 'Make this volume type as default volume type'
401 weight: 165
402 type: 'checkbox'
403 restrictions:
404 - condition: "settings:cinder_kaminario.create_type_1.value == false"
405 action: 'hide'
406 265
407 enable_multipath_1: 266 enable_multipath_1:
408 value: false 267 value: true
409 label: 'Enable Multipath' 268 label: 'Enable Multipath'
410 description: 'Enable multipath for cinder volumes' 269 description: 'Use initiator multipath option'
411 weight: 170 270 weight: 170
412 type: 'checkbox' 271 type: 'checkbox'
413 restrictions: 272 restrictions:
@@ -415,52 +274,51 @@ attributes:
415 action: 'hide' 274 action: 'hide'
416 275
417 suppress_logs_1: 276 suppress_logs_1:
418 value: false 277 value: true
419 label: 'Suppress Logs' 278 label: 'Suppress SSL Warnings'
420 description: 'Suppress Additional logs created by krest' 279 description: 'Supress requests library SSL certificate warnings'
421 weight: 171 280 weight: 171
422 type: 'checkbox' 281 type: 'checkbox'
423 restrictions: 282 restrictions:
424 - condition: "settings:cinder_kaminario.add_backend_1.value != true" 283 - condition: "settings:cinder_kaminario.add_backend_1.value != true"
425 action: 'hide' 284 action: 'hide'
426 285
427 filter_function_1: 286 report_discard_supported_1:
428 value: "capabilities.total_volumes < 250" 287 value: true
429 label: 'Filter Function' 288 label: 'Report Discard Supported'
430 description: 'Filter function for backend' 289 description: 'Report to clients of Cinder that the backend supports discard (aka. trim/unmap)'
431 weight: 172 290 weight: 172
432 type: "text" 291 type: 'checkbox'
433 restrictions: 292 restrictions:
434 - condition: "settings:cinder_kaminario.add_backend_1.value != true" 293 - condition: "settings:cinder_kaminario.add_backend_1.value != true"
435 action: 'hide' 294 action: 'hide'
436 295
437 goodness_function_1: 296 filter_function_1:
438 value: "" 297 value: "capabilities.total_volumes < 250"
439 label: 'Goodness Function' 298 label: 'Filter Function'
440 description: 'Goodness function for backend' 299 description: 'Set a limit on total number of volumes that will be created on the K2 array'
441 weight: 173 300 weight: 173
442 type: "text" 301 type: "text"
443 restrictions: 302 restrictions:
444 - condition: "settings:cinder_kaminario.add_backend_1.value != true" 303 - condition: "settings:cinder_kaminario.add_backend_1.value != true"
445 action: 'hide' 304 action: 'hide'
446 305
306
447 oversubscription_ratio_1: 307 oversubscription_ratio_1:
448 value: false 308 value: false
449 label: 'Oversubscription Ratio' 309 label: 'Over-subscription Ratio'
450 description: '' 310 description: 'Thin provisioning settings. False (default)- uses the default value of x20; True-calculates reduction rate based on the existing data'
451 weight: 174 311 weight: 175
452 type: 'checkbox' 312 type: 'checkbox'
453 restrictions: 313 restrictions:
454 - condition: "settings:cinder_kaminario.add_backend_1.value != true" 314 - condition: "settings:cinder_kaminario.add_backend_1.value != true"
455 action: 'hide' 315 action: 'hide'
456 316
457
458
459 add_backend_2: 317 add_backend_2:
460 value: false 318 value: false
461 label: 'Add a new kaminario backend or scale an existing backend' 319 label: 'Add a new Backend'
462 description: 'Add a new kaminario backend or scale an existing backend' 320 description: ''
463 weight: 175 321 weight: 176
464 type: 'checkbox' 322 type: 'checkbox'
465 restrictions: 323 restrictions:
466 - condition: "settings:cinder_kaminario.add_backend_1.value != true" 324 - condition: "settings:cinder_kaminario.add_backend_1.value != true"
@@ -470,7 +328,7 @@ attributes:
470 type: "radio" 328 type: "radio"
471 weight: 180 329 weight: 180
472 value: "FC" 330 value: "FC"
473 label: "Storage protocol to be used on the data path with storage system" 331 label: "Storage connection types"
474 values: 332 values:
475 - data: "ISCSI" 333 - data: "ISCSI"
476 label: "ISCSI" 334 label: "ISCSI"
@@ -482,8 +340,8 @@ attributes:
482 340
483 cinder_node_2: 341 cinder_node_2:
484 value: "" 342 value: ""
485 label: 'Cinder Node' 343 label: 'Cinder Volume Node'
486 description: 'Name of the cinder node in which the backend must be configured' 344 description: 'Name of the Fuel node with cinder role'
487 weight: 185 345 weight: 185
488 type: "text" 346 type: "text"
489 restrictions: 347 restrictions:
@@ -492,8 +350,8 @@ attributes:
492 350
493 backend_name_2: 351 backend_name_2:
494 value: "" 352 value: ""
495 label: 'Backend Name' 353 label: 'Volume Backend Name'
496 description: 'Name of the Backend' 354 description: 'A user defined name for a back-end storage'
497 weight: 190 355 weight: 190
498 type: "text" 356 type: "text"
499 restrictions: 357 restrictions:
@@ -502,26 +360,20 @@ attributes:
502 360
503 storage_ip_2: 361 storage_ip_2:
504 value: "" 362 value: ""
505 label: 'Kaminario Storage Hostname/IP' 363 label: 'K2 Management IP'
506 description: 'Provide management IP of kaminario K2 All-Flash array' 364 description: 'The Management IP for the K2 back-end storage system'
507 weight: 195 365 weight: 195
508 type: "text" 366 type: "text"
509 restrictions: 367 restrictions:
510 - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 368 - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
511 action: 'hide' 369 action: 'hide'
512 regex:
513 source: '^\w[\w\-\s.]+$'
514 error: 'Invalid IP ranges'
515 370
516 storage_user_2: 371 storage_user_2:
517 value: "" 372 value: ""
518 label: 'Username' 373 label: 'Username'
519 description: 'Provide username of kaminario K2 All-Flash array' 374 description: 'The user name for accessing K2 management'
520 weight: 200 375 weight: 200
521 type: "text" 376 type: "text"
522 regex:
523 source: '\S'
524 error: "Username field cannot be empty"
525 restrictions: 377 restrictions:
526 - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 378 - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
527 action: 'hide' 379 action: 'hide'
@@ -529,7 +381,7 @@ attributes:
529 storage_password_2: 381 storage_password_2:
530 value: "" 382 value: ""
531 label: 'Password' 383 label: 'Password'
532 description: 'Provide password of kaminario K2 All-Flash array' 384 description: 'The password for accessing K2 management'
533 weight: 205 385 weight: 205
534 type: "password" 386 type: "password"
535 restrictions: 387 restrictions:
@@ -548,21 +400,18 @@ attributes:
548 400
549 replication_ip_2: 401 replication_ip_2:
550 value: "" 402 value: ""
551 label: 'IPaddress' 403 label: 'Replication Target IP'
552 description: 'Ipaddress of Kaminario replication array' 404 description: 'Replication target MGMT IP'
553 weight: 215 405 weight: 215
554 type: "text" 406 type: "text"
555 restrictions: 407 restrictions:
556 - condition: "settings:cinder_kaminario.enable_replication_2.value == false" 408 - condition: "settings:cinder_kaminario.enable_replication_2.value == false"
557 action: 'hide' 409 action: 'hide'
558 regex:
559 source: '^\w[\w\-\s.]+$'
560 error: 'Invalid IP ranges'
561 410
562 replication_login_2: 411 replication_login_2:
563 value: "" 412 value: ""
564 label: 'Username' 413 label: 'Username'
565 description: 'user name of Kaminario replication device' 414 description: 'Replication target username'
566 weight: 220 415 weight: 220
567 type: "text" 416 type: "text"
568 restrictions: 417 restrictions:
@@ -572,7 +421,7 @@ attributes:
572 replication_password_2: 421 replication_password_2:
573 value: "" 422 value: ""
574 label: 'Password' 423 label: 'Password'
575 description: 'password of Kaminario replication device' 424 description: 'Replication target password'
576 weight: 225 425 weight: 225
577 type: "password" 426 type: "password"
578 restrictions: 427 restrictions:
@@ -582,66 +431,17 @@ attributes:
582 replication_rpo_2: 431 replication_rpo_2:
583 value: "60" 432 value: "60"
584 label: 'RPO' 433 label: 'RPO'
585 description: 'Value (in seconds) should be either 60 sec or multiple of 300 sec' 434 description: 'Replication recovery point objective in seconds. Must be eighter 60 or multiplies of 300'
586 weight: 230 435 weight: 230
587 type: "text" 436 type: "text"
588 restrictions: 437 restrictions:
589 - condition: "settings:cinder_kaminario.enable_replication_2.value == false" 438 - condition: "settings:cinder_kaminario.enable_replication_2.value == false"
590 action: 'hide' 439 action: 'hide'
591 regex:
592 source: '^\d+$'
593 error: "You must provide a number"
594
595 create_type_2:
596 value: false
597 label: 'Create Volume Type'
598 description: 'Create volume type for the backend'
599 weight: 235
600 type: 'checkbox'
601 restrictions:
602 - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
603 action: 'hide'
604
605 type_name_2:
606 value: ""
607 label: 'Volume Type Name'
608 description: 'Name of the volume type'
609 weight: 240
610 type: "text"
611 restrictions:
612 - condition: "settings:cinder_kaminario.create_type_2.value == false"
613 action: 'hide'
614
615 options_2:
616 type: "radio"
617 weight: 245
618 value: ""
619 label: "Advance options for volume type"
620 values:
621 - data: "enable_replication_type"
622 label: "Enable Replication"
623 - data: "enable_dedup"
624 label: "Enable nodedup"
625 - data: "replication_dedup"
626 label: "Enable both Replication and nodedup"
627 restrictions:
628 - condition: "settings:cinder_kaminario.create_type_2.value == false"
629 action: 'hide'
630
631 default_type_2:
632 value: false
633 label: 'Default_type'
634 description: 'Make this volume type as default volume type'
635 weight: 250
636 type: 'checkbox'
637 restrictions:
638 - condition: "settings:cinder_kaminario.create_type_2.value == false"
639 action: 'hide'
640 440
641 enable_multipath_2: 441 enable_multipath_2:
642 value: false 442 value: true
643 label: 'Enable Multipath' 443 label: 'Enable Multipath'
644 description: 'Enable multipath for cinder volumes' 444 description: 'Use initiator multipath option'
645 weight: 260 445 weight: 260
646 type: 'checkbox' 446 type: 'checkbox'
647 restrictions: 447 restrictions:
@@ -649,40 +449,42 @@ attributes:
649 action: 'hide' 449 action: 'hide'
650 450
651 suppress_logs_2: 451 suppress_logs_2:
652 value: false 452 value: true
653 label: 'Suppress Logs' 453 label: 'Suppress SSL Warnings'
654 description: 'Suppress Additional logs created by krest' 454 description: 'Supress requests library SSL certificate warnings'
655 weight: 261 455 weight: 261
656 type: 'checkbox' 456 type: 'checkbox'
657 restrictions: 457 restrictions:
658 - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 458 - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
659 action: 'hide' 459 action: 'hide'
660 460
661 filter_function_2: 461 report_discard_supported_2:
662 value: "capabilities.total_volumes < 250" 462 value: true
663 label: 'Filter Function' 463 label: 'Report Discard Supported'
664 description: 'Filter function for backend' 464 description: 'Report to clients of Cinder that the backend supports discard (aka. trim/unmap)'
665 weight: 262 465 weight: 262
666 type: "text" 466 type: 'checkbox'
667 restrictions: 467 restrictions:
668 - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 468 - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
669 action: 'hide' 469 action: 'hide'
670 470
671 goodness_function_2: 471
672 value: "" 472 filter_function_2:
673 label: 'Goodness Function' 473 value: "capabilities.total_volumes < 250"
674 description: 'Goodness function for backend' 474 label: 'Filter Function'
475 description: 'Set a limit on total number of volumes that will be created on the K2 array'
675 weight: 263 476 weight: 263
676 type: "text" 477 type: "text"
677 restrictions: 478 restrictions:
678 - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 479 - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
679 action: 'hide' 480 action: 'hide'
680 481
482
681 oversubscription_ratio_2: 483 oversubscription_ratio_2:
682 value: false 484 value: false
683 label: 'Oversubscription Ratio' 485 label: 'Over-subscription Ratio'
684 description: 'Enable Oversubscription Ratio for backend If "auto_calc_max_oversubscription_ratio = True", kaminario driver will calculate dynamically "max_over_subscription_ratio"' 486 description: 'Thin provisioning settings. False (default)- uses the default value of x20; True-calculates reduction rate based on the existing data'
685 weight: 264 487 weight: 265
686 type: 'checkbox' 488 type: 'checkbox'
687 restrictions: 489 restrictions:
688 - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 490 - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
@@ -692,9 +494,9 @@ attributes:
692 494
693 add_backend_3: 495 add_backend_3:
694 value: false 496 value: false
695 label: 'Add a new kaminario backend or scale an existing backend' 497 label: 'Add a new Backend'
696 description: 'Add a new kaminario backend or scale an existing backend' 498 description: ''
697 weight: 265 499 weight: 266
698 type: 'checkbox' 500 type: 'checkbox'
699 restrictions: 501 restrictions:
700 - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 502 - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
@@ -704,7 +506,7 @@ attributes:
704 type: "radio" 506 type: "radio"
705 weight: 270 507 weight: 270
706 value: "FC" 508 value: "FC"
707 label: "Storage protocol to be used on the data path with storage system" 509 label: "Storage connection types"
708 values: 510 values:
709 - data: "ISCSI" 511 - data: "ISCSI"
710 label: "ISCSI" 512 label: "ISCSI"
@@ -716,8 +518,8 @@ attributes:
716 518
717 cinder_node_3: 519 cinder_node_3:
718 value: "" 520 value: ""
719 label: 'Cinder Node' 521 label: 'Cinder Volume Node'
720 description: 'Name of the cinder node in which the backend must be configured' 522 description: 'Name of the Fuel node with cinder role'
721 weight: 275 523 weight: 275
722 type: "text" 524 type: "text"
723 restrictions: 525 restrictions:
@@ -725,8 +527,8 @@ attributes:
725 action: 'hide' 527 action: 'hide'
726 backend_name_3: 528 backend_name_3:
727 value: "" 529 value: ""
728 label: 'Backend Name' 530 label: 'Volume Backend Name'
729 description: 'Name of the Backend' 531 description: 'A user defined name for a back-end storage'
730 weight: 280 532 weight: 280
731 type: "text" 533 type: "text"
732 restrictions: 534 restrictions:
@@ -735,26 +537,20 @@ attributes:
735 537
736 storage_ip_3: 538 storage_ip_3:
737 value: "" 539 value: ""
738 label: 'Kaminario Storage Hostname/IP' 540 label: 'K2 Management IP'
739 description: 'Provide management IP of kaminario K2 All-Flash array' 541 description: 'The Management IP for the K2 back-end storage system'
740 weight: 285 542 weight: 285
741 type: "text" 543 type: "text"
742 restrictions: 544 restrictions:
743 - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 545 - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
744 action: 'hide' 546 action: 'hide'
745 regex:
746 source: '^\w[\w\-\s.]+$'
747 error: 'Invalid IP ranges'
748 547
749 storage_user_3: 548 storage_user_3:
750 value: "" 549 value: ""
751 label: 'Username' 550 label: 'Username'
752 description: 'Provide username of kaminario K2 All-Flash array' 551 description: 'The user name for accessing K2 management'
753 weight: 290 552 weight: 290
754 type: "text" 553 type: "text"
755 regex:
756 source: '\S'
757 error: "Username field cannot be empty"
758 restrictions: 554 restrictions:
759 - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 555 - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
760 action: 'hide' 556 action: 'hide'
@@ -762,7 +558,7 @@ attributes:
762 storage_password_3: 558 storage_password_3:
763 value: "" 559 value: ""
764 label: 'Password' 560 label: 'Password'
765 description: 'Provide management password of kaminario K2 All-Flash array' 561 description: 'The password for accessing K2 management'
766 weight: 295 562 weight: 295
767 type: "password" 563 type: "password"
768 restrictions: 564 restrictions:
@@ -781,21 +577,18 @@ attributes:
781 577
782 replication_ip_3: 578 replication_ip_3:
783 value: "" 579 value: ""
784 label: 'IPaddress' 580 label: 'Replication Target IP'
785 description: 'Ipaddress of Kaminario replication array' 581 description: 'Replication target MGMT IP'
786 weight: 305 582 weight: 305
787 type: "text" 583 type: "text"
788 restrictions: 584 restrictions:
789 - condition: "settings:cinder_kaminario.enable_replication_3.value == false" 585 - condition: "settings:cinder_kaminario.enable_replication_3.value == false"
790 action: 'hide' 586 action: 'hide'
791 regex:
792 source: '^\w[\w\-\s.]+$'
793 error: 'Invalid IP ranges'
794 587
795 replication_login_3: 588 replication_login_3:
796 value: "" 589 value: ""
797 label: 'Username' 590 label: 'Username'
798 description: 'user name of Kaminario replication device' 591 description: 'Replication target username'
799 weight: 310 592 weight: 310
800 type: "text" 593 type: "text"
801 restrictions: 594 restrictions:
@@ -805,7 +598,7 @@ attributes:
805 replication_password_3: 598 replication_password_3:
806 value: "" 599 value: ""
807 label: 'Password' 600 label: 'Password'
808 description: 'password of Kaminario replication device' 601 description: 'Replication target password'
809 weight: 315 602 weight: 315
810 type: "password" 603 type: "password"
811 restrictions: 604 restrictions:
@@ -815,66 +608,18 @@ attributes:
815 replication_rpo_3: 608 replication_rpo_3:
816 value: "60" 609 value: "60"
817 label: 'RPO' 610 label: 'RPO'
818 description: 'Value (in seconds) should be either 60 sec or multiple of 300 sec' 611 description: 'Replication recovery point objective in seconds. Must be eighter 60 or multiplies of 300'
819 weight: 320 612 weight: 320
820 type: "text" 613 type: "text"
821 restrictions: 614 restrictions:
822 - condition: "settings:cinder_kaminario.enable_replication_3.value == false" 615 - condition: "settings:cinder_kaminario.enable_replication_3.value == false"
823 action: 'hide' 616 action: 'hide'
824 regex:
825 source: '^\d+$'
826 error: "You must provide a number"
827
828 create_type_3:
829 value: false
830 label: 'Create Volume Type'
831 description: 'Create volume type for the backend'
832 weight: 321
833 type: 'checkbox'
834 restrictions:
835 - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
836 action: 'hide'
837 617
838 type_name_3:
839 value: ""
840 label: 'Volume Type Name'
841 description: 'Name of the volume type'
842 weight: 325
843 type: "text"
844 restrictions:
845 - condition: "settings:cinder_kaminario.create_type_3.value == false"
846 action: 'hide'
847
848 options_3:
849 type: "radio"
850 weight: 330
851 value: ""
852 label: "Advance options for volume type"
853 values:
854 - data: "enable_replication_type"
855 label: "Enable Replication"
856 - data: "enable_dedup"
857 label: "Enable nodedup"
858 - data: "replication_dedup"
859 label: "Enable both Replication and nodedup"
860 restrictions:
861 - condition: "settings:cinder_kaminario.create_type_3.value == false"
862 action: 'hide'
863
864 default_type_3:
865 value: false
866 label: 'Default_type'
867 description: 'Make this volume type as default volume type'
868 weight: 335
869 type: 'checkbox'
870 restrictions:
871 - condition: "settings:cinder_kaminario.create_type_3.value == false"
872 action: 'hide'
873 618
874 enable_multipath_3: 619 enable_multipath_3:
875 value: false 620 value: true
876 label: 'Enable Multipath' 621 label: 'Enable Multipath'
877 description: 'Enable multipath for cinder volumes' 622 description: 'Use initiator multipath option'
878 weight: 340 623 weight: 340
879 type: 'checkbox' 624 type: 'checkbox'
880 restrictions: 625 restrictions:
@@ -882,40 +627,41 @@ attributes:
882 action: 'hide' 627 action: 'hide'
883 628
884 suppress_logs_3: 629 suppress_logs_3:
885 value: false 630 value: true
886 label: 'Suppress Logs' 631 label: 'Suppress SSL Warnings'
887 description: 'Suppress Additional logs created by krest' 632 description: 'Supress requests library SSL certificate warnings'
888 weight: 341 633 weight: 341
889 type: 'checkbox' 634 type: 'checkbox'
890 restrictions: 635 restrictions:
891 - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 636 - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
892 action: 'hide' 637 action: 'hide'
893 638
894 filter_function_3: 639 report_discard_supported_3:
895 value: "capabilities.total_volumes < 250" 640 value: true
896 label: 'Filter Function' 641 label: 'Report Discard Supported'
897 description: 'Filter function for backend' 642 description: 'Report to clients of Cinder that the backend supports discard (aka. trim/unmap)'
898 weight: 342 643 weight: 342
899 type: "text" 644 type: 'checkbox'
900 restrictions: 645 restrictions:
901 - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 646 - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
902 action: 'hide' 647 action: 'hide'
903 648
904 goodness_function_3: 649 filter_function_3:
905 value: "" 650 value: "capabilities.total_volumes < 250"
906 label: 'Goodness Function' 651 label: 'Filter Function'
907 description: 'Goodness function for backend' 652 description: 'Set a limit on total number of volumes that will be created on the K2 array'
908 weight: 343 653 weight: 343
909 type: "text" 654 type: "text"
910 restrictions: 655 restrictions:
911 - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 656 - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
912 action: 'hide' 657 action: 'hide'
913 658
659
914 oversubscription_ratio_3: 660 oversubscription_ratio_3:
915 value: false 661 value: false
916 label: 'Oversubscription Ratio' 662 label: 'Over-subscription Ratio'
917 description: 'Enable Oversubscription Ratio for backend If "auto_calc_max_oversubscription_ratio = True", kaminario driver will calculate dynamically "max_over_subscription_ratio"' 663 description: 'Thin provisioning settings. False (default)- uses the default value of x20; True-calculates reduction rate based on the existing data'
918 weight: 344 664 weight: 345
919 type: 'checkbox' 665 type: 'checkbox'
920 restrictions: 666 restrictions:
921 - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 667 - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
@@ -924,9 +670,9 @@ attributes:
924 670
925 add_backend_4: 671 add_backend_4:
926 value: false 672 value: false
927 label: 'Add a new kaminario backend or scale an existing backend' 673 label: 'Add a new Backend'
928 description: 'Add a new kaminario backend or scale an existing backend' 674 description: ''
929 weight: 345 675 weight: 346
930 type: 'checkbox' 676 type: 'checkbox'
931 restrictions: 677 restrictions:
932 - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 678 - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
@@ -936,7 +682,7 @@ attributes:
936 type: "radio" 682 type: "radio"
937 weight: 350 683 weight: 350
938 value: "FC" 684 value: "FC"
939 label: "Storage protocol to be used on the data path with storage system" 685 label: "Storage connection types"
940 values: 686 values:
941 - data: "ISCSI" 687 - data: "ISCSI"
942 label: "ISCSI" 688 label: "ISCSI"
@@ -948,8 +694,8 @@ attributes:
948 694
949 cinder_node_4: 695 cinder_node_4:
950 value: "" 696 value: ""
951 label: 'Cinder Node' 697 label: 'Cinder Volume Node'
952 description: 'Name of the cinder node in which the backend must be configured' 698 description: 'Name of the Fuel node with cinder role'
953 weight: 355 699 weight: 355
954 type: "text" 700 type: "text"
955 restrictions: 701 restrictions:
@@ -958,8 +704,8 @@ attributes:
958 704
959 backend_name_4: 705 backend_name_4:
960 value: "" 706 value: ""
961 label: 'Backend Name' 707 label: 'Volume Backend Name'
962 description: 'Name of the Backend' 708 description: 'A user defined name for a back-end storage'
963 weight: 360 709 weight: 360
964 type: "text" 710 type: "text"
965 restrictions: 711 restrictions:
@@ -968,26 +714,20 @@ attributes:
968 714
969 storage_ip_4: 715 storage_ip_4:
970 value: "" 716 value: ""
971 label: 'Kaminario Storage Hostname/IP' 717 label: 'K2 Management IP'
972 description: 'Provide management IP of kaminario K2 All-Flash array' 718 description: 'The Management IP for the K2 back-end storage system'
973 weight: 365 719 weight: 365
974 type: "text" 720 type: "text"
975 restrictions: 721 restrictions:
976 - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 722 - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
977 action: 'hide' 723 action: 'hide'
978 regex:
979 source: '^\w[\w\-\s.]+$'
980 error: 'Invalid IP ranges'
981 724
982 storage_user_4: 725 storage_user_4:
983 value: "" 726 value: ""
984 label: 'Username' 727 label: 'Username'
985 description: 'Provide username of kaminario K2 All-Flash array' 728 description: 'The user name for accessing K2 management'
986 weight: 370 729 weight: 370
987 type: "text" 730 type: "text"
988 regex:
989 source: '\S'
990 error: "Username field cannot be empty"
991 restrictions: 731 restrictions:
992 - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 732 - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
993 action: 'hide' 733 action: 'hide'
@@ -995,7 +735,7 @@ attributes:
995 storage_password_4: 735 storage_password_4:
996 value: "" 736 value: ""
997 label: 'Password' 737 label: 'Password'
998 description: 'Provide password of kaminario K2 All-Flash array' 738 description: 'The password for accessing K2 management'
999 weight: 375 739 weight: 375
1000 type: "password" 740 type: "password"
1001 restrictions: 741 restrictions:
@@ -1014,21 +754,18 @@ attributes:
1014 754
1015 replication_ip_4: 755 replication_ip_4:
1016 value: "" 756 value: ""
1017 label: 'IPaddress' 757 label: 'Replication Target IP'
1018 description: 'Ipaddress of Kaminario replication array' 758 description: 'Replication target MGMT IP'
1019 weight: 385 759 weight: 385
1020 type: "text" 760 type: "text"
1021 restrictions: 761 restrictions:
1022 - condition: "settings:cinder_kaminario.enable_replication_4.value == false" 762 - condition: "settings:cinder_kaminario.enable_replication_4.value == false"
1023 action: 'hide' 763 action: 'hide'
1024 regex:
1025 source: '^\w[\w\-\s.]+$'
1026 error: 'Invalid IP ranges'
1027 764
1028 replication_login_4: 765 replication_login_4:
1029 value: "" 766 value: ""
1030 label: 'Username' 767 label: 'Username'
1031 description: 'user name of Kaminario replication device' 768 description: 'Replication target username'
1032 weight: 390 769 weight: 390
1033 type: "text" 770 type: "text"
1034 restrictions: 771 restrictions:
@@ -1038,7 +775,7 @@ attributes:
1038 replication_password_4: 775 replication_password_4:
1039 value: "" 776 value: ""
1040 label: 'Password' 777 label: 'Password'
1041 description: 'password of Kaminario replication device' 778 description: 'Replication target password'
1042 weight: 395 779 weight: 395
1043 type: "password" 780 type: "password"
1044 restrictions: 781 restrictions:
@@ -1048,67 +785,17 @@ attributes:
1048 replication_rpo_4: 785 replication_rpo_4:
1049 value: "60" 786 value: "60"
1050 label: 'RPO' 787 label: 'RPO'
1051 description: 'Value (in seconds) should be either 60 sec or multiple of 300 sec' 788 description: 'Replication recovery point objective in seconds. Must be eighter 60 or multiplies of 300'
1052 weight: 400 789 weight: 400
1053 type: "text" 790 type: "text"
1054 restrictions: 791 restrictions:
1055 - condition: "settings:cinder_kaminario.enable_replication_4.value == false" 792 - condition: "settings:cinder_kaminario.enable_replication_4.value == false"
1056 action: 'hide' 793 action: 'hide'
1057 regex:
1058 source: '^\d+$'
1059 error: "You must provide a number"
1060
1061
1062 create_type_4:
1063 value: false
1064 label: 'Create Volume Type'
1065 description: 'Create volume type for the backend'
1066 weight: 405
1067 type: 'checkbox'
1068 restrictions:
1069 - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
1070 action: 'hide'
1071
1072 type_name_4:
1073 value: ""
1074 label: 'Volume Type Name'
1075 description: 'Name of the volume type'
1076 weight: 410
1077 type: "text"
1078 restrictions:
1079 - condition: "settings:cinder_kaminario.create_type_4.value == false"
1080 action: 'hide'
1081
1082 options_4:
1083 type: "radio"
1084 weight: 415
1085 value: ""
1086 label: "Advance options for volume type"
1087 values:
1088 - data: "enable_replication_type"
1089 label: "Enable Replication"
1090 - data: "enable_dedup"
1091 label: "Enable nodedup"
1092 - data: "replication_dedup"
1093 label: "Enable both Replication and nodedup"
1094 restrictions:
1095 - condition: "settings:cinder_kaminario.create_type_4.value == false"
1096 action: 'hide'
1097
1098 default_type_4:
1099 value: false
1100 label: 'Default type'
1101 description: 'Make this volume type as default volume type'
1102 weight: 420
1103 type: 'checkbox'
1104 restrictions:
1105 - condition: "settings:cinder_kaminario.create_type_4.value == false"
1106 action: 'hide'
1107 794
1108 enable_multipath_4: 795 enable_multipath_4:
1109 value: false 796 value: true
1110 label: 'Enable Multipath' 797 label: 'Enable Multipath'
1111 description: 'Enable multipath for cinder volumes' 798 description: 'Use initiator multipath option'
1112 weight: 425 799 weight: 425
1113 type: 'checkbox' 800 type: 'checkbox'
1114 restrictions: 801 restrictions:
@@ -1116,40 +803,41 @@ attributes:
1116 action: 'hide' 803 action: 'hide'
1117 804
1118 suppress_logs_4: 805 suppress_logs_4:
1119 value: false 806 value: true
1120 label: 'Suppress Logs' 807 label: 'Suppress SSL Warnings'
1121 description: 'Suppress Additional logs created by krest' 808 description: 'Supress requests library SSL certificate warnings'
1122 weight: 426 809 weight: 426
1123 type: 'checkbox' 810 type: 'checkbox'
1124 restrictions: 811 restrictions:
1125 - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 812 - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
1126 action: 'hide' 813 action: 'hide'
1127 814
1128 filter_function_4: 815 report_discard_supported_4:
1129 value: "capabilities.total_volumes < 250" 816 value: true
1130 label: 'Filter Function' 817 label: 'Report Discard Supported'
1131 description: 'Filter function for backend' 818 description: 'Report to clients of Cinder that the backend supports discard (aka. trim/unmap)'
1132 weight: 427 819 weight: 427
1133 type: "text" 820 type: 'checkbox'
1134 restrictions: 821 restrictions:
1135 - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 822 - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
1136 action: 'hide' 823 action: 'hide'
1137 824
1138 goodness_function_4: 825 filter_function_4:
1139 value: "" 826 value: "capabilities.total_volumes < 250"
1140 label: 'Goodness Function' 827 label: 'Filter Function'
1141 description: 'Goodness function for backend' 828 description: 'Set a limit on total number of volumes that will be created on the K2 array'
1142 weight: 428 829 weight: 428
1143 type: "text" 830 type: "text"
1144 restrictions: 831 restrictions:
1145 - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 832 - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
1146 action: 'hide' 833 action: 'hide'
1147 834
835
1148 oversubscription_ratio_4: 836 oversubscription_ratio_4:
1149 value: false 837 value: false
1150 label: 'Oversubscription Ratio' 838 label: 'Over-subscription Ratio'
1151 description: 'Enable Oversubscription Ratio for backend If "auto_calc_max_oversubscription_ratio = True", kaminario driver will calculate dynamically "max_over_subscription_ratio"' 839 description: 'Thin provisioning settings. False (default)- uses the default value of x20; True-calculates reduction rate based on the existing data'
1152 weight: 429 840 weight: 430
1153 type: 'checkbox' 841 type: 'checkbox'
1154 restrictions: 842 restrictions:
1155 - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 843 - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
@@ -1159,9 +847,9 @@ attributes:
1159 847
1160 add_backend_5: 848 add_backend_5:
1161 value: false 849 value: false
1162 label: 'Add a new kaminario backend or scale an existing backend' 850 label: 'Add a new Backend'
1163 description: 'Add a new kaminario backend or scale an existing backend' 851 description: ''
1164 weight: 430 852 weight: 431
1165 type: 'checkbox' 853 type: 'checkbox'
1166 restrictions: 854 restrictions:
1167 - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 855 - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
@@ -1171,7 +859,7 @@ attributes:
1171 type: "radio" 859 type: "radio"
1172 weight: 435 860 weight: 435
1173 value: "FC" 861 value: "FC"
1174 label: "Storage protocol to be used on the data path with storage system" 862 label: "Storage connection types"
1175 values: 863 values:
1176 - data: "ISCSI" 864 - data: "ISCSI"
1177 label: "ISCSI" 865 label: "ISCSI"
@@ -1183,8 +871,8 @@ attributes:
1183 871
1184 cinder_node_5: 872 cinder_node_5:
1185 value: "" 873 value: ""
1186 label: 'Cinder Node' 874 label: 'Cinder Volume Node'
1187 description: 'Name of the cinder node in which the backend must be configured' 875 description: 'Name of the Fuel node with cinder role'
1188 weight: 440 876 weight: 440
1189 type: "text" 877 type: "text"
1190 restrictions: 878 restrictions:
@@ -1193,8 +881,8 @@ attributes:
1193 881
1194 backend_name_5: 882 backend_name_5:
1195 value: "" 883 value: ""
1196 label: 'Backend Name' 884 label: 'Volume Backend Name'
1197 description: 'Name of the Backend' 885 description: 'A user defined name for a back-end storage'
1198 weight: 445 886 weight: 445
1199 type: "text" 887 type: "text"
1200 restrictions: 888 restrictions:
@@ -1203,26 +891,20 @@ attributes:
1203 891
1204 storage_ip_5: 892 storage_ip_5:
1205 value: "" 893 value: ""
1206 label: 'Kaminario Storage Hostname/IP' 894 label: 'K2 Management IP'
1207 description: 'Provide management IP of kaminario K2 All-Flash array' 895 description: 'The Management IP for the K2 back-end storage system'
1208 weight: 450 896 weight: 450
1209 type: "text" 897 type: "text"
1210 restrictions: 898 restrictions:
1211 - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 899 - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
1212 action: 'hide' 900 action: 'hide'
1213 regex:
1214 source: '^\w[\w\-\s.]+$'
1215 error: 'Invalid IP ranges'
1216 901
1217 storage_user_5: 902 storage_user_5:
1218 value: "" 903 value: ""
1219 label: 'Username' 904 label: 'Username'
1220 description: 'Provide username of kaminario K2 All-Flash array' 905 description: 'The user name for accessing K2 management'
1221 weight: 455 906 weight: 455
1222 type: "text" 907 type: "text"
1223 regex:
1224 source: '\S'
1225 error: "Username field cannot be empty"
1226 restrictions: 908 restrictions:
1227 - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 909 - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
1228 action: 'hide' 910 action: 'hide'
@@ -1230,7 +912,7 @@ attributes:
1230 storage_password_5: 912 storage_password_5:
1231 value: "" 913 value: ""
1232 label: 'Password' 914 label: 'Password'
1233 description: 'Provide password of kaminario K2 All-Flash array' 915 description: 'The password for accessing K2 management'
1234 weight: 460 916 weight: 460
1235 type: "password" 917 type: "password"
1236 restrictions: 918 restrictions:
@@ -1249,21 +931,18 @@ attributes:
1249 931
1250 replication_ip_5: 932 replication_ip_5:
1251 value: "" 933 value: ""
1252 label: 'IPaddress' 934 label: 'Replication Target IP'
1253 description: 'Ipaddress of Kaminario replication array' 935 description: 'Replication target MGMT IP'
1254 weight: 470 936 weight: 470
1255 type: "text" 937 type: "text"
1256 restrictions: 938 restrictions:
1257 - condition: "settings:cinder_kaminario.enable_replication_5.value == false" 939 - condition: "settings:cinder_kaminario.enable_replication_5.value == false"
1258 action: 'hide' 940 action: 'hide'
1259 regex:
1260 source: '^\w[\w\-\s.]+$'
1261 error: 'Invalid IP ranges'
1262 941
1263 replication_login_5: 942 replication_login_5:
1264 value: "" 943 value: ""
1265 label: 'Username' 944 label: 'Username'
1266 description: 'user name of Kaminario replication device' 945 description: 'Replication target username'
1267 weight: 475 946 weight: 475
1268 type: "text" 947 type: "text"
1269 restrictions: 948 restrictions:
@@ -1273,7 +952,7 @@ attributes:
1273 replication_password_5: 952 replication_password_5:
1274 value: "" 953 value: ""
1275 label: 'Password' 954 label: 'Password'
1276 description: 'password of Kaminario replication device' 955 description: 'Replication target password'
1277 weight: 480 956 weight: 480
1278 type: "password" 957 type: "password"
1279 restrictions: 958 restrictions:
@@ -1283,110 +962,428 @@ attributes:
1283 replication_rpo_5: 962 replication_rpo_5:
1284 value: "60" 963 value: "60"
1285 label: 'RPO' 964 label: 'RPO'
1286 description: 'Value (in seconds) should be either 60 sec or multiple of 300 sec' 965 description: 'Replication recovery point objective in seconds. Must be eighter 60 or multiplies of 300'
1287 weight: 485 966 weight: 485
1288 type: "text" 967 type: "text"
1289 restrictions: 968 restrictions:
1290 - condition: "settings:cinder_kaminario.enable_replication_5.value == false" 969 - condition: "settings:cinder_kaminario.enable_replication_5.value == false"
1291 action: 'hide' 970 action: 'hide'
1292 regex:
1293 source: '^\d+$'
1294 error: "You must provide a number"
1295 971
972 enable_multipath_5:
973 value: true
974 label: 'Enable Multipath'
975 description: 'Use initiator multipath option'
976 weight: 510
977 type: 'checkbox'
978 restrictions:
979 - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
980 action: 'hide'
1296 981
1297 create_type_5: 982 suppress_logs_5:
983 value: true
984 label: 'Suppress SSL Warnings'
985 description: 'Supress requests library SSL certificate warnings'
986 weight: 511
987 type: 'checkbox'
988 restrictions:
989 - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
990 action: 'hide'
991
992 report_discard_supported_5:
993 value: true
994 label: 'Report Discard Supported'
995 description: 'Report to clients of Cinder that the backend supports discard (aka. trim/unmap)'
996 weight: 512
997 type: 'checkbox'
998 restrictions:
999 - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
1000 action: 'hide'
1001
1002 filter_function_5:
1003 value: "capabilities.total_volumes < 250"
1004 label: 'Filter Function'
1005 description: 'Set a limit on total number of volumes that will be created on the K2 array'
1006 weight: 513
1007 type: "text"
1008 restrictions:
1009 - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
1010 action: 'hide'
1011
1012
1013
1014 oversubscription_ratio_5:
1298 value: false 1015 value: false
1299 label: 'Create Volume Type' 1016 label: 'Over-subscription Ratio'
1300 description: 'Create volume type for the backend' 1017 description: 'Thin provisioning settings. False (default)- uses the default value of x20; True-calculates reduction rate based on the existing data'
1301 weight: 490 1018 weight: 515
1302 type: 'checkbox' 1019 type: 'checkbox'
1303 restrictions: 1020 restrictions:
1304 - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 1021 - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
1305 action: 'hide' 1022 action: 'hide'
1306 1023
1307 type_name_5: 1024
1025
1026
1027 create_type_0:
1028 value: false
1029 label: 'Add New Volume Type'
1030 description: ''
1031 weight: 520
1032 type: 'checkbox'
1033
1034 type_name_0:
1308 value: "" 1035 value: ""
1309 label: 'Volume Type Name' 1036 label: 'Volume Type Name'
1310 description: 'Name of the volume type' 1037 description: 'Name of the volume type'
1311 weight: 495 1038 weight: 525
1312 type: "text" 1039 type: "text"
1313 restrictions: 1040 restrictions:
1314 - condition: "settings:cinder_kaminario.create_type_5.value == false" 1041 - condition: "settings:cinder_kaminario.create_type_0.value == false"
1315 action: 'hide' 1042 action: 'hide'
1316 1043
1317 options_5: 1044 type_backendname_0:
1318 type: "radio"
1319 weight: 500
1320 value: "" 1045 value: ""
1321 label: "Advance options for volume type" 1046 label: 'Volume Backend Name'
1322 values: 1047 description: 'Name of the Backend that is associated with this type'
1323 - data: "enable_replication_type" 1048 weight: 527
1324 label: "Enable Replication" 1049 type: "text"
1325 - data: "enable_dedup" 1050 restrictions:
1326 label: "Enable nodedup" 1051 - condition: "settings:cinder_kaminario.create_type_0.value == false"
1327 - data: "replication_dedup"
1328 label: "Enable both Replication and nodedup"
1329 restrictions:
1330 - condition: "settings:cinder_kaminario.create_type_5.value == false"
1331 action: 'hide' 1052 action: 'hide'
1332 1053
1333 default_type_5: 1054 type_enable_replication_0:
1055 value: false
1056 label: 'Enable Replication'
1057 description: 'Enable replication for volume type'
1058 weight: 530
1059 type: "checkbox"
1060 restrictions:
1061 - condition: "settings:cinder_kaminario.create_type_0.value == false"
1062 action: 'hide'
1063
1064 enable_nodedup_0:
1065 value: true
1066 label: 'Enable Deduplication'
1067 description: 'Enable Deduplication for volume type'
1068 weight: 535
1069 type: "checkbox"
1070 restrictions:
1071 - condition: "settings:cinder_kaminario.create_type_0.value == false"
1072 action: 'hide'
1073
1074 default_type_0:
1334 value: false 1075 value: false
1335 label: 'Default Type' 1076 label: 'Default Type'
1336 description: 'Make this volume type as default volume type' 1077 description: 'Make this volume type the default volume type'
1337 weight: 505 1078 weight: 540
1338 type: 'checkbox' 1079 type: 'checkbox'
1339 restrictions: 1080 restrictions:
1340 - condition: "settings:cinder_kaminario.create_type_5.value == false" 1081 - condition: "settings:cinder_kaminario.create_type_0.value == false "
1341 action: 'hide' 1082 action: 'hide'
1342 1083
1343 enable_multipath_5: 1084 create_type_1:
1344 value: false 1085 value: false
1345 label: 'Enable Multipath' 1086 label: 'Add New Volume Type'
1346 description: 'Enable multipath for cinder volumes' 1087 description: ''
1347 weight: 510 1088 weight: 545
1348 type: 'checkbox' 1089 type: 'checkbox'
1349 restrictions: 1090 restrictions:
1350 - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 1091 - condition: "settings:cinder_kaminario.create_type_0.value != true"
1351 action: 'hide' 1092 action: 'hide'
1352 1093
1353 suppress_logs_5: 1094 type_name_1:
1095 value: ""
1096 label: 'Volume Type Name'
1097 description: 'Name of the volume type'
1098 weight: 550
1099 type: "text"
1100 restrictions:
1101 - condition: "settings:cinder_kaminario.create_type_1.value == false or settings:cinder_kaminario.create_type_0.value == false"
1102 action: 'hide'
1103
1104 type_backendname_1:
1105 value: ""
1106 label: 'Volume Backend Name'
1107 description: 'Name of the Backend that is associated with this type'
1108 weight: 553
1109 type: "text"
1110 restrictions:
1111 - condition: "settings:cinder_kaminario.create_type_1.value == false or settings:cinder_kaminario.create_type_0.value == false"
1112 action: 'hide'
1113
1114 type_enable_replication_1:
1354 value: false 1115 value: false
1355 label: 'Suppress Logs' 1116 label: 'Enable Replication'
1356 description: 'Suppress Additional logs created by krest' 1117 description: 'Enable replication for volume type'
1357 weight: 511 1118 weight: 555
1119 type: "checkbox"
1120 restrictions:
1121 - condition: "settings:cinder_kaminario.create_type_1.value == false or settings:cinder_kaminario.create_type_0.value == false"
1122 action: 'hide'
1123
1124 enable_nodedup_1:
1125 value: true
1126 label: 'Enable Deduplication'
1127 description: 'Enable Deduplication for volume type'
1128 weight: 560
1129 type: "checkbox"
1130 restrictions:
1131 - condition: "settings:cinder_kaminario.create_type_1.value == false or settings:cinder_kaminario.create_type_0.value == false"
1132 action: 'hide'
1133
1134
1135 default_type_1:
1136 value: false
1137 label: 'Default Type'
1138 description: 'Make this volume type the default volume type'
1139 weight: 565
1358 type: 'checkbox' 1140 type: 'checkbox'
1359 restrictions: 1141 restrictions:
1360 - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 1142 - condition: "settings:cinder_kaminario.create_type_1.value == false or settings:cinder_kaminario.create_type_0.value == false"
1143 action: 'hide'
1144
1145 create_type_2:
1146 value: false
1147 label: 'Add New Volume Type'
1148 description: ''
1149 weight: 570
1150 type: 'checkbox'
1151 restrictions:
1152 - condition: "settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true"
1361 action: 'hide' 1153 action: 'hide'
1362 1154
1363 filter_function_5: 1155 type_name_2:
1364 value: "capabilities.total_volumes < 250" 1156 value: ""
1365 label: 'Filter Function' 1157 label: 'Volume Type Name'
1366 description: 'Filter function for backend' 1158 description: 'Name of the volume type'
1367 weight: 512 1159 weight: 575
1368 type: "text" 1160 type: "text"
1369 restrictions: 1161 restrictions:
1370 - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 1162 - condition: "settings:cinder_kaminario.create_type_2.value == false or settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true"
1163 action: 'hide'
1164
1165 type_backendname_2:
1166 value: ""
1167 label: 'Volume Backend Name'
1168 description: 'Name of the Backend that is associated with this type'
1169 weight: 577
1170 type: "text"
1171 restrictions:
1172 - condition: "settings:cinder_kaminario.create_type_2.value == false or settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true"
1173 action: 'hide'
1174
1175 type_enable_replication_2:
1176 value: false
1177 label: 'Enable Replication'
1178 description: 'Enable replication for volume type'
1179 weight: 580
1180 type: "checkbox"
1181 restrictions:
1182 - condition: "settings:cinder_kaminario.create_type_2.value == false or settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true"
1183 action: 'hide'
1184
1185 enable_nodedup_2:
1186 value: true
1187 label: 'Enable Deduplication'
1188 description: 'Enable Deduplication for volume type'
1189 weight: 585
1190 type: "checkbox"
1191 restrictions:
1192 - condition: "settings:cinder_kaminario.create_type_2.value == false or settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true"
1193 action: 'hide'
1194
1195
1196 default_type_2:
1197 value: false
1198 label: 'Default_type'
1199 description: 'Make this volume type the default volume type'
1200 weight: 590
1201 type: 'checkbox'
1202 restrictions:
1203 - condition: "settings:cinder_kaminario.create_type_2.value == false or settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true"
1204 action: 'hide'
1205
1206
1207
1208 create_type_3:
1209 value: false
1210 label: 'Add New Volume Type'
1211 description: ''
1212 weight: 595
1213 type: 'checkbox'
1214 restrictions:
1215 - condition: "settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true or settings:cinder_kaminario.create_type_2.value != true"
1371 action: 'hide' 1216 action: 'hide'
1372 1217
1373 goodness_function_5: 1218 type_name_3:
1374 value: "" 1219 value: ""
1375 label: 'Goodness Function' 1220 label: 'Volume Type Name'
1376 description: 'Goodness function for backend' 1221 description: 'Name of the volume type'
1377 weight: 513 1222 weight: 600
1378 type: "text" 1223 type: "text"
1379 restrictions: 1224 restrictions:
1380 - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 1225 - condition: "settings:cinder_kaminario.create_type_3.value == false or settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true or settings:cinder_kaminario.create_type_2.value != true"
1226 action: 'hide'
1227
1228 type_backendname_3:
1229 value: ""
1230 label: 'Volume Backend Name'
1231 description: 'Name of the Backend that is associated with this type'
1232 weight: 603
1233 type: "text"
1234 restrictions:
1235 - condition: "settings:cinder_kaminario.create_type_3.value == false or settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true or settings:cinder_kaminario.create_type_2.value != true"
1236 action: 'hide'
1237
1238 type_enable_replication_3:
1239 value: false
1240 label: 'Enable Replication'
1241 description: 'Enable replication for volume type'
1242 weight: 605
1243 type: "checkbox"
1244 restrictions:
1245 - condition: "settings:cinder_kaminario.create_type_3.value == false or settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true or settings:cinder_kaminario.create_type_2.value != true"
1246 action: 'hide'
1247
1248 enable_nodedup_3:
1249 value: true
1250 label: 'Enable Deduplication'
1251 description: 'Enable Deduplication for volume type'
1252 weight: 610
1253 type: "checkbox"
1254 restrictions:
1255 - condition: "settings:cinder_kaminario.create_type_3.value == false or settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true or settings:cinder_kaminario.create_type_2.value != true"
1256 action: 'hide'
1257
1258 default_type_3:
1259 value: false
1260 label: 'Default_type'
1261 description: 'Make this volume type the default volume type'
1262 weight: 615
1263 type: 'checkbox'
1264 restrictions:
1265 - condition: "settings:cinder_kaminario.create_type_3.value == false or settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true or settings:cinder_kaminario.create_type_2.value != true"
1266 action: 'hide'
1267
1268
1269 create_type_4:
1270 value: false
1271 label: 'Add New Volume Type'
1272 description: ''
1273 weight: 620
1274 type: 'checkbox'
1275 restrictions:
1276 - condition: "settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true or settings:cinder_kaminario.create_type_2.value != true or settings:cinder_kaminario.create_type_3.value != true"
1381 action: 'hide' 1277 action: 'hide'
1382 1278
1279 type_name_4:
1280 value: ""
1281 label: 'Volume Type Name'
1282 description: 'Name of the volume type'
1283 weight: 625
1284 type: "text"
1285 restrictions:
1286 - condition: "settings:cinder_kaminario.create_type_4.value == false or settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true or settings:cinder_kaminario.create_type_2.value != true or settings:cinder_kaminario.create_type_3.value != true"
1287 action: 'hide'
1288
1289 type_backendname_4:
1290 value: ""
1291 label: 'Volume Backend Name'
1292 description: 'Name of the Backend that is associated with this type'
1293 weight: 627
1294 type: "text"
1295 restrictions:
1296 - condition: "settings:cinder_kaminario.create_type_4.value == false or settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true or settings:cinder_kaminario.create_type_2.value != true or settings:cinder_kaminario.create_type_3.value != true"
1297 action: 'hide'
1383 1298
1384 oversubscription_ratio_5: 1299 type_enable_replication_4:
1385 value: false 1300 value: false
1386 label: 'Oversubscription Ratio' 1301 label: 'Enable Replication'
1387 description: 'Enable Oversubscription Ratio for backend If "auto_calc_max_oversubscription_ratio = True", kaminario driver will calculate dynamically "max_over_subscription_ratio"' 1302 description: 'Enable replication for volume type'
1388 weight: 514 1303 weight: 630
1304 type: "checkbox"
1305 restrictions:
1306 - condition: "settings:cinder_kaminario.create_type_4.value == false or settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true or settings:cinder_kaminario.create_type_2.value != true or settings:cinder_kaminario.create_type_3.value != true"
1307 action: 'hide'
1308
1309 enable_nodedup_4:
1310 value: true
1311 label: 'Enable Deduplication'
1312 description: 'Enable Deduplication for volume type'
1313 weight: 635
1314 type: "checkbox"
1315 restrictions:
1316 - condition: "settings:cinder_kaminario.create_type_4.value == false or settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true or settings:cinder_kaminario.create_type_2.value != true or settings:cinder_kaminario.create_type_3.value != true"
1317 action: 'hide'
1318
1319 default_type_4:
1320 value: false
1321 label: 'Default type'
1322 description: 'Make this volume type the default volume type'
1323 weight: 640
1389 type: 'checkbox' 1324 type: 'checkbox'
1390 restrictions: 1325 restrictions:
1391 - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true" 1326 - condition: "settings:cinder_kaminario.create_type_4.value == false or settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true or settings:cinder_kaminario.create_type_2.value != true or settings:cinder_kaminario.create_type_3.value != true"
1327 action: 'hide'
1328
1329
1330 create_type_5:
1331 value: false
1332 label: 'Add New Volume Type'
1333 description: ''
1334 weight: 645
1335 type: 'checkbox'
1336 restrictions:
1337 - condition: "settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true or settings:cinder_kaminario.create_type_2.value != true or settings:cinder_kaminario.create_type_3.value != true or settings:cinder_kaminario.create_type_4.value != true"
1392 action: 'hide' 1338 action: 'hide'
1339
1340 type_name_5:
1341 value: ""
1342 label: 'Volume Type Name'
1343 description: 'Name of the volume type'
1344 weight: 650
1345 type: "text"
1346 restrictions:
1347 - condition: "settings:cinder_kaminario.create_type_5.value == false or settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true or settings:cinder_kaminario.create_type_2.value != true or settings:cinder_kaminario.create_type_3.value != true or settings:cinder_kaminario.create_type_4.value != true"
1348 action: 'hide'
1349
1350 type_backendname_5:
1351 value: ""
1352 label: 'Volume Backend Name'
1353 description: 'Name of the Backend that is associated with this type'
1354 weight: 653
1355 type: "text"
1356 restrictions:
1357 - condition: "settings:cinder_kaminario.create_type_5.value == false or settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true or settings:cinder_kaminario.create_type_2.value != true or settings:cinder_kaminario.create_type_3.value != true or settings:cinder_kaminario.create_type_4.value != true"
1358 action: 'hide'
1359
1360 type_enable_replication_5:
1361 value: false
1362 label: 'Enable Replication'
1363 description: 'Enable replication for volume type'
1364 weight: 655
1365 type: "checkbox"
1366 restrictions:
1367 - condition: "settings:cinder_kaminario.create_type_5.value == false or settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true or settings:cinder_kaminario.create_type_2.value != true or settings:cinder_kaminario.create_type_3.value != true or settings:cinder_kaminario.create_type_4.value != true"
1368 action: 'hide'
1369
1370 enable_nodedup_5:
1371 value: true
1372 label: 'Enable Deduplication'
1373 description: 'Enable Deduplication for volume type'
1374 weight: 660
1375 type: "checkbox"
1376 restrictions:
1377 - condition: "settings:cinder_kaminario.create_type_5.value == false or settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true or settings:cinder_kaminario.create_type_2.value != true or settings:cinder_kaminario.create_type_3.value != true or settings:cinder_kaminario.create_type_4.value != true"
1378 action: 'hide'
1379
1380 default_type_5:
1381 value: false
1382 label: 'Default Type'
1383 description: 'Make this volume type the default volume type'
1384 weight: 665
1385 type: 'checkbox'
1386 restrictions:
1387 - condition: "settings:cinder_kaminario.create_type_5.value == false or settings:cinder_kaminario.create_type_0.value != true or settings:cinder_kaminario.create_type_1.value != true or settings:cinder_kaminario.create_type_2.value != true or settings:cinder_kaminario.create_type_3.value != true or settings:cinder_kaminario.create_type_4.value != true"
1388 action: 'hide'
1389
diff --git a/metadata.yaml b/metadata.yaml
index d2b9371..b1635c1 100644
--- a/metadata.yaml
+++ b/metadata.yaml
@@ -1,7 +1,7 @@
1# Plugin name 1# Plugin name
2name: cinder_kaminario 2name: cinder_kaminario
3# Human-readable name for your plugin 3# Human-readable name for your plugin
4title: Kaminario For Cinder 4title: Kaminario K2 For Cinder
5# Plugin version 5# Plugin version
6version: '1.0.0' 6version: '1.0.0'
7# Description 7# Description