mirror of
https://opendev.org/x/pyghmi
synced 2025-01-15 04:07:48 +00:00
Allow setting UEFI/BIOS settings without registry
Bypass the dependency and value checking when no registry is available to provide that capability. This allows users contending with lesser implementations to at least get somewhat further. Change-Id: I5ac47e42cb6c0e5e2c07ae8c8a68b089e5e2e84a
This commit is contained in:
parent
bc98dd61b9
commit
1682a83622
@ -844,10 +844,10 @@ class Command(object):
|
||||
|
||||
def _getsyscfg(self):
|
||||
biosinfo = self._do_web_request(self._biosurl, cache=False)
|
||||
reginfo = None
|
||||
reginfo = ({}, {}, {}, {})
|
||||
extrainfo = {}
|
||||
valtodisplay = {}
|
||||
self.attrdeps = []
|
||||
self.attrdeps = {'Dependencies': [], 'Attributes': []}
|
||||
if 'AttributeRegistry' in biosinfo:
|
||||
overview = self._do_web_request('/redfish/v1/')
|
||||
reglist = overview['Registries']['@odata.id']
|
||||
|
Loading…
x
Reference in New Issue
Block a user