DNACenterAnsibleActions

User documentation

  • Cisco.Dnac
    • Description
    • Plugin Index
      • Modules
        • cisco.dnac.accesspoint_configuration_details_by_task_id_info module -- Information module for Accesspoint Configuration Details By Task Id
        • cisco.dnac.accesspoint_workflow_manager module -- Automates bulk AP configuration changes.
        • cisco.dnac.app_policy_default_info module -- Information module for App Policy Default
        • cisco.dnac.app_policy_info module -- Information module for App Policy
        • cisco.dnac.app_policy_intent_create module -- Resource module for App Policy Intent Create
        • cisco.dnac.app_policy_queuing_profile module -- Resource module for App Policy Queuing Profile
        • cisco.dnac.app_policy_queuing_profile_count_info module -- Information module for App Policy Queuing Profile Count
        • cisco.dnac.app_policy_queuing_profile_info module -- Information module for App Policy Queuing Profile
        • cisco.dnac.application_policy_application_set module -- Resource module for Application Policy Application Set
        • cisco.dnac.application_policy_application_set_count_info module -- Information module for Application Policy Application Set Count
        • cisco.dnac.application_policy_application_set_info module -- Information module for Application Policy Application Set
        • cisco.dnac.application_sets module -- Resource module for Application Sets
        • cisco.dnac.application_sets_count_info module -- Information module for Application Sets Count
        • cisco.dnac.application_sets_info module -- Information module for Application Sets
        • cisco.dnac.applications module -- Resource module for Applications
        • cisco.dnac.applications_count_info module -- Information module for Applications Count
        • cisco.dnac.applications_count_v2_info module -- Information module for Applications Count V2
        • cisco.dnac.applications_health_info module -- Information module for Applications Health
        • cisco.dnac.applications_info module -- Information module for Applications
        • cisco.dnac.applications_v2 module -- Resource module for Applications V2
        • cisco.dnac.applications_v2_info module -- Information module for Applications V2
        • cisco.dnac.assign_device_to_site module -- Resource module for Assign Device To Site
        • cisco.dnac.associate_site_to_network_profile module -- Resource module for Associate Site To Network Profile
        • cisco.dnac.auth_token_create module -- Resource module for Auth Token Create
        • cisco.dnac.authentication_import_certificate module -- Resource module for Authentication Import Certificate
        • cisco.dnac.authentication_import_certificate_p12 module -- Resource module for Authentication Import Certificate P12
        • cisco.dnac.authentication_policy_servers module -- Resource module for Authentication Policy Servers
        • cisco.dnac.authentication_policy_servers_info module -- Information module for Authentication Policy Servers
        • cisco.dnac.buildings_planned_access_points_info module -- Information module for Buildings Planned Access Points
        • cisco.dnac.business_sda_hostonboarding_ssid_ippool module -- Resource module for Business Sda Hostonboarding Ssid Ippool
        • cisco.dnac.business_sda_hostonboarding_ssid_ippool_info module -- Information module for Business Sda Hostonboarding Ssid Ippool
        • cisco.dnac.business_sda_virtual_network_summary_info module -- Information module for Business Sda Virtual Network Summary
        • cisco.dnac.business_sda_wireless_controller_create module -- Resource module for Business Sda Wireless Controller Create
        • cisco.dnac.business_sda_wireless_controller_delete module -- Resource module for Business Sda Wireless Controller Delete
        • cisco.dnac.cli_credential module -- Resource module for Cli Credential
        • cisco.dnac.client_detail_info module -- Information module for Client Detail
        • cisco.dnac.client_enrichment_details_info module -- Information module for Client Enrichment Details
        • cisco.dnac.client_health_info module -- Information module for Client Health
        • cisco.dnac.client_proximity_info module -- Information module for Client Proximity
        • cisco.dnac.command_runner_run_command module -- Resource module for Command Runner Run Command
        • cisco.dnac.compliance_check_run module -- Resource module for Compliance Check Run
        • cisco.dnac.compliance_device_by_id_info module -- Information module for Compliance Device By Id
        • cisco.dnac.compliance_device_details_count_info module -- Information module for Compliance Device Details Count
        • cisco.dnac.compliance_device_details_info module -- Information module for Compliance Device Details
        • cisco.dnac.compliance_device_info module -- Information module for Compliance Device
        • cisco.dnac.compliance_device_status_count_info module -- Information module for Compliance Device Status Count
        • cisco.dnac.configuration_archive_details_info module -- Information module for Network Device Config
        • cisco.dnac.configuration_template module -- Resource module for Configuration Template
        • cisco.dnac.configuration_template_clone module -- Resource module for Configuration Template Clone
        • cisco.dnac.configuration_template_create module -- Resource module for Configuration Template Create
        • cisco.dnac.configuration_template_deploy module -- Resource module for Configuration Template Deploy
        • cisco.dnac.configuration_template_deploy_status_info module -- Information module for Configuration Template Deploy Status
        • cisco.dnac.configuration_template_deploy_v2 module -- Resource module for Configuration Template Deploy V2
        • cisco.dnac.configuration_template_export_project module -- Resource module for Configuration Template Export Project
        • cisco.dnac.configuration_template_export_template module -- Resource module for Configuration Template Export Template
        • cisco.dnac.configuration_template_import_project module -- Resource module for Configuration Template Import Project
        • cisco.dnac.configuration_template_import_template module -- Resource module for Configuration Template Import Template
        • cisco.dnac.configuration_template_info module -- Information module for Configuration Template
        • cisco.dnac.configuration_template_project module -- Resource module for Configuration Template Project
        • cisco.dnac.configuration_template_project_info module -- Information module for Configuration Template Project
        • cisco.dnac.configuration_template_version_create module -- Resource module for Configuration Template Version Create
        • cisco.dnac.configuration_template_version_info module -- Information module for Configuration Template Version
        • cisco.dnac.credential_to_site_by_siteid_create_v2 module -- Resource module for Credential To Site By Siteid Create V2
        • cisco.dnac.device_configs_backup_workflow_manager module -- Resource module for device_configs_backup functions
        • cisco.dnac.device_configurations_export module -- Resource module for Device Configurations Export
        • cisco.dnac.device_credential_create module -- Resource module for Device Credential Create
        • cisco.dnac.device_credential_delete module -- Resource module for Device Credential Delete
        • cisco.dnac.device_credential_info module -- Information module for Device Credential
        • cisco.dnac.device_credential_intent module -- Resource module for Global Device Credentials and Assigning Credentials to sites.
        • cisco.dnac.device_credential_update module -- Resource module for Device Credential Update
        • cisco.dnac.device_credential_workflow_manager module -- Resource module for Global Device Credentials and Assigning Credentials to sites.
        • cisco.dnac.device_details_info module -- Information module for Device Details
        • cisco.dnac.device_enrichment_details_info module -- Information module for Device Enrichment Details
        • cisco.dnac.device_family_identifiers_details_info module -- Information module for Device Family Identifiers Details
        • cisco.dnac.device_health_info module -- Information module for Device Health
        • cisco.dnac.device_interface_by_ip_info module -- Information module for Device Interface By Ip
        • cisco.dnac.device_interface_count_info module -- Information module for Device Interface Count
        • cisco.dnac.device_interface_info module -- Information module for Device Interface
        • cisco.dnac.device_interface_isis_info module -- Information module for Device Interface Isis
        • cisco.dnac.device_interface_ospf_info module -- Information module for Device Interface Ospf
        • cisco.dnac.device_reboot_apreboot module -- Resource module for Device Reboot Apreboot
        • cisco.dnac.device_reboot_apreboot_info module -- Information module for Device Reboot Apreboot
        • cisco.dnac.device_replacement module -- Resource module for Device Replacement
        • cisco.dnac.device_replacement_count_info module -- Information module for Device Replacement Count
        • cisco.dnac.device_replacement_deploy module -- Resource module for Device Replacement Deploy
        • cisco.dnac.device_replacement_info module -- Information module for Device Replacement
        • cisco.dnac.disassociate_site_to_network_profile module -- Resource module for Disassociate Site To Network Profile
        • cisco.dnac.disasterrecovery_system_operationstatus_info module -- Information module for Disasterrecovery System Operationstatus
        • cisco.dnac.disasterrecovery_system_status_info module -- Information module for Disasterrecovery System Status
        • cisco.dnac.discovery module -- Resource module for Discovery
        • cisco.dnac.discovery_count_info module -- Information module for Discovery Count
        • cisco.dnac.discovery_device_count_info module -- Information module for Discovery Device Count
        • cisco.dnac.discovery_device_info module -- Information module for Discovery Device
        • cisco.dnac.discovery_device_range_info module -- Information module for Discovery Device Range
        • cisco.dnac.discovery_info module -- Information module for Discovery
        • cisco.dnac.discovery_intent module -- A resource module for handling device discovery tasks.
        • cisco.dnac.discovery_job_info module -- Information module for Discovery Job
        • cisco.dnac.discovery_range_delete module -- Resource module for Discovery Range Delete
        • cisco.dnac.discovery_range_info module -- Information module for Discovery Range
        • cisco.dnac.discovery_summary_info module -- Information module for Discovery Summary
        • cisco.dnac.discovery_workflow_manager module -- A resource module for handling device discovery tasks.
        • cisco.dnac.dna_command_runner_keywords_info module -- Information module for Dna Command Runner Keywords
        • cisco.dnac.dna_event_snmp_config_info module -- Information module for Dna Event Snmp Config
        • cisco.dnac.dnac_packages_info module -- Information module for Dnac Packages
        • cisco.dnac.dnacaap_management_execution_status_info module -- Information module for Dnacaap Management Execution Status
        • cisco.dnac.endpoint_analytics_profiling_rules module -- Resource module for Endpoint Analytics Profiling Rules
        • cisco.dnac.endpoint_analytics_profiling_rules_info module -- Information module for Endpoint Analytics Profiling Rules
        • cisco.dnac.eox_status_device_info module -- Information module for Eox Status Device
        • cisco.dnac.eox_status_summary_info module -- Information module for Eox Status Summary
        • cisco.dnac.event_api_status_info module -- Information module for Event Api Status
        • cisco.dnac.event_artifact_count_info module -- Information module for Event Artifact Count
        • cisco.dnac.event_artifact_info module -- Information module for Event Artifact
        • cisco.dnac.event_config_connector_types_info module -- Information module for Event Config Connector Types
        • cisco.dnac.event_count_info module -- Information module for Event Count
        • cisco.dnac.event_email_config module -- Resource module for Event Email Config
        • cisco.dnac.event_email_config_create module -- Resource module for Event Email Config Create
        • cisco.dnac.event_email_config_info module -- Information module for Event Email Config
        • cisco.dnac.event_email_config_update module -- Resource module for Event Email Config Update
        • cisco.dnac.event_info module -- Information module for Event
        • cisco.dnac.event_series_audit_logs_info module -- Information module for Event Series Audit Logs
        • cisco.dnac.event_series_audit_logs_parent_records_info module -- Information module for Event Series Audit Logs Parent Records
        • cisco.dnac.event_series_audit_logs_summary_info module -- Information module for Event Series Audit Logs Summary
        • cisco.dnac.event_series_count_info module -- Information module for Event Series Count
        • cisco.dnac.event_series_info module -- Information module for Event Series
        • cisco.dnac.event_snmp_config module -- Resource module for Event Snmp Config
        • cisco.dnac.event_snmp_config_info module -- Information module for Event Snmp Config
        • cisco.dnac.event_subscription module -- Resource module for Event Subscription
        • cisco.dnac.event_subscription_count_info module -- Information module for Event Subscription Count
        • cisco.dnac.event_subscription_details_email_info module -- Information module for Event Subscription Details Email
        • cisco.dnac.event_subscription_details_rest_info module -- Information module for Event Subscription Details Rest
        • cisco.dnac.event_subscription_details_syslog_info module -- Information module for Event Subscription Details Syslog
        • cisco.dnac.event_subscription_email module -- Resource module for Event Subscription Email
        • cisco.dnac.event_subscription_email_info module -- Information module for Event Subscription Email
        • cisco.dnac.event_subscription_info module -- Information module for Event Subscription
        • cisco.dnac.event_subscription_rest module -- Resource module for Event Subscription Rest
        • cisco.dnac.event_subscription_rest_info module -- Information module for Event Subscription Rest
        • cisco.dnac.event_subscription_syslog module -- Resource module for Event Subscription Syslog
        • cisco.dnac.event_subscription_syslog_info module -- Information module for Event Subscription Syslog
        • cisco.dnac.event_syslog_config module -- Resource module for Event Syslog Config
        • cisco.dnac.event_syslog_config_info module -- Information module for Event Syslog Config
        • cisco.dnac.event_webhook_create module -- Resource module for Event Webhook Create
        • cisco.dnac.event_webhook_read_info module -- Information module for Event Webhook Read
        • cisco.dnac.event_webhook_update module -- Resource module for Event Webhook Update
        • cisco.dnac.events_and_notifications_workflow_manager module -- Configure various types of destinations to deliver event notifications from Cisco Catalyst Center Platform.
        • cisco.dnac.execute_suggested_actions_commands module -- Resource module for Execute Suggested Actions Commands
        • cisco.dnac.file_import module -- Resource module for File Import
        • cisco.dnac.file_info module -- Information module for File
        • cisco.dnac.file_namespace_files_info module -- Information module for File Namespace Files
        • cisco.dnac.file_namespaces_info module -- Information module for File Namespaces
        • cisco.dnac.flexible_report_content_info module -- Information module for Flexible Report Content
        • cisco.dnac.flexible_report_execute module -- Resource module for Flexible Report Execute
        • cisco.dnac.flexible_report_executions_info module -- Information module for Flexible Report Executions
        • cisco.dnac.flexible_report_schedule module -- Resource module for Flexible Report Schedule
        • cisco.dnac.flexible_report_schedule_info module -- Information module for Flexible Report Schedule
        • cisco.dnac.flexible_report_schedules_info module -- Information module for Flexible Report Schedules
        • cisco.dnac.global_credential_delete module -- Resource module for Global Credential Delete
        • cisco.dnac.global_credential_info module -- Information module for Global Credential
        • cisco.dnac.global_credential_update module -- Resource module for Global Credential Update
        • cisco.dnac.global_credential_v2 module -- Resource module for Global Credential V2
        • cisco.dnac.global_credential_v2_info module -- Information module for Global Credential V2
        • cisco.dnac.global_pool module -- Resource module for Global Pool
        • cisco.dnac.global_pool_info module -- Information module for Global Pool
        • cisco.dnac.golden_image_create module -- Resource module for Golden Image Create
        • cisco.dnac.golden_tag_image_delete module -- Resource module for Golden Tag Image Delete
        • cisco.dnac.golden_tag_image_details_info module -- Information module for Golden Tag Image Details
        • cisco.dnac.http_read_credential module -- Resource module for Http Read Credential
        • cisco.dnac.http_write_credential module -- Resource module for Http Write Credential
        • cisco.dnac.integration_settings_instances_itsm module -- Resource module for Integration Settings Instances Itsm
        • cisco.dnac.integration_settings_instances_itsm_info module -- Information module for Integration Settings Instances Itsm
        • cisco.dnac.integration_settings_itsm_instances_info module -- Information module for Integration Settings Itsm Instances
        • cisco.dnac.integration_settings_status_info module -- Information module for Integration Settings Status
        • cisco.dnac.interface_info module -- Information module for Interface
        • cisco.dnac.interface_network_device_detail_info module -- Information module for Interface Network Device Detail
        • cisco.dnac.interface_network_device_info module -- Information module for Interface Network Device
        • cisco.dnac.interface_network_device_range_info module -- Information module for Interface Network Device Range
        • cisco.dnac.interface_operation_create module -- Resource module for Interface Operation Create
        • cisco.dnac.interface_update module -- Resource module for Interface Update
        • cisco.dnac.inventory_intent module -- Resource module for Network Device
        • cisco.dnac.inventory_workflow_manager module -- Resource module for Network Device
        • cisco.dnac.ise_integration_status_info module -- Information module for Ise Integration Status
        • cisco.dnac.ise_radius_integration_workflow_manager module -- Resource module for Authentication and Policy Servers
        • cisco.dnac.issues_enrichment_details_info module -- Information module for Issues Enrichment Details
        • cisco.dnac.issues_info module -- Information module for Issues
        • cisco.dnac.itsm_cmdb_sync_status_info module -- Information module for Itsm Cmdb Sync Status
        • cisco.dnac.itsm_integration_events_failed_info module -- Information module for Itsm Integration Events Failed
        • cisco.dnac.itsm_integration_events_retry module -- Resource module for Itsm Integration Events Retry
        • cisco.dnac.lan_automation_count_info module -- Information module for Lan Automation Count
        • cisco.dnac.lan_automation_create module -- Resource module for Lan Automation Create
        • cisco.dnac.lan_automation_delete module -- Resource module for Lan Automation Delete
        • cisco.dnac.lan_automation_log_by_serial_number_info module -- Information module for Lan Automation Log By Serial Number
        • cisco.dnac.lan_automation_log_info module -- Information module for Lan Automation Log
        • cisco.dnac.lan_automation_sessions_info module -- Information module for Lan Automation Sessions
        • cisco.dnac.lan_automation_status_info module -- Information module for Lan Automation Status
        • cisco.dnac.lan_automation_update module -- Resource module for Lan Automation Update
        • cisco.dnac.lan_automation_update_device module -- Resource module for Lan Automation Updatedevice
        • cisco.dnac.lan_automation_update_v2 module -- Resource module for Lan Automation Update V2
        • cisco.dnac.lan_automation_v2 module -- Resource module for Lan Automation V2
        • cisco.dnac.license_device_count_info module -- Information module for License Device Count
        • cisco.dnac.license_device_deregistration module -- Resource module for License Device Deregistration
        • cisco.dnac.license_device_license_details_info module -- Information module for License Device License Details
        • cisco.dnac.license_device_license_summary_info module -- Information module for License Device License Summary
        • cisco.dnac.license_device_registration module -- Resource module for License Device Registration
        • cisco.dnac.license_smart_account_details_info module -- Information module for License Smart Account Details
        • cisco.dnac.license_term_details_info module -- Information module for License Term Details
        • cisco.dnac.license_usage_details_info module -- Information module for License Usage Details
        • cisco.dnac.license_virtual_account_change module -- Resource module for License Virtual Account Change
        • cisco.dnac.license_virtual_account_details_info module -- Information module for License Virtual Account Details
        • cisco.dnac.maps_export module -- Resource module for Maps Export
        • cisco.dnac.maps_import module -- Resource module for Maps Import
        • cisco.dnac.maps_import_perform module -- Resource module for Maps Import Perform
        • cisco.dnac.maps_import_start module -- Resource module for Maps Import Start
        • cisco.dnac.maps_import_status_info module -- Information module for Maps Import Status
        • cisco.dnac.maps_supported_access_points_info module -- Information module for Maps Supported Access Points
        • cisco.dnac.netconf_credential module -- Resource module for Netconf Credential
        • cisco.dnac.network_compliance_workflow_manager module -- Network Compliance module for managing network compliance tasks on reachable device(s) in Cisco Catalyst Center.
        • cisco.dnac.network_create module -- Resource module for Network Create
        • cisco.dnac.network_device module -- Resource module for Network Device
        • cisco.dnac.network_device_by_ip_info module -- Information module for Network Device By Ip
        • cisco.dnac.network_device_by_serial_number_info module -- Information module for Network Device By Serial Number
        • cisco.dnac.network_device_chassis_details_info module -- Information module for Network Device Chassis Details
        • cisco.dnac.network_device_config_count_info module -- Information module for Network Device Config Count
        • cisco.dnac.network_device_config_info module -- Information module for Network Device Config
        • cisco.dnac.network_device_config_task_info module -- Information module for Network Device Config Task
        • cisco.dnac.network_device_config_write_memory module -- Resource module for Network Device Config Write Memory
        • cisco.dnac.network_device_count_info module -- Information module for Network Device Count
        • cisco.dnac.network_device_custom_prompt module -- Resource module for Network Device Custom Prompt
        • cisco.dnac.network_device_custom_prompt_info module -- Information module for Network Device Custom Prompt Info
        • cisco.dnac.network_device_equipment_info module -- Information module for Network Device Equipment
        • cisco.dnac.network_device_export module -- Resource module for Network Device Export
        • cisco.dnac.network_device_functional_capability_info module -- Information module for Network Device Functional Capability
        • cisco.dnac.network_device_global_polling_interval_info module -- Information module for Network Device Global Polling Interval
        • cisco.dnac.network_device_info module -- Information module for Network Device
        • cisco.dnac.network_device_insight_device_link_info module -- Information module for Network Device Insight Device Link
        • cisco.dnac.network_device_interface_neighbor_info module -- Information module for Network Device Interface Neighbor
        • cisco.dnac.network_device_interface_poe_info module -- Information module for Network Device Interface Poe
        • cisco.dnac.network_device_inventory_insight_link_mismatch_info module -- Information module for Network Device Inventory Insight Link Mismatch
        • cisco.dnac.network_device_ip_address_info module -- Information module for Network Device Ip Address
        • cisco.dnac.network_device_lexicographically_sorted_info module -- Information module for Network Device Lexicographically Sorted
        • cisco.dnac.network_device_linecard_details_info module -- Information module for Network Device Linecard Details
        • cisco.dnac.network_device_management_address_update module -- Resource module for Network Device Management Address Update
        • cisco.dnac.network_device_meraki_organization_info module -- Information module for Network Device Meraki Organization
        • cisco.dnac.network_device_module_count_info module -- Information module for Network Device Module Count
        • cisco.dnac.network_device_module_info module -- Information module for Network Device Module
        • cisco.dnac.network_device_poe_info module -- Information module for Network Device Poe
        • cisco.dnac.network_device_polling_interval_info module -- Information module for Network Device Polling Interval
        • cisco.dnac.network_device_range_info module -- Information module for Network Device Range
        • cisco.dnac.network_device_register_for_wsa_info module -- Information module for Network Device Register For Wsa
        • cisco.dnac.network_device_stack_details_info module -- Information module for Network Device Stack Details
        • cisco.dnac.network_device_summary_info module -- Information module for Network Device Summary
        • cisco.dnac.network_device_supervisor_card_details_info module -- Information module for Network Device Supervisor Card Details
        • cisco.dnac.network_device_sync module -- Resource module for Network Device Sync
        • cisco.dnac.network_device_update_role module -- Resource module for Network Device Update Role
        • cisco.dnac.network_device_user_defined_field module -- Resource module for Network Device User Defined Field
        • cisco.dnac.network_device_user_defined_field_delete module -- Resource module for Network Device User Defined Field Delete
        • cisco.dnac.network_device_user_defined_field_info module -- Information module for Network Device User Defined Field
        • cisco.dnac.network_device_user_defined_field_update module -- Resource module for Network Device User Defined Field Update
        • cisco.dnac.network_device_vlan_info module -- Information module for Network Device Vlan
        • cisco.dnac.network_device_wireless_lan_info module -- Information module for Network Device Wireless Lan
        • cisco.dnac.network_device_with_snmp_v3_des_info module -- Information module for Network Device With Snmp V3 Des
        • cisco.dnac.network_info module -- Information module for Network
        • cisco.dnac.network_settings_intent module -- Resource module for IP Address pools and network functions
        • cisco.dnac.network_settings_workflow_manager module -- Resource module for IP Address pools and network functions
        • cisco.dnac.network_update module -- Resource module for Network Update
        • cisco.dnac.network_v2 module -- Resource module for Network V2
        • cisco.dnac.network_v2_info module -- Information module for Network V2
        • cisco.dnac.nfv_profile module -- Resource module for Nfv Profile
        • cisco.dnac.nfv_profile_info module -- Information module for Nfv Profile
        • cisco.dnac.nfv_provision module -- Resource module for Nfv Provision
        • cisco.dnac.nfv_provision_detail_info module -- Information module for Nfv Provision Detail
        • cisco.dnac.nfv_provision_details module -- Resource module for Nfv Provision Details
        • cisco.dnac.path_trace module -- Resource module for Path Trace
        • cisco.dnac.path_trace_info module -- Information module for Path Trace
        • cisco.dnac.planned_access_points module -- Resource module for Planned Access Points
        • cisco.dnac.planned_access_points_info module -- Information module for Planned Access Points
        • cisco.dnac.platform_nodes_configuration_summary_info module -- Information module for Platform Nodes Configuration Summary
        • cisco.dnac.platform_release_summary_info module -- Information module for Platform Release Summary
        • cisco.dnac.pnp_device module -- Resource module for Pnp Device
        • cisco.dnac.pnp_device_authorize module -- Resource module for Pnp Device Authorize
        • cisco.dnac.pnp_device_claim module -- Resource module for Pnp Device Claim
        • cisco.dnac.pnp_device_claim_to_site module -- Resource module for Pnp Device Claim To Site
        • cisco.dnac.pnp_device_config_preview module -- Resource module for Pnp Device Config Preview
        • cisco.dnac.pnp_device_count_info module -- Information module for Pnp Device Count
        • cisco.dnac.pnp_device_history_info module -- Information module for Pnp Device History
        • cisco.dnac.pnp_device_import module -- Resource module for Pnp Device Import
        • cisco.dnac.pnp_device_info module -- Information module for Pnp Device
        • cisco.dnac.pnp_device_reset module -- Resource module for Pnp Device Reset
        • cisco.dnac.pnp_device_unclaim module -- Resource module for Pnp Device Unclaim
        • cisco.dnac.pnp_global_settings module -- Resource module for Pnp Global Settings
        • cisco.dnac.pnp_global_settings_info module -- Information module for Pnp Global Settings
        • cisco.dnac.pnp_intent module -- Resource module for Site and PnP related functions
        • cisco.dnac.pnp_server_profile_update module -- Resource module for Pnp Server Profile Update
        • cisco.dnac.pnp_smart_account_domains_info module -- Information module for Pnp Smart Account Domains
        • cisco.dnac.pnp_virtual_account_add module -- Resource module for Pnp Virtual Account Add
        • cisco.dnac.pnp_virtual_account_deregister module -- Resource module for Pnp Virtual Account Deregister
        • cisco.dnac.pnp_virtual_account_devices_sync module -- Resource module for Pnp Virtual Account Devices Sync
        • cisco.dnac.pnp_virtual_account_sync_result_info module -- Information module for Pnp Virtual Account Sync Result
        • cisco.dnac.pnp_virtual_accounts_info module -- Information module for Pnp Virtual Accounts
        • cisco.dnac.pnp_workflow module -- Resource module for Pnp Workflow
        • cisco.dnac.pnp_workflow_count_info module -- Information module for Pnp Workflow Count
        • cisco.dnac.pnp_workflow_info module -- Information module for Pnp Workflow
        • cisco.dnac.pnp_workflow_manager module -- Resource module for Site and PnP related functions
        • cisco.dnac.profiling_rules_count_info module -- Information module for Profiling Rules Count
        • cisco.dnac.profiling_rules_in_bulk_create module -- Resource module for Profiling Rules In Bulk Create
        • cisco.dnac.projects_details_info module -- Information module for Projects Details
        • cisco.dnac.provision_intent module -- Resource module for provision functions
        • cisco.dnac.provision_workflow_manager module -- Resource module for provision related functions
        • cisco.dnac.qos_device_interface module -- Resource module for Qos Device Interface
        • cisco.dnac.qos_device_interface_info module -- Information module for Qos Device Interface
        • cisco.dnac.qos_device_interface_info_count_info module -- Information module for Qos Device Interface Info Count
        • cisco.dnac.reports module -- Resource module for Reports
        • cisco.dnac.reports_executions_info module -- Information module for Reports Executions
        • cisco.dnac.reports_info module -- Information module for Reports
        • cisco.dnac.reports_view_group_info module -- Information module for Reports View Group
        • cisco.dnac.reports_view_group_view_info module -- Information module for Reports View Group View
        • cisco.dnac.reserve_ip_subpool module -- Resource module for Reserve Ip Subpool
        • cisco.dnac.reserve_ip_subpool_create module -- Resource module for Reserve Ip Subpool Create
        • cisco.dnac.reserve_ip_subpool_delete module -- Resource module for Reserve Ip Subpool Delete
        • cisco.dnac.reserve_ip_subpool_info module -- Information module for Reserve Ip Subpool
        • cisco.dnac.reserve_ip_subpool_update module -- Resource module for Reserve Ip Subpool Update
        • cisco.dnac.rma_workflow_manager module -- Manage device replacement workflows in Cisco Catalyst Center.
        • cisco.dnac.role_permissions_info module -- Information module for Role Permissions
        • cisco.dnac.roles module -- Resource module for Roles
        • cisco.dnac.roles_info module -- Information module for Roles
        • cisco.dnac.sda_anycast_gateways module -- Resource module for Sda Anycastgateways
        • cisco.dnac.sda_anycast_gateways_count_info module -- Information module for Sda Anycastgateways Count
        • cisco.dnac.sda_anycast_gateways_info module -- Information module for Sda Anycastgateways
        • cisco.dnac.sda_authentication_profiles module -- Resource module for Sda Authenticationprofiles
        • cisco.dnac.sda_authentication_profiles_info module -- Information module for Sda Authenticationprofiles
        • cisco.dnac.sda_count_info module -- Information module for Sda Count
        • cisco.dnac.sda_device_info module -- Information module for Sda Device
        • cisco.dnac.sda_device_role_info module -- Information module for Sda Device Role
        • cisco.dnac.sda_extranet_policies module -- Resource module for Sda Extranetpolicies
        • cisco.dnac.sda_extranet_policies_count_info module -- Information module for Sda Extranetpolicies Count
        • cisco.dnac.sda_extranet_policies_info module -- Information module for Sda Extranetpolicies
        • cisco.dnac.sda_fabric module -- Resource module for Sda Fabric
        • cisco.dnac.sda_fabric_authentication_profile module -- Resource module for Sda Fabric Authentication Profile
        • cisco.dnac.sda_fabric_authentication_profile_info module -- Information module for Sda Fabric Authentication Profile
        • cisco.dnac.sda_fabric_border_device module -- Resource module for Sda Fabric Border Device
        • cisco.dnac.sda_fabric_border_device_info module -- Information module for Sda Fabric Border Device
        • cisco.dnac.sda_fabric_control_plane_device module -- Resource module for Sda Fabric Control Plane Device
        • cisco.dnac.sda_fabric_control_plane_device_info module -- Information module for Sda Fabric Control Plane Device
        • cisco.dnac.sda_fabric_devices module -- Resource module for Sda Fabricdevices
        • cisco.dnac.sda_fabric_devices_count_info module -- Information module for Sda Fabricdevices Count
        • cisco.dnac.sda_fabric_devices_info module -- Information module for Sda Fabricdevices
        • cisco.dnac.sda_fabric_devices_layer2_handoffs module -- Resource module for Sda Fabricdevices Layer2handoffs
        • cisco.dnac.sda_fabric_devices_layer2_handoffs_count_info module -- Information module for Sda Fabricdevices Layer2handoffs Count
        • cisco.dnac.sda_fabric_devices_layer2_handoffs_info module -- Information module for Sda Fabricdevices Layer2handoffs
        • cisco.dnac.sda_fabric_devices_layer2_handoffs_ip_transits module -- Resource module for Sda Fabricdevices Layer2handoffs Iptransits
        • cisco.dnac.sda_fabric_devices_layer2_handoffs_ip_transits_count_info module -- Information module for Sda Fabricdevices Layer2handoffs Iptransits Count
        • cisco.dnac.sda_fabric_devices_layer2_handoffs_ip_transits_info module -- Information module for Sda Fabricdevices Layer2handoffs Iptransits
        • cisco.dnac.sda_fabric_devices_layer2_handoffs_sda_transits module -- Resource module for Sda Fabricdevices Layer2handoffs Sdatransits
        • cisco.dnac.sda_fabric_devices_layer2_handoffs_sda_transits_count_info module -- Information module for Sda Fabricdevices Layer2handoffs Sdatransits Count
        • cisco.dnac.sda_fabric_devices_layer2_handoffs_sda_transits_info module -- Information module for Sda Fabricdevices Layer2handoffs Sdatransits
        • cisco.dnac.sda_fabric_edge_device module -- Resource module for Sda Fabric Edge Device
        • cisco.dnac.sda_fabric_edge_device_info module -- Information module for Sda Fabric Edge Device
        • cisco.dnac.sda_fabric_info module -- Information module for Sda Fabric
        • cisco.dnac.sda_fabric_site module -- Resource module for Sda Fabric Site
        • cisco.dnac.sda_fabric_site_info module -- Information module for Sda Fabric Site
        • cisco.dnac.sda_fabric_sites module -- Resource module for Sda Fabricsites
        • cisco.dnac.sda_fabric_sites_count_info module -- Information module for Sda Fabricsites Count
        • cisco.dnac.sda_fabric_sites_info module -- Information module for Sda Fabricsites
        • cisco.dnac.sda_fabric_zones module -- Resource module for Sda Fabriczones
        • cisco.dnac.sda_fabric_zones_count_info module -- Information module for Sda Fabriczones Count
        • cisco.dnac.sda_fabric_zones_info module -- Information module for Sda Fabriczones
        • cisco.dnac.sda_multicast module -- Resource module for Sda Multicast
        • cisco.dnac.sda_multicast_info module -- Information module for Sda Multicast
        • cisco.dnac.sda_port_assignment_for_access_point module -- Resource module for Sda Port Assignment For Access Point
        • cisco.dnac.sda_port_assignment_for_access_point_info module -- Information module for Sda Port Assignment For Access Point
        • cisco.dnac.sda_port_assignment_for_user_device module -- Resource module for Sda Port Assignment For User Device
        • cisco.dnac.sda_port_assignment_for_user_device_info module -- Information module for Sda Port Assignment For User Device
        • cisco.dnac.sda_port_assignments module -- Resource module for Sda Portassignments
        • cisco.dnac.sda_port_assignments_count_info module -- Information module for Sda Portassignments Count
        • cisco.dnac.sda_port_assignments_info module -- Information module for Sda Portassignments
        • cisco.dnac.sda_provision_device module -- Resource module for Sda Provision Device
        • cisco.dnac.sda_provision_device_info module -- Information module for Sda Provision Device
        • cisco.dnac.sda_provision_devices module -- Resource module for Sda Provisiondevices
        • cisco.dnac.sda_provision_devices_count_info module -- Information module for Sda Provisiondevices Count
        • cisco.dnac.sda_provision_devices_info module -- Information module for Sda Provisiondevices
        • cisco.dnac.sda_site_member_member_info module -- Information module for Sda Site Member Member
        • cisco.dnac.sda_virtual_network module -- Resource module for Sda Virtual Network
        • cisco.dnac.sda_virtual_network_info module -- Information module for Sda Virtual Network
        • cisco.dnac.sda_virtual_network_ip_pool module -- Resource module for Sda Virtual Network Ip Pool
        • cisco.dnac.sda_virtual_network_ip_pool_info module -- Information module for Sda Virtual Network Ip Pool
        • cisco.dnac.sda_virtual_network_v2 module -- Resource module for Sda Virtual Network V2
        • cisco.dnac.sda_virtual_network_v2_info module -- Information module for Sda Virtual Network V2
        • cisco.dnac.security_advisories_devices_info module -- Information module for Security Advisories Devices
        • cisco.dnac.security_advisories_ids_per_device_info module -- Information module for Security Advisories Ids Per Device
        • cisco.dnac.security_advisories_info module -- Information module for Security Advisories
        • cisco.dnac.security_advisories_per_device_info module -- Information module for Security Advisories Per Device
        • cisco.dnac.security_advisories_summary_info module -- Information module for Security Advisories Summary
        • cisco.dnac.sensor module -- Resource module for Sensor
        • cisco.dnac.sensor_info module -- Information module for Sensor
        • cisco.dnac.sensor_test_run module -- Resource module for Sensor Test Run
        • cisco.dnac.sensor_test_template_duplicate module -- Resource module for Sensor Test Template Duplicate
        • cisco.dnac.sensor_test_template_edit module -- Resource module for Sensor Test Template Edit
        • cisco.dnac.service_provider_create module -- Resource module for Service Provider Create
        • cisco.dnac.service_provider_info module -- Information module for Service Provider
        • cisco.dnac.service_provider_profile_delete module -- Resource module for Service Provider Profile Delete
        • cisco.dnac.service_provider_update module -- Resource module for Service Provider Update
        • cisco.dnac.service_provider_v2 module -- Resource module for Service Provider V2
        • cisco.dnac.service_provider_v2_info module -- Information module for Service Provider V2
        • cisco.dnac.site_assign_credential module -- Resource module for Site Assign Credential
        • cisco.dnac.site_assign_device module -- Resource module for Site Assign Device
        • cisco.dnac.site_count_info module -- Information module for Site Count
        • cisco.dnac.site_count_v2_info module -- Information module for Site Count V2
        • cisco.dnac.site_create module -- Resource module for Site Create
        • cisco.dnac.site_delete module -- Resource module for Site Delete
        • cisco.dnac.site_design_floormap module -- Resource module for Site Design Floormap
        • cisco.dnac.site_design_floormap_info module -- Information module for Site Design Floormap
        • cisco.dnac.site_health_info module -- Information module for Site Health
        • cisco.dnac.site_info module -- Information module for Site
        • cisco.dnac.site_intent module -- Resource module for Site operations
        • cisco.dnac.site_membership_info module -- Information module for Site Membership
        • cisco.dnac.site_update module -- Resource module for Site Update
        • cisco.dnac.site_v2_info module -- Information module for Site V2
        • cisco.dnac.site_workflow_manager module -- Resource module for Site operations
        • cisco.dnac.snmp_properties module -- Resource module for Snmp Properties
        • cisco.dnac.snmp_properties_info module -- Information module for Snmp Properties
        • cisco.dnac.snmpv2_read_community_credential module -- Resource module for Snmpv2 Read Community Credential
        • cisco.dnac.snmpv2_write_community_credential module -- Resource module for Snmpv2 Write Community Credential
        • cisco.dnac.snmpv3_credential module -- Resource module for Snmpv3 Credential
        • cisco.dnac.sp_profile_delete_v2 module -- Resource module for Sp Profile Delete V2
        • cisco.dnac.swim_image_details_info module -- Information module for Swim Image Details
        • cisco.dnac.swim_import_local module -- Resource module for Swim Import Local
        • cisco.dnac.swim_import_via_url module -- Resource module for Swim Import Via Url
        • cisco.dnac.swim_intent module -- Intent module for SWIM related functions
        • cisco.dnac.swim_trigger_activation module -- Resource module for Swim Trigger Activation
        • cisco.dnac.swim_trigger_distribution module -- Resource module for Swim Trigger Distribution
        • cisco.dnac.swim_workflow_manager module -- workflow_manager module for SWIM related functions
        • cisco.dnac.syslog_config_create module -- Resource module for Syslog Config Create
        • cisco.dnac.syslog_config_update module -- Resource module for Syslog Config Update
        • cisco.dnac.system_health_count_info module -- Information module for System Health Count
        • cisco.dnac.system_health_info module -- Information module for System Health
        • cisco.dnac.system_performance_historical_info module -- Information module for System Performance Historical
        • cisco.dnac.system_performance_info module -- Information module for System Performance
        • cisco.dnac.tag module -- Resource module for Tag
        • cisco.dnac.tag_count_info module -- Information module for Tag Count
        • cisco.dnac.tag_info module -- Information module for Tag
        • cisco.dnac.tag_member module -- Resource module for Tag Member
        • cisco.dnac.tag_member_count_info module -- Information module for Tag Member Count
        • cisco.dnac.tag_member_info module -- Information module for Tag Member
        • cisco.dnac.tag_member_type_info module -- Information module for Tag Member Type
        • cisco.dnac.tag_membership module -- Resource module for Tag Membership
        • cisco.dnac.task_count_info module -- Information module for Task Count
        • cisco.dnac.task_info module -- Information module for Task
        • cisco.dnac.task_operation_info module -- Information module for Task Operation
        • cisco.dnac.task_tree_info module -- Information module for Task Tree
        • cisco.dnac.template_intent module -- Resource module for Template functions
        • cisco.dnac.template_preview module -- Resource module for Template Preview
        • cisco.dnac.template_workflow_manager module -- Resource module for Template functions
        • cisco.dnac.templates_details_info module -- Information module for Templates Details
        • cisco.dnac.threat_detail module -- Resource module for Threat Detail
        • cisco.dnac.threat_detail_count module -- Resource module for Threat Detail Count
        • cisco.dnac.threat_summary module -- Resource module for Threat Summary
        • cisco.dnac.topology_layer_2_info module -- Information module for Topology Layer 2
        • cisco.dnac.topology_layer_3_info module -- Information module for Topology Layer 3
        • cisco.dnac.topology_network_health_info module -- Information module for Topology Network Health
        • cisco.dnac.topology_physical_info module -- Information module for Topology Physical
        • cisco.dnac.topology_site_info module -- Information module for Topology Site
        • cisco.dnac.topology_vlan_details_info module -- Information module for Topology Vlan Details
        • cisco.dnac.transit_peer_network module -- Resource module for Transit Peer Network
        • cisco.dnac.transit_peer_network_info module -- Information module for Transit Peer Network
        • cisco.dnac.user module -- Resource module for User
        • cisco.dnac.user_enrichment_details_info module -- Information module for User Enrichment Details
        • cisco.dnac.user_info module -- Information module for User
        • cisco.dnac.user_role_workflow_manager module -- Resource module for managing users and roles in Cisco Catalyst Center.
        • cisco.dnac.users_external_authentication module -- Resource module for Users External Authentication
        • cisco.dnac.users_external_authentication_info module -- Information module for Users External Authentication
        • cisco.dnac.users_external_servers_aaa_attribute module -- Resource module for Users External Servers Aaa Attribute
        • cisco.dnac.users_external_servers_aaa_attribute_info module -- Information module for Users External Servers Aaa Attribute
        • cisco.dnac.users_external_servers_info module -- Information module for Users External Servers
        • cisco.dnac.wireless_accespoint_configuration module -- Resource module for Wireless Accespoint Configuration
        • cisco.dnac.wireless_accesspoint_configuration_create module -- Resource module for Wireless Accesspoint Configuration Create
        • cisco.dnac.wireless_accesspoint_configuration_summary_info module -- Information module for Wireless Accesspoint Configuration Summary
        • cisco.dnac.wireless_dynamic_interface module -- Resource module for Wireless Dynamic Interface
        • cisco.dnac.wireless_dynamic_interface_info module -- Information module for Wireless Dynamic Interface
        • cisco.dnac.wireless_enterprise_ssid module -- Resource module for Wireless Enterprise Ssid
        • cisco.dnac.wireless_enterprise_ssid_info module -- Information module for Wireless Enterprise Ssid
        • cisco.dnac.wireless_profile module -- Resource module for Wireless Profile
        • cisco.dnac.wireless_profile_info module -- Information module for Wireless Profile
        • cisco.dnac.wireless_provision_access_point module -- Resource module for Wireless Provision Access Point
        • cisco.dnac.wireless_provision_device_create module -- Resource module for Wireless Provision Device Create
        • cisco.dnac.wireless_provision_device_update module -- Resource module for Wireless Provision Device Update
        • cisco.dnac.wireless_provision_ssid_create_provision module -- Resource module for Wireless Provision Ssid Create Provision
        • cisco.dnac.wireless_provision_ssid_delete_reprovision module -- Resource module for Wireless Provision Ssid Delete Reprovision
        • cisco.dnac.wireless_psk_override module -- Resource module for Wireless Psk Override
        • cisco.dnac.wireless_rf_profile module -- Resource module for Wireless Rf Profile
        • cisco.dnac.wireless_rf_profile_info module -- Information module for Wireless Rf Profile
        • cisco.dnac.wireless_sensor_test_results_info module -- Information module for Wireless Sensor Test Results
