cisco.dnac.topology_layer_2_info – Information module for Topology Layer 2¶
Note
This plugin is part of the cisco.dnac collection (version 3.1.2).
To install it use: ansible-galaxy collection install cisco.dnac
.
To use it in a playbook, specify: cisco.dnac.topology_layer_2_info
.
New in version 1.0.0: of cisco.dnac
Parameters¶
Parameter | Choices/Defaults | Comments |
---|---|---|
headers
dictionary
|
Additional headers.
|
|
vlanID
string
|
VlanID path parameter. Vlan Name for e.g Vlan1, Vlan23 etc.
|
See Also¶
See also
- Topology Layer 2 reference
Complete reference of the Topology Layer 2 object model.
Examples¶
- name: Get Topology Layer 2 by id
cisco.dnac.topology_layer_2_info:
dnac_host: "{{dnac_host}}"
dnac_username: "{{dnac_username}}"
dnac_password: "{{dnac_password}}"
dnac_verify: "{{dnac_verify}}"
dnac_port: "{{dnac_port}}"
dnac_version: "{{dnac_version}}"
dnac_debug: "{{dnac_debug}}"
headers:
custom: value
vlanID: string
register: result
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Rafael Campos (@racampos)