cisco.dnac.accesspoint_workflow_manager module – Automates bulk AP configuration changes.

Note

This module is part of the cisco.dnac collection (version 6.18.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.accesspoint_workflow_manager.

New in cisco.dnac 6.17.0

Synopsis

  • Automates bulk configuration changes for Access Points (APs).

  • Modify AP display names, AP names, or other parameters.

  • Filter specific device details, such as selecting devices with hostnames matching “NFW-AP1-9130AXE”.

  • Compares input details with current AP configurations and applies desired changes only to relevant APs.

Requirements

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

  • dnacentersdk >= 2.4.5

  • python >= 3.8

Parameters

Parameter

Comments

config

list / elements=dictionary / required

List of details of AP being managed.

2.4ghz_radio

dictionary

Configuration options for the 2.4GHz radio interface.

admin_status

string

Administrative status for the 2.4GHz radio interface. For example, “Enabled”.

antenna_cable_name

string

Name or type of antenna cable used for the 2.4GHz radio interface. For example, “other”.

antenna_gain

integer

Specifies the antenna gain value in decibels (dB) for the 2.4GHz radio interface. For example, 4.

antenna_name

string

Name or type of antenna used for the 2.4GHz radio interface. For example, “other”.

cable_loss

integer

Cable loss in dB for the 2.4GHz radio interface. For example, 75.

channel_assignment_mode

string

Mode of channel assignment for the 2.4GHz radio interface. Accepts “Global” or “Custom”. For example, “Custom”.

channel_number

integer

Custom channel number configured for the 2.4GHz radio interface. For example, 6.

power_assignment_mode

string

Mode of power assignment for the 2.4GHz radio interface. Accepts “Global” or “Custom”. For example, “Custom”.

power_level

integer

Custom power level configured for the 2.4GHz radio interface. For example, 3.

radio_role_assignment

string

Role assignment mode for the 2.4GHz radio interface. Accepts “Auto”, “Client-serving”, or “Monitor”. For example, Auto.

5ghz_radio

dictionary

Configuration options for the 5GHz radio interface.

admin_status

string

Administrative status for the 5GHz radio interface. For example, “Enabled”.

antenna_cable_name

string

Name or type of antenna cable used for the 5GHz radio interface. For example, “other”.

antenna_gain

integer

Antenna gain value in decibels (dB) for the 5GHz radio interface. For example, 5.

antenna_name

string

Name or type of antenna used for the 5GHz radio interface. For example, “other”.

cable_loss

integer

Cable loss in dB for the 5GHz radio interface. For example, 80.

channel_assignment_mode

string

Mode of channel assignment for the 5GHz radio interface. Accepts “Global” or “Custom”. For example, “Custom”.

channel_number

integer

Custom channel number configured for the 5GHz radio interface. For example, 36.

power_assignment_mode

string

Mode of power assignment for the 5GHz radio interface. Accepts “Global” or “Custom”. For example, “Custom”.

power_level

integer

Custom power level configured for the 5GHz radio interface. For example, 3.

radio_role_assignment

string

Role assignment mode for the 5GHz radio interface. Accepts “Auto”, “Client-serving”, or “Monitor”. For example, “Auto”.

6ghz_radio

dictionary

Configuration options for the 6GHz radio interface.

admin_status

string

Administrative status for the 6GHz radio interface. For example, “Enabled”.

antenna_cable_name

string

Name or type of antenna cable used for the 6GHz radio interface. For example, “other”.

antenna_gain

integer

Antenna gain value in decibels (dB) for the 6GHz radio interface. For example, 4.

antenna_name

string

Name or type of antenna used for the 6GHz radio interface. For example, “other”.

cable_loss

integer

Cable loss in dB for the 6GHz radio interface. For example, 75.

channel_assignment_mode

string

Mode of channel assignment for the 6GHz radio interface. Accepts “Global” or “Custom”. For example, “Custom”.

channel_number

integer

Custom channel number configured for the 6GHz radio interface. For example, 6.

power_assignment_mode

string

Mode of power assignment for the 6GHz radio interface. Accepts “Global” or “Custom”. For example, “Custom”.

power_level

integer

Custom power level configured for the 6GHz radio interface. For example, 3.

radio_role_assignment

string

Role assignment mode for the 6GHz radio interface. Accepts “Auto”, “Client-serving”, or “Monitor”.

admin_status

string

Status of the AP configuration. Accepts “Enabled” or “Disabled”. For example, “Enabled”.

ap_config_selected_fields

string

When enable the verify flag “config_verify” to see only the filter field of the AP configuration in the output. (eg. “mac_address,eth_mac,ap_name,led_brightness_level,led_status,location,radioDTOs”)

ap_mode

string

Defines the mode of operation for the Access Point (AP). Possible values include “Local”, “Monitor”, “Sniffer”, or “Bridge”. For example, “Local”.

ap_name

string

Current AP name that needs to be changed along with the new AP name. For example, “Test2”.

ap_selected_fields

string

When enable the verify flag “config_verify” to see only the filter field of the AP details in the output. (eg. “id,hostname,family,type,mac_address,management_ip_address,ap_ethernet_mac_address”)

clean_air_si_2.4ghz

string

Clean Air Spectrum Intelligence (SI) feature status for the 2.4GHz band. Indicates whether. For example, “Enabled”. Clean Air Spectrum Intelligence is enabled or disabled.

clean_air_si_5ghz

string

Clean Air Spectrum Intelligence (SI) feature status for the 5GHz band. Indicates whether. For example, “Enabled”. Clean Air Spectrum Intelligence is enabled or disabled.

clean_air_si_6ghz

string

Clean Air Spectrum Intelligence (SI) feature status for the 6GHz band. Indicates whether. For example, “Enabled”. Clean Air Spectrum Intelligence is enabled or disabled.

failover_priority

string

Priority order for failover in AP configuration. Accepts “Low”, “Medium”, “High”, or “Critical”.

is_assigned_site_as_location

string

Configures whether the access point location is automatically set to the site assigned to the access point. Accepts “Enabled” or “Disabled”. If set to “Enabled”, no additional location configuration is required.

led_brightness_level

integer

Brightness level of the AP’s LED. Accepts values from 1 to 8. For example, 3.

led_status

string

State of the AP’s LED. Accepts “Enabled” or “Disabled”. For example, “Enabled”.

location

string

Location name of the AP. Provide this data if a change is required. For example, “Bangalore”.

mac_address

string / required

The MAC address used to identify the device. If the MAC address is known, it must be provided and cannot be modified. At least one of the following parameters is required to identify the specific access point: mac_address, hostname, or management_ip_address. (eg 90:e9:5e:03:f3:40)

primary_controller_name

string

Name or identifier of the primary wireless LAN controller (WLC) managing the Access Point (AP). For example, “SJ-EWLC-1”.

primary_ip_address

dictionary

IP address of the primary wireless LAN controller (WLC) managing the Access Point (AP).

address

string

IP address of the primary wireless LAN controller. For example, ‘10.0.0.3’.

rf_profile

string

Radio Frequency (RF) profile of the Access Point. For example, “HIGH”.

secondary_controller_name

string

Name or identifier of the secondary wireless LAN controller (WLC) managing the Access Point (AP). For example, “Inherit from site/Clear”.

secondary_ip_address

dictionary

IP address of the secondary wireless LAN controller (WLC) managing the Access Point (AP).

address

string

IP address of the primary wireless LAN controller. For example, ‘10.0.0.3’.

site

dictionary

Current site details where the Access Point is located.

floor

dictionary

Floor details of the current site.

name

string

Name of the floor. For example, “FLOOR1”.

parent_name

string

Parent name of the floor in the site hierarchy. For example, “Global/USA/New York/BLDNYC”.

tertiary_controller_name

string

Name or identifier of the tertiary wireless LAN controller (WLC) managing the Access Point (AP). For example, “Clear”.

tertiary_ip_address

dictionary

IP address of the tertiary wireless LAN controller (WLC) managing the Access Point (AP).

address

string

IP address of the primary wireless LAN controller. For example, ‘10.0.0.2’.

tri_radio

dictionary

Configuration options for the tri radio interface.

admin_status

string

Administrative status for the tri radio interface. For example, “Enabled”.

antenna_cable_name

string

Name or type of antenna cable used for the tri radio interface. For example, “other”.

antenna_gain

integer

Antenna gain value in decibels (dB) for the tri radio interface. For example, 4.

antenna_name

string

Name or type of antenna used for the tri radio interface. For example, “other”.

cable_loss

integer

Cable loss in dB for the tri radio interface. For example, 75.

channel_assignment_mode

string

Mode of channel assignment for the tri radio interface. Accepts “Global” or “Custom”. For tri Custom, it accepts values like 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 144, 149, 153, 157, 161, 165, 169, 173. (eg. Custom)

channel_number

integer

Custom channel number configured for the tri radio interface. For example, 6.

channel_width

string

Width of the channel configured for the tri radio interface. Accepts values “20 MHz”, “40 MHz”, “80 MHz”, or “160 MHz”. . For example, 20 MHz.

dual_radio_mode

string

Mode of operation configured for the tri radio interface. Specifies how the access point (AP) manages its dual radio functionality. eg . Auto

power_assignment_mode

string

Mode of power assignment for the tri radio interface. Accepts “Global” or “Custom”. In Custom, it accepts values 1 to 5.

power_level

integer

Custom power level configured for the tri radio interface. For example, 3.

radio_role_assignment

string

Role assignment mode for the tri radio interface. Accepts “Auto”, “Client-serving”, or “Monitor”. If radio_role_assignment is “client-serving”, then only power-level and channel-level can be changed.

xor_radio

dictionary

Configuration options for the xor radio interface.

admin_status

string

Administrative status for the xor radio interface. For example, “Enabled”.

antenna_cable_name

string

Name or type of antenna cable used for the xor radio interface. For example, “other”.

antenna_gain

integer

Antenna gain value in decibels (dB) for the xor radio interface. For example, 4.

antenna_name

string

Name or type of antenna used for the xor radio interface. For example, “other”.

cable_loss

integer

Cable loss in dB for the xor radio interface. For example, 75.

channel_assignment_mode

string

Mode of channel assignment for the xor radio interface. Accepts “Global” or “Custom”. For xor Custom, it accepts values like 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 144, 149, 153, 157, 161, 165, 169, 173. For example, “Custom”.

channel_number

integer

Custom channel number configured for the xor radio interface. For example, 6.

channel_width

string

Width of the channel configured for the xor radio interface. Accepts values “20 MHz”, “40 MHz”, “80 MHz”, or “160 MHz”. For example, 20 MHz.

power_assignment_mode

string

Mode of power assignment for the xor radio interface. Accepts “Global” or “Custom”. In Custom, it accepts values 1 to 5.

power_level

integer

Custom power level configured for the xor radio interface. For example, 3.

radio_role_assignment

string

Role assignment mode for the xor radio interface. Accepts “Auto”, “Client-serving”, or “Monitor”. If radio_role_assignment is “client-serving”, then only power-level and channel-level can be changed. For example, Auto.

config_verify

boolean

Set to True to verify the Cisco Catalyst Center configuration after applying the playbook config.

Choices:

  • false ← (default)

  • true

dnac_api_task_timeout

integer

The number of times to retry resynchronization.

Default: 1200

dnac_debug

boolean

Indicates whether debugging is enabled in the Cisco Catalyst Center SDK.

Choices:

  • false ← (default)

  • true

dnac_host

string / required

The hostname of the Cisco Catalyst Center.

dnac_log

boolean

Flag to enable/disable playbook execution logging.

When true and dnac_log_file_path is provided, - Create the log file at the execution location with the specified name.

When true and dnac_log_file_path is not provided, - Create the log file at the execution location with the name ‘dnac.log’.

When false, - Logging is disabled.

If the log file doesn’t exist, - It is created in append or write mode based on the “dnac_log_append” flag.

If the log file exists, - It is overwritten or appended based on the “dnac_log_append” flag.

Choices:

  • false ← (default)

  • true

dnac_log_append

boolean

Determines the mode of the file. Set to True for ‘append’ mode. Set to False for ‘write’ mode.

Choices:

  • false

  • true ← (default)

dnac_log_file_path

string

Governs logging. Logs are recorded if dnac_log is True.

If path is not specified, - When ‘dnac_log_append’ is True, ‘dnac.log’ is generated in the current Ansible directory; logs are appended. - When ‘dnac_log_append’ is False, ‘dnac.log’ is generated; logs are overwritten.

If path is specified, - When ‘dnac_log_append’ is True, the file opens in append mode. - When ‘dnac_log_append’ is False, the file opens in write (w) mode. - In shared file scenarios, without append mode, content is overwritten after each module execution. - For a shared log file, set append to False for the 1st module (to overwrite); for subsequent modules, set append to True.

Default: "dnac.log"

dnac_log_level

string

Sets the threshold for log level. Messages with a level equal to or higher than this will be logged. Levels are listed in order of severity [CRITICAL, ERROR, WARNING, INFO, DEBUG].

CRITICAL indicates serious errors halting the program. Displays only CRITICAL messages.

ERROR indicates problems preventing a function. Displays ERROR and CRITICAL messages.

WARNING indicates potential future issues. Displays WARNING, ERROR, CRITICAL messages.

INFO tracks normal operation. Displays INFO, WARNING, ERROR, CRITICAL messages.

DEBUG provides detailed diagnostic info. Displays all log messages.

Default: "WARNING"

dnac_password

string

The password for authentication at the Cisco Catalyst Center.

dnac_port

string

Specifies the port number associated with the Cisco Catalyst Center.

Default: "443"

dnac_task_poll_interval

integer

The interval, in seconds, for polling Cisco Catalyst Center.

Default: 2

dnac_username

aliases: user

string

The username for authentication at the Cisco Catalyst Center.

Default: "admin"

dnac_verify

boolean

Flag to enable or disable SSL certificate verification.

Choices:

  • false

  • true ← (default)

dnac_version

string

Specifies the version of the Cisco Catalyst Center that the SDK should use.

Default: "2.2.3.3"

next_task_after_interval

integer

Time in second between Provision and AP updated execution

Default: 5

state

string

The desired state of the device replacement workflow.

Choices:

  • "merged" ← (default)

  • "deleted"

validate_response_schema

boolean

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

Choices:

  • false

  • true ← (default)

Notes

Note

  • Make sure to install the required Python dependencies by executing pip install dnacentersdk.

  • SDK Method used are

  • devices.get_device_list

  • wireless.get_access_point_configuration

  • sites.get_site

  • sda.get_device_info

  • sites.assign_devices_to_site

  • wireless.ap_provision

  • wireless.configure_access_points

  • sites.get_membership

  • Paths used are

  • GET /dna/intent/api/v1/network-device

  • GET /dna/intent/api/v1/site

  • GET /dna/intent/api/v1/business/sda/device

  • POST /dna/intent/api/v1/wireless/ap-provision

  • GET /dna/intent/api/v1/membership/{siteId}

  • GET /dna/intent/api/v1/wireless/accesspoint-configuration/details/{task_id}

  • POST /dna/intent/api/v2/wireless/accesspoint-configuration

  • POST /dna/intent/api/v1/assign-device-to-site/{siteId}/device

  • Does not support check_mode

  • The plugin runs on the control node and does not use any ansible connection plugins instead embedded connection manager from Cisco Catalyst Center SDK

  • The parameters starting with dnac_ are used by the Cisco Catalyst Center Python SDK to establish the connection

See Also

See also

Cisco DNAC Ansible Collection Documentation

Complete guide to using the Cisco DNAC Ansible collection.

Cisco DNAC API Documentation

Official API documentation for Cisco DNAC.

Examples

- name: Provision/Move/Update Wireless Access Point Configuration
  hosts: dnac_servers
  connection: local
  gather_facts: no
  vars_files:
    - "credentials.yml"
  tasks:
    - name: Updating Access Point Site / Configuration details
      cisco.dnac.accesspoint_workflow_manager:
        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 }}"
        dnac_log: True
        dnac_log_level: DEBUG
        config_verify: False
        state: merged
        config:
          - mac_address: 90:e9:5e:03:f3:40
            2.4ghz_radio:
              admin_status: "Enabled"
              antenna_name: "AIR-ANT2513P4M-N-2.4GHz"
              radio_role_assignment: "Client-Serving"
              powerlevel: 5
              channel_number: 7
      register: output_list

    - name: Updating Access Point Site / Configuration details
      cisco.dnac.accesspoint_workflow_manager:
        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 }}"
        dnac_log: True
        dnac_log_level: DEBUG
        config_verify: False
        state: merged
        config:
          - mac_address: 90:e9:5e:03:f3:40
            2.4ghz_radio:
              admin_status: "Enabled"
              power_assignment_mode: "Global"
      register: output_list

    - name: Updating Access Point Site / Configuration details
      cisco.dnac.accesspoint_workflow_manager:
        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 }}"
        dnac_log: True
        dnac_log_level: DEBUG
        config_verify: False
        state: merged
        config:
          - mac_address: 90:e9:5e:03:f3:40
            2.4ghz_radio:
              admin_status: "Enabled"
              channel_assignment_mode: "Global"
      register: output_list

    - name: Updating Access Point Site / Configuration details
      cisco.dnac.accesspoint_workflow_manager:
        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 }}"
        dnac_log: True
        dnac_log_level: DEBUG
        config_verify: False
        state: merged
        config:
          - mac_address: 90:e9:5e:03:f3:40
            5ghz_radio:
              admin_status: "Enabled"
              antenna_name: "AIR-ANT2513P4M-N-5GHz"
      register: output_list

    - name: Updating Access Point Site / Configuration details
      cisco.dnac.accesspoint_workflow_manager:
        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 }}"
        dnac_log: True
        dnac_log_level: DEBUG
        config_verify: False
        state: merged
        config:
          - mac_address: 90:e9:5e:03:f3:40
            5ghz_radio:
              admin_status: "Enabled"
              antenna_name: "AIR-ANT2513P4M-N-5GHz"
              radio_role_assignment: "Client-Serving"
              channel_number: 44
      register: output_list

    - name: Updating Access Point Site / Configuration details
      cisco.dnac.accesspoint_workflow_manager:
        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 }}"
        dnac_log: True
        dnac_log_level: DEBUG
        config_verify: False
        state: merged
        config:
          - mac_address: 90:e9:5e:03:f3:40
            5ghz_radio:
              admin_status: "Enabled"
              antenna_name: "C-ANT9104-Single-D0-5GHz"
              channel_number: 52
              powerlevel: 5
              channel_width: "40 MHz"
      register: output_list

    - name: Updating Access Point Site / Configuration details
      cisco.dnac.accesspoint_workflow_manager:
        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 }}"
        dnac_log: True
        dnac_log_level: DEBUG
        config_verify: False
        state: merged
        config:
          - mac_address: 90:e9:5e:03:f3:40
            2.4ghz_radio:
              admin_status: "Enabled"
              antenna_name: "C-ANT9103-2.4GHz"
              channel_number: 9
              powerlevel: 4
            5ghz_radio:
              admin_status: "Enabled"
              antenna_name: "C-ANT9103-5GHz"
              channel_number: 40
              powerlevel: 3
              channel_width: "20 MHz"
      register: output_list

    - name: Provisioning and Re-provisiong Access Point Site details
      cisco.dnac.accesspoint_movement:
        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 }}"
        dnac_log: True
        dnac_log_level: DEBUG
        config_verify: True
        state: merged
        config:
              - ap_type: "Unified AP"
                mac_address:  90:e9:5e:03:f3:40
                rf_profile: "HIGH"
                site:
                  floor:
                    name: "FLOOR1"
                    parent_name: "Global/USA/New York/BLDNYC"
      register: output_list

    - name: Updating Access Point Site / Configuration details
      cisco.dnac.accesspoint_workflow_manager:
        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 }}"
        dnac_log: True
        dnac_log_level: DEBUG
        config_verify: False
        state: merged
        config:
          - mac_address: 90:e9:5e:03:f3:40
            rf_profile: "HIGH"
            site:
              floor:
                name: "FLOOR1"
                parent_name: "Global/USA/New York/BLDNYC"
            ap_name: "LTTS-test2"
            admin_status: "Enabled"
            led_status: "Enabled"
            led_brightness_level: 5
            ap_mode: "Local"
            is_assigned_site_as_location: "Enabled"
            failover_priority: "Low"
            2.4ghz_radio:
              admin_status: "Enabled"
              antenna_name: "C-ANT9104-2.4GHz"
              radio_role_assignment: "Client-Serving"
              channel_number: 5
              powerlevel: 2
            5ghz_radio:
              admin_status: "Enabled"
              antenna_name: "AIR-ANT2513P4M-N-5GHz"
              radio_role_assignment: "Client-Serving"
              channel_number: 36
              powerlevel: 2
              channel_width: "40 MHz"
      register: output_list

