HERD
User manual
User track · Step 3

Building a topology

The topology editor is a canvas where you draw how your lab is wired: drag devices on, connect them, and HERD checks every link against the real physical cabling. It's the signature feature — and it's less scary than it looks.

What a topology is, in one breath

A saved diagram of which devices are connected to which, at which network layer. You build it once, then hand it to a reservation. Green links mean "this path physically exists." Red links mean "it doesn't — fix it before you reserve."

Getting there

Opening the editor

Click Topology in the nav, then either pick a saved topology or hit New Topology, give the new one a name in the dialog that opens, and click Create. Either way you land on a dotted canvas with a floating palette in the corner and a toolbar across the top.

The Topology tab lands you on the Topologies list first, with the total beside the heading, the Export JSON, Export CSV, Import, and New Topology buttons at the right, a left filter panel, and the table beside it. On a narrow window the panel stacks above the table. Click a row to open that topology in the editor.

herd.lab/topology
Topologies (3)Export JSONExport CSVImportNew Topology
Search by name...
Mine
Clear filters
1 selected Delete selected Clear selection
NameOwnerCreated Updated
Spine-leafsara.k5/12/20265/29/2026CloneDelete
HA failover pair
Not deleted: In use by 1 reservation. Cancel it or wait for it to end, then delete again.
sara.k4/30/20265/27/2026CloneDelete
VPC peeringsara.k3/14/20265/2/2026CloneDelete

The Topologies list. The Owner filter is set to Mine, so sara.k sees only her own three topologies, most recently updated first. A bulk delete of two rows just ran: one was deleted and left the selection, and the row a reservation still uses stays ticked with the server's reason under its name.

  1. New Topology. Opens a dialog titled New Topology with a Name field (placeholder "My Lab Topology") and Create; the editor opens on a blank canvas once you create it. The three buttons to its left export every topology, not only the rows the search and Owner filter show, as JSON or CSV, and import a file; see bulk import and export.
  2. The filter panel. Search topologies (placeholder "Search by name...") matches anywhere in the name, ignoring case. Owner is All or Mine. Clear filters appears only while a filter or search text is active. The search, the Owner choice, and the sort are saved per user and restored on your next visit; a saved value that is no longer valid falls back to the default. An empty result reads "No topologies match these filters." when a filter is on, else "No topologies yet. Create one to get started."
  3. Sortable headings. Name, Owner, Created, and Updated sort. The first click sorts ascending, the second descending, and the third returns to the default order, most recently updated first. Changing the sort returns you to page one. The last column holds Clone and, on a topology you may delete, Delete; the row's own Delete asks first, in a dialog titled "Delete topology?" ("This will permanently delete this topology and its canvas data."). The header checkbox selects every row on the page (accessible name "Select all topologies on this page").
  4. The selection bar. Tick rows and a bar above the table shows "N selected", Delete selected, and Clear selection. You can delete a topology you created; an admin or superadmin can delete any. The confirmation is titled Delete Topologies and counts what will run and what is skipped: "Delete 2 of the 3 selected topologies? This permanently deletes them and their canvas data and cannot be undone. 1 will be skipped: not yours." The confirm button reads "Delete 2 topologies" and the dismiss button "Keep topologies". When no ticked row qualifies, Delete selected is disabled and a note says "None of the selected topologies can be deleted: 2 not yours." A success toast says "Deleted 3 topologies"; with failures an error toast says "Deleted 2, failed 1", followed by the reason when every failure shares one. The selection is dropped when the page, the search, the Owner filter, or the sort changes.
  5. A row the server refused. It stays ticked, with "Not deleted: reason" under its name. A topology that a PENDING, PENDING_PROVISION, or ACTIVE reservation references cannot be deleted; the server answers 409 topology_in_use, and the toast or the row note reads "In use by 2 reservations. Cancel them or wait for them to end, then delete again." COMPLETED, CANCELLED, and FAILED reservations do not block a delete.

Once you are in the editor, the layout is the same whether you opened a saved topology or started a new one:

herd.lab/topology
Edge layer: L1L2L3 Use AI Reserve Topology (2) Clear canvas
Equipment −
Search…
dut-server-14
Dell R760
traffic-gen-03
Ixia XGS12
fw-edge-01
PHYSICAL
Palo PA-460
fw-edge-02
PHYSICAL
Palo PA-460
l1-patch-mux
PHYSICAL
MRV L1 Switch
leaf-sw-09
PHYSICAL
Arista 7050X
dut-server-14
PHYSICAL
Dell R760
L2eth1/1 - ge-0 L2eth1/1 - ge-1 L12 hops L31 hop

