-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #178 from cisco-en-programmability/develop
Develop v6.17.0
- Loading branch information
Showing
84 changed files
with
23,420 additions
and
2,110 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
- 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: True | ||
state: merged | ||
force_sync: False | ||
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-test1" | ||
led_status: "Enabled" | ||
led_brightness_level: 3 | ||
ap_mode: "Local" | ||
location: "LTTS/Cisco/Chennai" | ||
failover_priority: "Low" | ||
2.4ghz_radio: | ||
admin_status: "Enabled" | ||
antenna_name: "C-ANT9104-2.4GHz" | ||
radio_role_assignment: "Client-Serving" | ||
channel_number: 3 | ||
powerlevel: 3 | ||
5ghz_radio: | ||
admin_status: "Enabled" | ||
antenna_name: "AIR-ANT2513P4M-N-5GHz" | ||
radio_role_assignment: "Client-Serving" | ||
channel_number: 48 | ||
powerlevel: 3 | ||
channel_width: "20 MHz" | ||
register: output_list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
- hosts: localhost | ||
connection: local | ||
gather_facts: no | ||
vars_files: | ||
- "credentials.yml" | ||
tasks: | ||
- name: RMA workflow for faulty device replacement | ||
cisco.dnac.rma_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: true | ||
resync_retry_count: 1000 | ||
resync_retry_interval: 30 | ||
ccc_poll_interval: 2 | ||
timeout_interval: 100 | ||
state: replaced | ||
config: | ||
- faulty_device_ip_address: 204.1.2.9 | ||
replacement_device_ip_address: 204.1.2.10 | ||
register: result |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
--- | ||
- name: Configure device credentials on Cisco Catalyst Center | ||
hosts: localhost | ||
vars_files: | ||
- "credentials.yml" | ||
connection: local | ||
gather_facts: no | ||
tasks: | ||
- name: User and Role Workflow Manager | ||
cisco.dnac.user_role_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: True | ||
dnac_api_task_timeout: 1000 | ||
dnac_task_poll_interval: 1 | ||
state: merged | ||
config: | ||
user_details: | ||
- first_name: "ajith" | ||
last_name: "andrew" | ||
username: "ajithandrewj" | ||
email: "ajith.andrew@example.com" | ||
password: "Ajith@123" | ||
role_list: ["Super-Admin-role"] | ||
- first_name: "syed" | ||
last_name: "khadeer" | ||
username: "syedkhadeer" | ||
email: "syedkhadeer@example.com" | ||
password: "Syedkhadeer@123" | ||
role_details: | ||
- role_name: "Test_Role_1" | ||
description: "Default role creation" | ||
assurance: | ||
- overall: "read" | ||
troubleshooting_tools: "write" | ||
network_analytics: | ||
- overall: "deny" | ||
- role_name: "Test_Role_2" | ||
description: "Default role creation" | ||
network_design: | ||
- overall: "deny" | ||
image_repository: "read" | ||
network_provision: | ||
- overall: "read" | ||
eox: "write" | ||
image_update: "read" | ||
inventory_management: | ||
- overall: "write" | ||
port_management: "read" | ||
network_services: | ||
- overall: "deny" | ||
bonjour: "Write" | ||
platform: | ||
- overall: "deny" | ||
bundles: "read" | ||
security: | ||
- overall: "deny" | ||
ip_based_access_control: "read" | ||
security_advisories: "write" | ||
system: | ||
- overall: "deny" | ||
machine_reasoning: "write" | ||
utilities: | ||
- overall: "deny" | ||
audit_log: "read" |
Oops, something went wrong.