Reverted device inventory map to work with default configuration

This commit is contained in:
Raymond Kuiper 2025-09-09 10:00:53 +02:00
parent 18f52c1d40
commit b5d7596de7

View File

@ -93,8 +93,8 @@ device_inventory_map = { "asset_tag": "asset_tag",
"virtual_chassis/name": "chassis", "virtual_chassis/name": "chassis",
"status/label": "deployment_status", "status/label": "deployment_status",
"location/name": "location", "location/name": "location",
"site/latitude": "location_lat", "latitude": "location_lat",
"site/longitude": "location_lon", "longitude": "location_lon",
"comments": "notes", "comments": "notes",
"name": "name", "name": "name",
"rack/name": "site_rack", "rack/name": "site_rack",
@ -102,6 +102,8 @@ device_inventory_map = { "asset_tag": "asset_tag",
"device_type/model": "type", "device_type/model": "type",
"device_type/manufacturer/name": "vendor", "device_type/manufacturer/name": "vendor",
"oob_ip/address": "oob_ip" } "oob_ip/address": "oob_ip" }
# Replace latitude and longitude with site/latitude and and site/longitude to use
# site geo data. Enable extended_site_properties for this to work!
# We also support inventory mapping on Virtual Machines. # We also support inventory mapping on Virtual Machines.
vm_inventory_map = { "status/label": "deployment_status", vm_inventory_map = { "status/label": "deployment_status",