Your first device & its cabling
Templates and drivers exist (from first-day setup). Now you'll add a real device, give it ports, and record the physical cabling between ports — the thing that makes topology edges turn green instead of red.
A device has ports. A cable connects one port to another port. HERD's pathfinder uses those cables to decide whether two DUTs can actually talk. No cabling recorded = red edges = no reservations. So this page is what unblocks your users' topologies.
Step one
Add your first device
Go to Inventory → Add device. Pick a template; HERD shows the fields that template defined.
Add device
×Leave the group blank and the device lands in No Pool until you move it.
The add-device form. Fields come from the chosen template.
- Template. Decides the fields, the driver, and whether the device is exclusive or shared. No template = can't add the device (go back to setup step 2).
- Name. What everyone will see in inventory and on the canvas. Keep it recognisable.
- Initial group. Optionally drop it straight into a real device group so it's visible immediately.
- Add device. It appears in inventory right away.
Step two
Give it ports
A device with no ports can't be cabled. Open the device's detail page and click Add ports. Pick a port template, fill the field data, submit. Bulk creation is supported — add a whole row of ge-0 … ge-47 at once.
Ports are children of a device and use port-type templates (no driver). If you don't have one yet, make it the same way you made the device template — just pick "port" as the type.
Step three
See ports right in the table
Back in Inventory, click the chevron on a row to expand it. You get audit info, group membership, and the device's ports — each with a Connected To link if it's cabled. An expanded row stays open when the list changes under it (a search finishing, a filter change): only rows that left the list close. The selection for bulk delete is still cleared on any list change.
| Name | Template | Topology | Status | |
|---|---|---|---|---|
| fw-edge-01 | Palo PA-460 | PHYSICAL | AVAILABLE | |
eth1/1→ l1-patch-mux : ge-0
eth1/2→ l1-patch-mux : ge-1
eth1/3not cabled
| ||||
| leaf-sw-09 | Arista 7050X | PHYSICAL | MAINTENANCE | |
An expanded device row showing its ports and what each is cabled to, beside the filter panel.
- The chevron expands and collapses the row's detail.
- Connected To. A cabled port shows the device and port on the other end — click through to it.
- "not cabled". This port has no physical connection recorded. Edges that try to use it go red with "uncabled port".
- The filter panel. A card at the left of the table (it stacks above the table on a narrow window), holding Search devices (placeholder "Search devices by name...") and three labelled selects: Status (All, AVAILABLE, RESERVED, OFFLINE, MAINTENANCE), Template (All, then every device template shown as its name followed by vendor and model in parentheses, which is how you filter by vendor or model), and Topology (All, PHYSICAL, CLOUD). They combine with each other and with the search; any change returns to page one, and the count beside All Devices is the matching total. A full-width Clear filters button at the bottom of the panel appears whenever a filter or the search is active and resets all of them. When nothing matches, the table says "No devices match the current filters." with a Clear filters link instead of the plain "No devices found". Your choices are remembered between visits; a remembered status, topology, or template that no longer exists falls back to All.
The table pages rather than scrolls. A Rows per page selector at the bottom of the table offers 25, 50, 100, or 200 rows and is remembered across sessions, next to the Page X of Y indicator and its Prev and Next buttons.
Deleting a device
An admin deletes a device from its device page with Delete (the confirm dialog is titled Delete Device), or from the Inventory page by ticking rows and using Delete Selected (confirm dialog Delete devices). HERD refuses the delete while a live reservation holds the device or carries its wiring as a transit hop (device_in_use), and while any cable still names it (device_cabled). The device page keeps the refusal on screen with an Open Connections link, for example "Device is still cabled (2 connections) and cannot be deleted. Remove its cables first."; a bulk delete reports "Deleted 1, failed 2. 2 still cabled: remove their cables first". There is no force option, and the delete also refuses when HERD cannot ask cabling or reservations. Both refusals are explained in Troubleshooting.
Ports follow a similar rule. An admin deletes a port from the device page's Ports section with Delete; the confirm dialog is titled Delete Port. A port a cable still names is refused with "Port is still cabled (2 connections) and cannot be deleted. Remove its cables first.", and the API answers 409 port_cabled, or 503 when cabling cannot answer.
The important part
Cabling things up
Cabling is the physical-layer truth HERD reasons over. A connection record says "port A on device A is physically connected to port B on device B." You record one per real cable in your rack. Go to Administration → Connections and click Create Connection.
Who sees what on this page follows device visibility. An admin sees the fleet. A non-admin's list contains only connections touching at least one device they can see, and the page total counts that same set. If HERD cannot verify device visibility, the list fails closed with "Could not verify device visibility; connections were not returned. Retry the request." rather than guessing.
The dialog opens in Multi mode, built for the common case of patching several cables between the same two devices in one pass. Pick a device on each side, then stage one line per cable: drag from a port on the left to a port on the right, or click one port on each side. Connect 1:1 in order pairs every remaining free port down the two columns at once. Picking the same device on both sides works too, for loopbacks: 1:1 pairing then pairs that device's free ports adjacently (first with second, third with fourth), an odd leftover stays unpaired, and with fewer than two free ports the dialog reports "Need at least two free ports to pair". A port you have already staged a line from in this dialog is locked so you cannot double-book it by accident; a port that merely has an existing cable elsewhere is tagged CABLED but stays selectable, since a second cable on it may be exactly what you are recording. Confirming sends the whole batch in a single request.
If the server accepts some lines and rejects others, the created cables drop out of the dialog and every rejected line stays on screen with the reason the server gave, so you can correct just those and retry. Switch the header toggle to Single for the one-pair-at-a-time dialog described below, which is also what the screenshot shows.
Create Connection
×The Create Connection dialog (Administration → Connections). Search to pick each device, then a port on each end.
- Device A. Type at least two characters to search, click the match. Picked devices show with a Change link.
- Port A. The dropdown unlocks once Device A is chosen, and lists that device's ports.
- Connection Type. Free text, defaults to
ethernet— label the medium (e.g.fiber,dac) if it helps your records. Notes is optional free text. - Create. The pathfinder picks it up immediately — any topology edge that needed this hop revalidates on the spot. This applies to batches created in Multi mode too: every cable in the batch becomes visible to the pathfinder as soon as the batch commits.
DUTs rarely plug straight into each other — they plug into L1/L2 switches that route between them. Record the real cabling (DUT → switch port), and the pathfinder figures out the multi-hop route on its own. That's why a valid topology edge says "3 hops," not "1 cable."
Closing the loop
Verify it went green
The whole point of recording cabling is that users' topology edges turn green. To confirm your work:
Open a topology that uses the devices you just cabled
Or build a quick test one with two DUTs that should now have a path.
Check the edge badges
green + "N hops" means the pathfinder found a route through your cabling. A leftover red means a hop is still missing — trace the cable chain and look for the gap.
Two usual causes: (1) a switch in the middle of the path isn't in inventory yet — add it and its cabling; (2) the two DUTs genuinely sit in physically isolated fabrics. For cross-site links, add a virtual tunnel device cabled into both fabrics. More fixes in Troubleshooting.
Doing it a hundred times
Bulk import & export
Adding devices one at a time is fine for a few. For onboarding a whole fleet — or moving inventory between two HERD instances — HERD round-trips devices, templates, and topologies as CSV or JSON. Import isn't a back door: every row runs through the same validation and permissions as adding one by hand.
Export to get the shape
Export any resource to CSV or JSON. That file is the import format — the easiest way to learn the columns is to export one real example and copy its layout.
Mind the order
References travel by name, not by hidden id (so they survive a move between instances). Import templates before devices (a device names its template) and devices before topologies (a topology names its devices).
Always dry-run first
Run the import as a dry run and HERD validates everything and shows you a per-row report — would create / would update / rejected, with a reason — without writing a thing. The dry run is a full rehearsal: every row goes through the same checks as a real import inside a transaction that is rolled back, so its report matches the report of the real run row for row. Fix the rejects, then run it for real.
| Row | Action | Identity | Reason |
|---|---|---|---|
| 0 | create | switch-01 | — |
| 1 | update | switch-02 | — |
| 2 | reject | switch-03 | template not found by name: 'Nope' |
A dry-run import report. Every row is judged; a reject explains itself and never aborts the others.
- The tally. How many rows would be created, updated, or rejected — your go/no-go at a glance.
- A rejected row. Isolated and explained (here, a template name that doesn't exist on this instance). Every other row still imports; rejects are rolled back cleanly, leaving no half-written record.
Devices and templates are admin-only to import. Topologies can be exported and imported by any signed-in user. Reservations, permissions, and users are deliberately not bulk-importable — those are created in HERD, not migrated in a spreadsheet.
Two things to know about the files themselves. First, every CSV HERD writes puts a single leading quote on a free-text cell whose first character (ignoring leading spaces) is =, +, -, @, a tab, or a carriage return, so a spreadsheet shows literal text instead of running it. That covers the free-text columns of the topology export (topology, device, and port names), the device and template exports, and the utilization report's CSV (owner and fleet device names); fixed enumerations, numbers, and the JSON field_data and sections columns are left alone. The three importers (topologies, devices, templates) strip that one quote again, only when a trigger character follows it, so an exported =1+1 round-trips unchanged and a name that starts with an apostrophe for its own reasons is never touched. Second, a non-admin importing topologies sees a device outside their groups the same way as one that does not exist: the row is rejected with unresolved device names: <names>, in a dry run and a real run alike, and nothing is stored for it. An admin is unfiltered. If HERD cannot check visibility, the import fails with a 503 and processes nothing. Third, the template export and import carry a hypervisor_name column, set only on a dynamic template and resolved by name against this instance's hypervisors; an unknown name rejects the row, naming it. The device export leaves out dynamic-instance devices, the ones execution creates for a booking, since they belong to a live request and not to the inventory you would move.
HERD User Manual · Equipment & cabling (admin)