dellemc.vxrail.dellemc_vxrail_cluster_portgroups_fqdn_v1 (1.3.0) — module

Retrieve Cluster Portgroups

| "added in version" 1.2.0 of dellemc.vxrail"

Authors: VxRail Development Team(@VxRailDevTeam) <ansible.team@dell.com>

Install collection

Install with ansible-galaxy collection install dellemc.vxrail:==1.3.0


Add to requirements.yml

  collections:
    - name: dellemc.vxrail
      version: 1.3.0

Description

This module retrieves information about cluster portgroups used by a node.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: Get Node's Cluster Portgroup Information
    dellemc_vxrail_cluster_portgroups_fqdn_v1:
        vxmip: "{{ vxmip }}"
        vcadmin: "{{ vcadmin }}"
        vcpasswd: "{{ vcpasswd }}"
        node_fqdn: "{{ node_fqdn }}"
        timeout : "{{ timeout }}"

Inputs

    
vxmip:
    description: The IP address of the VxRail Manager System
    required: true
    type: str

timeout:
    default: 60
    description: Time out value for getting cluster portgroup information, the default
      value is 60 seconds
    required: false
    type: int

vcadmin:
    description: Administrative account of the vCenter Server the VxRail Manager is registered
      to
    required: true
    type: str

vcpasswd:
    description: The password for the administrator account provided in vcadmin
    required: true
    type: str

node_fqdn:
    description: The Fully Qualified Domain Name of the node to query
    required: true
    type: str

Outputs

Cluster_Portgroups:
  description: Retrieved information about cluster portgroups used by a node.
  returned: always
  sample: "{\n    \"name\": \"VxRail Management-b6f3c545-92b5-422f-9629-e3de49d97c10\"\
    ,\n    \"type\": \"VXRAIL_MANAGEMENT\",\n    \"portgroup_key\": \"dvportgroup-19\"\
    ,\n    \"portgroup_vlan\": 0,\n    \"vds_name\": \"VMware HCIA Distributed Switch\"\
    ,\n    \"vds_moid\": \"dvs-12\",\n    \"vds_uuid\": \"50 2e 7f 5b 4b 2b 95 50-c6\
    \ 47 c3 67 f0 85 37 ec\"\n}"
  type: dict