.. _cisco.nxos.nxos_zone_zoneset_module:
****************************
cisco.nxos.nxos_zone_zoneset
****************************
**Configuration of zone/zoneset for Cisco NXOS MDS Switches.**
Version added: 1.0.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- Configuration of zone/zoneset for Cisco MDS NXOS.
Parameters
----------
.. raw:: html
| Parameter |
Choices/Defaults |
Comments |
|
zone_zoneset_details
list
/ elements=dictionary
|
|
List of zone/zoneset details to be added or removed
|
|
default_zone
string
|
|
default zone behaviour for the vsan
|
|
mode
string
|
|
mode of the zone for the vsan
|
|
smart_zoning
boolean
|
|
Removes the vsan if True
|
|
vsan
integer
/ required
|
|
vsan id
|
|
zone
list
/ elements=dictionary
|
|
List of zone options for that vsan
|
|
|
members
list
/ elements=dictionary
|
|
Members of the zone that needs to be removed or added
|
|
|
|
devtype
string
|
Choices:
- initiator
- target
- both
|
devtype of the zone member used along with Smart zoning config
|
|
|
|
pwwn
string
/ required
|
|
pwwn member of the zone, use alias 'device_alias' as option for device_alias member
aliases: device_alias
|
|
|
|
remove
boolean
|
|
Removes member from the zone if True
|
|
|
name
string
/ required
|
|
name of the zone
|
|
|
remove
boolean
|
|
Deletes the zone if True
|
|
zoneset
list
/ elements=dictionary
|
|
List of zoneset options for the vsan
|
|
|
action
string
|
Choices:
- activate
- deactivate
|
activates/de-activates the zoneset
|
|
|
members
list
/ elements=dictionary
|
|
Members of the zoneset that needs to be removed or added
|
|
|
|
name
string
/ required
|
|
name of the zone that needs to be added to the zoneset or removed from the zoneset
|
|
|
|
remove
boolean
|
|
Removes zone member from the zoneset
|
|
|
name
string
/ required
|
|
name of the zoneset
|
|
|
remove
boolean
|
|
Removes zoneset if True
|