Skip to content

Commit

Permalink
version 4.3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeevkallur committed Jun 27, 2023
1 parent 586362e commit cb15c8e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 19 deletions.
11 changes: 8 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,21 @@
extras = {}

setup(name='python-ilorest-library',
version='4.0.0.0',
version='4.5.0.0',
description='iLO Rest Python Library',
author = 'Hewlett Packard Enterprise',
author_email = '[email protected]',
extras_require = extras,
classifiers=[
'Development Status :: 3 - Alpha',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Communications'
],
keywords='Hewlett Packard Enterprise',
Expand Down
2 changes: 1 addition & 1 deletion src/redfish/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
""" Redfish restful library """

__all__ = ["rest", "ris", "hpilo"]
__version__ = "4.2.0.0"
__version__ = "4.3.0.0"

import logging
from redfish.rest.v1 import AuthMethod, LegacyRestClient, RedfishClient
Expand Down
22 changes: 7 additions & 15 deletions src/redfish/ris/rmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1689,25 +1689,17 @@ def _getinstances(self, selector=None, path_refresh=False, crawl=False):
selector = None if selector == '"*"' else selector
if self.monolith:
if self.redfishinst.is_redfish:
if selector in ["Bios.", "hpeserverbootsettings."]:
instances = [
inst
for inst in self.monolith.iter(selector)
if inst.maj_type not in ["object", "string"]
and "redfish" in inst.path and "settings" in inst.path
]
else:
instances = [
inst
for inst in self.monolith.iter(selector)
if inst.maj_type not in ["object", "string"]
and "redfish" in inst.path and "settings" not in inst.path
]
instances = [
inst
for inst in self.monolith.iter(selector)
if inst.maj_type not in ["object", "string"]
and "redfish" in inst.path
]
else:
instances = [
inst
for inst in self.monolith.iter(selector)
if inst.maj_type not in ["object", "string"] and "rest" in inst.path and "settings" not in inst.path
if inst.maj_type not in ["object", "string"] and "rest" in inst.path
]

_ = [setattr(inst, "patches", []) for inst in instances if path_refresh]
Expand Down

0 comments on commit cb15c8e

Please sign in to comment.