cisco.ise.sg_to_vn_to_vlan – Resource module for Sg To Vn To Vlan¶
Note
This plugin is part of the cisco.ise collection (version 0.0.9).
To install it use: ansible-galaxy collection install cisco.ise
.
To use it in a playbook, specify: cisco.ise.sg_to_vn_to_vlan
.
New in version 1.0.0: of cisco.ise
Synopsis¶
Manage operations create, update and delete of the resource Sg To Vn To Vlan.
Note
This module has a corresponding action plugin.
Parameters¶
See Also¶
See also
- cisco.ise.plugins.module_utils.definitions.sg_to_vn_to_vlan
The official documentation on the cisco.ise.plugins.module_utils.definitions.sg_to_vn_to_vlan module.
- Sg To Vn To Vlan reference
Complete reference of the Sg To Vn To Vlan object model.
Examples¶
- name: Create
cisco.ise.sg_to_vn_to_vlan:
ise_hostname: "{{ise_hostname}}"
ise_username: "{{ise_username}}"
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
state: present
description: description
id: id
name: name
sgtId: sgt_id
virtualnetworklist:
- defaultVirtualNetwork: false
description: description
id: id
name: virtual1
vlans:
- data: true
defaultVlan: true
description: description1
id: '1'
maxValue: 909386796
name: vlan1
- data: false
defaultVlan: false
description: description
id: id
maxValue: 1964790221
name: vlan2
- data: true
defaultVlan: false
description: description
id: id
maxValue: 0
name: vlan3
- defaultVirtualNetwork: true
description: description
id: id
name: virtual2
vlans:
- data: false
defaultVlan: false
maxValue: 1368125387
name: vlan4
- name: Update by id
cisco.ise.sg_to_vn_to_vlan:
ise_hostname: "{{ise_hostname}}"
ise_username: "{{ise_username}}"
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
state: present
description: description
id: id
name: name
sgtId: sgt_id
virtualnetworklist:
- defaultVirtualNetwork: false
description: description
id: id
name: virtual1
vlans:
- data: true
defaultVlan: true
description: description1
id: '1'
maxValue: 909386796
name: vlan1
- data: false
defaultVlan: false
description: description
id: id
maxValue: 1964790221
name: vlan2
- data: true
defaultVlan: false
description: description
id: id
maxValue: 0
name: vlan3
- defaultVirtualNetwork: true
description: description
id: id
name: virtual2
vlans:
- data: false
defaultVlan: false
maxValue: 1368125387
name: vlan4
- name: Delete by id
cisco.ise.sg_to_vn_to_vlan:
ise_hostname: "{{ise_hostname}}"
ise_username: "{{ise_username}}"
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
state: absent
id: string
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
ise_response
dictionary
|
always |
A dictionary or list with the response returned by the Cisco ISE Python SDK
Sample:
{}
|
Authors¶
Rafael Campos (@racampos)