Skip to content

Examples

cisco-dynamips

Two classic Cisco 7200 routers emulated by Dynamips, each the gateway of its site, OSPF between them. Isoloom builds the emulator's container (Debian's dynamips); the IOS image is yours: replace images/c7200.bin (an empty placeholder here) with a 7200 IOS image you're licensed for. No KVM needed; Dynamips is slow but light.

The example's folder, with the files its spec names: examples/cisco-dynamips.

version: 1
name: cisco-dynamips

networks:
  site-a: { cidr: 10.93.1.0/24, gateway: r1 }
  site-b: { cidr: 10.93.2.0/24, gateway: r2 }
  wan:    { cidr: 10.93.0.0/29, internet: false }

machines:
  r1:
    networks: { site-a: 1, wan: 2 }      # FastEthernet0/0, 1/0
    app:
      appliance: cisco-dynamips
      firmware: images/c7200.bin
      config: configs/r1.cfg

  r2:
    networks: { site-b: 1, wan: 3 }
    app:
      appliance: cisco-dynamips
      firmware: images/c7200.bin
      config: configs/r2.cfg

  host-a:
    os: alpine                           # its OS alone: Alpine's own image, kept running
    networks: { site-a: 10 }

  host-b:
    networks: { site-b: 10 }
    ports: { web: { port: 80, protocol: http } }
    app: { image: "nginx:1.27-alpine" }

checks:
  - name: site A reaches site B through both routers
    from: host-a
    http: http://host-b/
    expect: 200
    wait: 10m

Targets

docker, hosted, docker-vm, cloud-docker. See targets for what each means.

Checks

The spec's own:

  • site A reaches site B through both routers (http)

Plus the checks Isoloom derives from the machines' ports and the reach rules. See checks.