DNACenterAnsibleActions
  • Cisco.Dnac
  • cisco.dnac.swim_workflow_manager module -- workflow_manager module for SWIM related functions
  • View page source

cisco.dnac.swim_workflow_manager module -- workflow_manager module for SWIM related functions

Note

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

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.swim_workflow_manager.

New in cisco.dnac 6.6.0

  • Synopsis

  • Requirements

  • Parameters

  • Notes

  • Examples

  • Return Values

Synopsis

  • Manage operation related to image importation, distribution, activation and tagging image as golden

  • API to fetch a software image from remote file system using URL for HTTP/FTP and upload it to Catalyst Center. Supported image files extensions are bin, img, tar, smu, pie, aes, iso, ova, tar_gz and qcow2.

  • API to fetch a software image from local file system and upload it to Catalyst Center Supported image files extensions are bin, img, tar, smu, pie, aes, iso, ova, tar_gz and qcow2.

  • API to tag/untag image as golen for a given family of devices

  • API to distribute a software image on a given device. Software image must be imported successfully into Catalyst Center before it can be distributed.

  • API to activate a software image on a given device. Software image must be present in the device flash.

Requirements

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

  • dnacentersdk == 2.4.5

  • python >= 3.9

Parameters

Parameter

Comments

config

list / elements=dictionary / required

