Import Data
Introduction
The Import Data task can help you to create and update Ranges, IP addresses or Devices/Interfaces from an excel spreadsheet
Simply copy the contents of the excel spreadsheet, or relevant parts of it, and paste into the text area field in the task.
The pasted data will be tab separated, so it is also possible to generate a tab separated string by other means and paste that in to the text area, instead of using excel.
It is also possible to paste in comma or semi-colon separated data, and the delimiter will be automatically detected.
The first line in the spreadsheet and pasted data must be the header line. It should contain the column names of the Custom and system properties that are to be imported.
Excel schema (column headers)
(columns in bold red are required)
Ranges:
- Range - CIDR notation of the range.
- autoAssign - Boolean for whether to turn on auto assignment for the range
- locked - Boolean for whether the range should be locked
- is_subnet - Boolean for whether to turn on the subnet flag on the range (where the network and broadcast address are reserved)
- isContainer - Boolean for whether the range should be a Container or not.
- Range Property 1
- ...
- Range Property n
The required Range column can also be provided as a pair of columns of either:
- network_address and network_mask
- from and to
in which case the Range column would be generated out of the above columns.
Note:netmask part in Range and network_mask can be either in a numeric (e.g. /24) or a dotted quad notation (e.g. 255.255.255.0)
IP addresses:
- Address" - the IPv4 or IPv6 address
- Claimed - Boolean whether to claim the IP address
- Address Property 1
- ...
- Address Property n
Devices/Interfaces:
- Device - name of device
- Device Property 1
- ...
- Device Property n
- *Interface - name of the interface on the device
- addresses - optional list of addresses, comma separated, that the device/interface should be linked to
- clientIdentifier - optional Hardware MAC address to assign to the interface
- Interface Property 1
- ...
- Interface Property n
* If the Interface column is missing or empty, no interface will be created/updated for that line.
Note: Boolean values are 1/0, y/n or Yes/No, case insensitive.