apply_config
Send configuration commands to network devices, optionally filtered by device name, hostname, group, or platform. Returns per-host success or error.
Instructions
Send configuration commands to network devices.
Args: commands: List of configuration commands filter_name: Filter by device name in inventory filter_hostname: Filter by specific hostname or IP filter_group: Filter by group membership filter_platform: Filter by platform (e.g., 'cisco_ios', 'arista_eos')
Returns: Dictionary with 'hosts' key mapping hostname -> task result (success or error).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commands | Yes | Configuration commands to apply (e.g., ['int lo0', 'ip addr 10.0.0.1/24']) | |
| filter_name | No | Filter by device name in inventory | |
| filter_group | No | Filter by group membership | |
| filter_hostname | No | Filter by specific hostname or IP | |
| filter_platform | No | Filter by platform (e.g., 'cisco_ios', 'arista_eos') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||