Skip to content

Examples

cisco-iol

Two sites, each behind a Cisco IOL router, joined by a WAN; the routers learn each other's LAN with OSPF (their own configuration, added to the one Isoloom generates). IOL comes from Cisco Modeling Labs and isn't Isoloom's to ship: build the image with vrnetlab (cisco/iol) from a release you're licensed for, then set its tag below.

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

version: 1
name: cisco-iol

networks:
  site-a: { cidr: 10.91.1.0/24, gateway: r1 }
  site-b: { cidr: 10.91.2.0/24, gateway: r2 }
  wan:    { cidr: 10.91.0.0/29, internet: false }

machines:
  r1:
    networks: { site-a: 1, wan: 2 }
    app:
      image: "vrnetlab/cisco_iol:17.12.01"
      appliance: cisco-iol
      config: configs/r1.cfg

  r2:
    networks: { site-b: 1, wan: 3 }
    app:
      image: "vrnetlab/cisco_iol:17.12.01"
      appliance: cisco-iol
      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: 180

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.