The topology editor. A working canvas with five devices, L1/L2/L3 links, and live hop counts.

  1. The equipment palette. Your draggable devices. Covered next.
  2. A device node. One piece of equipment on the canvas. A yellow ring means it's selected. A saved node that carries no device at all draws as a dashed grey box reading Unknown device and No device on this node. A new connection to it is refused with the toast "This node has no device: remove it or replace it with a device from the browser".
  3. Edge-layer switch (L1 / L2 / L3). Sets which layer new connections are drawn at, and which layer's edges are highlighted.
  4. Use AI. Describe a lab and let the AI propose the wiring. Only appears if your admin enabled it — see the AI guide.
  5. Reserve Topology. Turns this diagram into a reservation. Disabled while any edge is red.

Your parts bin

The equipment palette

The floating panel in the corner lists every DUT (Management-type device) you can see. Drag it by its title bar; collapse it with the −.

Palette completely empty?

You have no device visibility yet. That's the same permissions gap from first boot — ask an admin to add your user group to a device group, then reload.

Putting gear down

Adding devices

Drag a device card from the palette onto the canvas

It drops in as a node with its name, a small type glyph, and a PHYSICAL or CLOUD badge.

Drag the node to position it

Layout is yours. Positions are saved with the topology, so it reopens exactly as you left it.

Dropping the same device twice does nothing

HERD silently prevents duplicates — one node per device, always.

"Cannot connect PHYSICAL and CLOUD devices"

You tried to draw an edge between a PHYSICAL device and a CLOUD one. Dropping both onto the same canvas is allowed; connecting them is not — the edge is rejected with a toast and not created. Make a separate topology for each type.

Gear that does not exist yet

Dynamic resources on the canvas

A dynamic template is hypervisor-backed: there is no physical device behind it. If your admin has set any up, the palette grows a collapsible Dynamic templates section. Drag a card from it and it lands as a dashed purple placeholder rather than a device node — it stands for instances that will be created when the reservation activates.

herd.lab/topology
Edge layer: L1L2L3 Reserve Topology (1) Clear canvas
Equipment −
Search…
traffic-gen-03
Ixia XGS12
Dynamic templates (2)
client-vm
Hypervisor-backed
DYN
router-vm
Hypervisor-backed
DYN
dut-server-14
PHYSICAL
Dell R760
DYNAMIC
client-vm
Instances 3
Created at activation

A dynamic placeholder on the canvas. Dashed purple, a DYNAMIC tag, and an editable instance count.

  1. Dynamic templates. A collapsible section at the bottom of the palette. It only appears when at least one dynamic template exists; each card wears a DYN chip and drags like any device.
  2. The placeholder node. Dashed purple with a DYNAMIC tag. It has no inventory device behind it, takes no cabling, and is never saved with the topology.
  3. Instances. Edit the count right on the node — one placeholder can stand for up to 50 instances.
  4. Reserve Topology. The count in parentheses is real devices only; placeholders travel separately as dynamic requests, prefilled in the next dialog.

Hit Reserve Topology and the reservation dialog opens with the placeholders already converted into a Dynamic instances block:

Create Reservation

×

1 device selected

client-vm
3
Remove
Add dynamic instance
2026-06-08 09:00
2026-06-10 18:00
Testing, deployment, etc.
CancelCreate

Reserve from the canvas. Placeholders arrive as a prefilled dynamic block; adjust it before you create.

  1. A prefilled entry. One row per template from the canvas, count carried over. Rows are editable — swap the template or remove the row.
  2. Count. The number of instances to create from this template.
  3. Add dynamic instance. Add more rows here even if you never touched a placeholder on the canvas.

A reservation can carry at most 50 dynamic instances across all rows. Placeholders don't count against the device total and can't be wired — the instances only exist once the reservation activates.

Network elements

Modeling the stuff that isn't a device

Real labs have infrastructure that has no ports and no driver: a shared VLAN segment, a management subnet, an upstream provider, a patch-panel trunk. Forcing that onto the canvas as a fake device is wrong, and wiring every device to every other device that shares it is noisy and inaccurate. A network element is a canvas node built for exactly this: a hub that many device ports can attach to, with one attachment line per port instead of a device-to-device mesh.

The palette's Network elements section holds four fixed types, always visible: VLAN segment, Subnet, External cloud, Patch trunk. Drag one onto the canvas and it lands as a dashed, neutral-gray node with an editable label (double-click it to rename) and exactly one connection point.

Draw a line from a device's handle to the element to open the Attach dialog: a single port column for that device, since the element side has no ports to pick from. Select one or more ports, then Attach, and each selected port becomes its own attachment line in one step. Ports already used elsewhere on the canvas, whether by a device-to-device line or by another attachment, are unavailable here too. Multiple attachments to the same element bundle into one edge with a count badge, exactly like device-to-device connections do. Drawing a line from one element straight to another is refused: a segment has no device and no port, so a line between two of them would not mean anything.