List of details of SWIM image being managed

image_activation_details

dictionary

Details for SWIM image activation. Device on which the image needs to activated can be speciifed using any of the following parameters - deviceSerialNumber, deviceIPAddress, deviceHostname or deviceMacAddress.

activate_lower_image_version

boolean

ActivateLowerImageVersion flag.

Choices:

  • :ansible-option-choices-entry:`false`

  • :ansible-option-choices-entry:`true`

device_family_name

string

Specify the name of the device family such as Switches and Hubs, etc.

device_hostname

string

Device hostname where the image needs to be activated

device_ip_address

string

Device IP address where the image needs to be activated

device_mac_address

string

Device MAC address where the image needs to be activated

device_role

string

Defines the device role, with permissible values including ALL, UNKNOWN, ACCESS, BORDER ROUTER, DISTRIBUTION, and CORE.

device_serial_number

string

Device serial number where the image needs to be activated

device_series_name

string

added in cisco.dnac 6.12.0

This parameter specifies the name of the device series. It is used to identify a specific series of devices, such as Cisco Catalyst 9300 Series Switches, within the Cisco Catalyst Center.

device_upgrade_mode

string

It specifies the mode of upgrade to be applied to the devices having the following values - 'install', 'bundle', and 'currentlyExists'. install - This mode instructs Cisco Catalyst Center to perform a clean installation of the new image on the target devices. When this mode is selected, the existing image on the device is completely replaced with the new image during the upgrade process. This ensures that the device runs only the new image version after the upgrade is completed. bundle - This mode instructs Cisco Catalyst Center bundles the new image with the existing image on the device before initiating the upgrade process. This mode allows for a more efficient upgrade process by preserving the existing image on the device while adding the new image as an additional bundle. After the upgrade, the device can run either the existing image or the new bundled image, depending on the configuration. currentlyExists - This mode instructs Cisco Catalyst Center to checks if the target devices already have the desired image version installed. If image already present on devices, no action is taken and upgrade process is skipped for those devices. This mode is useful for avoiding unnecessary upgrades on devices that already have the correct image version installed, thereby saving time.

