Skip to content

Latest commit

 

History

History
213 lines (118 loc) · 4.3 KB

fault_set.rst

File metadata and controls

213 lines (118 loc) · 4.3 KB

fault_set -- Manage Fault Sets on Dell PowerFlex

Managing fault sets on PowerFlex storage system includes creating, getting details, renaming and deleting a fault set.

The below requirements are needed on the host that executes this module.

  • A Dell PowerFlex storage system version 3.6 or later.
  • PyPowerFlex 1.14.0.
fault_set_name (optional, str, None)

Name of the Fault Set.

Mutually exclusive with fault_set_id.

fault_set_id (optional, str, None)

ID of the Fault Set.

Mutually exclusive with fault_set_name.

protection_domain_name (optional, str, None)

Name of protection domain.

Mutually exclusive with protection_domain_id.

protection_domain_id (optional, str, None)

ID of the protection domain.

Mutually exclusive with protection_domain_name.

fault_set_new_name (optional, str, None)
New name of the fault set.
state (optional, str, present)
State of the Fault Set.
hostname (True, str, None)
IP or FQDN of the PowerFlex host.
username (True, str, None)
The username of the PowerFlex host.
password (True, str, None)
The password of the PowerFlex host.
validate_certs (optional, bool, True)

Boolean variable to specify whether or not to validate SSL certificate.

true - Indicates that the SSL certificate should be verified.

false - Indicates that the SSL certificate should not be verified.

port (optional, int, 443)
Port number through which communication happens with PowerFlex host.
timeout (False, int, 120)

Time after which connection will get terminated.

It is to be mentioned in seconds.

Note

  • The check_mode is supported.
  • When fault_set_name is provided, protection_domain_name or protection_domain_id must be provided.
  • The modules present in the collection named as 'dellemc.powerflex' are built to support the Dell PowerFlex storage platform.
- name: Create Fault Set on Protection Domain
  dellemc.powerflex.fault_set:
    hostname: "{{ hostname }}"
    username: "{{ username }}"
    password: "{{ password }}"
    validate_certs: "{{ validate_certs }}"
    fault_set_name: "{{ fault_set_name }}"
    protection_domain_name: "{{ pd_name }}"
    state: present

- name: Rename Fault Set
  dellemc.powerflex.fault_set:
    hostname: "{{ hostname }}"
    username: "{{ username }}"
    password: "{{ password }}"
    validate_certs: "{{ validate_certs }}"
    fault_set_name: "{{ fault_set_name }}"
    fault_set_new_name: "{{ fault_set_new_name }}"
    state: present

- name: Get details of a Fault Set
  dellemc.powerflex.fault_set:
    hostname: "{{ hostname }}"
    username: "{{ username }}"
    password: "{{ password }}"
    validate_certs: "{{ validate_certs }}"
    fault_set_id: "{{ fault_set_id }}"
    state: present

- name: Delete Fault Set
  dellemc.powerflex.fault_set:
    hostname: "{{ hostname }}"
    username: "{{ username }}"
    password: "{{ password }}"
    validate_certs: "{{ validate_certs }}"
    fault_set_id: "{{ fault_set_id }}"
    state: absent
changed (always, bool, false)
Whether or not the resource has changed.
fault_set_details (always, dict, {'protectionDomainId': 'da721a8300000000', 'protectionDomainName': 'sample-pd', 'name': 'fs_001', 'id': 'eb44b70500000000', 'links': []})

Details of fault set.

protectionDomainId (, str, )
Unique identifier of the protection domain.
protectionDomainName (, str, )
Name of the protection domain.
name (, str, )
Name of the fault set.
id (, str, )
Unique identifier of the fault set.
SDS (, list, )
List of SDS associated to the fault set.
links (, list, )

Fault set links.

href (, str, )
Fault Set instance URL.
rel (, str, )
Relationship of fault set with different entities.

Authors