Probe
One test dispelnet uses to identify a device family.
A probe runs one read-only command and checks the response. dispelnet can run several. Each match claims a device family.
Several may match. A router running FRR is also a Linux host, so both probes match.
Tiers decide which claim wins. The most specific one does.
| Tier | Claims |
|---|---|
| vendor | a network OS that names itself |
| os | a routing stack on a general-purpose host |
| generic | the host underneath |
# Anything Linux-shaped, and deliberately the last rung: several network
# operating systems run on Linux and must be recognised as themselves first.
# That is what the `generic` tier means.
id: linux
tier: generic
transport: ssh
command: uname -sr
is:
- {field: 1, equals: Linux}
family: linux
verified: linux 7.0.0-30-generic