A network element is the opposite of a dynamic placeholder in the one way that matters most: it is saved with the topology, attachment lines included. A placeholder never is. Both render dashed, so the color is the tell: gray for elements, purple for placeholders.

A network element is a reachability and documentation hub only in this release: attaching a port to one records no driver call, no VLAN, no route, no ledger row. Two device ports attached to the same element validate as reachable to each other by definition, since that is what attaching them to a shared segment asserts, but the element itself is never routed through and never becomes part of what a reservation actually provisions. Elements are also topology-local, not a shared catalog: two topologies that both need "the same" VLAN segment each carry their own independent element node, same as they would for node positions or labels.

CSV export doesn't carry attachment lines; export as JSON if you need a complete copy of a topology that includes elements. Device nodes in an export carry only a fixed set of fields (id, name, topology type, connection type, status, template name, template icon, and the topology-template role); a device's field_data is never stored on a canvas or returned from one.

Wiring it up

Drawing connections

Drag from one device's handle (the little dot on its edge) to another's. The wiring dialog opens: source ports in a column on the left, target ports in a column on the right, an open wiring area between them. Wire any number of port pairs in one session instead of one round trip per connection. The cabling records your edges validate against are listed under Administration → Connections, visibility-filtered for non-admins; see the cabling page.

Wire fw-edge-01 to l1-patch-mux

×
fw-edge-01
eth1/1
eth1/2 WIRED
L1L2L3

Drag from a source port to a target port, or click one then the other.

l1-patch-mux
ge-0 no cable
ge-1
Connect 1:1 in orderCancelAdd 2 connections

The wiring dialog. Draw lines, tag each L1/L2/L3, then add them all at once.

  1. Port columns. A free port is fully selectable; one already used, either earlier in this session or by an existing canvas edge, is grayed and tagged WIRED. A port with a registered physical cable is tagged CABLED (informational, still selectable); an uncabled one is tagged no cable the same way.
  2. Layer. Sets the default for lines you draw next; each drawn line gets its own small L1/L2/L3 pill you can change or delete independently. L2 and L3 are logical overlays; they still need a real physical path underneath to count. The layer is recorded on the canvas as that line's intended layer; provisioning derives L2 membership and L3 routes from the resolved path itself, not from this pill.
  3. Connect 1:1 in order pairs every remaining free port on both sides top to bottom in one click: the fast path for wiring two same-size switches straight across.
  4. Add N connections. Adds every drawn line to the canvas at once. HERD immediately checks each one against the cabling graph and colours it; two or more connections between the same device pair collapse into one bundled edge with a count badge on the canvas.

Quick connect

For a single connection, toggle Quick connect in the toolbar before drawing a line. It opens a compact popover instead: pick one port on each side and a layer, then Connect. Its Open wiring dialog link escalates to the full dialog for the same device pair without losing your place.

Routing intent

Selecting a single device node whose device is a Layer 3 Switch opens a floating Routing panel: a table of the switch's routes (destination, next hop, interface, virtual router), an Add route control, and a per-row Remove. An Import from device config action copies the switch's latest config-version routes into the table; if the table already has rows, it asks to confirm before it replaces them outright. Every edit writes to the node's data the same way a position or a label does, so it rides fork commit, autosave, and restore preview with the rest of the canvas. A switch with at least one route also shows a small route-count badge on its canvas node.

leaf-sw-09
PHYSICAL
Arista 7050X
Routing — leaf-sw-09
Import from device config
DestinationNext hopInterfaceVirtual router
10.20.0.0/2410.0.0.2eth1–Remove
10.30.0.0/2410.0.0.99eth1–Remove
l3_next_hop_outside_interface: 10.0.0.99 is not inside eth1's subnet
Add route

The Routing panel. Opens for one selected Layer 3 Switch node; a red reason line marks the row a save or reservation refused.

  1. Panel header. Names the selected switch. The panel opens only while exactly one Layer 3 Switch device node is selected.
  2. Import from device config. Copies the switch's newest config version's routes into the table, leaving virtual router blank on every imported row (the device config schema has no such grouping); asks to confirm first if the table already has rows, since it replaces them outright rather than merging.
  3. A per-row reason. After a save or a reservation attempt finds a problem, the offending row (or the panel header, for a switch-level problem such as an unconfigured or unattached switch) shows the reason in plain words, and the switch's canvas node's route-count badge turns red.

