cisco / cisco.nxos / 7.0.0 / module / nxos_vsan Configuration of vsan for Cisco NXOS MDS Switches. | "added in version" 1.0.0 of cisco.nxos" Authors: Suhas Bharadwaj (@srbharadwaj) (subharad@cisco.com)cisco.nxos.nxos_vsan (7.0.0) — module
Install with ansible-galaxy collection install cisco.nxos:==7.0.0
collections: - name: cisco.nxos version: 7.0.0
Configuration of vsan for Cisco MDS NXOS.
- 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
vsan: description: - List of vsan details to be added or removed elements: dict suboptions: id: description: - Vsan id required: true type: int interface: description: - List of vsan's interfaces to be added elements: str type: list name: description: - Name of the vsan type: str remove: description: - Removes the vsan if True type: bool suspend: description: - suspend the vsan if True type: bool type: list
commands: description: commands sent to the device returned: always sample: - terminal dont-ask - vsan database - vsan 922 interface fc1/40 - vsan 922 interface port-channel 155 - no terminal dont-ask type: list