From 70de56bcbcba9d098813aaae0055c34ebc963aae Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 10 Apr 2019 15:39:48 -0400 Subject: [PATCH] Remove a round trip delay for inventory Enable potential concurrency for CPU and Memory parent urls. Change-Id: I258f5418efb32db3c171849749cd6f390b0724aa --- pyghmi/redfish/command.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyghmi/redfish/command.py b/pyghmi/redfish/command.py index a60607d3..6c91bfa4 100644 --- a/pyghmi/redfish/command.py +++ b/pyghmi/redfish/command.py @@ -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()