get_device_interfaces
Retrieve current interface configuration and status from a managed FortiGate device through FortiManager proxy. Returns interface list with IP addresses and status.
Instructions
Get interface information from a managed device.
Queries the actual device through FortiManager proxy to get current interface configuration and status.
Args: adom: ADOM name device: Device name
Returns: dict: Interface information with keys: - status: "success" or "error" - data: Interface list from FortiGate API - message: Error message if failed
Example: >>> result = await get_device_interfaces("root", "FGT-HQ") >>> for iface in result['data']: ... print(f"{iface['name']}: {iface.get('ip')}")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adom | Yes | ||
| device | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||