Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example config files #3

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ This repo is for an application that will automate Day N operations using Cisco

This application will automate Day N operations, creating device inventories, using the Cisco DNA Center REST APIs

Prior to use the following files need to be populated and renamed by removing the .example extension:
- environment.env.example
- ansible/credentials.yml.example

**"inventory_collection_sdk.py"** Python app workflow:
- create device inventory - hostname, device management IP address, device UUID, software version,
device family, role, site, site UUID
Expand Down Expand Up @@ -52,7 +56,7 @@ INFO:root:GitHub push for file: device_inventory.yaml
INFO:root:End of Application "inventory_collection_sdk.py" Run: 2022-05-18 15:34:33
```

"deploy_cli_templates_ansible.yaml" Ansible playbook workflow:
**"deploy_cli_templates_ansible.yaml"** Ansible playbook workflow:
- pull from GitHub the latest templates
- optional, pull from GitHub the device inventory (not implemented)
- identify devices that match the device filter
Expand Down
3 changes: 3 additions & 0 deletions ansible/credentials.yml.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- dnac_host: ""
- username: ""
- password: ""
6 changes: 6 additions & 0 deletions environment.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
DNAC_URL = ""
DNAC_USER = ""
DNAC_PASS = ""

GITHUB_USERNAME = ""
GITHUB_TOKEN = ""