Skip to content

Latest commit

 

History

History
195 lines (163 loc) · 7.43 KB

cisco.nxos.nxos_vtp_domain_module.rst

File metadata and controls

195 lines (163 loc) · 7.43 KB

cisco.nxos.nxos_vtp_domain

Manages VTP domain configuration.

Version added: 1.0.0

  • Manages VTP domain configuration.
Parameter Choices/Defaults Comments
domain
string / required
VTP domain name.

Note

# ENSURE VTP DOMAIN IS CONFIGURED
- cisco.nxos.nxos_vtp_domain:
    domain: ntc
    host: '{{ inventory_hostname }}'
    username: '{{ un }}'
    password: '{{ pwd }}'

Common return values are documented here, the following are the fields unique to this module:

Key Returned Description
changed
boolean
always
check to see if a change was made on the device

Sample:
True
end_state
dictionary
always
k/v pairs of vtp domain after module execution

Sample:
{'domain': 'ntc', 'version': '2', 'vtp_password': 'password'}
existing
dictionary
always
k/v pairs of existing vtp domain

Sample:
{'domain': 'testing', 'version': '2', 'vtp_password': 'password'}
proposed
dictionary
always
k/v pairs of parameters passed into module

Sample:
{'domain': 'ntc'}
updates
list
always
command sent to the device

Sample:
['vtp domain ntc']


Authors

  • Gabriele Gerbino (@GGabriele)