get_device_sdwan
Retrieve a managed FortiGate's local SD-WAN configuration—members, zones, health checks, and steering rules—from FortiManager's device DB when no wanprof template is assigned.
Instructions
Get a managed device's SD-WAN configuration from FortiManager's device DB.
Unlike get_sdwan_template (which reads wanprof templates in an ADOM),
this reads the SD-WAN config local to the device itself -- members/zones,
health-checks and service (steering) rules -- from the device database
FortiManager keeps in sync with the FortiGate. Use this when a device runs
SD-WAN but has no wanprof template assigned (list_sdwan_templates
returns nothing) yet you still need its members, zones and steering rules.
Args: device: Managed device name (e.g. "myfw01") vdom: VDOM name (default: "root")
Returns: dict with keys: - device, vdom - sdwan: raw system/sdwan config object - summary: condensed members/zones/health-checks/service rules - error / error_code: on failure
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | root | |
| device | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||