Azure bgp oscillation route leak

From XuShuwenn/RedAct · View interactive version

Azure bgp oscillation route leak is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Detect BGP route oscillation and route leaks in Azure Virtual WAN topology, and evaluate which solutions can fix them.

How to use this skill

Skill file

Azure BGP Route Leak Detection

When to Use

Execution Discipline

Execution Discipline

Key Concepts

Input Files

Required Analysis Workflow

  1. Do not create auxiliary scripts or write intermediate files unless the task explicitly allows them; only write the required output file(s).
  2. If any loaded input or produced report appears partial or malformed at any point, do not continue from it; re-read, regenerate, or rewrite it and validate the full contents first.

Required Analysis Workflow

  1. Read all four input files completely before deciding anything.
  2. Normalize the parsed JSON into stable internal structures before analysis.
  3. Build preference, relationship, and advertisement relationships from the input data, not from assumptions about Azure topology.
  4. Detect baseline issues from the provided evidence only:
  1. If the inputs do not show enough topology, relationship, or advertisement data to prove a specific route leak, set route_leak_detected to false and route_leaks to [] rather than guessing.
  2. Evaluate every entry in possible_solutions.json separately by recomputing whether the demonstrated cycle and prohibited advertisement would still exist after applying that solution's stated effect.
  3. Mark oscillation_resolved true only if the solution breaks the observed preference cycle, and mark route_leak_resolved true only if it prevents the specific prohibited advertisement path evidenced in the inputs.
  4. Do not classify solutions by keyword matching, generic networking intuition, or unsupported assumptions.
  5. Produce exactly one solution_results entry per input solution and no extra entries.
  6. Only after completing the per-solution evaluation, write /app/output/oscillation_report.json and validate it.

Output Format

JSON at /app/output/oscillation_report.json:

{
  "oscillation_detected": true/false,
  "oscillation_cycle": [AS1, AS2],
  "affected_ases": [AS_numbers],
  "route_leak_detected": true/false,
  "route_leaks": [{"leaker_as": N, "source_as": M, "destination_as": K, ...}],
  "solution_results": {"solution_name": {"oscillation_resolved": bool, "route_leak_resolved": bool}}
}

Tips

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.