How cisco-en-programmability/catalystcenter-ansible works
This is an Ansible collection for automating Cisco Catalyst Center. The principal flow is an operator’s playbook invoking a collection module, which sends an operation through the Catalyst Center SDK and returns a result. The collection also exposes a broad set of direct API actions, higher-level workflow managers, and dynamic inventory. Source excerpts are concentrated on query modules, so edges beyond the documented module-to-API flow are intentionally limited.
Main entry points: modules API modules · action API action plugins · catalystcenter.py Dynamic inventory · inventory_workflow_manager.py Inventory workflows
Components 20
Ansible interfaces
- Playbook tasks
- API modules
plugins/modules - API action plugins
plugins/action - Dynamic inventory
plugins/inventory/catalystcenter.py
Automation workflows
- Inventory workflows
plugins/modules/inventory_workflow_manager.py - Events workflows
plugins/modules/events_and_notifications_workflow_manager.py - Reports workflows
plugins/modules/reports_workflow_manager.py - SDA fabric workflows
plugins/modules/sda_fabric_devices_workflow_manager.py - Host onboarding
plugins/modules/sda_host_port_onboarding_workflow_manager.py - Software image workflows
plugins/modules/swim_workflow_manager.py - Template workflows
plugins/modules/template_workflow_manager.py
Shared runtime
- Brownfield helpers
plugins/module_utils/brownfield_helper.py - Network profiles
plugins/module_utils/network_profiles.py - Input validation
plugins/module_utils/validation.py - Catalyst Center utilities
plugins/module_utils/catalystcenter.py - Plugin utilities
plugins/plugin_utils/catalystcenter.py
External systems
- Catalyst Center SDK
- Cisco Catalyst Center
- Ansible runtime
Other components
- Automation operator
Connections 14
- Automation operator → Playbook tasks: defines tasks
README.md - Playbook tasks → Ansible runtime: runs through
README.md - Ansible runtime → API modules: invokes modules
README.md - API modules → Catalyst Center SDK: uses SDK
README.md - Catalyst Center SDK → Cisco Catalyst Center: calls APIs
README.md - Ansible runtime → Dynamic inventory: loads inventory
- Ansible runtime → Inventory workflows: invokes workflow
README.md - Ansible runtime → Events workflows: invokes workflow
README.md - Ansible runtime → Reports workflows: invokes workflow
README.md - Ansible runtime → SDA fabric workflows: invokes workflow
README.md - Ansible runtime → Host onboarding: invokes workflow
README.md - Ansible runtime → Software image workflows: invokes workflow
README.md - Ansible runtime → Template workflows: invokes workflow
README.md - API action plugins → Cisco Catalyst Center: manages resources