hcl_apply_vlan
Applies exact VLAN, port-mode, and SVI intent to a single device, replacing trunk allowed VLAN lists, with automatic backup, readback verification, and rollback recovery.
Instructions
Apply strict single-device VLAN/port/SVI intent with backup, readback and recovery.
Native trunk membership is replaced with the exact requested allowed VLAN set.
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": {
"project_path": "<project_path>",
"topology": "<topology>",
"device": "<device>",
"parameters": "<parameters>"
},
"name": "hcl_apply_vlan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | ||
| dry_run | No | ||
| topology | Yes | ||
| parameters | Yes | ||
| project_path | Yes |