cisco.dnac.network – Manage Network objects of NetworkSettings¶
Note
This plugin is part of the cisco.dnac collection (version 2.0.7).
To install it use: ansible-galaxy collection install cisco.dnac
.
To use it in a playbook, specify: cisco.dnac.network
.
New in version 1.0.0: of cisco.dnac
Synopsis¶
API to get DHCP and DNS center server details.
API to create a Network for DHCP and DNS center server settings.
API to update Network for DHCP and DNS center server settings.
Note
This module has a corresponding action plugin.
Parameters¶
See Also¶
See also
- cisco.dnac.plugins.module_utils.definitions.network
The official documentation on the cisco.dnac.plugins.module_utils.definitions.network module.
- Network reference
Complete reference of the Network object model.
- Network reference
SDK reference.
Examples¶
- name: get_network
cisco.dnac.network:
state: query # required
site_id: SomeValue # string
register: nm_get_network
- name: create_network
cisco.dnac.network:
state: create # required
site_id: SomeValue # string, required
settings: # required
dhcpServer:
- SomeValue # string
dnsServer:
domainName: SomeValue # string
primaryIpAddress: SomeValue # string
secondaryIpAddress: SomeValue # string
syslogServer:
ipAddresses:
- SomeValue # string
configureDnacIP: True # boolean
snmpServer:
ipAddresses:
- SomeValue # string
configureDnacIP: True # boolean
netflowcollector:
ipAddress: SomeValue # string
port: 1 # number
ntpServer:
- SomeValue # string
timezone: SomeValue # string
messageOfTheday:
bannerMessage: SomeValue # string
retainExistingBanner: True # boolean
network_aaa:
servers: SomeValue # string
ipAddress: SomeValue # string
network: SomeValue # string
protocol: SomeValue # string
sharedSecret: SomeValue # string
clientAndEndpoint_aaa:
servers: SomeValue # string
ipAddress: SomeValue # string
network: SomeValue # string
protocol: SomeValue # string
sharedSecret: SomeValue # string
- name: update_network
cisco.dnac.network:
state: update # required
site_id: SomeValue # string, required
settings: # required
dhcpServer:
- SomeValue # string
dnsServer:
domainName: SomeValue # string
primaryIpAddress: SomeValue # string
secondaryIpAddress: SomeValue # string
syslogServer:
ipAddresses:
- SomeValue # string
configureDnacIP: True # boolean
snmpServer:
ipAddresses:
- SomeValue # string
configureDnacIP: True # boolean
netflowcollector:
ipAddress: SomeValue # string
port: 1 # number
ntpServer:
- SomeValue # string
timezone: SomeValue # string
messageOfTheday:
bannerMessage: SomeValue # string
retainExistingBanner: True # boolean
network_aaa:
servers: SomeValue # string
ipAddress: SomeValue # string
network: SomeValue # string
protocol: SomeValue # string
sharedSecret: SomeValue # string
clientAndEndpoint_aaa:
servers: SomeValue # string
ipAddress: SomeValue # string
network: SomeValue # string
protocol: SomeValue # string
sharedSecret: SomeValue # string
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Rafael Campos (@racampos)