The Inventory Manager adapter exposes inventory nodes to Device Broker, allowing Configuration Manager and command templates to access inventory nodes. This allows Configuration Manager and command templates to work with inventory nodes while providing centralized inventory management.
How the adapter works
The adapter translates between Inventory Manager's data model and Device Broker's interface:
- Configuration Manager or command template requests device information through Device Broker
- Device Broker locates the device across registered adapters, then routes the request to the Inventory Manager adapter
- The adapter queries Inventory Manager for node data
- Inventory Manager retrieves the node and resolves any credential references
- The adapter transforms the node into Device Broker format
- Device Broker returns the device to the requesting application
When Configuration Manager or command templates execute operations against inventory devices, the adapter calls Inventory Manager's action execution, which routes to IAG 5 services.
Built-in broker services
Inventory Manager includes built-in broker services that support device broker functionality in IAG 5. These services replace the Ansible role implementation used in IAG 4 and enable Configuration Manager and command templates to interact with inventory nodes.
These broker services return payloads designed for Itential applications. While they can be used in workflows, their responses are optimized for application integration.
Available services
After you install and configure Inventory Manager, the following built-in broker services automatically appear in the Services tab of your Gateway Manager details page:
- is-alive - Verifies device connectivity
- run-command - Executes commands on network devices
- get-config - Retrieves device configurations
- set-config - Applies configuration changes to network devices
These services communicate with network devices over SSH, supporting 150+ platforms through netmiko and scrapli drivers. For more information on selecting and configuring a driver, see Configure driver options.
How broker services support Device Broker
When Configuration Manager or command templates execute operations against inventory devices:
- The operation request goes through Device Broker to the Inventory Manager adapter
- The adapter calls the appropriate action configured in your inventory
- The action routes to the corresponding built-in broker service
- The broker service executes the operation on the target device
- Results return through the chain back to Configuration Manager or command templates
This architecture maintains backward compatibility with IAG 4 workflows while leveraging Inventory Manager's centralized device management.
Inventory requirements
Broker services require inventory nodes with specific connection attributes to communicate with network devices.
Required attributes:
itential_host- Device IP address or hostnameitential_user- SSH usernameitential_password- SSH passworditential_platform- Device platform/OS type (e.g., cisco_ios, arista_eos)itential_driver- Connection driver (netmiko or scrapli)
Optional attributes:
itential_port- SSH port (default: 22)itential_become- Enter privileged mode (default: false)itential_become_password- Password for privilege escalationitential_driver_options- Advanced driver configuration
For complete details on configuring inventory nodes with these attributes, see Create and populate inventories.
For information on configuring actions that use these broker services, see Create and manage actions.
View inventory devices
Inventory devices appear automatically after you configure the Inventory Manager adapter.
To view inventory devices:
- Open Configuration Manager or command templates
- Navigate to device discovery or device selection
- Inventory devices appear in the device list
If device name prefixing is enabled in the adapter configuration, devices appear as inventory-name::device-name.
Configuration Manager
Use inventory devices in device groups
Add inventory devices to Configuration Manager device groups:
- Create or edit a device group
- Select devices to include
- Choose inventory devices from the device list
- Save the device group
Device groups can contain a mix of IAG 4 and inventory devices, allowing gradual migration.
Golden configuration operations
Use inventory devices for golden configuration operations:
- Create or select a golden configuration template
- Select target devices (including inventory devices)
- Run the golden configuration operation
- Configuration Manager retrieves configurations from inventory devices through their configured actions
The action configured in the inventory determines which IAG 5 service executes and what command runs.
Compliance checks
Run compliance checks against inventory devices:
- Create or select a compliance policy
- Select target devices (including inventory devices)
- Run the compliance check
- Configuration Manager compares current configuration against the policy
Compliance checks work identically for IAG 4 and inventory devices.
Command templates
Use inventory devices as targets for command templates:
- Open or create a command template
- Select target devices
- Choose inventory devices from the device list
- Execute the command template
If device name prefixing is enabled, select devices using the inventory-name::device-name format.
Command execution
When you execute a command template against inventory devices:
- The command template sends the request through Device Broker
- The Inventory Manager adapter identifies the inventory and node
- Inventory Manager executes the configured action
- The IAG 5 service runs the command
- Results return to the command template
Command templates work identically with IAG 4 and inventory devices.
Troubleshooting
Devices not appearing in Configuration Manager or command templates:
- Verify the adapter configuration includes the inventory (inventories setting)
- Check that nodes exist in the inventory
- Verify RBAC permissions for the inventory
Unexpected device names:
- Check the
prepend_inventory_namesetting - Verify inventory names and node names are correct
- Review device naming in the Inventory Manager UI
Action execution failures:
- Verify actions are configured in the inventory
- Check IAG 5 service configuration in actions
- Verify cluster routing (
cluster_idin action config or node attributes) - Review IAG service execution logs