dellemc.powermax.process_storage_pool_dict (1.6.1) — module

Process storage pools on PowerMax/VMAX Storage System

| "added in version" 1.5.0 of dellemc.powermax"

Authors: Akash Shendge (@shenda1) <ansible.team@dell.com>

preview | supported by community

Install collection

Install with ansible-galaxy collection install dellemc.powermax:==1.6.1


Add to requirements.yml

  collections:
    - name: dellemc.powermax
      version: 1.6.1

Description

Process storage pools on PowerMax/VMAX storage system to find out the storage pool with maximum free storage


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Get best suitable Pool using our python sorting module
  register: assigned_pool
  process_storage_pool_dict:
    unispherehost: "{{unispherehost}}"
    verifycert: "{{verifycert}}"
    user: "{{user}}"
    password: "{{password}}"
    pool_data: "{{ pools_list }}"
    size: 40
    service_level: "Diamond"
    sg_name: "intellgent_provisioning"

Inputs

    
size:
    description:
    - Size of the storage group in GB
    required: true
    type: float

user:
    description:
    - The username of the Unisphere host.
    required: true
    type: str

sg_name:
    description:
    - Name of the storage group
    type: str

password:
    description:
    - The password of the Unisphere host.
    required: true
    type: str

pool_data:
    description:
    - Storage pool details including service levels, usable total space, usable free space,
      total free space.
    elements: dict
    required: true
    type: list

universion:
    choices:
    - 91
    - 92
    description:
    - Unisphere version, currently '91' and '92' versions are supported.
    required: false
    type: int

verifycert:
    choices:
    - true
    - false
    description:
    - Boolean variable to specify whether to validate SSL certificate or not.
    - True - indicates that the SSL certificate should be verified.
    - False - indicates that the SSL certificate should not be verified.
    required: true
    type: bool

service_level:
    description:
    - Service level of the storage group
    type: str

unispherehost:
    description:
    - IP or FQDN of the Unisphere host
    required: true
    type: str

Outputs

all_pools:
  contains:
    serial_no:
      description: The PowerMax array on which storage pool resides
      returned: when array satisfies the given criteria
      type: str
    storage_pool:
      description: The ID of the storage pool
      returned: when storage pool exists satisfying the given criteria
      type: str
  description: List of all pools on unisphere
  returned: when pool exists
  type: list
changed:
  description: Whether or not the resource has changed.
  returned: always
  type: bool
serial_no:
  description: The PowerMax array on which storage pool resides
  returned: when array satisfies the given criteria
  type: str
storage_group:
  description: Name of the storage group
  returned: when storage group exists satisfying the given criteria
  type: str
storage_pool:
  description: The ID of the storage pool
  returned: when storage pool exists satisfying the given criteria
  type: str