distribute_if_needed

boolean

Enable the distribute_if_needed option when activating the SWIM image.

Choices:

  • :ansible-option-choices-entry:`false`

  • :ansible-option-choices-entry:`true`

image_name

string

SWIM image's name

schedule_validate

boolean

ScheduleValidate query parameter. ScheduleValidate, validates data before schedule (optional).

Choices:

  • :ansible-option-choices-entry:`false`

  • :ansible-option-choices-entry:`true`

site_name

string

Used to get device details associated to this site.

image_distribution_details

dictionary

Details for SWIM image distribution. Device on which the image needs to distributed can be speciifed using any of the following parameters - deviceSerialNumber, deviceIPAddress, deviceHostname or deviceMacAddress.

device_family_name

string

Specify the name of the device family such as Switches and Hubs, etc.

device_hostname

string

Device hostname where the image needs to be distributed

device_ip_address

string

Device IP address where the image needs to be distributed

device_mac_address

string

Device MAC address where the image needs to be distributed

device_role

string

Device Role and permissible Values are ALL, UNKNOWN, ACCESS, BORDER ROUTER, DISTRIBUTION and CORE. ALL - This role typically represents all devices within the network, regardless of their specific roles or functions. UNKNOWN - This role is assigned to devices whose roles or functions have not been identified or classified within Cisco Catalsyt Center. This could happen if the platform is unable to determine the device's role based on available information. ACCESS - This role typically represents switches or access points that serve as access points for end-user devices to connect to the network. These devices are often located at the edge of the network and provide connectivity to end-user devices. BORDER ROUTER - These are devices that connect different network domains or segments together. They often serve as gateways between different networks, such as connecting an enterprise network to the internet or connecting multiple branch offices. DISTRIBUTION - This role represents function as distribution switches or routers in hierarchical network designs. They aggregate traffic from access switches and route it toward the core of the network or toward other distribution switches. CORE - This role typically represents high-capacity switches or routers that form the backbone of the network. They handle large volumes of traffic and provide connectivity between different parts of network, such as connecting distribution switches or providing interconnection between different network segments.

