vyos_merge_config
Merge configuration from a file or inline string into running config with optional commit-confirm rollback.
Instructions
Merge configuration from a file or inline string into the running config.
Merging adds/overwrites matching nodes without removing unrelated configuration. Supports commit-confirm for safe rollback.
Args: params: - file: path on VyOS filesystem, OR - string: inline VyOS config text - confirm_time: optional rollback timeout in minutes
Returns: str: Success message or error.
Examples: - Merge from file: file="/config/branch-office.config" - Merge inline config: string="interfaces { ethernet eth1 { address 192.168.50.1/24 } }"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |