netdryrun 0.3.0__tar.gz → 0.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {netdryrun-0.3.0 → netdryrun-0.3.2}/.devcontainer/devcontainer.json +10 -2
- netdryrun-0.3.2/.devcontainer/hint.sh +5 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/.github/ISSUE_TEMPLATE/feedback.yml +37 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/.github/assets/netdryrun-wordmark-navy-tm.svg +2 -2
- {netdryrun-0.3.0/website/docs → netdryrun-0.3.2/.github}/assets/netdryrun-wordmark-white-tm.svg +2 -2
- netdryrun-0.3.2/.github/workflows/mcp-registry.yml +66 -0
- netdryrun-0.3.2/.github/workflows/published-action.yml +130 -0
- netdryrun-0.3.2/.github/workflows/release-gate.yml +96 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/.github/workflows/release.yml +12 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/.gitignore +6 -0
- netdryrun-0.3.2/AGENTS.md +33 -0
- netdryrun-0.3.2/CHANGELOG.md +143 -0
- netdryrun-0.3.2/PKG-INFO +275 -0
- netdryrun-0.3.2/README.md +232 -0
- netdryrun-0.3.2/RELEASING.md +189 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/action.yml +18 -6
- netdryrun-0.3.2/advisories/0.3.0-false-pass/1-misspelled-top-key.yml +6 -0
- netdryrun-0.3.2/advisories/0.3.0-false-pass/2-quoted-boolean.yml +4 -0
- netdryrun-0.3.2/advisories/0.3.0-false-pass/3-unknown-afi.yml +4 -0
- netdryrun-0.3.2/advisories/0.3.0-false-pass/4-unknown-protocol.yml +4 -0
- netdryrun-0.3.2/advisories/0.3.0-false-pass/5-duplicate-key.yml +9 -0
- netdryrun-0.3.2/advisories/0.3.0-false-pass/6-min-zero.yml +4 -0
- netdryrun-0.3.2/advisories/0.3.0-false-pass/7-vrf-all.yml +4 -0
- netdryrun-0.3.2/advisories/0.3.0-false-pass/README.md +48 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/RESULTS.md +4 -4
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/render.py +38 -10
- netdryrun-0.3.2/corpus/results/results.json +1223 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/run.py +25 -17
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/tools/check_edits.py +8 -4
- netdryrun-0.3.2/corpus/v2/AMENDMENTS.md +11 -0
- netdryrun-0.3.2/corpus/v2/INTENT.md +48 -0
- netdryrun-0.3.2/corpus/v2/RESULTS.md +54 -0
- netdryrun-0.3.2/corpus/v2/SITE.md +12 -0
- netdryrun-0.3.2/corpus/v2/base/configs/ce1.conf +20 -0
- netdryrun-0.3.2/corpus/v2/base/configs/pe1.conf +62 -0
- netdryrun-0.3.2/corpus/v2/base/configs/pe2.conf +43 -0
- netdryrun-0.3.2/corpus/v2/base/configs/peer1.conf +20 -0
- netdryrun-0.3.2/corpus/v2/base/configs/up1.conf +21 -0
- netdryrun-0.3.2/corpus/v2/base/topology.clab.yml +31 -0
- netdryrun-0.3.2/corpus/v2/cases/01-no-change.yml +6 -0
- netdryrun-0.3.2/corpus/v2/cases/02-redistribute-connected-pe2.yml +12 -0
- netdryrun-0.3.2/corpus/v2/cases/03-test-prefix-left-in-config.yml +13 -0
- netdryrun-0.3.2/corpus/v2/cases/04-redundant-aggregate-typo.yml +14 -0
- netdryrun-0.3.2/corpus/v2/cases/05-customer-max-prefix-removed.yml +9 -0
- netdryrun-0.3.2/corpus/v2/cases/06-peer-import-filter-permit-all.yml +11 -0
- netdryrun-0.3.2/corpus/v2/cases/07-customer-adds-prefixes.yml +15 -0
- netdryrun-0.3.2/corpus/v2/cases/08-customer-announces-aggregate.yml +13 -0
- netdryrun-0.3.2/corpus/v2/cases/09-ibgp-send-community-line-removed.yml +9 -0
- netdryrun-0.3.2/corpus/v2/cases/10-ibgp-standard-communities-disabled.yml +9 -0
- netdryrun-0.3.2/corpus/v2/cases/11-customer-max-prefix-warning-only.yml +9 -0
- netdryrun-0.3.2/corpus/v2/cases/12-customer-max-prefix-raised.yml +9 -0
- netdryrun-0.3.2/corpus/v2/cases/13-upstream-routes-tagged-as-customer.yml +9 -0
- netdryrun-0.3.2/corpus/v2/cases/14-customer-gets-default-only.yml +11 -0
- netdryrun-0.3.2/corpus/v2/cases/15-upstream-default-filtered.yml +11 -0
- netdryrun-0.3.2/corpus/v2/cases/16-customer-session-peer-group.yml +12 -0
- netdryrun-0.3.2/corpus/v2/cases/17-customer-region-community.yml +9 -0
- netdryrun-0.3.2/corpus/v2/cases/18-aggregate-discard-route-removed.yml +9 -0
- netdryrun-0.3.2/corpus/v2/results/results.json +722 -0
- netdryrun-0.3.2/corpus/v2/specs/baseline-ping.yml +6 -0
- netdryrun-0.3.2/corpus/v2/specs/baseline-sessions.yml +8 -0
- netdryrun-0.3.2/corpus/v2/specs/intent.yml +83 -0
- netdryrun-0.3.2/examples/agent-eval/.gitignore +1 -0
- netdryrun-0.3.2/examples/agent-eval/PREREGISTRATION.md +72 -0
- netdryrun-0.3.2/examples/agent-eval/README.md +34 -0
- netdryrun-0.3.2/examples/agent-eval/RESULTS.md +77 -0
- netdryrun-0.3.2/examples/agent-eval/grade_rerun.sh +23 -0
- netdryrun-0.3.2/examples/agent-eval/run_eval.py +303 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T01-new-block/grader.yml +13 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T01-new-block/ticket/TICKET.md +9 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T01-new-block/ticket/configs/cust1.conf +23 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T01-new-block/ticket/configs/edge1.conf +63 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T01-new-block/ticket/configs/peer1.conf +16 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T01-new-block/ticket/configs/up1.conf +17 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T01-new-block/ticket/netdryrun.yml +25 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T01-new-block/ticket/topology.clab.yml +23 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T02-transit-only/grader.yml +12 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T02-transit-only/ticket/TICKET.md +9 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T02-transit-only/ticket/configs/cust1.conf +23 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T02-transit-only/ticket/configs/edge1.conf +63 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T02-transit-only/ticket/configs/peer1.conf +16 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T02-transit-only/ticket/configs/up1.conf +17 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T02-transit-only/ticket/netdryrun.yml +25 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T02-transit-only/ticket/topology.clab.yml +23 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T03-review-open-filters/grader.yml +6 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T03-review-open-filters/ticket/PROPOSED.diff +21 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T03-review-open-filters/ticket/TICKET.md +9 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T03-review-open-filters/ticket/configs/cust1.conf +23 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T03-review-open-filters/ticket/configs/edge1.conf +60 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T03-review-open-filters/ticket/configs/peer1.conf +16 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T03-review-open-filters/ticket/configs/up1.conf +17 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T03-review-open-filters/ticket/netdryrun.yml +25 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T03-review-open-filters/ticket/topology.clab.yml +23 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T04-review-community/grader.yml +6 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T04-review-community/ticket/PROPOSED.diff +10 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T04-review-community/ticket/TICKET.md +9 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T04-review-community/ticket/configs/cust1.conf +23 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T04-review-community/ticket/configs/daemons +23 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T04-review-community/ticket/configs/edge1.conf +64 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T04-review-community/ticket/configs/peer1.conf +16 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T04-review-community/ticket/configs/up1.conf +17 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T04-review-community/ticket/configs/vtysh.conf +1 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T04-review-community/ticket/netdryrun.yml +24 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T04-review-community/ticket/topology.clab.yml +23 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T05-review-safe/grader.yml +6 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T05-review-safe/ticket/PROPOSED.diff +22 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T05-review-safe/ticket/TICKET.md +9 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T05-review-safe/ticket/configs/cust1.conf +23 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T05-review-safe/ticket/configs/daemons +23 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T05-review-safe/ticket/configs/edge1.conf +66 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T05-review-safe/ticket/configs/peer1.conf +16 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T05-review-safe/ticket/configs/up1.conf +17 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T05-review-safe/ticket/configs/vtysh.conf +1 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T05-review-safe/ticket/netdryrun.yml +22 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T05-review-safe/ticket/topology.clab.yml +23 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T06-peer-wants-transit/grader.yml +9 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T06-peer-wants-transit/ticket/TICKET.md +11 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T06-peer-wants-transit/ticket/configs/cust1.conf +23 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T06-peer-wants-transit/ticket/configs/daemons +23 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T06-peer-wants-transit/ticket/configs/edge1.conf +63 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T06-peer-wants-transit/ticket/configs/peer1.conf +16 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T06-peer-wants-transit/ticket/configs/up1.conf +17 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T06-peer-wants-transit/ticket/configs/vtysh.conf +1 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T06-peer-wants-transit/ticket/netdryrun.yml +22 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T06-peer-wants-transit/ticket/topology.clab.yml +23 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T07-aggregate/grader.yml +14 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T07-aggregate/ticket/TICKET.md +9 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T07-aggregate/ticket/configs/daemons +23 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T07-aggregate/ticket/configs/vtysh.conf +1 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T07-aggregate/ticket/netdryrun.yml +62 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T07-aggregate/ticket/topology.clab.yml +27 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T08-review-localpref/grader.yml +6 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T08-review-localpref/ticket/PROPOSED.diff +16 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T08-review-localpref/ticket/TICKET.md +9 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T08-review-localpref/ticket/configs/daemons +23 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T08-review-localpref/ticket/configs/r1.conf +29 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T08-review-localpref/ticket/configs/r2.conf +26 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T08-review-localpref/ticket/configs/r3.conf +26 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T08-review-localpref/ticket/configs/vtysh.conf +1 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T08-review-localpref/ticket/netdryrun.yml +60 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T08-review-localpref/ticket/topology.clab.yml +27 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T09-review-redistribute/grader.yml +7 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T09-review-redistribute/ticket/PROPOSED.diff +11 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T09-review-redistribute/ticket/TICKET.md +9 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T09-review-redistribute/ticket/configs/daemons +23 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T09-review-redistribute/ticket/configs/r1.conf +26 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T09-review-redistribute/ticket/configs/r2.conf +26 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T09-review-redistribute/ticket/configs/r3.conf +26 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T09-review-redistribute/ticket/configs/vtysh.conf +1 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T09-review-redistribute/ticket/netdryrun.yml +10 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T09-review-redistribute/ticket/topology.clab.yml +27 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T10-broken-lab/grader.yml +11 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T10-broken-lab/ticket/TICKET.md +9 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T10-broken-lab/ticket/configs/daemons +23 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T10-broken-lab/ticket/configs/r1.conf +26 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T10-broken-lab/ticket/configs/r2.conf +26 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T10-broken-lab/ticket/configs/r3.conf +26 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T10-broken-lab/ticket/configs/vtysh.conf +1 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T10-broken-lab/ticket/netdryrun.yml +62 -0
- netdryrun-0.3.2/examples/agent-eval/tickets/T10-broken-lab/ticket/topology.clab.yml +27 -0
- netdryrun-0.3.2/examples/arista-frr/configs/daemons +23 -0
- netdryrun-0.3.2/examples/arista-frr/configs/vtysh.conf +1 -0
- netdryrun-0.3.2/examples/batfish-pipeline/README.md +109 -0
- netdryrun-0.3.2/examples/batfish-pipeline/batfish_check.py +164 -0
- netdryrun-0.3.2/examples/batfish-pipeline/changes/no-policy.conf +21 -0
- netdryrun-0.3.2/examples/batfish-pipeline/changes/route-map-typo.conf +26 -0
- netdryrun-0.3.2/examples/batfish-pipeline/configs/daemons +23 -0
- netdryrun-0.3.2/examples/batfish-pipeline/configs/r1.conf +26 -0
- netdryrun-0.3.2/examples/batfish-pipeline/configs/r2.conf +26 -0
- netdryrun-0.3.2/examples/batfish-pipeline/configs/r3.conf +26 -0
- netdryrun-0.3.2/examples/batfish-pipeline/configs/vtysh.conf +1 -0
- netdryrun-0.3.2/examples/batfish-pipeline/frr_parse_probe.py +66 -0
- netdryrun-0.3.2/examples/batfish-pipeline/github-workflow.yml +38 -0
- netdryrun-0.3.2/examples/batfish-pipeline/netdryrun.yml +54 -0
- netdryrun-0.3.2/examples/batfish-pipeline/pipeline.sh +47 -0
- netdryrun-0.3.2/examples/batfish-pipeline/topology.clab.yml +21 -0
- netdryrun-0.3.2/examples/frr-bgp/configs/daemons +23 -0
- netdryrun-0.3.2/examples/frr-bgp/configs/r1.conf +26 -0
- netdryrun-0.3.2/examples/frr-bgp/configs/r2.conf +26 -0
- netdryrun-0.3.2/examples/frr-bgp/configs/r3.conf +26 -0
- netdryrun-0.3.2/examples/frr-bgp/configs/vtysh.conf +1 -0
- netdryrun-0.3.2/examples/frr-bgp-broken/r2-bad.conf +28 -0
- netdryrun-0.3.2/examples/sonic-frr/configs/daemons +23 -0
- netdryrun-0.3.2/examples/sonic-frr/configs/vtysh.conf +1 -0
- netdryrun-0.3.2/examples/srl-frr/configs/daemons +23 -0
- netdryrun-0.3.2/examples/srl-frr/configs/vtysh.conf +1 -0
- netdryrun-0.3.2/examples/srl-hidden-leak/README.md +277 -0
- netdryrun-0.3.2/examples/srl-hidden-leak/configs/daemons +23 -0
- netdryrun-0.3.2/examples/srl-hidden-leak/configs/frr1.conf +27 -0
- netdryrun-0.3.2/examples/srl-hidden-leak/configs/srl1.cli +23 -0
- netdryrun-0.3.2/examples/srl-hidden-leak/configs/vtysh.conf +1 -0
- netdryrun-0.3.2/examples/srl-hidden-leak/leaks/frr1.conf +28 -0
- netdryrun-0.3.2/examples/srl-hidden-leak/leaks/srl1.cli +25 -0
- netdryrun-0.3.2/examples/srl-hidden-leak/netdryrun.yml +44 -0
- netdryrun-0.3.2/examples/srl-hidden-leak/topology.clab.yml +24 -0
- netdryrun-0.3.2/glama.json +6 -0
- netdryrun-0.3.2/pyproject.toml +111 -0
- netdryrun-0.3.2/releases/0.3.1/GATE.md +268 -0
- netdryrun-0.3.2/releases/0.3.1/accepted.json +2822 -0
- netdryrun-0.3.2/releases/0.3.1/corpus-v1-results.json +1223 -0
- netdryrun-0.3.2/releases/0.3.1/corpus-v2-results.json +722 -0
- netdryrun-0.3.2/releases/0.3.1/gate/after-publish.json +161 -0
- netdryrun-0.3.2/releases/0.3.1/gate/live.json +502 -0
- netdryrun-0.3.2/releases/0.3.1/gate/mutation.json +64 -0
- netdryrun-0.3.2/releases/0.3.1/gate/static.json +153 -0
- netdryrun-0.3.2/releases/0.3.1/gate/unit.json +94 -0
- netdryrun-0.3.2/releases/0.3.1/mutants.md +11607 -0
- netdryrun-0.3.2/releases/0.3.1/review.md +32 -0
- netdryrun-0.3.2/releases/0.3.2/GATE.md +263 -0
- netdryrun-0.3.2/releases/0.3.2/accepted.json +3313 -0
- netdryrun-0.3.0/corpus/results/results.json → netdryrun-0.3.2/releases/0.3.2/corpus-v1-results.json +37 -32
- netdryrun-0.3.2/releases/0.3.2/corpus-v2-results.json +722 -0
- netdryrun-0.3.2/releases/0.3.2/gate/live.json +502 -0
- netdryrun-0.3.2/releases/0.3.2/gate/mutation.json +64 -0
- netdryrun-0.3.2/releases/0.3.2/gate/static.json +153 -0
- netdryrun-0.3.2/releases/0.3.2/gate/unit.json +94 -0
- netdryrun-0.3.2/releases/0.3.2/mutants.md +11861 -0
- netdryrun-0.3.2/releases/0.3.2/review.md +46 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/scripts/corpus_case12_verify.sh +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/scripts/dev.sh +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/scripts/e2e.sh +1 -1
- netdryrun-0.3.2/scripts/mcp_handshake.py +69 -0
- netdryrun-0.3.2/scripts/pack_verify.sh +8 -0
- netdryrun-0.3.2/scripts/release_gate.py +1399 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/scripts/sonic_config.sh +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/scripts/sonic_record_test.sh +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/scripts/sync_facts.py +87 -28
- {netdryrun-0.3.0 → netdryrun-0.3.2}/server.json +4 -4
- netdryrun-0.3.2/skills/netdryrun/SKILL.md +35 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/src/netdryrun/__init__.py +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/src/netdryrun/checks.py +49 -18
- {netdryrun-0.3.0 → netdryrun-0.3.2}/src/netdryrun/cli.py +121 -34
- netdryrun-0.3.2/src/netdryrun/config.py +576 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/src/netdryrun/drivers/__init__.py +10 -2
- {netdryrun-0.3.0 → netdryrun-0.3.2}/src/netdryrun/drivers/base.py +82 -0
- netdryrun-0.3.2/src/netdryrun/drivers/eos.py +213 -0
- netdryrun-0.3.2/src/netdryrun/drivers/frr.py +281 -0
- netdryrun-0.3.2/src/netdryrun/drivers/srlinux.py +290 -0
- netdryrun-0.3.2/src/netdryrun/faults.py +169 -0
- netdryrun-0.3.2/src/netdryrun/lab.py +276 -0
- netdryrun-0.3.2/src/netdryrun/mcp_server.py +486 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/src/netdryrun/record.py +2 -1
- netdryrun-0.3.2/src/netdryrun/report.py +191 -0
- netdryrun-0.3.2/src/netdryrun/runner.py +807 -0
- netdryrun-0.3.2/tests/fixtures/report-real-failed-bgpd-down.json +1371 -0
- netdryrun-0.3.2/tests/fixtures/report-real-failed-leak.json +557 -0
- netdryrun-0.3.2/tests/fixtures/report-real-passed.json +238 -0
- netdryrun-0.3.2/tests/redteam/README.md +45 -0
- netdryrun-0.3.2/tests/redteam/RT-0001-advisory-1-misspelled-top-key.yml +6 -0
- netdryrun-0.3.2/tests/redteam/RT-0002-advisory-2-quoted-boolean.yml +6 -0
- netdryrun-0.3.2/tests/redteam/RT-0003-advisory-3-unknown-afi.yml +6 -0
- netdryrun-0.3.2/tests/redteam/RT-0004-advisory-4-unknown-protocol.yml +6 -0
- netdryrun-0.3.2/tests/redteam/RT-0005-advisory-5-duplicate-key.yml +6 -0
- netdryrun-0.3.2/tests/redteam/RT-0006-advisory-6-min-zero.yml +6 -0
- netdryrun-0.3.2/tests/redteam/RT-0007-advisory-7-vrf-all.yml +6 -0
- netdryrun-0.3.2/tests/redteam/RT-0008-frr-vrf-typo-reads-as-no-routes.yml +12 -0
- netdryrun-0.3.2/tests/redteam/RT-0009-eos-ipv6-summary-error-reads-as-zero.yml +10 -0
- netdryrun-0.3.2/tests/redteam/RT-0010-srl-evpn-count-reads-zero.yml +14 -0
- netdryrun-0.3.2/tests/redteam/RT-0011-frr-leak-received-not-installed.yml +10 -0
- netdryrun-0.3.2/tests/redteam/RT-0012-frr-unknown-vrf-session-down.yml +10 -0
- netdryrun-0.3.2/tests/redteam/RT-0013-received-not-selected-state.yml +13 -0
- netdryrun-0.3.2/tests/redteam/RT-0014-runner-findings-pinned.yml +15 -0
- netdryrun-0.3.2/tests/redteam/RT-0015-action-green-on-contradicting-report.yml +8 -0
- netdryrun-0.3.2/tests/redteam/RT-0016-eos-leak-received-not-selected.yml +10 -0
- netdryrun-0.3.2/tests/redteam/RT-0017-srl-leak-received-not-selected.yml +10 -0
- netdryrun-0.3.2/tests/redteam/RT-0018-ipv6-scope-injects-cli-lines.yml +14 -0
- netdryrun-0.3.2/tests/redteam/RT-0019-agent-contract-findings-pinned.yml +11 -0
- netdryrun-0.3.2/tests/redteam/RT-0020-no-bgp-neighbors-at-the-cap.yml +9 -0
- netdryrun-0.3.2/tests/test_advisory_fixtures.py +21 -0
- netdryrun-0.3.2/tests/test_batfish_example.py +26 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/test_bgp_route.py +29 -1
- netdryrun-0.3.2/tests/test_config_properties.py +344 -0
- netdryrun-0.3.2/tests/test_config_strict.py +408 -0
- netdryrun-0.3.2/tests/test_docs_claims.py +252 -0
- netdryrun-0.3.2/tests/test_driver_false_pass.py +288 -0
- netdryrun-0.3.2/tests/test_driver_fuzz.py +397 -0
- netdryrun-0.3.2/tests/test_driver_matrix.py +316 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/test_drivers.py +46 -2
- netdryrun-0.3.2/tests/test_faults.py +179 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/test_inconclusive.py +38 -1
- netdryrun-0.3.2/tests/test_invariants.py +345 -0
- netdryrun-0.3.2/tests/test_load_bearing_keys.py +189 -0
- netdryrun-0.3.2/tests/test_mcp.py +270 -0
- netdryrun-0.3.2/tests/test_mcp_result_schema.py +239 -0
- netdryrun-0.3.2/tests/test_redteam.py +171 -0
- netdryrun-0.3.2/tests/test_release_gate_cleanup.py +46 -0
- netdryrun-0.3.2/tests/test_release_gate_commits.py +52 -0
- netdryrun-0.3.2/tests/test_release_gate_mutants.py +45 -0
- netdryrun-0.3.2/tests/test_release_gate_render.py +75 -0
- netdryrun-0.3.2/tests/test_report.py +70 -0
- netdryrun-0.3.2/tests/test_report_schema.py +99 -0
- netdryrun-0.3.2/tests/test_runner_robustness.py +608 -0
- netdryrun-0.3.2/tests/test_security.py +203 -0
- netdryrun-0.3.2/tests/test_surfaces_agree.py +221 -0
- netdryrun-0.3.2/tests/test_verdict_checks.py +1337 -0
- netdryrun-0.3.2/tests/test_verdict_config.py +275 -0
- netdryrun-0.3.2/tests/test_verdict_drivers.py +1159 -0
- netdryrun-0.3.2/tests/test_verdict_runner.py +1789 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/build_llms_full.py +5 -5
- netdryrun-0.3.2/website/docs/ai-agents.md +288 -0
- netdryrun-0.3.2/website/docs/assets/favicon-32.png +0 -0
- netdryrun-0.3.2/website/docs/assets/favicon.ico +0 -0
- netdryrun-0.3.2/website/docs/assets/favicon.svg +1 -0
- netdryrun-0.3.2/website/docs/assets/netdryrun-mark-180.png +0 -0
- netdryrun-0.3.2/website/docs/assets/netdryrun-mark-192.png +0 -0
- netdryrun-0.3.2/website/docs/assets/netdryrun-mark-512.png +0 -0
- netdryrun-0.3.2/website/docs/assets/netdryrun-mark.svg +1 -0
- {netdryrun-0.3.0/.github → netdryrun-0.3.2/website/docs}/assets/netdryrun-wordmark-white-tm.svg +2 -2
- netdryrun-0.3.2/website/docs/batfish.md +114 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/01-no-change.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/02-med-to-upstream.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/03-prepend-to-peer.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/04-tag-community-upstream.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/05-description-only.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/06-customer-adds-prefix.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/07-tighten-max-prefix.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/08-upstream-timers.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/09-customer-localpref.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/10-transit-export-filter-removed.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/11-peer-export-filter-removed.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/12-ibgp-send-community-dropped.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/13-upstream-asn-typo.md +3 -2
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/14-peer-session-shutdown.md +4 -2
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/15-customer-filter-too-strict.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/16-mass-withdrawal.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/17-default-leaked-to-peer.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/18-redistribute-connected.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/19-nexthop-self-removed.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/20-ibgp-shutdown.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/21-customer-max-prefix-removed.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/22-customer-leaks-third-party.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/23-fat-finger-third-party-origin.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/24-customer-blackholed.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/25-aggregate-typo.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/26-route-map-order-bug.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/27-local-asn-typo.md +4 -2
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/28-customer-import-policy-removed.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/29-graceful-restart.md +1 -1
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/corpus/30-peer-import-filter-removed.md +1 -1
- netdryrun-0.3.2/website/docs/corpus.md +161 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/design-partners.md +3 -3
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/examples.md +37 -9
- netdryrun-0.3.2/website/docs/faq.md +135 -0
- netdryrun-0.3.2/website/docs/favicon.ico +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/getting-started.md +14 -5
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/github-action.md +17 -11
- netdryrun-0.3.2/website/docs/guides/frr-ci.md +235 -0
- netdryrun-0.3.2/website/docs/guides/sonic-ci.md +196 -0
- netdryrun-0.3.2/website/docs/guides/your-lab.md +153 -0
- netdryrun-0.3.2/website/docs/how-its-built.md +104 -0
- netdryrun-0.3.2/website/docs/index.md +101 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/legal-notice.md +1 -1
- netdryrun-0.3.2/website/docs/llms-full.txt +4192 -0
- netdryrun-0.3.2/website/docs/llms.txt +48 -0
- netdryrun-0.3.2/website/docs/posts/ping-missed-the-leak.md +165 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/privacy.md +8 -4
- netdryrun-0.3.2/website/docs/recipes.md +277 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/reference/cli.md +44 -8
- netdryrun-0.3.2/website/docs/reference/config.md +366 -0
- netdryrun-0.3.2/website/docs/robots.txt +38 -0
- netdryrun-0.3.2/website/docs/schemas/mcp-result-v1.json +173 -0
- netdryrun-0.3.2/website/docs/schemas/report-v1.json +120 -0
- netdryrun-0.3.2/website/docs/spec/verdict-v1.md +158 -0
- netdryrun-0.3.2/website/docs/stylesheets/brand.css +50 -0
- netdryrun-0.3.2/website/docs/troubleshooting.md +398 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/trust.md +17 -4
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/tutorial.md +91 -56
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/when-to-use-what.md +20 -13
- netdryrun-0.3.2/website/hooks/structured_data.py +72 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/mkdocs.yml +14 -1
- netdryrun-0.3.2/website/overrides/main.html +95 -0
- netdryrun-0.3.0/AGENTS.md +0 -30
- netdryrun-0.3.0/CHANGELOG.md +0 -33
- netdryrun-0.3.0/PKG-INFO +0 -245
- netdryrun-0.3.0/README.md +0 -210
- netdryrun-0.3.0/pyproject.toml +0 -55
- netdryrun-0.3.0/scripts/pack_verify.sh +0 -4
- netdryrun-0.3.0/src/netdryrun/config.py +0 -312
- netdryrun-0.3.0/src/netdryrun/drivers/eos.py +0 -135
- netdryrun-0.3.0/src/netdryrun/drivers/frr.py +0 -161
- netdryrun-0.3.0/src/netdryrun/drivers/srlinux.py +0 -182
- netdryrun-0.3.0/src/netdryrun/lab.py +0 -152
- netdryrun-0.3.0/src/netdryrun/mcp_server.py +0 -126
- netdryrun-0.3.0/src/netdryrun/report.py +0 -121
- netdryrun-0.3.0/src/netdryrun/runner.py +0 -180
- netdryrun-0.3.0/tests/test_mcp.py +0 -38
- netdryrun-0.3.0/website/docs/ai-agents.md +0 -197
- netdryrun-0.3.0/website/docs/assets/favicon.ico +0 -0
- netdryrun-0.3.0/website/docs/assets/netdryrun-agent-demo.gif +0 -0
- netdryrun-0.3.0/website/docs/assets/netdryrun-demo.gif +0 -0
- netdryrun-0.3.0/website/docs/assets/netdryrun-mark-180.png +0 -0
- netdryrun-0.3.0/website/docs/assets/netdryrun-mark.svg +0 -1
- netdryrun-0.3.0/website/docs/corpus.md +0 -88
- netdryrun-0.3.0/website/docs/faq.md +0 -94
- netdryrun-0.3.0/website/docs/how-its-built.md +0 -70
- netdryrun-0.3.0/website/docs/index.md +0 -86
- netdryrun-0.3.0/website/docs/llms-full.txt +0 -2339
- netdryrun-0.3.0/website/docs/llms.txt +0 -31
- netdryrun-0.3.0/website/docs/reference/config.md +0 -289
- netdryrun-0.3.0/website/docs/robots.txt +0 -20
- netdryrun-0.3.0/website/docs/stylesheets/brand.css +0 -29
- netdryrun-0.3.0/website/docs/troubleshooting.md +0 -316
- netdryrun-0.3.0/website/overrides/main.html +0 -53
- {netdryrun-0.3.0 → netdryrun-0.3.2}/.devcontainer/setup.sh +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/.gitattributes +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/.github/ISSUE_TEMPLATE/bug.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/.github/ISSUE_TEMPLATE/corpus-case.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/.github/assets/netdryrun-agent-demo.gif +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/.github/assets/netdryrun-demo.gif +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/.github/assets/netdryrun-wordmark-navy.svg +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/.github/assets/netdryrun-wordmark-white.svg +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/.github/dependabot.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/.github/workflows/ci.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/.github/workflows/codeql.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/.github/workflows/pages.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/.github/workflows/reproduce-corpus.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/.github/workflows/scorecard.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/CONTRIBUTING.md +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/LICENSE +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/SECURITY.md +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/TRADEMARKS.md +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/AMENDMENTS.md +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/INTENT.md +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/base/configs/ce1.conf +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/base/configs/daemons +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/base/configs/pe1.conf +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/base/configs/pe2.conf +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/base/configs/peer1.conf +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/base/configs/up1.conf +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/base/configs/vtysh.conf +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/base/topology.clab.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/01-no-change.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/02-med-to-upstream.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/03-prepend-to-peer.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/04-tag-community-upstream.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/05-description-only.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/06-customer-adds-prefix.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/07-tighten-max-prefix.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/08-upstream-timers.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/09-customer-localpref.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/10-transit-export-filter-removed.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/11-peer-export-filter-removed.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/12-ibgp-send-community-dropped.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/13-upstream-asn-typo.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/14-peer-session-shutdown.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/15-customer-filter-too-strict.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/16-mass-withdrawal.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/17-default-leaked-to-peer.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/18-redistribute-connected.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/19-nexthop-self-removed.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/20-ibgp-shutdown.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/21-customer-max-prefix-removed.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/22-customer-leaks-third-party.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/23-fat-finger-third-party-origin.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/24-customer-blackholed.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/25-aggregate-typo.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/26-route-map-order-bug.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/27-local-asn-typo.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/28-customer-import-policy-removed.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/29-graceful-restart.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/cases/30-peer-import-filter-removed.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/specs/baseline-ping.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/specs/baseline-sessions.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/specs/intent.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/corpus/tools/gen_cases.py +0 -0
- {netdryrun-0.3.0/examples/agent-demo → netdryrun-0.3.2/corpus/v2/base}/configs/daemons +0 -0
- {netdryrun-0.3.0/examples/agent-demo → netdryrun-0.3.2/corpus/v2/base}/configs/vtysh.conf +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/docs/DESIGN.md +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/agent-demo/.gitignore +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/agent-demo/AGENT-RUN.md +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/agent-demo/README.md +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/agent-demo/TICKET.md +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/agent-demo/changes/attempt-1-open-filters.diff +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/agent-demo/changes/attempt-2-prefix-lists.diff +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/agent-demo/configs/cust1.conf +0 -0
- {netdryrun-0.3.0/examples/arista-frr → netdryrun-0.3.2/examples/agent-demo}/configs/daemons +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/agent-demo/configs/edge1.conf +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/agent-demo/configs/peer1.conf +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/agent-demo/configs/up1.conf +0 -0
- {netdryrun-0.3.0/examples/arista-frr → netdryrun-0.3.2/examples/agent-demo}/configs/vtysh.conf +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/agent-demo/demo.sh +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/agent-demo/netdryrun.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/agent-demo/topology.clab.yml +0 -0
- {netdryrun-0.3.0/examples/frr-bgp → netdryrun-0.3.2/examples/agent-eval/tickets/T01-new-block/ticket}/configs/daemons +0 -0
- {netdryrun-0.3.0/examples/frr-bgp → netdryrun-0.3.2/examples/agent-eval/tickets/T01-new-block/ticket}/configs/vtysh.conf +0 -0
- {netdryrun-0.3.0/examples/sonic-frr → netdryrun-0.3.2/examples/agent-eval/tickets/T02-transit-only/ticket}/configs/daemons +0 -0
- {netdryrun-0.3.0/examples/sonic-frr → netdryrun-0.3.2/examples/agent-eval/tickets/T02-transit-only/ticket}/configs/vtysh.conf +0 -0
- {netdryrun-0.3.0/examples/srl-frr → netdryrun-0.3.2/examples/agent-eval/tickets/T03-review-open-filters/ticket}/configs/daemons +0 -0
- {netdryrun-0.3.0/examples/srl-frr → netdryrun-0.3.2/examples/agent-eval/tickets/T03-review-open-filters/ticket}/configs/vtysh.conf +0 -0
- {netdryrun-0.3.0/examples/frr-bgp → netdryrun-0.3.2/examples/agent-eval/tickets/T07-aggregate/ticket}/configs/r1.conf +0 -0
- {netdryrun-0.3.0/examples/frr-bgp → netdryrun-0.3.2/examples/agent-eval/tickets/T07-aggregate/ticket}/configs/r2.conf +0 -0
- {netdryrun-0.3.0/examples/frr-bgp → netdryrun-0.3.2/examples/agent-eval/tickets/T07-aggregate/ticket}/configs/r3.conf +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/arista-frr/configs/ceos1.cfg +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/arista-frr/configs/frr1.conf +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/arista-frr/netdryrun.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/arista-frr/topology.clab.yml +0 -0
- /netdryrun-0.3.0/examples/frr-bgp-broken/r2-bad.conf → /netdryrun-0.3.2/examples/batfish-pipeline/changes/default-leak.conf +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/frr-bgp/netdryrun.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/frr-bgp/topology.clab.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/frr-bgp-broken/netdryrun.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/frr-bgp-broken/topology.clab.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/sonic-frr/configs/frr1.conf +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/sonic-frr/netdryrun.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/sonic-frr/topology.clab.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/srl-frr/configs/frr1.conf +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/srl-frr/configs/srl1.cli +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/srl-frr/netdryrun.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/examples/srl-frr/topology.clab.yml +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/scripts/eos_capture_fixtures.sh +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/scripts/eos_explore.sh +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/scripts/eos_leak_test.sh +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/scripts/get_sonic_vs.sh +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/scripts/sonic_explore.sh +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/scripts/srl_leak_test.sh +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/scripts/verify-pypi.sh +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/src/netdryrun/__main__.py +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/src/netdryrun/drivers/sonic.py +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/eos_bgp_paths.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/eos_bgp_paths_empty.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/eos_bgp_paths_local.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/eos_bgp_paths_noexport.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/eos_bgp_route.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/eos_bgp_summary.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/eos_leak_bgp.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/eos_leak_route.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/eos_ping.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/eos_route.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/frr_bgp_neighbors.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/frr_bgp_paths.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/frr_bgp_paths_local.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/frr_bgp_paths_noexport.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/frr_bgp_paths_v6.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/frr_bgp_table_header.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/frr_ping.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/frr_route.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/sonic_bgp_neighbors.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/sonic_bgp_paths.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/sonic_bgp_paths_empty.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/sonic_route.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/srl_attr_set_backup.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/srl_attr_set_best.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/srl_attr_set_noexport.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/srl_bgp_neighbors.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/srl_bgp_rib_paths.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/srl_bgp_rib_paths_noexport.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/srl_leak_rib.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/srl_leak_route.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/srl_neighbor_local_pref.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/srl_ping.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/srl_rib_empty.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/fixtures/srl_route.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/test_checks.py +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/test_cli.py +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/test_config.py +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/tests/test_record.py +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/.well-known/security.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/2a082c23a5eb0424e4b8be22182c5462.txt +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/CNAME +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/assets/netdryrun-social-1280x640.png +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/assets/netdryrun-wordmark-navy.svg +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/assets/netdryrun-wordmark-white.svg +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/contact.md +0 -0
- {netdryrun-0.3.0 → netdryrun-0.3.2}/website/docs/support.md +0 -0
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
// The tag is the containerlab version; keep it in step with action.yml.
|
|
7
7
|
"image": "ghcr.io/srl-labs/containerlab/devcontainer-dind-slim:0.81.1",
|
|
8
8
|
// 2 cores / 8 GB is the smallest Codespaces machine and runs the 4 FRR routers of the agent
|
|
9
|
-
// demo comfortably (the demo passes in about
|
|
9
|
+
// demo comfortably (the demo passes in about 65 s). It uses 2 of the free monthly core-hours per
|
|
10
10
|
// hour: GitHub Free's 120 core-hours are about 60 hours on this machine.
|
|
11
11
|
"hostRequirements": {
|
|
12
12
|
"cpus": 2,
|
|
@@ -14,12 +14,20 @@
|
|
|
14
14
|
"storage": "32gb"
|
|
15
15
|
},
|
|
16
16
|
"postCreateCommand": "bash .devcontainer/setup.sh",
|
|
17
|
+
// Every terminal says what to type first
|
|
18
|
+
"postAttachCommand": "bash .devcontainer/hint.sh",
|
|
17
19
|
"customizations": {
|
|
18
20
|
"codespaces": {
|
|
19
21
|
"openFiles": ["examples/agent-demo/README.md"]
|
|
20
22
|
},
|
|
21
23
|
"vscode": {
|
|
22
|
-
"extensions": ["redhat.vscode-yaml"]
|
|
24
|
+
"extensions": ["redhat.vscode-yaml"],
|
|
25
|
+
"settings": {
|
|
26
|
+
// The image's containerlab extension opens its own welcome page on top of our instructions
|
|
27
|
+
"containerlab.showWelcomePage": false,
|
|
28
|
+
// Open the demo README rendered, not as Markdown source
|
|
29
|
+
"workbench.editorAssociations": {"*.md": "vscode.markdown.preview.editor"}
|
|
30
|
+
}
|
|
23
31
|
}
|
|
24
32
|
}
|
|
25
33
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Prints the first command to run, in the terminal Codespaces opens and in every new one.
|
|
3
|
+
hint='echo; echo " Netdryrun is ready. Run the demo (about 65 s):"; echo; echo " bash examples/agent-demo/demo.sh"; echo'
|
|
4
|
+
grep -q "netdryrun-hint" ~/.bashrc 2>/dev/null || echo "$hint # netdryrun-hint" >> ~/.bashrc
|
|
5
|
+
eval "$hint"
|
|
@@ -24,6 +24,43 @@ body:
|
|
|
24
24
|
- It ran, but the result wasn't useful
|
|
25
25
|
- Other
|
|
26
26
|
validations: {required: true}
|
|
27
|
+
- type: dropdown
|
|
28
|
+
id: topology
|
|
29
|
+
attributes:
|
|
30
|
+
label: Whose topology was it?
|
|
31
|
+
options:
|
|
32
|
+
- My own (I wrote it, or it models a network I work on)
|
|
33
|
+
- One of the examples, adapted
|
|
34
|
+
- One of the examples, unchanged
|
|
35
|
+
validations: {required: true}
|
|
36
|
+
- type: dropdown
|
|
37
|
+
id: review
|
|
38
|
+
attributes:
|
|
39
|
+
label: Would you put this verdict in a change review?
|
|
40
|
+
description: For example, attach it to a pull request or a change ticket as evidence.
|
|
41
|
+
options:
|
|
42
|
+
- "Yes"
|
|
43
|
+
- Not yet (say what's missing below)
|
|
44
|
+
- "No"
|
|
45
|
+
- type: input
|
|
46
|
+
id: nos
|
|
47
|
+
attributes:
|
|
48
|
+
label: Which network OS would you need it on?
|
|
49
|
+
description: Optional. For example FRR, SR Linux, SONiC, EOS, Junos, IOS XR, NX-OS.
|
|
50
|
+
- type: input
|
|
51
|
+
id: source
|
|
52
|
+
attributes:
|
|
53
|
+
label: Where did you hear about Netdryrun?
|
|
54
|
+
description: Optional. A link or a few words.
|
|
55
|
+
- type: dropdown
|
|
56
|
+
id: again
|
|
57
|
+
attributes:
|
|
58
|
+
label: Will you keep using it?
|
|
59
|
+
options:
|
|
60
|
+
- Yes, I added it to CI (it runs on pull requests)
|
|
61
|
+
- Yes, I'll run it by hand before changes
|
|
62
|
+
- Maybe, if something changes (say what below)
|
|
63
|
+
- No
|
|
27
64
|
- type: textarea
|
|
28
65
|
id: friction
|
|
29
66
|
attributes:
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<svg
|
|
3
3
|
viewBox="250.0 600.0 993.66 200.125"
|
|
4
4
|
role="img"
|
|
5
|
-
aria-label="
|
|
5
|
+
aria-label="Netdryrun"
|
|
6
6
|
version="1.1"
|
|
7
7
|
id="svg9"
|
|
8
8
|
xmlns="http://www.w3.org/2000/svg"
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<defs
|
|
11
11
|
id="defs9" />
|
|
12
12
|
<title
|
|
13
|
-
id="title1">
|
|
13
|
+
id="title1">Netdryrun</title>
|
|
14
14
|
<g
|
|
15
15
|
fill="#041334"
|
|
16
16
|
id="g9"
|
{netdryrun-0.3.0/website/docs → netdryrun-0.3.2/.github}/assets/netdryrun-wordmark-white-tm.svg
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<svg
|
|
3
3
|
viewBox="250.0 600.0 993.66 200.125"
|
|
4
4
|
role="img"
|
|
5
|
-
aria-label="
|
|
5
|
+
aria-label="Netdryrun"
|
|
6
6
|
version="1.1"
|
|
7
7
|
id="svg9"
|
|
8
8
|
xmlns="http://www.w3.org/2000/svg"
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<defs
|
|
11
11
|
id="defs9" />
|
|
12
12
|
<title
|
|
13
|
-
id="title1">
|
|
13
|
+
id="title1">Netdryrun</title>
|
|
14
14
|
<g
|
|
15
15
|
fill="#ffffff"
|
|
16
16
|
id="g9"
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Publish server.json to the official MCP Registry (registry.modelcontextprotocol.io).
|
|
2
|
+
# Runs on release tags and whenever server.json changes on main. GitHub Actions OIDC proves we own
|
|
3
|
+
# io.github.netdryrun/*, so no personal login or stored token is needed.
|
|
4
|
+
name: MCP Registry
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
push:
|
|
8
|
+
tags: ["v*"]
|
|
9
|
+
branches: [main]
|
|
10
|
+
paths: [server.json]
|
|
11
|
+
workflow_dispatch:
|
|
12
|
+
|
|
13
|
+
permissions:
|
|
14
|
+
contents: read
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
publish:
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
permissions:
|
|
20
|
+
contents: read
|
|
21
|
+
id-token: write
|
|
22
|
+
env:
|
|
23
|
+
MCP_PUBLISHER_VERSION: v1.8.5
|
|
24
|
+
steps:
|
|
25
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
|
|
26
|
+
- name: Wait until the PyPI package in server.json exists
|
|
27
|
+
run: |
|
|
28
|
+
v="$(python3 -c "import json;print(json.load(open('server.json'))['version'])")"
|
|
29
|
+
for _ in $(seq 1 40); do
|
|
30
|
+
if curl -sf "https://pypi.org/pypi/netdryrun/$v/json" >/dev/null; then echo "netdryrun $v is on PyPI"; exit 0; fi
|
|
31
|
+
sleep 30
|
|
32
|
+
done
|
|
33
|
+
echo "::error::netdryrun $v never appeared on PyPI"; exit 1
|
|
34
|
+
# A release publishes on its tag; merging the release into main changes server.json again. Publishing a
|
|
35
|
+
# version the registry already lists fails, so that second run checks and stops.
|
|
36
|
+
- name: Skip if the registry already lists this version
|
|
37
|
+
id: listed
|
|
38
|
+
run: |
|
|
39
|
+
python3 - <<'EOF' >> "$GITHUB_OUTPUT"
|
|
40
|
+
import json, urllib.request
|
|
41
|
+
s = json.load(open("server.json"))
|
|
42
|
+
url = "https://registry.modelcontextprotocol.io/v0/servers?search=" + s["name"]
|
|
43
|
+
data = json.load(urllib.request.urlopen(url, timeout=30))
|
|
44
|
+
found = set()
|
|
45
|
+
def walk(x):
|
|
46
|
+
if isinstance(x, dict):
|
|
47
|
+
if x.get("name") == s["name"] and "version" in x:
|
|
48
|
+
found.add(x["version"])
|
|
49
|
+
for v in x.values():
|
|
50
|
+
walk(v)
|
|
51
|
+
elif isinstance(x, list):
|
|
52
|
+
for v in x:
|
|
53
|
+
walk(v)
|
|
54
|
+
walk(data)
|
|
55
|
+
print("listed=" + ("true" if s["version"] in found else "false"))
|
|
56
|
+
EOF
|
|
57
|
+
cat "$GITHUB_OUTPUT"
|
|
58
|
+
- name: Install mcp-publisher
|
|
59
|
+
if: steps.listed.outputs.listed != 'true'
|
|
60
|
+
run: curl -fsSL "https://github.com/modelcontextprotocol/registry/releases/download/${MCP_PUBLISHER_VERSION}/mcp-publisher_linux_amd64.tar.gz" | tar xz mcp-publisher
|
|
61
|
+
- name: Log in with GitHub Actions OIDC
|
|
62
|
+
if: steps.listed.outputs.listed != 'true'
|
|
63
|
+
run: ./mcp-publisher login github-oidc
|
|
64
|
+
- name: Publish
|
|
65
|
+
if: steps.listed.outputs.listed != 'true'
|
|
66
|
+
run: ./mcp-publisher publish
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
name: Published release
|
|
2
|
+
|
|
3
|
+
# Tests what an outside user gets: the released Action by its tag and the package from PyPI,
|
|
4
|
+
# never this checkout's code. ci.yml covers the code on main (`uses: ./`, `pip install -e .`).
|
|
5
|
+
on:
|
|
6
|
+
push:
|
|
7
|
+
branches: [main]
|
|
8
|
+
schedule:
|
|
9
|
+
- cron: "17 6 * * 1" # weekly: the release can break without a commit here (PyPI, runners, deps)
|
|
10
|
+
workflow_dispatch:
|
|
11
|
+
|
|
12
|
+
permissions:
|
|
13
|
+
contents: read
|
|
14
|
+
|
|
15
|
+
env:
|
|
16
|
+
# The release under test. Pinned by tag on purpose: this must be exactly what the docs tell
|
|
17
|
+
# users to write. Bump it together with the `uses:` refs below after each release; the
|
|
18
|
+
# `install` job fails when PyPI has a newer release than this.
|
|
19
|
+
RELEASE: "0.3.1"
|
|
20
|
+
|
|
21
|
+
jobs:
|
|
22
|
+
action-passes:
|
|
23
|
+
runs-on: ubuntu-latest
|
|
24
|
+
steps:
|
|
25
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
|
|
26
|
+
# Pinned by tag on purpose (not by SHA, not ./): this is the line from the docs.
|
|
27
|
+
- uses: netdryrun/netdryrun@v0.3.1
|
|
28
|
+
id: ndr
|
|
29
|
+
with:
|
|
30
|
+
path: examples/frr-bgp
|
|
31
|
+
artifact-name: published-frr-bgp
|
|
32
|
+
- name: Check the outputs
|
|
33
|
+
env:
|
|
34
|
+
STATUS: ${{ steps.ndr.outputs.status }}
|
|
35
|
+
PASSED: ${{ steps.ndr.outputs.passed }}
|
|
36
|
+
FAILED: ${{ steps.ndr.outputs.failed }}
|
|
37
|
+
run: |
|
|
38
|
+
echo "status=$STATUS passed=$PASSED failed=$FAILED"
|
|
39
|
+
test "$STATUS" = "passed"
|
|
40
|
+
test "$FAILED" = "0"
|
|
41
|
+
test "$PASSED" -ge 7
|
|
42
|
+
|
|
43
|
+
# The released Action must catch the leak in frr-bgp-broken: this run MUST fail.
|
|
44
|
+
action-catches-bad-change:
|
|
45
|
+
runs-on: ubuntu-latest
|
|
46
|
+
steps:
|
|
47
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
|
|
48
|
+
# Pinned by tag on purpose (not by SHA, not ./): this is the line from the docs.
|
|
49
|
+
- uses: netdryrun/netdryrun@v0.3.1
|
|
50
|
+
id: ndr
|
|
51
|
+
continue-on-error: true
|
|
52
|
+
with:
|
|
53
|
+
path: examples/frr-bgp-broken
|
|
54
|
+
artifact-name: published-frr-bgp-broken
|
|
55
|
+
- name: Expect failure on the default-route guard
|
|
56
|
+
env:
|
|
57
|
+
OUTCOME: ${{ steps.ndr.outcome }}
|
|
58
|
+
STATUS: ${{ steps.ndr.outputs.status }}
|
|
59
|
+
FAILED: ${{ steps.ndr.outputs.failed }}
|
|
60
|
+
run: |
|
|
61
|
+
echo "outcome=$OUTCOME status=$STATUS failed=$FAILED"
|
|
62
|
+
test "$OUTCOME" = "failure"
|
|
63
|
+
test "$STATUS" = "failed"
|
|
64
|
+
test "$FAILED" -ge 1
|
|
65
|
+
python - <<'EOF'
|
|
66
|
+
import json
|
|
67
|
+
rep = json.load(open("netdryrun-report.json"))
|
|
68
|
+
failed = [c for c in rep["checks"] if not c["passed"]]
|
|
69
|
+
for c in failed:
|
|
70
|
+
print("failed:", c["name"])
|
|
71
|
+
assert any(c["params"].get("prefix") == "0.0.0.0/0" for c in failed), "the leaked default route was not caught"
|
|
72
|
+
EOF
|
|
73
|
+
|
|
74
|
+
# Every documented install line, from PyPI, on every Python that pyproject.toml allows.
|
|
75
|
+
install:
|
|
76
|
+
runs-on: ubuntu-latest
|
|
77
|
+
strategy:
|
|
78
|
+
fail-fast: false
|
|
79
|
+
matrix:
|
|
80
|
+
python: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15"]
|
|
81
|
+
steps:
|
|
82
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
|
|
83
|
+
with:
|
|
84
|
+
sparse-checkout: |
|
|
85
|
+
examples/frr-bgp
|
|
86
|
+
scripts/mcp_handshake.py
|
|
87
|
+
sparse-checkout-cone-mode: false
|
|
88
|
+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
|
89
|
+
with:
|
|
90
|
+
python-version: ${{ matrix.python }}
|
|
91
|
+
- name: pip install netdryrun==${{ env.RELEASE }}
|
|
92
|
+
run: |
|
|
93
|
+
python -m venv "$RUNNER_TEMP/pinned"
|
|
94
|
+
"$RUNNER_TEMP/pinned/bin/python" -m pip install --no-cache-dir "netdryrun==$RELEASE"
|
|
95
|
+
test "$("$RUNNER_TEMP/pinned/bin/netdryrun" --version)" = "netdryrun $RELEASE"
|
|
96
|
+
"$RUNNER_TEMP/pinned/bin/netdryrun" validate examples/frr-bgp
|
|
97
|
+
python scripts/mcp_handshake.py "$RUNNER_TEMP/pinned/bin/netdryrun" mcp
|
|
98
|
+
- name: pip install netdryrun (the line in the docs)
|
|
99
|
+
run: |
|
|
100
|
+
python -m venv "$RUNNER_TEMP/latest"
|
|
101
|
+
"$RUNNER_TEMP/latest/bin/python" -m pip install --no-cache-dir netdryrun
|
|
102
|
+
got="$("$RUNNER_TEMP/latest/bin/netdryrun" --version)"
|
|
103
|
+
test "$got" = "netdryrun $RELEASE" || { echo "::error::PyPI serves '$got', this workflow tests $RELEASE: bump RELEASE and the uses: refs"; exit 1; }
|
|
104
|
+
- name: pipx install netdryrun, uv tool install netdryrun (the lines in the docs)
|
|
105
|
+
env:
|
|
106
|
+
PIPX_HOME: ${{ runner.temp }}/pipx
|
|
107
|
+
PIPX_BIN_DIR: ${{ runner.temp }}/pipx-bin
|
|
108
|
+
UV_TOOL_DIR: ${{ runner.temp }}/uv-tools
|
|
109
|
+
UV_TOOL_BIN_DIR: ${{ runner.temp }}/uv-bin
|
|
110
|
+
UV_PYTHON: ${{ matrix.python }}
|
|
111
|
+
run: |
|
|
112
|
+
python -m pip install --quiet pipx uv
|
|
113
|
+
python -m pipx install --python "$(command -v python)" "netdryrun==$RELEASE"
|
|
114
|
+
test "$("$PIPX_BIN_DIR/netdryrun" --version)" = "netdryrun $RELEASE"
|
|
115
|
+
uv tool install "netdryrun==$RELEASE"
|
|
116
|
+
test "$("$UV_TOOL_BIN_DIR/netdryrun" --version)" = "netdryrun $RELEASE"
|
|
117
|
+
python scripts/mcp_handshake.py "$PIPX_BIN_DIR/netdryrun" mcp
|
|
118
|
+
- name: pip install "netdryrun[mcp]" (kept for old instructions)
|
|
119
|
+
run: |
|
|
120
|
+
python -m venv "$RUNNER_TEMP/extra"
|
|
121
|
+
"$RUNNER_TEMP/extra/bin/python" -m pip install --no-cache-dir "netdryrun[mcp]==$RELEASE"
|
|
122
|
+
python scripts/mcp_handshake.py "$RUNNER_TEMP/extra/bin/netdryrun-mcp"
|
|
123
|
+
- name: uvx netdryrun --version, uvx netdryrun mcp
|
|
124
|
+
env:
|
|
125
|
+
UV_PYTHON: ${{ matrix.python }}
|
|
126
|
+
run: |
|
|
127
|
+
python -m pip install --quiet uv
|
|
128
|
+
test "$(uvx --refresh "netdryrun@$RELEASE" --version)" = "netdryrun $RELEASE"
|
|
129
|
+
uvx netdryrun --version
|
|
130
|
+
python scripts/mcp_handshake.py uvx netdryrun mcp
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
name: Release gate
|
|
2
|
+
|
|
3
|
+
# The automatic layers of the release gate (RELEASING.md, scripts/release_gate.py) on every pull
|
|
4
|
+
# request: static checks, and the unit tests on every supported Python plus a plain container.
|
|
5
|
+
# Mutation testing takes longer, so it runs only when started by hand (workflow_dispatch).
|
|
6
|
+
# The live layer needs the lab machine and never runs here.
|
|
7
|
+
on:
|
|
8
|
+
pull_request:
|
|
9
|
+
workflow_dispatch:
|
|
10
|
+
inputs:
|
|
11
|
+
mutation:
|
|
12
|
+
description: "Also run mutation testing (mutmut on the verdict modules)"
|
|
13
|
+
type: boolean
|
|
14
|
+
default: true
|
|
15
|
+
modules:
|
|
16
|
+
description: "Modules to mutate (comma-separated: checks, config, runner, drivers)"
|
|
17
|
+
type: string
|
|
18
|
+
default: "checks,config,runner,drivers"
|
|
19
|
+
|
|
20
|
+
permissions:
|
|
21
|
+
contents: read
|
|
22
|
+
|
|
23
|
+
concurrency:
|
|
24
|
+
group: release-gate-${{ github.ref }}
|
|
25
|
+
cancel-in-progress: true
|
|
26
|
+
|
|
27
|
+
env:
|
|
28
|
+
ACTIONLINT_VERSION: "1.7.7"
|
|
29
|
+
ACTIONLINT_SHA256: "023070a287cd8cccd71515fedc843f1985bf96c436b7effaecce67290e7e0757"
|
|
30
|
+
|
|
31
|
+
jobs:
|
|
32
|
+
static:
|
|
33
|
+
runs-on: ubuntu-latest
|
|
34
|
+
timeout-minutes: 15
|
|
35
|
+
steps:
|
|
36
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
|
|
37
|
+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
|
38
|
+
with:
|
|
39
|
+
python-version: "3.12"
|
|
40
|
+
- run: python -m pip install --quiet -e ".[dev]"
|
|
41
|
+
- name: Install actionlint (checksum verified; shellcheck ships with the runner)
|
|
42
|
+
run: |
|
|
43
|
+
curl -fsSL -o "$RUNNER_TEMP/actionlint.tgz" \
|
|
44
|
+
"https://github.com/rhysd/actionlint/releases/download/v${ACTIONLINT_VERSION}/actionlint_${ACTIONLINT_VERSION}_linux_amd64.tar.gz"
|
|
45
|
+
echo "${ACTIONLINT_SHA256} $RUNNER_TEMP/actionlint.tgz" | sha256sum -c -
|
|
46
|
+
tar -xzf "$RUNNER_TEMP/actionlint.tgz" -C "$RUNNER_TEMP" actionlint
|
|
47
|
+
echo "$RUNNER_TEMP" >> "$GITHUB_PATH"
|
|
48
|
+
- name: Static layer
|
|
49
|
+
run: python scripts/release_gate.py static --strict --out "$RUNNER_TEMP/gate"
|
|
50
|
+
- if: always()
|
|
51
|
+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
|
52
|
+
with:
|
|
53
|
+
name: release-gate-static
|
|
54
|
+
path: ${{ runner.temp }}/gate/
|
|
55
|
+
if-no-files-found: ignore
|
|
56
|
+
|
|
57
|
+
unit:
|
|
58
|
+
runs-on: ubuntu-latest
|
|
59
|
+
timeout-minutes: 30
|
|
60
|
+
steps:
|
|
61
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
|
|
62
|
+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
|
63
|
+
with:
|
|
64
|
+
python-version: "3.12"
|
|
65
|
+
# uv creates a fresh venv on each of Python 3.10 to 3.14 (downloading interpreters as needed);
|
|
66
|
+
# the gate also runs the suite in a plain python:3.12-slim container.
|
|
67
|
+
- run: python -m pip install --quiet "uv==0.13.5"
|
|
68
|
+
- name: Unit layer
|
|
69
|
+
run: python scripts/release_gate.py unit --strict --out "$RUNNER_TEMP/gate"
|
|
70
|
+
- if: always()
|
|
71
|
+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
|
72
|
+
with:
|
|
73
|
+
name: release-gate-unit
|
|
74
|
+
path: ${{ runner.temp }}/gate/
|
|
75
|
+
if-no-files-found: ignore
|
|
76
|
+
|
|
77
|
+
mutation:
|
|
78
|
+
if: github.event_name == 'workflow_dispatch' && inputs.mutation
|
|
79
|
+
runs-on: ubuntu-latest
|
|
80
|
+
timeout-minutes: 300
|
|
81
|
+
steps:
|
|
82
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
|
|
83
|
+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
|
84
|
+
with:
|
|
85
|
+
python-version: "3.12"
|
|
86
|
+
- run: python -m pip install --quiet -e ".[dev]"
|
|
87
|
+
- name: Mutation layer
|
|
88
|
+
env:
|
|
89
|
+
MODULES: ${{ inputs.modules }}
|
|
90
|
+
run: python scripts/release_gate.py mutation --strict --modules "$MODULES" --out "$RUNNER_TEMP/gate"
|
|
91
|
+
- if: always()
|
|
92
|
+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
|
93
|
+
with:
|
|
94
|
+
name: release-gate-mutation
|
|
95
|
+
path: ${{ runner.temp }}/gate/
|
|
96
|
+
if-no-files-found: ignore
|
|
@@ -48,13 +48,24 @@ jobs:
|
|
|
48
48
|
runs-on: ubuntu-latest
|
|
49
49
|
permissions:
|
|
50
50
|
contents: write
|
|
51
|
+
id-token: write # signs the build provenance (Sigstore)
|
|
52
|
+
attestations: write # stores it in the repository's attestations
|
|
51
53
|
steps:
|
|
52
54
|
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
|
53
55
|
with:
|
|
54
56
|
name: dist
|
|
55
57
|
path: dist/
|
|
58
|
+
# Signed SLSA build provenance for the wheel and sdist: verify with `gh attestation verify <file> -R netdryrun/netdryrun`.
|
|
59
|
+
# The bundle is also attached to the release, which is what OpenSSF Scorecard's Signed-Releases check looks for.
|
|
60
|
+
- id: attest
|
|
61
|
+
uses: actions/attest-build-provenance@0f67c3f4856b2e3261c31976d6725780e5e4c373 # v4.1.1
|
|
62
|
+
with:
|
|
63
|
+
subject-path: dist/*
|
|
56
64
|
- env:
|
|
57
65
|
GH_TOKEN: ${{ github.token }}
|
|
58
66
|
TAG: ${{ github.ref_name }}
|
|
59
67
|
REPO: ${{ github.repository }}
|
|
60
|
-
|
|
68
|
+
BUNDLE: ${{ steps.attest.outputs.bundle-path }}
|
|
69
|
+
run: |
|
|
70
|
+
cp "$BUNDLE" "netdryrun-$TAG.sigstore.json"
|
|
71
|
+
gh release create "$TAG" dist/* "netdryrun-$TAG.sigstore.json" --repo "$REPO" --title "Netdryrun $TAG" --generate-notes
|
|
@@ -5,7 +5,13 @@ build/
|
|
|
5
5
|
dist/
|
|
6
6
|
netdryrun-report.json
|
|
7
7
|
netdryrun-junit.xml
|
|
8
|
+
batfish-pipeline-reports/
|
|
8
9
|
.pytest_cache/
|
|
9
10
|
|
|
10
11
|
# MkDocs Material privacy plugin download cache
|
|
11
12
|
website/.cache/
|
|
13
|
+
|
|
14
|
+
# Release gate: mutmut working copy, local gate scratch
|
|
15
|
+
mutants/
|
|
16
|
+
.coverage
|
|
17
|
+
coverage.json
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Netdryrun for AI agents
|
|
2
|
+
|
|
3
|
+
If you are an AI agent (or building one) that proposes or applies network configuration changes, use Netdryrun to **verify the outcome before the change goes anywhere real**. It boots the topology in containerlab, applies the configs, waits for convergence, and checks behavior. The verdict is an external observation, not your own reasoning about the config.
|
|
4
|
+
|
|
5
|
+
## When to run it
|
|
6
|
+
- **Before proposing** a routing or policy change: run `netdryrun record <topology> --deploy` once to snapshot today's behavior as checks (or use the existing `netdryrun.yml`).
|
|
7
|
+
- **When the change must not change behavior** (a refactor, a cleanup): a `passed` on the given checks is not enough, because it covers only what they check. Record the baseline before applying the change (on a review ticket, revert it in a scratch copy first) with `record_baseline` (MCP) or `netdryrun record`, then run those checks against the change too. `record_baseline` returns the checks as YAML and writes nothing.
|
|
8
|
+
- **On Windows with the server in WSL**, pass the lab folder's Windows path (`C:\...`) or its WSL path (`/mnt/c/...`); the MCP tools accept both (Netdryrun 0.3.1 and later; with 0.3.0, pass `/mnt/c/...`). Use the Windows path with your own file tools.
|
|
9
|
+
- **After editing configs** in the lab folder: run `netdryrun run <folder> --json report.json`.
|
|
10
|
+
- **Before asking a human to approve:** include the verdict and the failed checks with their evidence in your summary.
|
|
11
|
+
|
|
12
|
+
## How to read the result
|
|
13
|
+
| Signal | Meaning | What you should do |
|
|
14
|
+
|---|---|---|
|
|
15
|
+
| exit code `0`, `status: passed` | Every check passed after convergence | Present the change with the evidence. This proves only the checks that exist, in this lab |
|
|
16
|
+
| exit code `1`, `status: failed` | At least one check failed | Read `checks[].detail` and `checks[].evidence` for the failed ones, fix the config, rerun. First rule out a broken lab: the inconclusive rule is conservative, so a lab where a daemon never started can still come back `failed`. If failed checks have `unready: true` (MCP, Netdryrun 0.3.1 and later) or details like `error: ... bgpd is not running` on nodes your change doesn't explain, report the lab problem instead of rewriting the change, and don't apply it |
|
|
17
|
+
| exit code `2`, `status: error` | No verdict: config or lab problem (bad YAML, unknown key, unknown node, lab didn't start, a lab with the same name already running), a scenario fault that did not take effect, or an internal error | Fix the setup (the one-line `error` says what); this says nothing about your change |
|
|
18
|
+
| exit code `3`, `status: inconclusive` | Checks failed, but the lab never reached a testable state: nothing passed anywhere, and the failing nodes never returned usable BGP state (CLI not answering, or no BGP neighbors at all). `inconclusive_reason` says what was seen | Stop. Rerun at most once, perhaps with a longer `timeout`. Don't rewrite your change because of it, and don't apply it either: this says nothing about your change |
|
|
19
|
+
| exit code `130`, `143` or `129` | Interrupted (SIGINT, SIGTERM, SIGHUP); the lab was destroyed | No verdict: rerun |
|
|
20
|
+
|
|
21
|
+
JSON report: `schema: netdryrun.report/v1`, with `status`, `inconclusive_reason` and `checks[]` of `{name, type, params, passed, detail, attempts, duration_s, history, evidence}`. Treat any status other than `passed` as "not safe to apply". JSON Schema: https://netdryrun.com/schemas/report-v1.json
|
|
22
|
+
|
|
23
|
+
A configured session that is down always counts as `failed`, never `inconclusive`: an ASN typo looks exactly like a slow lab. Negative checks wait until every configured BGP session on their node is up; if one never comes up, they fail as `not evaluated` and name the session. Exact rules: https://netdryrun.com/reference/cli/#when-a-run-is-inconclusive
|
|
24
|
+
|
|
25
|
+
## Rules
|
|
26
|
+
- **Never treat a pass as proof of production safety.** It covers the checks that exist, on the network OSes in the lab (<!-- facts:agents_platforms -->FRR, SR Linux, SONiC and Arista EOS<!-- /facts:agents_platforms -->), in steady state and in the defined failure scenarios.
|
|
27
|
+
- **Don't write or weaken checks to make a change pass.** If a check is wrong, say so explicitly to the human. If no checks exist, record a baseline (`record_baseline` or `netdryrun record`) instead of inventing them.
|
|
28
|
+
- Netdryrun never touches production devices. Only run topologies you were given or created in the lab folder.
|
|
29
|
+
|
|
30
|
+
## MCP
|
|
31
|
+
`netdryrun mcp` starts an MCP server (stdio) with the tools <!-- facts:mcp_tools -->`dry_run`, `run_checks`, `record_baseline`, `validate` and `check_types`<!-- /facts:mcp_tools -->. Each result has a separate `verdict` field: `CHECKS PASSED (only what the checks cover)`, `DO NOT APPLY THIS CHANGE`, or `INCONCLUSIVE: the lab did not reach a testable state; this says nothing about your change. Do not apply it until a run passes.` `CHECKS PASSED (only what the checks cover)` means only that every check in the file passed in the lab; it says nothing about behavior no check covers. The three verdict strings are frozen from 0.3.2 (0.3.1 said `SAFE TO PROCEED` for a pass); decide on `status`, not the text. From 0.3.2, a failed result lists each failed check under `failures` with its `reason`, an `evidence` excerpt and one read-only `next_diagnostic` command for its node (run it on a lab kept with `keep_lab: true`). From 0.3.2, `tested` lists a sha256 of `netdryrun.yml`, the topology and every config file the run used, read before it started: the verdict applies to those exact files, so run again after any edit. Result schema: https://netdryrun.com/schemas/mcp-result-v1.json. The rules as an installable agent skill: `skills/netdryrun/SKILL.md`. Add it with `claude mcp add netdryrun -- netdryrun mcp`, or run it with `uvx netdryrun mcp`.
|
|
32
|
+
|
|
33
|
+
Docs: https://netdryrun.com/ai-agents/ · Full docs in one file: https://netdryrun.com/llms-full.txt
|