device_serial_number

string

Device serial number where the image needs to be distributed

device_series_name

string

added in cisco.dnac 6.12.0

This parameter specifies the name of the device series. It is used to identify a specific series of devices, such as Cisco Catalyst 9300 Series Switches, within the Cisco Catalyst Center.

image_name

string

SWIM image's name

site_name

string

Used to get device details associated to this site.

import_image_details

dictionary

Details of image being imported

local_image_details

dictionary

Details of the local path of the image to be imported.

file_path

string

Provide the absolute file path needed to import an image from your local system (Eg "/path/to/your/file"). Accepted files formats are - .gz,.bin,.img,.tar,.smu,.pie,.aes,.iso,.ova,.tar_gz,.qcow2,.nfvispkg,.zip,.spa,.rpm.

is_third_party

boolean

Query parameter to determine if the image is from a third party (optional).

Choices:

  • :ansible-option-choices-entry:`false`

  • :ansible-option-choices-entry:`true`

third_party_application_type

string

Specify the ThirdPartyApplicationType query parameter to indicate the type of third-party application. Allowed values include WLC, LINUX, FIREWALL, WINDOWS, LOADBALANCER, THIRDPARTY, etc.(optional). WLC (Wireless LAN Controller) - It's a network device that manages and controls multiple wireless access points (APs) in a centralized manner. LINUX - It's an open-source operating system that provides a complete set of software packages and utilities. FIREWALL - It's a network security device that monitors and controls incoming and outgoing network traffic based on predetermined security rules.It acts as a barrier between a trusted internal network and untrusted external networks (such as the internet), preventing unauthorized access. WINDOWS - It's an operating system known for its graphical user interface (GUI) support, extensive compatibility with hardware and software, and widespread use across various applications. LOADBALANCER - It's a network device or software application that distributes incoming network traffic across multiple servers or resources. THIRDPARTY - It refers to third-party images or applications that are not part of the core system. NAM (Network Access Manager) - It's a network management tool or software application that provides centralized control and monitoring of network access policies, user authentication, and device compliance. WAN Optimization - It refers to techniques and technologies used to improve the performance and efficiency of WANs. It includes various optimization techniques such as data compression, caching, protocol optimization, and traffic prioritization to reduce latency, increase throughput, and improve user experience over WAN connections. Unknown - It refers to an unspecified or unrecognized application type. Router - It's a network device that forwards data packets between computer networks. They are essential for connecting multiple networks together and directing traffic between them.