Routing intent is checked, never assumed, at three points: saving a standalone topology that carries any routing intent runs a validation pass right after the save; saving a reservation's live-edit fork gates the save itself, refusing it outright on a problem; creating a reservation from a topology with routing intent gates the booking the same way. One reason, a duplicate route on the same switch, is informational only and never blocks anything; every other reason does.

A route's interface is checked against the wiring on the canvas, not just against the switch. The switch has to be wired to something, and the specific interface a route names has to be the one that is wired: if the config says that interface is a physical port and nothing on the canvas reaches that port, the route is refused. Interfaces the config marks logical (a loopback, an SVI, a dummy interface inside a virtual router) have no port of their own and are exempt. A device whose operating system names its interfaces differently from the port names in HERD's inventory needs that mapping written into its config, one port per physical interface; ask an admin if you are not sure whether yours has it.

A route's virtual router is checked against the switch's own config, which lists the virtual routers it has and the interfaces each one owns. A name the config does not list is refused, as is a route whose interface does not belong to the virtual router it names; so is a route that names no virtual router while its interface belongs to one, since an interface inside a virtual router is not in the default routing table. The panel outlines the box each of those is about. Applying a virtual router route also needs a driver that supports virtual routers: a switch whose driver does not declare that support has its virtual router routes refused at provisioning time, with nothing sent to the device.

The part everyone asks about

Red vs green edges

Every edge gets checked against the real physical cabling. The badge on the edge tells you the verdict. Here's the full vocabulary:

dut-a
dut-b
site-1-dut
site-2-dut
3 hops no path

Left: a valid link — a real route exists. Right: no physical path between two isolated DUTs.

What you seeWhat it meansWhat to do
Green + "N hops"A route exists through the switch infrastructure. N is the hop count.Nothing — you're good.
Red + "no path"No route between the two devices. They're in isolated fabrics, or switches between them are missing from inventory.See callout below.
Red + "uncabled port"One of the chosen ports has no physical cable recorded. Beats the path check.Pick a cabled port, or ask an admin to record the cabling.
No badge yetThe check is still resolving.Wait a beat; it'll settle.
A red edge blocks reservation

The Reserve Topology button is disabled while any edge is red — and the server enforces the same rule, so you can't sneak past it via the API. A red L1 edge usually means no physical cabling connects the two DUTs, or the switches between them aren't in inventory. Both are an admin cabling fix, covered in Cabling things up.

I need a link between two physically isolated labsadvanced

For something like an MPLS tunnel between two sites that share no cabling, add a virtual device representing the tunnel and cable it into both fabrics (in the cabling service). The validator then sees a real path and the edge goes green. This is an admin task.

Keeping your work

Saving & version history

Click Save in the toolbar

The name was set when you created the topology on the list page; the editor never asks for one. Save offers an optional change-description field — leave it blank or say what changed.

Every meaningful save is a new version

Open the History sidebar to see the list (newest first) with author and timestamp. Preview any version read-only; Compare two to see Added / Removed / Modified; Restore to roll back.

Restore is blocked while an active or pending reservation still references the topology. Cancel or wait for it to release, then restore.

When the lab is running

Editing during a reservation

Everything above is about the shared master topology. Once a reservation is ACTIVE, it gets a private fork of that topology, and opening the editor from the reservation (via Edit topology) edits the fork — never the master. Drafts autosave, commits apply to the real hardware, port conflicts get a dialog, and after the reservation ends the fork freezes as the read-only as-built record.

That whole flow is the next step of the track: Live-editing a reservation.

The History sidebar above belongs to standalone topologies. A reservation fork keeps its own version list with the same look, plus its own Preview, Diff, and (while the reservation is ACTIVE) Restore actions — see Live-editing a reservation.

Don't start from scratch

Cloning & reusable templates

Once you've wired a lab you like, you don't have to rebuild it next time. Two ways to reuse it:

Clone it

Make a full copy of an existing topology as a fresh, editable starting point. The original is untouched; tweak the copy without fear.

Promote to a template

Mark a topology as a reusable template so it shows up as a named starting point for everyone — the canonical “standard test rig,” ready to clone.

A cloned or template-spawned topology still resolves its devices against live inventory when you open it, so you'll only ever wire gear that actually exists and you can see.

Keyboard & mouse cheat sheet
  • Pan: drag empty canvas
  • Select: click a node · Multi-select: shift-click or drag a box
  • Delete selected: Delete (the editor binds only Delete; Backspace does not delete)
  • Connect: drag from a node handle to another node, opening the wiring dialog; inside it, drag between the two port columns or click a port on each side in turn
  • Zoom: mouse wheel, or the + / − controls in the bottom-left. The mini-map in the bottom-right is view-only.

HERD User Manual · Building a topology