cisco.dnac.network_update module – Resource module for Network Update
Note
This module is part of the cisco.dnac collection (version 3.3.1).
You might already have this collection installed if you are using the ansible package.
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install cisco.dnac.
To use it in a playbook, specify: cisco.dnac.network_update.
New in version 3.1.0: of cisco.dnac
Synopsis
Manage operation update of the resource Network Update.
Note
This module has a corresponding action plugin.
Requirements
The below requirements are needed on the host that executes this module.
dnacentersdk >= 2.3.3
python >= 3.5
Parameters
Parameter  | 
Comments  | 
|---|---|
Flag for Cisco DNA Center SDK to enable debugging. Choices: 
  | 
|
The Cisco DNA Center hostname.  | 
|
The Cisco DNA Center password to authenticate.  | 
|
The Cisco DNA Center port. Default: 443  | 
|
The Cisco DNA Center username to authenticate. Default: “admin”  | 
|
Flag to enable or disable SSL certificate verification. Choices: 
  | 
|
Informs the SDK which version of Cisco DNA Center to use. Default: “2.2.2.3”  | 
|
Network Update’s settings.  | 
|
Network Update’s clientAndEndpoint_aaa.  | 
|
Additional IP for ISE server which is not supported by AAA server.  | 
|
IP address for ISE serve (eg 1.1.1.4). Mandatory for ISE servers.  | 
|
IP address for AAA or ISE server (eg 2.2.2.1).  | 
|
Protocol for AAA or ISE serve (eg RADIUS).  | 
|
Server type AAA or ISE server (eg AAA).  | 
|
Shared secret for ISE server. Supported only by ISE servers.  | 
|
Dhcp serve Ip (eg 1.1.1.1).  | 
|
Network Update’s dnsServer.  | 
|
Domain name of DHCP (eg; cisco). Can only contain alphanumeric characters or hyphen.  | 
|
Primary ip address for DHCP (eg 2.2.2.2). Valid range 1.0.0.0 - 223.255.255.255.  | 
|
Secondary ip address for DHCP (eg 3.3.3.3). Valid range 1.0.0.0 - 223.255.255.255.  | 
|
Network Update’s messageOfTheday.  | 
|
Massage for banner message (eg; Good day).  | 
|
Retain existing banner message (eg true). Choices: 
  | 
|
Network Update’s netflowcollector.  | 
|
IP address for netflow collector (eg 3.3.3.1).  | 
|
Port for netflow collector (eg; 443).  | 
|
Network Update’s network_aaa.  | 
|
Additional IP for ISE server which is not supported by AAA server.  | 
|
IP address for AAA and ISE server (eg 1.1.1.1). Mandatory for ISE servers and for AAA consider this as additional Ip.  | 
|
IP address for AAA or ISE server (eg 2.2.2.2). For AAA server consider it as primary IP and For ISE consider as Network.  | 
|
Protocol for AAA or ISE serve (eg RADIUS).  | 
|
Server type for AAA network (eg AAA). Server type supported by ISE and AAA.  | 
|
Shared secret for ISE server. Supported only by ISE servers.  | 
|
IP address for NTP server (eg 1.1.1.2).  | 
|
Network Update’s snmpServer.  | 
|
Configuration dnac ip for snmp server (eg true). Choices: 
  | 
|
IP address for snmp server (eg 4.4.4.1).  | 
|
Network Update’s syslogServer.  | 
|
Configuration dnac ip for syslog server (eg true). Choices: 
  | 
|
IP address for syslog server (eg 4.4.4.4).  | 
|
Input for time zone (eg Africa/Abidjan (GMT)).  | 
|
SiteId path parameter. Site id to which site details to associate with the network settings.  | 
|
Flag for Cisco DNA Center SDK to enable the validation of request bodies against a JSON schema. Choices: 
  | 
Notes
Note
Does not support
check_modeThe plugin runs on the control node and does not use any ansible connection plugins, but instead the embedded connection manager from Cisco DNAC SDK
The parameters starting with dnac_ are used by the Cisco DNAC Python SDK to establish the connection
See Also
See also
- Network Update reference
 Complete reference of the Network Update object model.
Examples
- name: Update by id
  cisco.dnac.network_update:
    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}}"
    settings:
      clientAndEndpoint_aaa:
        additionalIp:
        - string
        ipAddress: string
        network: string
        protocol: string
        servers: string
        sharedSecret: string
      dhcpServer:
      - string
      dnsServer:
        domainName: string
        primaryIpAddress: string
        secondaryIpAddress: string
      messageOfTheday:
        bannerMessage: string
        retainExistingBanner: true
      netflowcollector:
        ipAddress: string
        port: 0
      network_aaa:
        additionalIp:
        - string
        ipAddress: string
        network: string
        protocol: string
        servers: string
        sharedSecret: string
      ntpServer:
      - string
      snmpServer:
        configureDnacIP: true
        ipAddresses:
        - string
      syslogServer:
        configureDnacIP: true
        ipAddresses:
        - string
      timezone: string
    siteId: string
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key  | 
Description  | 
|---|---|
A dictionary or list with the response returned by the Cisco DNAC Python SDK Returned: always Sample: “{\n \”executionId\”: \”string\”,\n \”executionStatusUrl\”: \”string\”,\n \”message\”: \”string\”\n}\n”  |