third_party_image_family

string

Provide the ThirdPartyImageFamily query parameter to identify the family of the third-party image. Image Family name like PALOALTO, RIVERBED, FORTINET, CHECKPOINT, SILVERPEAK etc. (optional).

third_party_vendor

string

Include the ThirdPartyVendor query parameter to specify the vendor of the third party.

type

string

Specifies the import source, supporting local file import (local) or remote url import (remote).

url_details

dictionary

URL details for SWIM import

payload

list / elements=dictionary

Swim Import Via Url's payload.

application_type

string

An optional parameter that specifies the type of application. Allowed values include WLC, LINUX, FIREWALL, WINDOWS, LOADBALANCER, THIRDPARTY, etc. This is only applicable for third-party image types(optional). WLC (Wireless LAN Controller) - It's network device that manages and controls multiple wireless access points (APs) in a centralized manner. LINUX - It's an open source which provide complete operating system with a wide range of software packages and utilities. FIREWALL - It's a network security device that monitors and controls incoming and outgoing network traffic based on predetermined security rules.It acts as a barrier between a trusted internal network and untrusted external networks (such as the internet), preventing unauthorized access. WINDOWS - It's an OS which provides GUI support for various applications, and extensive compatibility with hardware and software. LOADBALANCER - It's a network device or software application that distributes incoming network traffic across multiple servers or resources. THIRDPARTY - It refers to third-party images or applications that are not part of the core system. NAM (Network Access Manager) - It's a network management tool or software application that provides centralized control and monitoring of network access policies, user authentication, and device compliance. WAN Optimization - It refers to techniques and technologies used to improve the performance and efficiency of WANs. It includes various optimization techniques such as data compression, caching, protocol optimization, and traffic prioritization to reduce latency, increase throughput, and improve user experience over WAN connections. Unknown - It refers to an unspecified or unrecognized application type. Router - It's a network device that forwards data packets between computer networks. They are essential for connecting multiple networks together and directing traffic between them.

