dellemc.powermax.port (3.0.0) — module

Manage ports on PowerMax/VMAX Storage System

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

Authors: Ashish Verma (@vermaa31) <ansible.team@dell.com>

Install collection

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


Add to requirements.yml

  collections:
    - name: dellemc.powermax
      version: 3.0.0

Description

Managing ports on PowerMax storage system includes getting details of a port.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Get details of single/multiple ports
  dellemc.powermax.port:
    unispherehost: "{{unispherehost}}"
    verifycert: "{{verifycert}}"
    user: "{{user}}"
    password: "{{password}}"
    serial_no: "{{array_id}}"
    ports:
      - director_id: "FA-1D"
        port_id: "5"
      - director_id: "SE-1F"
        port_id: "29"

Inputs

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

ports:
    description:
    - List of port director and port id
    elements: dict
    required: true
    type: list

timeout:
    default: 120
    description:
    - Time after which the connection will get terminated.
    - It is to be mentioned in seconds.
    type: int

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

serial_no:
    description:
    - The serial number of the PowerMax/VMAX array. It is a required parameter for all
      array-specific operations except for getting a list of arrays in the Gatherfacts
      module.
    required: true
    type: str

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

verifycert:
    description:
    - Specifies system whether to validate SSL certificate or not, Values can be True
      or False or a custom file path for SSL certificate with .pem extension or .cer with
      base 64 encoding.
    required: true
    type: str

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

Outputs

changed:
  description: Whether or not the resource has changed.
  returned: always
  type: bool
port_details:
  contains:
    symmetrixPort:
      contains:
        aclx:
          description: Indicates whether access control logic is enabled or disabled.
          type: bool
        avoid_reset_broadcast:
          description: Indicates whether the Avoid Reset Broadcasting feature is enabled
            or disabled.
          type: bool
        common_serial_number:
          description: Indicates whether the Common Serial Number feature is enabled
            or disabled.
          type: bool
        director_status:
          description: Director status.
          type: str
        disable_q_reset_on_ua:
          description: Indicates whether the Disable Q Reset on UA (Unit Attention)
            is enabled or disabled.
          type: bool
        enable_auto_negotiate:
          description: Indicates whether the Enable Auto Negotiate feature is enabled
            or disabled.
          type: bool
        environ_set:
          description: Indicates whether the environmental error reporting feature
            is enabled or disabled.
          type: bool
        hp_3000_mode:
          description: Indicates whether HP 3000 Mode is enabled or disabled.
          type: bool
        identifier:
          description: Unique identifier for port.
          type: str
        init_point_to_point:
          description: Indicates whether Init Point to Point is enabled or disabled.
          type: bool
        iscsi_target:
          description: Indicates whether ISCSI target is enabled or disabled.
          type: bool
        maskingview:
          description: List of Masking views that the port is a part of.
          type: list
        max_speed:
          description: Maximum port speed in GB/Second.
          type: str
        negotiate_reset:
          description: Indicates whether the Negotiate Reset feature is enabled or
            disabled.
          type: bool
        negotiated_speed:
          description: Negotiated speed in GB/Second.
          type: str
        no_participating:
          description: Indicates whether the No Participate feature is enabled or
            disabled.
          type: bool
        num_of_cores:
          description: Number of cores for the director.
          type: int
        num_of_mapped_vols:
          description: Number of volumes mapped with the port.
          type: int
        num_of_masking_views:
          description: Number of masking views associated with the port.
          type: int
        num_of_port_groups:
          description: Number of port groups associated with the port.
          type: int
        port_status:
          description: Port status, ON/OFF.
          type: str
        portgroup:
          description: List of masking views associated with the port.
          type: list
        scsi_3:
          description: Indicates whether the SCSI-3 protocol is enabled or disabled.
          type: bool
        scsi_support1:
          description: Indicates whether the SCSI Support1 is enabled or disabled.
          type: bool
        siemens:
          description: Indicates whether the Siemens feature is enabled or disabled.
          type: bool
        soft_reset:
          description: Indicates whether the Soft Reset feature is enabled or disabled.
          type: bool
        spc2_protocol_version:
          description: Indicates whether the SPC2 Protocol Version feature is enabled
            or disabled.
          type: bool
        sunapee:
          description: Indicates whether the Sunapee feature is enabled or disabled.
          type: bool
        symmetrixPortKey:
          contains:
            drectorId:
              description: Director ID of the port.
              type: str
            portId:
              description: Port number of the port.
              type: str
          description: Symmetrix system director and port in the port group.
          type: list
        type:
          description: Type of port.
          type: str
        unique_wwn:
          description: Indicates whether the Unique WWN feature is enabled or disabled.
          type: bool
        vnx_attached:
          description: Indicates whether the VNX attached feature is enabled or disabled.
          type: bool
        volume_set_addressing:
          description: Indicates whether Volume Vet Addressing is enabled or disabled.
          type: bool
        wwn_node:
          description: WWN node of port.
          type: str
      description: Type of volume.
      type: list
  description: Details of the port.
  returned: When the port exist.
  type: list