First-day setup
You logged in and everything is empty. That's not a bug — HERD ships with nothing in it, and the order you fill it matters. Follow this chain top to bottom and by the end your users can log in, see gear, and reserve it.
A device needs a template. A template needs a driver. A user can't see a device until their user group has permission on the device's group. Skip a link in that chain and the next thing looks broken. Do them in order and each one unblocks the next.
This guide assumes the platform is already installed and the config service has run its first-time bootstrap (the wrench-icon flow or env vars). If services are crash-looping or the login form is greyed out, that's an install problem — finish the fresh-setup / config-service step first, then come back here.
The map
The order that matters
The whole chain, at a glance. Each box depends on the one before it.
Before you start
Who can do what
Three roles. Most of this page is admin work; promoting people is superadmin only.
| Task | User | Admin | Superadmin |
|---|---|---|---|
| Register, log in, reserve own gear | ✓ | ✓ | ✓ |
| Upload drivers, create templates & devices | — | ✓ | ✓ |
| Create groups & assign permissions | — | ✓ | ✓ |
| Promote / demote a user's role | — | — | ✓ |
By default HERD keeps its own local username/password accounts. Your deployment may instead be wired to LDAP / Active Directory — in that case people sign in with their directory credentials and HERD creates their account automatically on first login. That's an install-time setting, not something you toggle here; either way, the roles and groups on this page work the same. The superadmin account always stays local.
The chain
Step 1 · Upload a driver
A driver is a Python package that teaches HERD how to log into and configure a real piece of hardware. Templates point at drivers, so this comes first. Go to Administration → Drivers and click Upload.
Upload driver
×Unique. You'll pick this from templates later.
Management = DUTs. Layer 1/2/3 Switch = infrastructure. Hypervisor = a dynamic-resources recipe driver.
.zip or .tar.gz, up to 10 MB.
The driver upload dialog.
- Name. Unique and descriptive — e.g.
juniper-fw-mgmt. Templates reference it by this name. - Connection type. The big decision:
Managementfor DUTs you reserve,Layer 1/2/3 Switchfor infrastructure, orHypervisorfor a dynamic-resources recipe driver. - The package. A
.zipor.tar.gz(≤ 10 MB). Validated on first use. - Upload. Stored locally (or in object storage if configured).
Drivers are reference-counted: you can't delete one while a template points at it. Remove or repoint the template first.
Two driver packages for real network operating systems ship with HERD, under drivers/ in the repository: frr_l3 (FRRouting, connection type Layer 3 Switch) and srl_l2 (Nokia SR Linux, connection type Layer 2 Switch). Upload either one exactly as it is. A driver must report a device's rejection of a command as a failure, so a refused change is never shown as applied; a driver that can place a route in a virtual router declares supports_vrf in its metadata, and HERD refuses a route that names a virtual router on any driver that does not. Both packages are exercised against a lab of the real operating systems in the project's own tests on every change (docs/NOS_LAB.md). For the how-to, read docs/SIMULATED_LAB_GUIDE.md: it compares the three simulated-hardware tiers (the mock drivers, the checked-in lab of real operating systems, and the unbuilt external simulator) and walks through building and reserving a topology on the lab in the UI.
Step 2 · Create a template
A template defines the fields a class of device carries and points at the driver that runs it. Go to Templates → New template.
Pick the template type
device templates describe a class of device and must reference a driver. port templates describe a class of port and have no driver.
For a device template, pick the driver and set exclusive
Exclusive (the default) = one reservation at a time. Turn it off for shared infrastructure that many reservations use at once.
Fill in vendor & model
e.g. Juniper Networks / EX2300. These identity fields also let the AI assistant ground itself in real hardware. Suggest with AI can infer them from the name — review before saving.
Add typed fields, then save
Fields can be string / number / boolean / password / dropdown, with optional defaults. Password fields are masked and excluded from search.
Editing a template later is fine, but a new required field with no default breaks existing devices' validation. Prefer adding optional fields.
Step 3 · Create your devices
Now make the actual equipment. Inventory → Add device, pick a template, fill in the field data. (Full walkthrough with ports and cabling is in Equipment & cabling.)
New devices auto-join the seeded No Pool group so nothing is ever unassigned. You move them into real groups in the next step.
Step 4 · Device groups & user groups
These two are the heart of visibility. A device group collects devices; a user group collects people. You then grant a user group permission on a device group.
Device group · lab-a
×Building a device group. Move devices from Available into the group.
- The transfer arrows. Shuttle devices between Available and In group.
- In group. Adding a device here auto-removes it from
No Pool. A device can live in several groups at once. - Save. The group exists; now grant access to it (next step).
User groups are symmetrical: User Groups → New group, add members, save. New registrations auto-join Not Grouped until you move them. Anyone can list group names, which pickers and grants need, but opening a group to see its members and their emails is admin-only.
Users and profiles
Open Administration, then Users. The page is headed User Management and lists every account with the columns Name, Username, Email, Role, Created, Profile, and, for a superadmin only, Action. Name shows the account's display name, else its username. Edit profile in the Profile column opens a centred dialog titled Edit profile with the same form the account sees in Settings: Name, Contact email, Phone, then Save profile and Cancel. An admin or superadmin edits any account's profile this way, active or not; a save toasts "Profile saved" and closes the dialog. The sign-in email and username are shown read-only, and no screen changes them. Through the API a user who names any account but their own gets 404 User not found, the same answer as an unknown id. The Action column's Promote to admin and Demote to user follow the roles table above.
Step 5 · Grant permissions (the unlock)
This is the line that makes everything visible to users. On the device group, attach the user groups that should see it.
"Give user group networking access to device group lab-a" means every user in networking can now see and reserve every device in lab-a. Once you save this, tell your users to reload — their empty inventory fills in. That's the moment HERD comes alive.
To take access away, remove the permission from the device group — don't yank the user out of their user group. Admins always see every device regardless of groups.
Step 6 · Hypervisors & dynamic templates (optional)
Everything so far is physical gear. If you also want users to book VMs created on demand, add one more chain: a secret (API credentials), a hypervisor that uses it, a Hypervisor-type recipe driver (step 1, with connection type Hypervisor), and a dynamic template tying the two together. Users then see the template in the topology palette and reserve instances from it.
Register Hypervisor
×Registering a hypervisor (Administration → Hypervisors). It joins the table with its type, endpoint, secret, a Bookable by column, and an Enabled column that reads Yes or No.
- Endpoint. The hypervisor's API URL. HERD's recipe driver talks to this, not to individual VMs.
- Hypervisor Type. Free text matched by the recipe driver:
proxmox,vsphere,libvirt, and so on. - Secret. Credentials, referenced from the secrets store — create the secret first or this list is empty.
- Register. Deleting later fails while any template references it, same as drivers.
- Bookable by device group. Admins only (the default) or one of your device groups. With a group chosen, users whose user groups hold a permission on that group can see and book the dynamic templates that use this hypervisor; admins can always book them. To everyone else a template on the hypervisor is hidden and answers exactly like an unknown one. Every hypervisor that existed before 0.7.0 starts as Admins only until you assign a group.
- Enabled. While unticked, a booking of a template on this hypervisor is refused with a 422 naming the hypervisor, and execution creates no instance on it for a booking taken earlier. Instances that already exist are still torn down.
Secrets are guarded the same way: deleting a secret that any hypervisor references is refused with secret_in_use, and refused outright if inventory cannot be reached to check; re-point or delete the hypervisor first. If a secret disappears anyway by another path, the Hypervisors page shows an amber "Deleted secret <first 8 chars>" marker in that hypervisor's Secret column until you pick a live secret.
Then create the template. In the template editor, the third Type option is what makes it dynamic:
A dynamic template in the editor. Type is locked after creation; driver and hypervisor stay editable.
- Type: Dynamic (Hypervisor). Chosen at creation and locked from then on. The Driver label switches to Recipe Driver and a Hypervisor field appears.
- Recipe Driver. Only
Hypervisor-type drivers are listed here (device drivers are filtered out, and vice versa). - Hypervisor. Which registered hypervisor the instances are created on. Both fields are required to save.
Dynamic templates skip the device step entirely: there is nothing to add to inventory. What users see and reserve is covered in Dynamic resources on the canvas.
Step 7 · Check versions, after setup and after every upgrade
Open Administration → About, the last item in that menu. The page is admin only. It has a heading About, a Refresh button, a Frontend card with Version, Build, and Build date, and a Services table with the columns Service, Version, Build, Build date, and Status, one row per service: ACL, AI Orchestrator, Auth, Cabling, Config, Execution, Integration, Inventory, Notifications, Reservations, Secrets, User Profile.
| Service | Version | Build | Build date | Status |
|---|---|---|---|---|
| ACL | 0.7.0 | v0.7.0 | 2026-11-08 18:20 UTC | reachable |
| AI Orchestrator | 0.6.0 differs | v0.6.0 differs | 2026-10-01 14:05 UTC | reachable |
| Auth | 0.7.0 | v0.7.0 | 2026-11-08 18:20 UTC | reachable |
| Cabling | - | - | - | unreachable |
| Config | 0.7.0 | v0.7.0 | 2026-11-08 18:20 UTC | reachable |
| 7 more rows |
The About page. One row per service; an amber row with a "differs" badge was not rebuilt with the rest.
- Refresh asks every service again. Each service is queried on its own, so one that is down cannot blank the rest of the table.
- A "differs" row. The row turns amber and the badge sits on the version or the build that does not match the frontend's. A build of
devis never flagged. The backend's0.7.0.dev0and the frontend's0.7.0-devcount as the same version; so do0.7.0rc1and0.7.0-rc.1, while0.7.0rc1and0.7.0-rc.2do not. A build date reads like "2026-09-19 22:18 UTC". - Status is one of reachable, unreachable (the service did not answer), or invalid response (it answered 200 with a body that is not a version record, such as a proxy's error page; the row shows dashes and no skew badge).
After an upgrade, check this page before filing a bug. A "differs" row usually means that service was not rebuilt: ai-orchestrator, notifications, acl, and user-profile have no dev mount and need docker compose up -d --build <service>. make version on the host prints the build string a fresh build would carry. One limit: the build string names the commit an image was built from, not its bytes, so on a dirty working tree a match is weak evidence; on a clean tagged build it is strong.
That's the whole chain
Driver → template → device → group → permission. Users can now reserve. Next, the detailed walkthrough for adding real equipment and recording how it's cabled.
Equipment & cabling
Add a device with ports and record the physical connections.
Utilization reporting
Show leadership who used what, for how long.
HERD User Manual · First-day setup (admin)