Deprecated

Removed in 2.0.0

i

Reason:This Module has been replaced | Alternative:please use M(netapp.elementsw.na_elementsw_access_group)

community.general.sf_volume_access_group_manager (1.3.14) — module

Manage SolidFire Volume Access Groups

Authors: Sumit Kumar (@timuster) <sumit4@netapp.com>

Install collection

Install with ansible-galaxy collection install community.general:==1.3.14


Add to requirements.yml

  collections:
    - name: community.general
      version: 1.3.14

Description

Create, destroy, or update volume access groups on SolidFire


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
   - name: Create Volume Access Group
     community.general.sf_volume_access_group_manager:
       hostname: "{{ solidfire_hostname }}"
       username: "{{ solidfire_username }}"
       password: "{{ solidfire_password }}"
       state: present
       name: AnsibleVolumeAccessGroup
       volumes: [7,8]
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
   - name: Modify Volume Access Group
     community.general.sf_volume_access_group_manager:
       hostname: "{{ solidfire_hostname }}"
       username: "{{ solidfire_username }}"
       password: "{{ solidfire_password }}"
       state: present
       volume_access_group_id: 1
       name: AnsibleVolumeAccessGroup-Renamed
       attributes: {"volumes": [1,2,3], "virtual_network_id": 12345}
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
   - name: Delete Volume Access Group
     community.general.sf_volume_access_group_manager:
       hostname: "{{ solidfire_hostname }}"
       username: "{{ solidfire_username }}"
       password: "{{ solidfire_password }}"
       state: absent
       volume_access_group_id: 1

Inputs

    
name:
    description:
    - Name of the volume access group. It is not required to be unique, but recommended.
    required: true

state:
    choices:
    - present
    - absent
    description:
    - Whether the specified volume access group should exist or not.
    required: true

volumes:
    description:
    - List of volumes to initially include in the volume access group. If unspecified,
      the access group will start without any volumes.

hostname:
    description:
    - The hostname or IP address of the SolidFire cluster.
    required: true

password:
    aliases:
    - pass
    description:
    - Password for the specified user.
    required: true

username:
    aliases:
    - user
    description:
    - Please ensure that the user has the adequate permissions. For more information,
      please read the official documentation U(https://mysupport.netapp.com/documentation/docweb/index.html?productID=62636&language=en-US).
    required: true

attributes:
    description: List of Name/Value pairs in JSON object format.

initiators:
    description:
    - List of initiators to include in the volume access group. If unspecified, the access
      group will start out without configured initiators.

virtual_network_id:
    description:
    - The ID of the SolidFire Virtual Network ID to associate the volume access group
      with.

virtual_network_tags:
    description:
    - The ID of the VLAN Virtual Network Tag to associate the volume access group with.

volume_access_group_id:
    description:
    - The ID of the volume access group to modify or delete.