cisco.dnac.reserve_ip_subpool – Resource module for Reserve Ip Subpool
Note
This plugin is part of the cisco.dnac collection (version 3.2.0).
To install it use: ansible-galaxy collection install cisco.dnac
.
To use it in a playbook, specify: cisco.dnac.reserve_ip_subpool
.
New in version 3.1.0: of cisco.dnac
Synopsis
Manage operations create, update and delete of the resource Reserve Ip Subpool.
Note
This module has a corresponding action plugin.
Requirements
The below requirements are needed on the host that executes this module.
dnacentersdk >= 2.3.1
python >= 3.5
Parameters
Notes
Note
Does not support
check_mode
See Also
See also
- Reserve Ip Subpool reference
Complete reference of the Reserve Ip Subpool object model.
Examples
- name: Delete by id
cisco.dnac.reserve_ip_subpool:
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}}"
state: absent
id: string
- name: Create
cisco.dnac.reserve_ip_subpool:
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}}"
state: present
ipv4DhcpServers:
- string
ipv4DnsServers:
- string
ipv4GateWay: string
ipv4GlobalPool: string
ipv4Prefix: true
ipv4PrefixLength: 0
ipv4Subnet: string
ipv4TotalHost: 0
ipv6AddressSpace: true
ipv6DhcpServers:
- string
ipv6DnsServers:
- string
ipv6GateWay: string
ipv6GlobalPool: string
ipv6Prefix: true
ipv6PrefixLength: 0
ipv6Subnet: string
ipv6TotalHost: 0
name: string
siteId: string
slaacSupport: true
type: string
- name: Update by id
cisco.dnac.reserve_ip_subpool:
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}}"
state: present
id: string
ipv4DhcpServers:
- string
ipv4DnsServers:
- string
ipv6AddressSpace: true
ipv6DhcpServers:
- string
ipv6DnsServers:
- string
ipv6GateWay: string
ipv6GlobalPool: string
ipv6Prefix: true
ipv6PrefixLength: 0
ipv6Subnet: string
ipv6TotalHost: 0
name: string
siteId: string
slaacSupport: true
Return Values
Common return values are documented here, the following are the fields unique to this module: