Executing an event-driven workflow
Now that the EDA-Server application, AWX application, and Nautobot infrastructure are deployed and configured, you can execute an event-driven workflow using EDA. This workflow is just the tip of the iceberg as far as event-driven automation possibilities. Imagine executing automated troubleshooting based on events triggered by an observability platform, or even kicking off automated configuration remediation tasks based on a device reporting a configuration compliance failure.
This recipe follows the task execution flow given here:
- A change in Nautobot to the
ceos-01-edainterfaceEthernet4enabled state fromdisabled(unchecked) toenabled(checked). - EDA-Server rulebook activation reads the Nautobot changelog from the REST API and adds events into the EDA event queue. This recurs at a configurable interval in the source event plugin (every 5 seconds by default).
- The rulebook condition reads the event data and validates...