2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-27 19:37:44 +00:00

Remove a round trip delay for inventory

Enable potential concurrency for CPU and Memory
parent urls.

Change-Id: I258f5418efb32db3c171849749cd6f390b0724aa
This commit is contained in:
Jarrod Johnson 2019-04-10 15:39:48 -04:00
parent 9c4e520d93
commit 70de56bcbc

View File

@ -550,6 +550,9 @@ class Command(object):
}
yield ('System', sysinfo)
self._hwnamemap = {}
memurl = self.sysinfo.get('Memory', {}).get('@odata.id', None)
cpurl = self.sysinfo.get('Processors', {}).get('@odata.id', None)
list(self._do_bulk_requests([memurl, cpurl]))
adpurls = self._get_adp_urls()
cpurls = self._get_cpu_urls()
memurls = self._get_mem_urls()