cisco.nxos.nxos_devicealias – Configuration of device alias for Cisco NXOS MDS Switches.¶
Note
This plugin is part of the cisco.nxos collection (version 1.4.0).
To install it use: ansible-galaxy collection install cisco.nxos
.
To use it in a playbook, specify: cisco.nxos.nxos_devicealias
.
New in version 1.0.0: of cisco.nxos
Synopsis¶
Configuration of device alias for Cisco MDS NXOS.
Note
This module has a corresponding action plugin.
Parameters¶
Examples¶
- name: Test that device alias module works
cisco.nxos.nxos_devicealias:
da:
- name: test1_add
pwwn: 56:2:22:11:22:88:11:67
- name: test2_add
pwwn: 65:22:22:11:22:22:11:d
- name: dev1
remove: true
- name: dev2
remove: true
distribute: true
mode: enhanced
rename:
- new_name: bcd
old_name: abc
- new_name: bcd1
old_name: abc1
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Suhas Bharadwaj (@srbharadwaj) (subharad@cisco.com)