vyos_configure_openvpn
Configure an OpenVPN interface on a VyOS router in a single commit, applying interface settings and optionally saving the configuration.
Instructions
Configure an OpenVPN interface in one commit.
Args: interface: OpenVPN interface name, e.g. "vtun0". settings: {space-separated path: value} under "interfaces openvpn ", e.g. {"mode": "site-to-site", "protocol": "udp", "local-address": "10.255.0.1", "remote-address": "10.255.0.2", "shared-secret-key": "KEY"}. save: Persist after commit (default False).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"interface": "<interface>",
"settings": "<settings>"
},
"name": "vyos_configure_openvpn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| settings | Yes | ||
| interface | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |