From 6e748165164f9697dfd5626db6274af3bc772b85 Mon Sep 17 00:00:00 2001 From: John R Barker Date: Fri, 1 Mar 2019 15:57:22 +0000 Subject: [PATCH] hpe3par document type (#52992) * Update lib/ansible/modules/storage/hpe3par/ss_3par_cpg.py Co-Authored-By: gundalow --- lib/ansible/modules/storage/hpe3par/ss_3par_cpg.py | 12 +++++++++++- lib/ansible/plugins/doc_fragments/hpe3par.py | 3 +++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/storage/hpe3par/ss_3par_cpg.py b/lib/ansible/modules/storage/hpe3par/ss_3par_cpg.py index dcf9f11b7fc..9157cb352b9 100644 --- a/lib/ansible/modules/storage/hpe3par/ss_3par_cpg.py +++ b/lib/ansible/modules/storage/hpe3par/ss_3par_cpg.py @@ -26,6 +26,7 @@ options: cpg_name: description: - Name of the CPG. + type: str required: true disk_type: choices: @@ -34,21 +35,26 @@ options: - SSD description: - Specifies that physical disks must have the specified device type. + type: str domain: description: - Specifies the name of the domain in which the object will reside. + type: str growth_increment: description: - Specifies the growth increment(in MiB, GiB or TiB) the amount of logical disk storage created on each auto-grow operation. + type: str growth_limit: description: - Specifies that the autogrow operation is limited to the specified storage amount that sets the growth limit(in MiB, GiB or TiB). + type: str growth_warning: description: - Specifies that the threshold(in MiB, GiB or TiB) of used logical disk space when exceeded results in a warning alert. + type: str high_availability: choices: - PORT @@ -57,6 +63,7 @@ options: description: - Specifies that the layout must support the failure of one port pair, one cage, or one magazine. + type: str raid_type: choices: - R0 @@ -65,9 +72,11 @@ options: - R6 description: - Specifies the RAID type for the logical disk. + type: str set_size: description: - Specifies the set size in the number of chunklets. + type: int state: choices: - present @@ -75,13 +84,14 @@ options: description: - Whether the specified CPG should exist or not. required: true + type: str secure: description: - Specifies whether the certificate needs to be validated while communicating. type: bool default: no extends_documentation_fragment: hpe3par -version_added: 2.8 +version_added: '2.8' ''' diff --git a/lib/ansible/plugins/doc_fragments/hpe3par.py b/lib/ansible/plugins/doc_fragments/hpe3par.py index c3527b40cb0..2f0c69eea24 100644 --- a/lib/ansible/plugins/doc_fragments/hpe3par.py +++ b/lib/ansible/plugins/doc_fragments/hpe3par.py @@ -11,14 +11,17 @@ options: storage_system_ip: description: - The storage system IP address. + type: str required: true storage_system_password: description: - The storage system password. + type: str required: true storage_system_username: description: - The storage system user name. + type: str required: true requirements: