Get Blueprint Anomalies
Imports
from aos.client import AosClient
from aos.repeat import repeat_until
import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
You will need to update the connection details below with your specific AOS instance
Login
Find Blueprint by Name
Get all anomalies
Check if anomalies exist
Here we are using logic that waits for the blueprint to fully converge with no anomalies reported before moving onto the next action of the workflow. This is a powerful heath check, as it encompasses all points of telemetry and intent of the fabric built into a single call.