mirror of
https://github.com/dtzp555-max/aci-sim.git
synced 2026-07-19 09:46:33 +00:00
aci-sim is a stateful REST simulator of a 2-site Cisco ACI fabric (per-site APIC + ND/NDO management planes) — for testing ACI automation (Ansible cisco.aci / cisco.mso, aci-py, custom REST clients) and CI gates without real hardware. Highlights: APIC + NDO REST surface served from one in-memory MIT built from a declarative topology.yaml; port mode + sandbox (real per-device IPs on :443) run modes; LLDP/CDP neighbor visibility; NDO->APIC deploy mirror (multi-site templates materialize onto the target sites' APIC stores); real-APIC fvBD default attributes; file-backed state save/restore; an `aci-sim` CLI (validate/show/graph/run/new/init/lldp); and an 888-test suite. History squashed for the public release. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
11 lines
352 B
Bash
Executable File
11 lines
352 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Equivalent to `aci-sim run` (see README.md §5 CLI) after `pip install -e .`;
|
|
# this script remains the dependency-free entrypoint and keeps working
|
|
# unchanged.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
if [ ! -f certs/sim.crt ] || [ ! -f certs/sim.key ]; then
|
|
bash scripts/gen_certs.sh
|
|
fi
|
|
python -m aci_sim.runtime.supervisor
|