add_model_device
Add a model device to FortiManager for offline pre-configuration, enabling zero-touch provisioning before the physical device connects.
Instructions
Add a model device for offline provisioning.
Model devices allow pre-configuring policies and settings before the actual device connects to FortiManager. Useful for zero-touch provisioning workflows.
Args: adom: ADOM name where device will be added name: Device display name serial_number: Device serial number (e.g., "FGVM020000123456") platform: Platform type (default: "FortiGate-VM64") os_version: FortiOS version (default: "7.0") description: Device description
Returns: dict: Add result with keys: - status: "success" or "error" - device: Added device information - message: Status or error message
Example: >>> result = await add_model_device( ... adom="root", ... name="FGT-NewBranch", ... serial_number="FGVM02TM12345678", ... platform="FortiGate-60F", ... os_version="7.4" ... )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adom | Yes | ||
| name | Yes | ||
| serial_number | Yes | ||
| platform | No | FortiGate-VM64 | |
| os_version | No | 7.0 | |
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||