Skip to content

Commit

Permalink
f5tt processor update
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziofiorucci committed Dec 21, 2023
1 parent b42d90d commit dd6b720
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions f5tt/bigiq.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,11 @@ def bigIqInventory(mode):
elaPlatformType = ''

for am in activeModulesArray:
if am.startswith('ELA,') or am.startswith('FCP,'):
if am.startswith(('ELA,','FCP,','Good Bundle','Better Bundle','Best Bundle')):
inventoryData['elaPlatform'] = am.split('|')[0]
elaPlatformType = am.split('|')[0].split(' ')[1].upper()
elaPlatformType = am.split('|')[0].split(' ')[-1].upper()
if elaPlatformType.lower() == 'Platforms'.lower():
elaPlatformType = am.split('|')[0].split(' ')[-2].upper()

if 'chassisSerialNumber' in invDevice['infoState']:
inventoryData['chassisSerialNumber'] = invDevice['infoState']['chassisSerialNumber'].strip()
Expand Down

0 comments on commit dd6b720

Please sign in to comment.