brocade / brocade.fos / 1.3.3 / module / brocade_zoning_zone Brocade Fibre Channel zone configuration | "added in version" 2.7 of brocade.fos" Authors: Broadcom BSN Ansible Team <Automation.BSN@broadcom.com>brocade.fos.brocade_zoning_zone (1.3.3) — module
Install with ansible-galaxy collection install brocade.fos:==1.3.3
collections: - name: brocade.fos version: 1.3.3
Create, detroy, or update zones. The whole of zones and zones_to_delete are applied to FOS within a single login session to termininate after the completion. If no active cfg is found, cfgsave is executed before the completion of the session. If an active cfg is found, cfgenable of the existing cfg is executed to apply any potential changes before the completion of the session.
vfid: description: - VFID of the switch. Use -1 for FOS without VF enabled or AG. required: false type: int zones: description: - List of zones to be created or modified. If a zone does not exist in the current Zone Database, the zone will be created with the members specified. If a zone already exist in the current Zone Database, the zone is updated to reflect to members specificed. In other word, new members will be added and removed members will be removed. Peerzones are automatically created only if optional principal members are specified. zones are zones_to_delete are mutually exclusive. required: true type: list timeout: description: - REST timeout in seconds for operations that take longer than FOS default value. type: int 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 zones_to_delete: description: - List of zones to be deleted. zones and zones_to_delete are mutually exclusive. required: true type: list members_add_only: description: - If set to True, new members will be added and old members not specified also remain required: false type: bool members_remove_only: description: - If set to True, members specified are removed required: false type: bool
msg: description: Success message returned: success type: str