ibm.storage_virtualize.ibm_sv_manage_fcportsetmember (2.3.1) — module

This module manages addition or removal of ports to or from the Fibre Channel(FC) portsets on IBM Storage Virtualize family systems.

| "added in version" 1.12.0 of ibm.storage_virtualize"

Authors: Sudheesh S (@sudheesh-reddy)

Install collection

Install with ansible-galaxy collection install ibm.storage_virtualize:==2.3.1


Add to requirements.yml

  collections:
    - name: ibm.storage_virtualize
      version: 2.3.1

Description

Ansible interface to manage 'addfcportsetmember' and 'rmfcportsetmember' commands.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Add port ID to the portset
  ibm.storage_virtualize.ibm_sv_manage_fcportsetmember:
   clustername: "{{cluster}}"
   username: "{{username}}"
   password: "{{password}}"
   name: portset1
   fcportid: 3
   state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Remove port ID from portset
  ibm.storage_virtualize.ibm_sv_manage_fcportsetmember:
   clustername: "{{cluster}}"
   username: "{{username}}"
   password: "{{password}}"
   name: portset1
   fcportid: 3
   state: absent

Inputs

    
name:
    description:
    - Specifies the name of the FC portset.
    required: true
    type: str

state:
    choices:
    - present
    - absent
    description:
    - Add (C(present)) or Remove (C(absent)) the FC port ID to or from the FC portset
    required: true
    type: str

token:
    description:
    - The authentication token to verify a user on the Storage Virtualize system.
    - To generate a token, use the M(ibm.storage_virtualize.ibm_svc_auth) module.
    type: str

domain:
    description:
    - Domain for the Storage Virtualize system.
    - Valid when hostname is used for the parameter I(clustername).
    type: str

fcportid:
    description:
    - Specifies the Fibre Channel I/O port ID of the port.
    - The value can be a decimal number 1 to the maximum number of FC I/O ports.
    required: true
    type: str

log_path:
    description:
    - Path of debug log file.
    type: str

password:
    description:
    - REST API password for the Storage Virtualize system.
    - The parameters I(username) and I(password) are required if not using I(token) to
      authenticate a user.
    type: str

username:
    description:
    - REST API username for the Storage Virtualize system.
    - The parameters I(username) and I(password) are required if not using I(token) to
      authenticate a user.
    type: str

clustername:
    description:
    - The hostname or management IP of the Storage Virtualize system.
    required: true
    type: str

validate_certs:
    default: false
    description:
    - Validates certification.
    type: bool