set_config
Set or create firewall configuration at a specific XPath location, staging changes in the candidate config for later commit to take effect.
Instructions
[MODIFIES CONFIG] Sets or creates configuration at a specific XPath location on the firewall. Changes are staged in the candidate config and require a separate 'commit' to take effect on the running firewall.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xpath | Yes | XPath to the configuration location (e.g., '/config/devices/entry[@name="localhost.localdomain"]/vsys/entry[@name="vsys1"]/address') | |
| element | Yes | XML element to set at the xpath location (e.g., '<entry name="test-addr"><ip-netmask>10.0.0.1/32</ip-netmask></entry>') | |
| firewall | No | Target firewall name (from firewalls.json). Required when multiple firewalls are configured; optional otherwise. |