.. _cisco.nxos.nxos_vsan_module: ******************** cisco.nxos.nxos_vsan ******************** **Configuration of vsan for Cisco NXOS MDS Switches.** Version added: 1.0.0 .. contents:: :local: :depth: 1 Synopsis -------- - Configuration of vsan for Cisco MDS NXOS. Parameters ---------- .. raw:: html
Parameter Choices/Defaults Comments
vsan
list / elements=dictionary
List of vsan details to be added or removed
id
integer / required
Vsan id
interface
list / elements=string
List of vsan's interfaces to be added
name
string
Name of the vsan
remove
boolean
    Choices:
  • no
  • yes
Removes the vsan if True
suspend
boolean
    Choices:
  • no
  • yes
suspend the vsan if True

Notes ----- .. note:: - Tested against Cisco MDS NX-OS 8.4(1) Examples -------- .. code-block:: yaml - name: Test that vsan module works cisco.nxos.nxos_vsan: vsan: - id: 922 interface: - fc1/1 - fc1/2 - port-channel 1 name: vsan-SAN-A remove: false suspend: false - id: 923 interface: - fc1/11 - fc1/21 - port-channel 2 name: vsan-SAN-B remove: false suspend: true - id: 1923 name: vsan-SAN-Old remove: true Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: .. raw:: html
Key Returned Description
commands
list
always
commands sent to the device

Sample:
['terminal dont-ask', 'vsan database', 'vsan 922 interface fc1/40', 'vsan 922 interface port-channel 155', 'no terminal dont-ask']


Status ------ Authors ~~~~~~~ - Suhas Bharadwaj (@srbharadwaj) (subharad@cisco.com)