Return Values

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

Key

Description

response_1

dictionary

A list of dictionaries containing details about the AP updates and verification results, as returned by the Catalyst Center Python SDK

Returned: always

Sample: {"response": [{"accesspoints_updates": {"response": {"macAdress": "34:5d:a8:0e:20:b4", "response": {"taskId": "2ce139fa-1d58-4739-a6ad-b735b97e4dfe", "url": "/api/v1/task/2ce139fa-1d58-4739-a6ad-b735b97e4dfe"}}}}, {"accesspoints_verify": {"have": [{"ap_name": "NFW-AP1-9130AXE", "eth_mac": "34:5d:a8:0e:20:b4", "led_brightness_level": 2, "led_status": "Enabled", "location": "LTTS-Bangalore", "mac_address": "90:e9:5e:03:f3:40"}], "message": "The update for AP Config 'NFW-AP1-9130AXE' has been successfully verified.", "want": {"ap_name": "LTTS-Test1", "ap_name_new": "NFW-AP1-9130AXE", "hostname": null, "led_brightness_level": 2, "led_status": "Enabled", "location": "LTTS-Bangalore", "mac_address": "90:e9:5e:03:f3:40", "management_ip_address": null}}}]}

response_2

dictionary

A dictionary with activation details as returned by the Catalyst Center Python SDK

Returned: always

Sample: "{\n    \"response\": {\n                    {\n                        'bapiKey': 'd897-19b8-47aa-a9c4',\n                        'bapiName': 'AP Provision',\n                        'bapiExecutionId': '97d5edd5-d5db-40d8-9ab6-f15dc4a5cc30',\n                        'startTime': 'Wed Jul 03 18:37:24 UTC 2024',\n                        'startTimeEpoch': 1720031844919,\n                        'endTimeEpoch': 0,\n                        'timeDuration': 0,\n                        'status': 'IN_PROGRESS',\n                        'runtimeInstanceId': 'DNACP_Runtime_3f8f258c-9f7a-4511-b361-592ee9e0c4d2'\n                    }\n                }\n}\n"

Authors

  • A Mohamed Rafeek (@mabdulk2)

  • Sonali Deepthi Kesali (@skesali)

  • Megha Kandari (@mekandar)

  • Natarajan (@natarajan)

  • Madhan Sankaranarayanan (@madhansansel)

  • Abhishek Maheshwari (@abmahesh)