cisco.dnac.wireless_settings_ap_profiles module – Resource module for Wireless Settings Ap Profiles

Note

This module is part of the cisco.dnac collection (version 6.27.0).

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. You need further requirements to be able to use this module, see Requirements for details.

To use it in a playbook, specify: cisco.dnac.wireless_settings_ap_profiles.

New in cisco.dnac 6.17.0

Synopsis

  • This module represents an alias of the module wireless_settings_ap_profiles_v1

Note

This module has a corresponding action plugin.

Requirements

The below requirements are needed on the host that executes this module.

  • dnacentersdk >= 2.4.9

  • python >= 3.5

Parameters

Parameter

Comments

apPowerProfileName

string

Name of the existing AP power profile.

apProfileName

string

Name of the Access Point profile. Max length is 32 characters.

awipsEnabled

boolean

Indicates if AWIPS is enabled on the AP.

Choices:

  • false

  • true

awipsForensicEnabled

boolean

Indicates if AWIPS forensic is enabled on the AP. Forensic Capture is supported from IOS-XE version 17.4 and above. Forensic Capture can be activated only if aWIPS is enabled.

Choices:

  • false

  • true

calendarPowerProfiles

dictionary

Wireless Settings Ap Profiles’s calendarPowerProfiles.

duration

dictionary

Wireless Settings Ap Profiles’s duration.

schedulerDate

string

Start and End date of the duration setting, applicable for MONTHLY schedulers.

schedulerDay

string

Applies every week on the selected days.

schedulerEndTime

string

End time of the duration setting.

schedulerStartTime

string

Start time of the duration setting.

powerProfileName

string

Name of the existing AP power profile to be mapped to the calendar power profile. API-/intent/api/v1/wirelessSettings/powerProfiles.

schedulerType

string

Type of the scheduler.

clientLimit

integer

Number of clients. Value should be between 0-1200.

countryCode

string

Country Code.

description

string

Description of the AP profile. Max length is 241 characters.

dnac_debug

boolean

Flag for Cisco DNA Center SDK to enable debugging.

Choices:

  • false ← (default)

  • true

dnac_host

string / required

The Cisco DNA Center hostname.

dnac_password

string

The Cisco DNA Center password to authenticate.

dnac_port

integer

The Cisco DNA Center port.

Default: 443

dnac_username

aliases: user

string

The Cisco DNA Center username to authenticate.

Default: "admin"

dnac_verify

boolean

Flag to enable or disable SSL certificate verification.

Choices:

  • false

  • true ← (default)

dnac_version

string

Informs the SDK which version of Cisco DNA Center to use.

Default: "2.3.7.6"

managementSetting

dictionary

Wireless Settings Ap Profiles’s managementSetting.

authType

string

Authentication type used in the AP profile. These setting are applicable during PnP claim and for day-N authentication of AP. Changing these settings will be service impacting for the PnP onboarded APs and will need a factory-reset for those APs.

cdpState

boolean

Indicates if CDP is enabled on the AP. Enable CDP in order to make Cisco Access Points known to its neighboring devices and vice-versa.

Choices:

  • false

  • true

dot1xPassword

string

Password for 802.1X authentication. AP dot1x password length should not exceed 120.

dot1xUsername

string

Username for 802.1X authentication. Dot1xUsername must have a minimum of 1 character and a maximum of 32 characters.

managementEnablePassword

string

Enable password for managing the AP. Length must be 8-120 characters.

managementPassword

string

Management password for the AP. Length must be 8-120 characters.

managementUserName

string

Management username must have a minimum of 1 character and a maximum of 32 characters.

sshEnabled

boolean

Indicates if SSH is enabled on the AP. Enable SSH add credentials for device management.

Choices:

  • false

  • true

telnetEnabled

boolean

Indicates if Telnet is enabled on the AP. Enable Telnet to add credentials for device management.

Choices:

  • false

  • true

meshEnabled

boolean

This indicates whether mesh networking is enabled on the AP. For IOS-XE devices, when mesh networking is enabled, a custom mesh profile with the configured parameters will be created and mapped to the AP join profile on the device. When mesh networking is disabled, any existing custom mesh profile will be deleted from the device, and the AP join profile will be mapped to the default mesh profile on the device.

Choices:

  • false

  • true

meshSetting

dictionary

Wireless Settings Ap Profiles’s meshSetting.

