From 9d8e82281ebecb849aad5c602ad7a9cbabd60b93 Mon Sep 17 00:00:00 2001 From: fiorucci Date: Wed, 27 Nov 2024 22:26:17 +0000 Subject: [PATCH] Host slot info added --- f5tt/bigiq.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/f5tt/bigiq.py b/f5tt/bigiq.py index 2c1d8ca..b55114f 100644 --- a/f5tt/bigiq.py +++ b/f5tt/bigiq.py @@ -279,6 +279,11 @@ def bigIqInventory(mode): inventoryData['chassisSerialNumber'] = "" inventoryData['platform'] = platformInsights + if 'chassisSlotList' in invDevice['infoState']: + inventoryData['chassisSlotList'] = invDevice['infoState']['chassisSlotList'] + else: + inventoryData['chassisSlotList'] = {} + if 'licenseEndDateTime' in invDevice['infoState']['license']: inventoryData['licenseEndDateTime']=invDevice['infoState']['license']['licenseEndDateTime']