From b5d7596de768d60d5d25990e663c3f999821ae9c Mon Sep 17 00:00:00 2001 From: Raymond Kuiper Date: Tue, 9 Sep 2025 10:00:53 +0200 Subject: [PATCH] Reverted device inventory map to work with default configuration --- config.py.example | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config.py.example b/config.py.example index 869da30..cf0cf6b 100644 --- a/config.py.example +++ b/config.py.example @@ -93,8 +93,8 @@ device_inventory_map = { "asset_tag": "asset_tag", "virtual_chassis/name": "chassis", "status/label": "deployment_status", "location/name": "location", - "site/latitude": "location_lat", - "site/longitude": "location_lon", + "latitude": "location_lat", + "longitude": "location_lon", "comments": "notes", "name": "name", "rack/name": "site_rack", @@ -102,6 +102,8 @@ device_inventory_map = { "asset_tag": "asset_tag", "device_type/model": "type", "device_type/manufacturer/name": "vendor", "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. vm_inventory_map = { "status/label": "deployment_status",