vyos_load_config
Replace the entire VyOS running configuration by loading a configuration file from a specified absolute path.
Instructions
Load a configuration file, replacing the running configuration.
WARNING: This replaces the entire running config with the file contents.
Args: params: file — absolute path on VyOS filesystem
Returns: str: Success message or error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |