cisco / cisco.dnac / 6.13.3 / module / network_v2 Resource module for Network V2 | "added in version" 6.7.0 of cisco.dnac" Authors: Rafael Campos (@racampos) This plugin has a corresponding action plugin.cisco.dnac.network_v2 (6.13.3) — module
Install with ansible-galaxy collection install cisco.dnac:==6.13.3
collections: - name: cisco.dnac version: 6.13.3
Manage operations create and update of the resource Network V2.
API to create network settings for DHCP, Syslog, SNMP, NTP, Network AAA, Client and Endpoint AAA, and/or DNS center server settings.
API to update network settings for DHCP, Syslog, SNMP, NTP, Network AAA, Client and Endpoint AAA, and/or DNS center server settings.
- name: Create cisco.dnac.network_v2: 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 settings: clientAndEndpoint_aaa: ipAddress: string network: string protocol: string servers: string sharedSecret: string dhcpServer: - string dnsServer: domainName: string primaryIpAddress: string secondaryIpAddress: string messageOfTheday: bannerMessage: string retainExistingBanner: string netflowcollector: ipAddress: string port: 0 network_aaa: 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
- name: Update by id cisco.dnac.network_v2: 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 settings: clientAndEndpoint_aaa: ipAddress: string network: string protocol: string servers: string sharedSecret: string dhcpServer: - string dnsServer: domainName: string primaryIpAddress: string secondaryIpAddress: string messageOfTheday: bannerMessage: string retainExistingBanner: string netflowcollector: ipAddress: string port: 0 network_aaa: 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
siteId: description: SiteId path parameter. Site Id to which site details to associate with the network settings. type: str settings: description: Network V2's settings. suboptions: clientAndEndpoint_aaa: description: Network V2's clientAndEndpoint_aaa. suboptions: ipAddress: description: IP address for ISE serve (eg 1.1.1.4). type: str network: description: IP address for AAA or ISE server (eg 2.2.2.1). type: str protocol: description: Protocol for AAA or ISE serve (eg RADIUS). type: str servers: description: Server type AAA or ISE server (eg AAA). type: str sharedSecret: description: Shared secret for ISE server. type: str type: dict dhcpServer: description: DHCP Server IP (eg 1.1.1.1). elements: str type: list dnsServer: description: Network V2's dnsServer. suboptions: domainName: description: Domain Name of DHCP (eg; cisco). type: str primaryIpAddress: description: Primary IP Address for DHCP (eg 2.2.2.2). type: str secondaryIpAddress: description: Secondary IP Address for DHCP (eg 3.3.3.3). type: str type: dict messageOfTheday: description: Network V2's messageOfTheday. suboptions: bannerMessage: description: Massage for Banner message (eg; Good day). type: str retainExistingBanner: description: Retain existing Banner Message (eg "true" or "false"). type: str type: dict netflowcollector: description: Network V2's netflowcollector. suboptions: ipAddress: description: IP Address for NetFlow collector (eg 3.3.3.1). type: str port: description: Port for NetFlow Collector (eg; 443). type: int type: dict network_aaa: description: Network V2's network_aaa. suboptions: ipAddress: description: IP address for AAA and ISE server (eg 1.1.1.1). type: str network: description: IP Address for AAA or ISE server (eg 2.2.2.2). type: str protocol: description: Protocol for AAA or ISE serve (eg RADIUS). type: str servers: description: Server type for AAA Network (eg AAA). type: str sharedSecret: description: Shared secret for ISE Server. type: str type: dict ntpServer: description: IP address for NTP server (eg 1.1.1.2). elements: str type: list snmpServer: description: Network V2's snmpServer. suboptions: configureDnacIP: description: Configuration DNAC IP for SNMP Server (eg true). type: bool ipAddresses: description: IP Address for SNMP Server (eg 4.4.4.1). elements: str type: list type: dict syslogServer: description: Network V2's syslogServer. suboptions: configureDnacIP: description: Configuration DNAC IP for syslog server (eg true). type: bool ipAddresses: description: IP Address for syslog server (eg 4.4.4.4). elements: str type: list type: dict timezone: description: Input for time zone (eg Africa/Abidjan). type: str type: dict dnac_host: description: - The Cisco DNA Center hostname. required: true type: str dnac_port: default: 443 description: - The Cisco DNA Center port. type: int dnac_debug: default: false description: - Flag for Cisco DNA Center SDK to enable debugging. type: bool dnac_verify: default: true description: - Flag to enable or disable SSL certificate verification. type: bool dnac_version: default: 2.3.5.3 description: - Informs the SDK which version of Cisco DNA Center to use. type: str dnac_password: description: - The Cisco DNA Center password to authenticate. type: str dnac_username: aliases: - user default: admin description: - The Cisco DNA Center username to authenticate. type: str validate_response_schema: default: true description: - Flag for Cisco DNA Center SDK to enable the validation of request bodies against a JSON schema. type: bool
dnac_response: description: A dictionary or list with the response returned by the Cisco DNAC Python SDK returned: always sample: "{\n \"taskId\": \"string\",\n \"url\": \"string\"\n}\n" type: dict