mirror of
https://github.com/dtzp555-max/aci-sim.git
synced 2026-07-21 21:15:12 +00:00
Initial public release — aci-sim v0.16.0
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>
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
[Unit]
|
||||
Description=aci-sim — ACI/NDO REST fabric simulator
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
# Adjust to the actual clone path (e.g. /home/YOURUSER/aci-sim). This unit
|
||||
# assumes a venv already created at <repo>/.venv (see README.md §2 Quick start).
|
||||
WorkingDirectory=%h/aci-sim
|
||||
ExecStart=%h/aci-sim/.venv/bin/python -m aci_sim.runtime.supervisor
|
||||
Restart=on-failure
|
||||
RestartSec=2
|
||||
|
||||
# Uncomment to expose the sim on the LAN instead of the loopback-only default
|
||||
# (#23 — SIM_BIND defaults to 127.0.0.1). Only do this on a trusted network:
|
||||
# the /_sim control plane is always unauthenticated, and the APIC/NDO planes
|
||||
# use lab-grade credentials, never real ones.
|
||||
#Environment=SIM_BIND=0.0.0.0
|
||||
|
||||
# Other overridable knobs (see aci_sim/runtime/config.py); uncomment
|
||||
# and adjust as needed:
|
||||
#Environment=APIC_A_PORT=8443
|
||||
#Environment=APIC_B_PORT=8444
|
||||
#Environment=NDO_PORT=8445
|
||||
#Environment=TOPOLOGY_PATH=%h/aci-sim/topology.yaml
|
||||
#Environment=SIM_USERNAME=admin
|
||||
#Environment=SIM_PASSWORD=cisco
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user