dell / ansible-powerstore

Ansible Modules for Dell PowerStore
GNU General Public License v3.0
31 stars 24 forks source link

[FEATURE]: set app_type in Volume module #19

Closed bwdbethke closed 1 year ago

bwdbethke commented 1 year ago

I'd like to be able to set the app_type via ansible module like I can via CLI or the GUI.

I see the option when I create a volume via the GUI. The PowerStore CLI reference guide says you can set it via CLI:

volume create -name <value> \
-size <1048576 (1.00M) .. 281474976710656 (256.00T)> \
[ { -host_id <value> | -host_name <value> } ] \
[ { -host_group_id <value> | -host_group_name <value> } ] \
[ -logical_unit_number <0..16383> ] \
[ -description <value> ] \
[ { -appliance_id <value> | -appliance_name <value> } ] \
[ { -volume_group_id <value> | -volume_group_name <value> } ] \
[ -min_size <1048576 (1.00M) .. 281474976710656 (256.00T)> ] \
[ -sector_size <512..4096> ] \
[ -protection_policy_id <value> ] \
[ -performance_policy_id <value> ] \
[ -app_type[Added in 2.1.0.0] {Relational_Databases_Other | Relational_Databases_Oracle | Relational_Databases_SQL_Server |
Relational_Databases_PostgreSQL | Relational_Databases_MySQL | Relational_Databases_IBM_DB2 | Big_Data_Analytics_Other | Big_Data_Analytics_MongoDB | Big_Data_Analytics_Cassandra | Big_Data_Analytics_SAP_HANA | Big_Data_Analytics_Spark | Big_Data_Analytics_Splunk | Big_Data_Analytics_ElasticSearch | Business_Applications_Other | Business_Applications_ERP_SAP | Business_Applications_CRM | Business_Applications_Exchange | Business_Applications_Sharepoint | Healthcare_Other | Healthcare_Epic | Healthcare_MEDITECH | Healthcare_Allscripts | Healthcare_Cerner | Virtualization_Other | Virtualization_Virtual_Servers_VSI | Virtualization_Containers_Kubernetes | Virtualization_Virtual_Desktops_VDI | Other } ] \
[ -app_type_other[Added in 2.1.0.0] <value> ] \
[ -async ]
anupamaloke commented 1 year ago

@bwdbethke, thank you for submitting this request. I have added it to the backlog.

anupamaloke commented 1 year ago

Fixed by #25