The AMM provides different mechanisms to export information to CSV files and then re-import that data for various purposes (e.g. to configure multiple devices, share templates etc.). Alternatively, CSV files can be created from scratch and then imported. This topic provides details about the fields and requirements of the various CSV files that the AMM can process.
Notes:
- The content of a CSV file includes one “header row” containing the column names, and then one or more rows of data.
- Some CSV files include comments above the header row, each preceded with the “#” character, that provide additional information.
The download template icon in the Deploy a Template section of the configuration template wizard allows you to export WAN, WiFi, and VPN settings for multiple devices.
Note: Prior to AMM 2.17, the AMM included specific menus for exporting/importing WAN, WiFi, and VPN settings. For more information see the AMM 2.16.2 Operation and Configuration Guide available on https://source.sierrawireless.com/.
The Configuration Template CSV file must adhere to the following rules:
The CSV includes the following information for the respective platforms:
MGOS
ALEOS
Note: In 2.17, Device Name (Services -> Dynamic DNS) is not supported to be set via CSV import during template deployment.
A device CSV can be created, or optionally exported from the Admin -> Gateways menu. This CSV can then be used for importing multiple devices into the AMM and contains the following information:
Note: For issues setting serial numbers for GX440 devices, see Adding GX440 Devices with Long Serial Numbers to an AMM .
Note: in AMM 2.16.2+, the Name field for an ALEOS device will be automatically populated with the value of MSCIID 5023 if no name has been assigned to the device during gateway creation or import into the AMM. For more information see Commonly Used MSCIIDs .
Note: The name cannot contain < or > characters.
Note: The group name itself cannot contain < or > characters. The > character can however be used in between entity names to specify a parent-child hierarchy representing a group and a device name (e.g.,
CustomerA > Device1
).
Note: multiple device import is supported in oMM 2.15.1.1 and above, and is only available to users who have administrative access to the Admin->Gateways screen.
Warning: Some devices such as the GNX3 and GNX6 have serial numbers starting with leading zeros (e.g. 000036067998). However, some spreadsheet applications may be configured to treat cell values as numbers causing the leading zeros to be trimmed. Serial numbers that have been trimmed in this manner will not be accepted by the AMM, so it’s important to ensure that cell values are not being trimmed by your spreadsheet application.
The following is a sample of a CSV file for VPN configuration. The first row of data shows a gateway being added to two folders, the second row of data shows a gateway being added to a single folder, and the third row shows a gateway being added to a subfolder.
CSV for Device Import
# This CSV file contains a header line followed by the data lines representing the gateways to be imported to the AMM. # # -A comma (,) is required as a field delimiter. # -Double quotation marks (“) are required for any fields containing commas. # -A greater-than sign (>) is required as a delimiter for groups. # Example: CA10882023210,Unit 102,JT > AirLink,Default Vehicle Group > Gateway # # -Groups that do not exist in the AMM will be created as defined by the structure in the CSV file. # -Duplicate IDs in the CSV file will be ignored except for the first instance. # -Options will be provided for user to decide how to deal with a gateway entry in the CSV file if its ID already exists in the AMM system. # -Users can choose to ignore the entry or instruct the AMM to modify the gateway name and group in the system according to the CSV file if these fields are not empty. # -Entries without group information which do not already exist in the AMM system will be populated with the group the user was assigned to in Admin->Users. # -All gateways being added/modified via CSV import will be logged in User Activity. # -ALEOS MSCI Configurations can be modified using this template by adding column headers in the form of MSCIID= and supplying values for each gateway row at the corresponding column’s position. Note that only configurations available in the initial import will be modifiable until the gateway reports in # -Location accepts latitude and longitude pair separated by comma (,). Example: 49.17172, -123.07035 | |||||||
---|---|---|---|---|---|---|---|
ID | Name | Groups | Vehicle Type | Customer | Location | Contact | MSCIID=5024 |
H111111G3111 | Bob’s Gateway | “Fleet1,Fleet2” | Default Vehicle Group > Gateway | Test Co. | 49.1725, -123.071 | joes@test.com | 8 |
H241511G2191 | Jon’s Gateway | “Fleet 1” | Default Vehicle Group > Heavy-Duty-Bucket-Truck | 8 | |||
H351511H3122 | Mary’s Gateway | “Fleet1 > Users > SuperUsers” | DefaultVehicleGroup > Gateway | 8 |
The following rules must be adhered to when modifying and deploying CSV files which importing devices:
Note: if a gateway listed in the CSV already exists on the AMM, it will be moved to the group(s) specified in the CSV, if they differ from those to which the gateways are assigned to on the AMM.
The VPN CSV contains the following information:
The following is a sample of a .CSV file for VPN configuration:
# This CSV file contains a header line followed by the data lines representing the selected ESNs and their configurations. | ||||||||
---|---|---|---|---|---|---|---|---|
# VPN Name column is for users who have multiple VPNs and want to consolidate upload data of all VPNs in one master CSV. Leave column empty if you do not use this feature. | ||||||||
ESN | Preshared_key | VPN Name | ||||||
H111111G3111 | ABC1234 | Test-WPA2-PSK-AES(N) | testvpn |
The following rules must be adhered to when modifying and deploying VPN CSV files: * There must be one “header row” containing a contiguous set of columns with the following names: ESN, Preshared_key, and VPN Name. * Each gateway must be remotely configurable. * Each selected gateway must have a corresponding row in the CSV. * Each tunnel name must be configured on each selected gateway. * Each configuration field must be configured on the selected gateways. * Values in the CSV must be present and must match those on the selected gateways. * Tunnel names must be unique. * Each selected gateway must be in sync with the AMM. * Each VPN profile must exist on the selected gateways, and each VPN profile from each selected gateway must be in the CSV. * Duplicate rows (i.e. rows with same values for each column) are forbidden. However, if duplicate rows are found, the last instance will be used.
A WAN Wifi CSV file can be used for PSK rotation as described in CSV Import | Export .
The WAN WiFi CSV file contains the following information:
The following is a sample of a .CSV file for WIFI configuration:
# This CSV file contains a header line followed by the data lines representing the selected ESNs and their WiFi configuration. | ||||||||
---|---|---|---|---|---|---|---|---|
# The header line identifies the fields that are needed to configure the WiFi networks for an ESN. | ||||||||
# For Import to work: the header must be complete and match the data lines that follow. | ||||||||
# Each line must have the ESN followed by one or more WiFi networks. | ||||||||
# Each WiFi network is defined by a set of fields: WiFiNetworkName SSID PSKKey PSK CustomHostName StaticIpAddress NetworkMask Gateway | ||||||||
# You should only update the PSK, CustomHostName, StaticIpAddress, NetworkMask, or Gateway field. If any other field is modified, Import will not work. | ||||||||
# The fields in a WiFi network must be positioned in the exact order without any additional field in the set. | ||||||||
# | ||||||||
ESN | WiFiNetworkName | SSID | PSKKey | PSK | CustomHostName | StaticIpAddress | NetworkMask | Gateway |
H111111G0021 | Test-WPA2-PSK-AES(N) | Test-WPA2-PSK-AES(N) | mypassphrase | zzbbffddeeff112233445566ff | ABC | 10.20.30.4 | 255.255.0.0 | 123.54.76.89 |
H111111G0765 | Test-WPA2-PSK-AES(N) | Test-WPA2-PSK-AES(N) | mypassphrase | aabbffddeeff112233445566ff |
The following rules must be adhered to when modifying and deploying WAN WiFi CSV files:
A WLAN Wifi CSV file can be used for PSK rotation as described in CSV Import | Export .
The WLAN WiFi CSV contains the following information. Note that the information (excluding the ESN) is stored both for the physical WLAN and the three virtual BSSID’s.
Note: depending on the encryption selected, additional fields will be included specific to that encryption type.
For more information on WLAN settings see the oMG Operation and Configuration Guide.
The following are example fields of a .CSV file for WLAN configuration. Note that the large number of encryption specific parameters which normally follow the Encryption column have been left out due to space constraints:
The following rules must be adhered to when modifying and deploying VPN CSV files:
Duplicate rows (i.e. rows with same values for each column) are forbidden. However, if duplicate rows are found, the last instance will be used.