Import model devices from a CSV file
Model devices can be imported using a CSV file. This can be used to import large numbers of model devices into FortiManager.
When importing model devices from a CSV file, a device blueprint is used to configure the initial settings. See Using device blueprints for model devices.
ADOM-level metadata variables for each device can be specified in the CSV file.
To import model devices from a CSV File:
- If ADOMs are enabled, select the ADOM to which you want to add the device.
- Go to Device Manager > Device & Groups.
- Click Add Device.
The Add Device dialog is displayed. - Click Import Model Devices from CSV File.
-
Configure your local CSV file for the devices that you want to import. The CSV file must contain the following columns:
Serial Number
,Device Blueprint
, andName
, with the respective data listed in the cells below. The headers in the CSV file are case-sensitive.If you are creating an HA cluster, also include the following columns:
Cluster Id
,Cluster Name
,Priority
, andHA Mode
.Additional columns can be added for each metadata variable that you want to specify. In the following image, the
branch_id
metadata variable has been added to specify this variable for each imported device. See ADOM-level metadata variables. - Drag and drop the CSV file into the Upload area, or select the CSV file location on your computer.
The model devices' serial numbers, names, blueprints, and optional metadata variables are displayed in the table. - (Optional) From the Copy Device Dashboard dropdown, select a device to copy custom device dashboards from.
For more information about dashboards in the device database, see Device DB - Dashboard.
- Review the device list, and click Next to begin importing the devices. Click Finish when the import process is complete.