Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
History
=======
0.9.17 (2025-03-28)
--------------------
* Bug fixes

0.9.16 (2025-03-05)
--------------------
* Bug fixes and Bios updates
Expand Down
2 changes: 1 addition & 1 deletion imcsdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ def set_log_level(level=logging.DEBUG):

__author__ = 'Cisco Systems'
__email__ = 'ucs-python@cisco.com'
__version__ = '0.9.16'
__version__ = '0.9.17'
5 changes: 3 additions & 2 deletions imcsdk/imchandle.py
Original file line number Diff line number Diff line change
Expand Up @@ -742,8 +742,9 @@ def _get_mo_status(self, mo, operation, modify_present=True):
# "Invalid request: adminAction and status are not expected in the same configConfMo request of commVMediaMap".
# Keep the default status as "modified" for other admin actions.
from imcsdk.mometa.comm.CommVMediaMap import CommVMediaMap, CommVMediaMapConsts
if all([isinstance(mo, CommVMediaMap), hasattr(mo, 'admin_action'), mo.admin_action == CommVMediaMapConsts.ADMIN_ACTION_SAVE_UNMAPPED_VOLUME]):
status = ""
if isinstance(mo, CommVMediaMap):
if hasattr(mo, 'admin_action') and mo.admin_action == CommVMediaMapConsts.ADMIN_ACTION_SAVE_UNMAPPED_VOLUME:
status = ""
elif operation == "add":
status = "created"
if modify_present in imcgenutils.AFFIRMATIVE_LIST and self.query_dn(mo.dn) is not None:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.9.16
current_version = 0.9.17
commit = False
tag = False

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

setup(
name='imcsdk',
version='0.9.16',
version='0.9.17',
description="python SDK for Cisco UCS IMC",
long_description=readme + '\n\n' + history,
long_description_content_type='text/x-rst',
Expand Down