brocade.fos.brocade_zoning_copy (1.3.3) — module

Brocade Fibre Channel zoning object copy

| "added in version" 2.7 of brocade.fos"

Authors: Broadcom BSN Ansible Team <Automation.BSN@broadcom.com>

Install collection

Install with ansible-galaxy collection install brocade.fos:==1.3.3


Add to requirements.yml

  collections:
    - name: brocade.fos
      version: 1.3.3

Description

Mimics zoneObjectCopy funcionalities. The module is used to confirm that an existing object's and the new object's contents match. If they do not, the new object may be created or overwritten to match the contents. If an existing object is Target Driven Zone, the module will error out. If objects do not match in terms of type (Alias, Zone, or Cfg), the module will error out.

Inputs

    
vfid:
    description:
    - VFID of the switch. Use -1 for FOS without VF enabled or AG.
    required: false
    type: int

timeout:
    description:
    - REST timeout in seconds for operations that take longer than FOS default value.
    type: int

new_name:
    description:
    - Name of the object to copy to.
    required: true
    type: str

throttle:
    description:
    - Throttling delay in seconds. Enables second retry on first failure.
    type: int

credential:
    description:
    - Login information
    required: true
    suboptions:
      fos_ip_addr:
        description:
        - IP address of the FOS switch
        required: true
        type: str
      fos_password:
        description:
        - Password of FOS switch
        required: true
        type: str
      fos_user_name:
        description:
        - Login name of FOS switch
        required: true
        type: str
      https:
        choices:
        - true
        - false
        - self
        description:
        - Encryption to use. True for HTTPS, self for self-signed HTTPS, or False for
          HTTP
        required: true
        type: str
    type: dict

object_name:
    description:
    - Name of the object to copy from.
    required: true
    type: str

Outputs

msg:
  description: Success message
  returned: success
  type: str