Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Device Inventory

Direct answer

Device Inventory is the authoritative automation view of network targets, identities, addresses, platform metadata, groups and variables used to select and parameterize work.

When to use this

Use it when configuring, checking or troubleshooting Device Inventory in Network Automation.

First 30 seconds

1. Device inventory: hostname, management IP, platform, site, role.

2. Generated from NetBox/SoT.

3. Correct network_os/platform drives connection plugins.

4. Group by site/role.

5. Validate against reality (discovery).

Operational verification

SoT devices → inventory → automation targets

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
network automation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformnetwork automation · Device Inventory owns automation target identity, grouping and metadata. IPAM/CMDB/source systems may own authoritative records; Networking owns live device behavior.
Scope / prerequisiteUse it when configuring, checking or troubleshooting Device Inventory in Network Automation.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

4 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Operational evidence path Verify boundary

source of truth → inventory snapshot → identity normalization → group/selector evaluation → effective variables → live reachability/capability check → approved target set

Healthy evidence: stable identifiers, source revision, selector result and critical live metadata agree for the intended target set.

Step 2 Failure modes and next checks Narrow the fault

Suspicious evidence: stale IPs, duplicate identities, unexpected inherited groups or dynamically discovered devices silently expand or shrink scope.

Step 3 Common mistakes Narrow the fault
  • Inventory missing platform/OS info.
Step 4 Where it fails Narrow the fault

Where Device Inventory usually goes wrong: source authority, host/object identity, grouping/selection, staleness and downstream target resolution.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Inventory record exists ≠ device reachable.
  • Hostname label ≠ unique device identity unless anchored to a stable identifier.
  • Group membership ≠ intended change scope when inheritance or dynamic rules are involved.
  • Inventory metadata ≠ live device capability; software, interfaces or roles may have drifted.
Key checks
  • ansible-inventory -i netbox.yml --list | jq '._meta.hostvars | length' — device count
  • Platform/network_os per device — connection settings
  • Management IP and credentials source — reachability
ReferenceWhat it is1 section · depth on demand

Core model

Separate source-of-truth identity from discovery data, selector/group evaluation and live reachability; inventory is an input model, not evidence that a device exists, is reachable or should be changed.

ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

Inventory shows what the automation system intends to target, not that every record is current, reachable, authorized or semantically correct.

In depth

Device inventory is the authoritative list of network devices with the attributes automation needs: name, management IP, platform/OS, site, role, credentials group and status. Every automation job depends on it being correct.

AttributeUsed for
Management IP/hostnameConnecting
Platform (ios, nxos, eos)Choosing driver/module
Role and siteGrouping and templates
Status (active/planned/decommissioned)Excluding devices
Software versionCompliance and upgrade planning

Generate Ansible or Nornir inventory from NetBox rather than maintaining separate host lists.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docnetwork automation current

Authoritative/upstream documentation reviewed for bounded claims in Network Automation > Device Inventory. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://developer.cisco.com/site/networking/ · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
device inventorynetwork inventoryautomation inventoryinventory source
Embedded reference data

Quick lookup tables

Device Inventory Network Automation proof-boundary map

Fast intent/scope, management-operation, device-state and network-acceptance boundaries for Device Inventory.

BoundaryHealthy evidenceSuspicious evidence
Intent / scopeSource revision and exact targets are explicitStale inventory, hidden selector or wrong variables change scope
Management operationTransport/model/payload and per-device response are traceableAuth/capability/parser differences hide partial or wrong execution
Device stateEffective and persistent state are read backAccepted config/API result is mistaken for convergence
Network proofOriginal control/data-plane or service test passesAutomation summary substitutes for actual network acceptance
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Output interpretation

For Device Inventory, rely on structured fields and stable IDs (source authority, host/object identity, grouping/selection, staleness and downstream target resolution) rather than text formatted for display.

Confirmation

Confirm action

Continue?