ansible.builtin.ss_3par_cpg (v2.9.27) — module

Manage HPE StoreServ 3PAR CPG

| "added in version" 2.8 of ansible.builtin"

Authors: Farhan Nomani (@farhan7500), Gautham P Hegde (@gautamphegde)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Create and delete CPG on HPE 3PAR.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
    - name: Create CPG sample_cpg
      ss_3par_cpg:
        storage_system_ip: 10.10.10.1
        storage_system_username: username
        storage_system_password: password
        state: present
        cpg_name: sample_cpg
        domain: sample_domain
        growth_increment: 32000 MiB
        growth_limit: 64000 MiB
        growth_warning: 48000 MiB
        raid_type: R6
        set_size: 8
        high_availability: MAG
        disk_type: FC
        secure: no
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
    - name: Delete CPG sample_cpg
      ss_3par_cpg:
        storage_system_ip: 10.10.10.1
        storage_system_username: username
        storage_system_password: password
        state: absent
        cpg_name: sample_cpg
        secure: no

Inputs

    
state:
    choices:
    - present
    - absent
    description:
    - Whether the specified CPG should exist or not.
    required: true
    type: str

domain:
    description:
    - Specifies the name of the domain in which the object will reside.
    type: str

secure:
    default: false
    description:
    - Specifies whether the certificate needs to be validated while communicating.
    type: bool

cpg_name:
    description:
    - Name of the CPG.
    required: true
    type: str

set_size:
    description:
    - Specifies the set size in the number of chunklets.
    type: int

disk_type:
    choices:
    - FC
    - NL
    - SSD
    description:
    - Specifies that physical disks must have the specified device type.
    type: str

raid_type:
    choices:
    - R0
    - R1
    - R5
    - R6
    description:
    - Specifies the RAID type for the logical disk.
    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

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

high_availability:
    choices:
    - PORT
    - CAGE
    - MAG
    description:
    - Specifies that the layout must support the failure of one port pair, one cage, or
      one magazine.
    type: str

storage_system_ip:
    description:
    - The storage system IP address.
    required: true
    type: str

storage_system_password:
    description:
    - The storage system password.
    required: true
    type: str

storage_system_username:
    description:
    - The storage system user name.
    required: true
    type: str