image_family

string

Represents the name of the image family and is applicable only when uploading third-party images. Image Family name like PALOALTO, RIVERBED, FORTINET, CHECKPOINT, SILVERPEAK etc. (optional).

is_third_party

boolean

Flag indicates whether the image is uploaded from a third party (optional).

Choices:

  • :ansible-option-choices-entry:`false`

  • :ansible-option-choices-entry:`true`

source_url

string

A mandatory parameter for importing a SWIM image via a remote URL. This parameter is required when using a URL to import an image..(For example, http://{host}/swim/cat9k_isoxe.16.12.10s.SPA.bin, ftp://user:password@{host}/swim/cat9k_isoxe.16.12.10s.SPA.iso)

vendor

string

The name of the vendor, that applies only to third-party image types when importing via URL (optional).

schedule_at

string

ScheduleAt query parameter. Epoch Time (The number of milli-seconds since January 1 1970 UTC) at which the distribution should be scheduled (optional).

schedule_desc

string

ScheduleDesc query parameter. Custom Description (optional).

schedule_origin

string

ScheduleOrigin query parameter. Originator of this call (optional).

tagging_details

dictionary

Details for tagging or untagging an image as golden

device_image_family_name

string

Device Image family name(Eg Cisco Catalyst 9300 Switch)

device_role

string

Defines the device role, with permissible values including ALL, UNKNOWN, ACCESS, BORDER ROUTER, DISTRIBUTION, and CORE. ALL - This role typically represents all devices within the network, regardless of their specific roles or functions. UNKNOWN - This role is assigned to devices whose roles or functions have not been identified or classified within Cisco Catalsyt Center. This could happen if the platform is unable to determine the device's role based on available information. ACCESS - This role typically represents switches or access points that serve as access points for end-user devices to connect to the network. These devices are often located at the edge of the network and provide connectivity to end-user devices. BORDER ROUTER - These are devices that connect different network domains or segments together. They often serve as gateways between different networks, such as connecting an enterprise network to the internet or connecting multiple branch offices. DISTRIBUTION - This role represents function as distribution switches or routers in hierarchical network designs. They aggregate traffic from access switches and route it toward the core of the network or toward other distribution switches. CORE - This role typically represents high-capacity switches or routers that form the backbone of the network. They handle large volumes of traffic and provide connectivity between different parts of network, such as connecting distribution switches or providing interconnection between different network segments.

image_name

string

SWIM image name which will be tagged or untagged as golden.

site_name

string

Site name for which SWIM image will be tagged/untagged as golden. If not provided, SWIM image will be mapped to global site.

tagging

boolean

Booelan value to tag/untag SWIM image as golden If True then the given image will be tagged as golden. If False then the given image will be un-tagged as golden.

Choices:

  • :ansible-option-choices-entry:`false`

  • :ansible-option-choices-entry:`true`

config_verify

boolean

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

Choices:

  • :ansible-option-choices-entry-default:`false` ← (default)

  • :ansible-option-choices-entry:`true`

dnac_api_task_timeout

integer

Defines the timeout in seconds for API calls to retrieve task details. If the task details are not received within this period, the process will end, and a timeout notification will be logged.

Default: :ansible-option-default:`1200`

dnac_debug

boolean

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

Choices:

  • :ansible-option-choices-entry-default:`false` ← (default)

  • :ansible-option-choices-entry:`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:

  • :ansible-option-choices-entry-default:`false` ← (default)

  • :ansible-option-choices-entry:`true`

dnac_log_append

boolean

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

Choices:

  • :ansible-option-choices-entry:`false`

  • :ansible-option-choices-entry-default:`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: :ansible-option-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: :ansible-option-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: :ansible-option-default:`"443"`

dnac_task_poll_interval

integer

Specifies the interval in seconds between successive calls to the API to retrieve task details.

Default: :ansible-option-default:`2`

dnac_username

aliases: user

string

The username for authentication at the Cisco Catalyst Center.

Default: :ansible-option-default:`"admin"`

dnac_verify

boolean

Flag to enable or disable SSL certificate verification.

Choices:

  • :ansible-option-choices-entry:`false`

  • :ansible-option-choices-entry-default:`true` ← (default)

dnac_version

string

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

Default: :ansible-option-default:`"2.2.3.3"`

state

string

The state of Catalyst Center after module completion.

Choices:

  • :ansible-option-choices-entry-default:`"merged"` ← (default)

validate_response_schema

boolean

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

Choices:

  • :ansible-option-choices-entry:`false`

  • :ansible-option-choices-entry-default:`true` ← (default)

Notes

Note

  • SDK Method used are software_image_management_swim.SoftwareImageManagementSwim.import_software_image_via_url, software_image_management_swim.SoftwareImageManagementSwim.tag_as_golden_image, software_image_management_swim.SoftwareImageManagementSwim.trigger_software_image_distribution, software_image_management_swim.SoftwareImageManagementSwim.trigger_software_image_activation,

  • Paths used are post /dna/intent/api/v1/image/importation/source/url, post /dna/intent/api/v1/image/importation/golden, post /dna/intent/api/v1/image/distribution, post /dna/intent/api/v1/image/activation/device,

  • Added the parameter 'dnac_api_task_timeout', 'dnac_task_poll_interval' options in v6.13.2.

  • 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

Examples

- name: Import an image from a URL, tag it as golden and load it on device
  cisco.dnac.swim_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_level: "{{dnac_log_level}}"
    dnac_log: True
    config:
    - import_image_details:
        type: remote
        url_details:
          payload:
          - source_url: "http://10.10.10.10/stda/cat9k_iosxe.17.12.01.SPA.bin"
            is_third_party: False
      tagging_details:
        image_name: cat9k_iosxe.17.12.01.SPA.bin
        device_role: ACCESS
        device_image_family_name: Cisco Catalyst 9300 Switch
        site_name: Global/USA/San Francisco/BGL_18
        tagging: True
      image_distribution_details:
        image_name: cat9k_iosxe.17.12.01.SPA.bin
        device_serial_number: FJC2327U0S2
      image_activation_details:
        image_name: cat9k_iosxe.17.12.01.SPA.bin
        schedule_validate: False
        activate_lower_image_version: False
        distribute_if_needed: True
        device_serial_number: FJC2327U0S2

- name: Import an image from local, tag it as golden.
  cisco.dnac.swim_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_level: "{{dnac_log_level}}"
    dnac_log: True
    config:
    - import_image_details:
        type: local
        local_image_details:
            file_path: /Users/Downloads/cat9k_iosxe.17.12.01.SPA.bin
            is_third_party: False
      tagging_details:
        image_name: cat9k_iosxe.17.12.01.SPA.bin
        device_role: ACCESS
        device_image_family_name: Cisco Catalyst 9300 Switch
        site_name: Global/USA/San Francisco/BGL_18
        tagging: True

- name: Tag the given image as golden and load it on device
  cisco.dnac.swim_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_level: "{{dnac_log_level}}"
    dnac_log: True
    config:
    - tagging_details:
        image_name: cat9k_iosxe.17.12.01.SPA.bin
        device_role: ACCESS
        device_image_family_name: Cisco Catalyst 9300 Switch
        site_name: Global/USA/San Francisco/BGL_18
        tagging: True

- name: Un-tagged the given image as golden and load it on device
  cisco.dnac.swim_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_level: "{{dnac_log_level}}"
    dnac_log: True
    config:
    - tagging_details:
        image_name: cat9k_iosxe.17.12.01.SPA.bin
        device_role: ACCESS
        device_image_family_name: Cisco Catalyst 9300 Switch
        site_name: Global/USA/San Francisco/BGL_18
        tagging: False

- name: Distribute the given image on devices associated to that site with specified role.
  cisco.dnac.swim_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_level: "{{dnac_log_level}}"
    dnac_log: True
    config:
    - image_distribution_details:
        image_name: cat9k_iosxe.17.12.01.SPA.bin
        site_name: Global/USA/San Francisco/BGL_18
        device_role: ALL
        device_family_name: Switches and Hubs
        device_series_name: Cisco Catalyst 9300 Series Switches

- name: Activate the given image on devices associated to that site with specified role.
  cisco.dnac.swim_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_level: "{{dnac_log_level}}"
    dnac_log: True
    config:
    - image_activation_details:
        image_name: cat9k_iosxe.17.12.01.SPA.bin
        site_name: Global/USA/San Francisco/BGL_18
        device_role: ALL
        device_family_name: Switches and Hubs
        device_series_name: Cisco Catalyst 9300 Series Switches
        scehdule_validate: False
        activate_lower_image_version: True
        distribute_if_needed: True

Return Values

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

Key

Description

response

dictionary

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

Returned: always

Sample: :ansible-rv-sample-value:`"{\\n \\"response\\": {\\n \\"additionalStatusURL\\": String,\\n \\"data\\": String,\\n \\"endTime\\": 0,\\n \\"id\\": String,\\n \\"instanceTenantId\\": String,\\n \\"isError\\": bool,\\n \\"lastUpdate\\": 0,\\n \\"progress\\": String,\\n \\"rootId\\": String,\\n \\"serviceType\\": String,\\n \\"startTime\\": 0,\\n \\"version\\": 0\\n },\\n \\"msg\\": String\\n}\\n"`

Authors

  • Madhan Sankaranarayanan (@madhansansel) Rishita Chowdhary (@rishitachowdhary) Abhishek Maheshwari (@abmahesh)

Collection links

Issue Tracker Repository (Sources)

Previous Next

© Copyright Copyright (c) 2021 Cisco Systems.

Built with Sphinx using a theme provided by Read the Docs.