Fix missing attribute on redfish command objects
Change-Id: I429abc1bf3784607c8a4f2f7b688f2285ca9a711
This commit is contained in:
parent
c6520d56ff
commit
4c27c21d33
|
@ -164,6 +164,7 @@ class Command(object):
|
|||
self._oem = None
|
||||
self._gpool = pool
|
||||
self._bmcv4ip = None
|
||||
self._bmcv6ip = None
|
||||
for addrinf in socket.getaddrinfo(bmc, 0, 0, socket.SOCK_STREAM):
|
||||
if addrinf[0] == socket.AF_INET:
|
||||
self._bmcv4ip = socket.inet_pton(addrinf[0], addrinf[-1][0])
|
||||
|
|
Loading…
Reference in New Issue