backhaulClientAccess

boolean

Indicates if backhaul client access is enabled on the AP.

Choices:

  • false

  • true

bridgeGroupName

string

Name of the bridge group for mesh settings. If not configured, ‘Default’ Bridge group name will be used in mesh profile.

ghz24BackhaulDataRates

string

2.4GHz backhaul data rates.

ghz5BackhaulDataRates

string

5GHz backhaul data rates.

range

integer

Range of the mesh network. Value should be between 150-132000.

rapDownlinkBackhaul

string

Type of downlink backhaul used.

pmfDenialEnabled

boolean

Indicates if PMF denial is active on the AP. PMF Denial is supported from IOS-XE version 17.12 and above.

Choices:

  • false

  • true

remoteWorkerEnabled

boolean

Indicates if remote worker mode is enabled on the AP. Remote teleworker enabled profile cannot support security features like aWIPS,Forensic Capture Enablement, Rogue Detection and Rogue Containment.

Choices:

  • false

  • true

rogueDetectionSetting

dictionary

Wireless Settings Ap Profiles’s rogueDetectionSetting.

rogueDetection

boolean

Indicates if rogue detection is enabled on the AP. Detect Access Points that have been installed on a secure network without explicit authorization from a system administrator and configure rogue general configuration parameters.

Choices:

  • false

  • true

rogueDetectionMinRssi

integer

Minimum RSSI for rogue detection. Value should be in range -128 decibel milliwatts and -70 decibel milliwatts.

rogueDetectionReportInterval

integer

Report interval for rogue detection. Value should be in range 10 and 300.

rogueDetectionTransientInterval

integer

Transient interval for rogue detection. Value should be 0 or from 120 to 1800.

timeZone

string

In the Time Zone area, choose one of the following options. Not Configured - APs operate in the UTC time zone. Controller - APs operate in the Cisco Wireless Controller time zone. Delta from Controller - APs operate in the offset time from the wireless controller time zone.

timeZoneOffsetHour

integer

Enter the hour value (HH). The valid range is from -12 through 14.

timeZoneOffsetMinutes

integer

Enter the minute value (MM). The valid range is from 0 through 59.

validate_response_schema

boolean

Flag for Cisco DNA Center SDK to enable the validation of request bodies against a JSON schema.

Choices:

  • false

  • true ← (default)

Notes

Note

  • SDK Method used are wireless.Wireless.create_ap_profile_v1,

  • Paths used are post /dna/intent/api/v1/wirelessSettings/apProfiles,

  • It should be noted that this module is an alias of wireless_settings_ap_profiles_v1

  • Does not support check_mode

  • The 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

Cisco DNA Center documentation for Wireless CreateAPProfileV1

Complete reference of the CreateAPProfileV1 API.

Examples

- name: Create
  cisco.dnac.wireless_settings_ap_profiles:
    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
    apPowerProfileName: string
    apProfileName: string
    awipsEnabled: true
    awipsForensicEnabled: true
    calendarPowerProfiles:
      duration:
        schedulerDate: string
        schedulerDay: string
        schedulerEndTime: string
        schedulerStartTime: string
      powerProfileName: string
      schedulerType: string
    clientLimit: 0
    countryCode: string
    description: string
    managementSetting:
      authType: string
      cdpState: true
      dot1xPassword: string
      dot1xUsername: string
      managementEnablePassword: string
      managementPassword: string
      managementUserName: string
      sshEnabled: true
      telnetEnabled: true
    meshEnabled: true
    meshSetting:
      backhaulClientAccess: true
      bridgeGroupName: string
      ghz24BackhaulDataRates: string
      ghz5BackhaulDataRates: string
      range: 0
      rapDownlinkBackhaul: string
    pmfDenialEnabled: true
    remoteWorkerEnabled: true
    rogueDetectionSetting:
      rogueDetection: true
      rogueDetectionMinRssi: 0
      rogueDetectionReportInterval: 0
      rogueDetectionTransientInterval: 0
    timeZone: string
    timeZoneOffsetHour: 0
    timeZoneOffsetMinutes: 0

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key

Description

dnac_response

dictionary

A dictionary or list with the response returned by the Cisco DNAC Python SDK

Returned: always

Sample: {"response": {"taskId": "string", "url": "string"}, "version": "string"}

Authors

  • Rafael Campos (@racampos)