Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes the issue where acknowledging a fault via ucsmsdk was not working #238

Merged
merged 1 commit into from
Oct 12, 2023
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
Expand Up @@ -3,6 +3,10 @@
History
-------

0.9.16 (2023-10-12)
---------------------
* Fixes the issue where acknowledging a fault was not working via ucsmsdk

0.9.15 (2023-08-29)
---------------------
* Support for UCSM release 4.3(2b)
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.15
current_version = 0.9.16
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='ucsmsdk',
version='0.9.15',
version='0.9.16',
description="Python SDK for Cisco UCS",
long_description=readme + '\n\n' + history,
long_description_content_type='text/markdown',
Expand Down
2 changes: 1 addition & 1 deletion ucsmsdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@

__author__ = 'Cisco Systems Inc'
__email__ = '[email protected]'
__version__ = '0.9.15'
__version__ = '0.9.16'
10 changes: 5 additions & 5 deletions ucsmsdk/mometa/fault/FaultInst.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ucsmsdk/ucsmeta.py
Original file line number Diff line number Diff line change
Expand Up @@ -3163,7 +3163,7 @@ class VersionMeta:
"FabricZoneIdUniverse": MoMeta("FabricZoneIdUniverse", "fabricZoneIdUniverse", "zone-id-universe", VersionMeta.Version211a, "InputOutput", 0x1, [], ["admin"], ['fabricEp'], [], [None]),
"FaultAffectedClass": MoMeta("FaultAffectedClass", "faultAffectedClass", "fault-[mo_class_id]", VersionMeta.Version211a, "InputOutput", 0x1, [], ["admin", "fault"], ['faultSuppressPolicy'], [], [None]),
"FaultHolder": MoMeta("FaultHolder", "faultHolder", "fault", VersionMeta.Version101e, "InputOutput", 0x1, [], ["admin", "fault"], ['topRoot'], ['faultLocalTypedHolder', 'faultPolicy', 'faultSuppressPolicy', 'faultSuppressTask'], ["Get"]),
"FaultInst": MoMeta("FaultInst", "faultInst", "fault-[code]", VersionMeta.Version111j, "OutputOnly", 0x1, [], ["admin", "fault", "operations"], ['aaaAuthRealm', 'aaaConsoleAuth', 'aaaDefaultAuth', 'aaaDomain', 'aaaDomainAuth', 'aaaLdapEp', 'aaaLocale', 'aaaOrg', 'aaaProviderGroup', 'aaaRadiusEp', 'aaaRole', 'aaaTacacsPlusEp', 'aaaUser', 'aaaUserEp', 'aaaUserLocale', 'aaaUserRole', 'adaptorExtEthIf', 'adaptorHostEthIf', 'adaptorHostFcIf', 'adaptorHostIscsiIf', 'adaptorHostScsiIf', 'adaptorHostServiceEthIf', 'adaptorUnit', 'adaptorUnitExtn', 'adaptorVlan', 'biosUnit', 'callhomeEp', 'capabilityCatalogue', 'capabilityMgmtExtension', 'capabilityUpdater', 'cimcvmediaActualMountEntry', 'cloudDeviceConnectorEp', 'commDateTime', 'commSnmp', 'commSnmpUser', 'commSvcEp', 'computeAdminAck', 'computeAutoconfigPolicy', 'computeBlade', 'computeBladeInheritPolicy', 'computeBoard', 'computeExtBoard', 'computeFwSyncAck', 'computeIOHub', 'computePhysicalExtension', 'computePool', 'computeRackUnit', 'computeRtcBattery', 'computeServerDiscPolicy', 'computeServerUnit', 'cpmaintAck', 'dcxNs', 'dcxVIf', 'dcxVc', 'epqosDefinition', 'epqosDefinitionDelTask', 'equipmentAutoconfigPolicy', 'equipmentBeaconLed', 'equipmentChassis', 'equipmentChassisInheritPolicy', 'equipmentChassisIssues', 'equipmentChassisProfile', 'equipmentComputeConn', 'equipmentCrossFabricModule', 'equipmentFan', 'equipmentFanModule', 'equipmentFex', 'equipmentHealthLed', 'equipmentIOCard', 'equipmentInventoryStatus', 'equipmentLocatorLed', 'equipmentPsu', 'equipmentRequirement', 'equipmentSharedIOModule', 'equipmentSwitchCard', 'equipmentSwitchIOCard', 'equipmentSystemIOController', 'equipmentTpm', 'etherPIo', 'etherServerIntFIo', 'etherSwitchIntFIo', 'etherSwitchIntFIoPc', 'extmgmtArpTargets', 'extmgmtIf', 'extmgmtNdiscTargets', 'extpolClient', 'extpolEp', 'extpolProvider', 'extpolRegistry', 'extvmmEp', 'extvmmFNDReference', 'extvmmKeyStore', 'extvmmMasterExtKey', 'extvmmNetworkSets', 'extvmmProvider', 'extvmmSwitchDelTask', 'extvmmVMNDRef', 'extvmmVMNetwork', 'extvmmVMNetworkDefinition', 'fabricCartridgePhEp', 'fabricCartridgeSlotEp', 'fabricChassisEp', 'fabricComputeMSlotEp', 'fabricComputePhEp', 'fabricComputeSlotEp', 'fabricDceSwSrvEp', 'fabricDceSwSrvPc', 'fabricDceSwSrvPcEp', 'fabricEpMgr', 'fabricEthEstcEp', 'fabricEthEstcPc', 'fabricEthEstcPcEp', 'fabricEthLan', 'fabricEthLanEp', 'fabricEthLanPc', 'fabricEthLanPcEp', 'fabricEthLinkProfile', 'fabricEthMon', 'fabricEthMonDestEp', 'fabricEthTargetEp', 'fabricEthVlanPc', 'fabricEthVlanPortEp', 'fabricFcEstcEp', 'fabricFcMon', 'fabricFcMonDestEp', 'fabricFcSan', 'fabricFcSanEp', 'fabricFcSanPc', 'fabricFcSanPcEp', 'fabricFcUserZone', 'fabricFcVsanPc', 'fabricFcVsanPortEp', 'fabricFcZoneProfile', 'fabricFcoeEstcEp', 'fabricFcoeSanEp', 'fabricFcoeSanPc', 'fabricFcoeSanPcEp', 'fabricFcoeVsanPc', 'fabricFcoeVsanPortEp', 'fabricLanCloud', 'fabricLanPinGroup', 'fabricLanPinTarget', 'fabricMulticastPolicy', 'fabricNetGroup', 'fabricNetGroupRef', 'fabricNetflowMonExporter', 'fabricNetflowMonExporterRef', 'fabricNetflowMonSession', 'fabricNetflowMonitor', 'fabricNetflowMonitorRef', 'fabricPooledVlan', 'fabricReservedVlan', 'fabricSanCloud', 'fabricSanGroupRef', 'fabricSanPinGroup', 'fabricSanPinTarget', 'fabricSwChPhEp', 'fabricVlan', 'fabricVlanGroupReq', 'fabricVlanReq', 'fabricVnetEpSyncEp', 'fabricVsan', 'fabricVsanEp', 'fabricVsanMembership', 'faultSuppressTask', 'fcPIo', 'fcpoolAddr', 'fcpoolInitiators', 'fcpoolOuis', 'firmwareAck', 'firmwareAutoSyncPolicy', 'firmwareBootUnit', 'firmwareDistributable', 'firmwareDownloader', 'firmwareImage', 'firmwareInfra', 'firmwarePackItem', 'firmwareSecureFPGA', 'firmwareStatus', 'firmwareSystem', 'firmwareUpdatable', 'flowctrlItem', 'gmetaHolder', 'identIdentRequest', 'identMetaSystem', 'ippoolAddr', 'ippoolIpV6Addr', 'ippoolPool', 'iqnpoolAddr', 'iqnpoolPool', 'licenseDownloader', 'licenseFile', 'licenseInstance', 'lsBinding', 'lsIdentityInfo', 'lsIssues', 'lsRequirement', 'lsServer', 'lsmaintAck', 'lsmaintMaintPolicy', 'lstorageDasScsiLun', 'lstorageProfileBinding', 'macpoolAddr', 'macpoolPool', 'memoryArray', 'memoryBufferUnit', 'memoryPersistentMemoryConfigResult', 'memoryPersistentMemoryConfiguration', 'memoryPersistentMemoryNamespace', 'memoryPersistentMemoryNamespaceConfigResult', 'memoryPersistentMemoryUnit', 'memoryUnit', 'mgmtBackup', 'mgmtBackupPolicy', 'mgmtBackupPolicyConfig', 'mgmtCfgExportPolicy', 'mgmtConnection', 'mgmtController', 'mgmtDbState', 'mgmtEntity', 'mgmtHealthStatus', 'mgmtIPv6IfAddr', 'mgmtIf', 'mgmtImporter', 'mgmtInterface', 'mgmtKvmCertificate', 'mgmtPmonEntry', 'moIpV4AddrKv', 'moIpV6AddrKv', 'morefImportRoot', 'networkElement', 'networkLimit', 'networkOperLevel', 'nfsMountDef', 'nfsMountInst', 'observeObserved', 'pciEquipSlot', 'pciSwitch', 'pfcWatchDog', 'pkiEp', 'pkiKeyRing', 'pkiTP', 'policyControlEp', 'policyControlledType', 'policyPolicyScope', 'policyPolicyScopeCont', 'policyRequestor', 'powerBudget', 'powerChassisMember', 'powerGroup', 'powerPolicy', 'processorUnit', 'qosclassDefinition', 'qosclassSlowDrain', 'statsCollectionPolicy', 'storageConnectionDef', 'storageConnectionPolicy', 'storageController', 'storageEnclosure', 'storageEnclosureDiskSlotEp', 'storageFlexFlashCard', 'storageFlexFlashController', 'storageFlexFlashDrive', 'storageFlexFlashVirtualDrive', 'storageIniGroup', 'storageInitiator', 'storageItem', 'storageLocalDisk', 'storageLocalDiskSlotEp', 'storageMezzFlashLife', 'storageNvmeSwitch', 'storageRaidBattery', 'storageSasExpander', 'storageSystem', 'storageVDMemberEp', 'storageVirtualDrive', 'storageVsanRef', 'swAccessDomain', 'swEthLanBorder', 'swEthLanFlowMon', 'swEthMon', 'swEthTargetEp', 'swExtUtility', 'swFcMon', 'swFcSanBorder', 'swPhys', 'swPortDiscover', 'swSystemStats', 'swUtilityDomain', 'swVlan', 'swVlanPortNs', 'syntheticFsObj', 'sysdebugAutoCoreFileExportTarget', 'sysdebugCore', 'sysdebugLogControlEp', 'sysdebugLogExportPolicy', 'sysdebugLogExportStatus', 'sysdebugMEpLog', 'sysdebugManualCoreFileExportTarget', 'sysdebugTechSupport', 'sysfileMutation', 'trigTest', 'uuidpoolAddr', 'uuidpoolPool', 'vmLifeCyclePolicy', 'vmNic', 'vmVif', 'vnicConnDef', 'vnicDynamicConPolicyRef', 'vnicEthConfig', 'vnicEther', 'vnicEtherIf', 'vnicFc', 'vnicFcGroupDef', 'vnicFcGroupTempl', 'vnicFcIf', 'vnicFcNode', 'vnicIPv4PooledIscsiAddr', 'vnicIScsi', 'vnicIScsiBootVnic', 'vnicIScsiConfig', 'vnicIScsiLCP', 'vnicIScsiNode', 'vnicIScsiStaticTargetIf', 'vnicIpV4MgmtPooledAddr', 'vnicIpV4PooledAddr', 'vnicIpV6MgmtPooledAddr', 'vnicIpc', 'vnicLanConnTempl', 'vnicProfile', 'vnicProfileSet', 'vnicSanConnTempl', 'vnicScsi', 'vnicSriovHpnConPolicyRef', 'vnicUsnicConPolicyRef', 'vnicVmqConPolicyRef'], [], ["Get"]),
"FaultInst": MoMeta("FaultInst", "faultInst", "fault-[code]", VersionMeta.Version111j, "InputOutput", 0x1, [], ["admin", "fault", "operations"], ['aaaAuthRealm', 'aaaConsoleAuth', 'aaaDefaultAuth', 'aaaDomain', 'aaaDomainAuth', 'aaaLdapEp', 'aaaLocale', 'aaaOrg', 'aaaProviderGroup', 'aaaRadiusEp', 'aaaRole', 'aaaTacacsPlusEp', 'aaaUser', 'aaaUserEp', 'aaaUserLocale', 'aaaUserRole', 'adaptorExtEthIf', 'adaptorHostEthIf', 'adaptorHostFcIf', 'adaptorHostIscsiIf', 'adaptorHostScsiIf', 'adaptorHostServiceEthIf', 'adaptorUnit', 'adaptorUnitExtn', 'adaptorVlan', 'biosUnit', 'callhomeEp', 'capabilityCatalogue', 'capabilityMgmtExtension', 'capabilityUpdater', 'cimcvmediaActualMountEntry', 'cloudDeviceConnectorEp', 'commDateTime', 'commSnmp', 'commSnmpUser', 'commSvcEp', 'computeAdminAck', 'computeAutoconfigPolicy', 'computeBlade', 'computeBladeInheritPolicy', 'computeBoard', 'computeExtBoard', 'computeFwSyncAck', 'computeIOHub', 'computePhysicalExtension', 'computePool', 'computeRackUnit', 'computeRtcBattery', 'computeServerDiscPolicy', 'computeServerUnit', 'cpmaintAck', 'dcxNs', 'dcxVIf', 'dcxVc', 'epqosDefinition', 'epqosDefinitionDelTask', 'equipmentAutoconfigPolicy', 'equipmentBeaconLed', 'equipmentChassis', 'equipmentChassisInheritPolicy', 'equipmentChassisIssues', 'equipmentChassisProfile', 'equipmentComputeConn', 'equipmentCrossFabricModule', 'equipmentFan', 'equipmentFanModule', 'equipmentFex', 'equipmentHealthLed', 'equipmentIOCard', 'equipmentInventoryStatus', 'equipmentLocatorLed', 'equipmentPsu', 'equipmentRequirement', 'equipmentSharedIOModule', 'equipmentSwitchCard', 'equipmentSwitchIOCard', 'equipmentSystemIOController', 'equipmentTpm', 'etherPIo', 'etherServerIntFIo', 'etherSwitchIntFIo', 'etherSwitchIntFIoPc', 'extmgmtArpTargets', 'extmgmtIf', 'extmgmtNdiscTargets', 'extpolClient', 'extpolEp', 'extpolProvider', 'extpolRegistry', 'extvmmEp', 'extvmmFNDReference', 'extvmmKeyStore', 'extvmmMasterExtKey', 'extvmmNetworkSets', 'extvmmProvider', 'extvmmSwitchDelTask', 'extvmmVMNDRef', 'extvmmVMNetwork', 'extvmmVMNetworkDefinition', 'fabricCartridgePhEp', 'fabricCartridgeSlotEp', 'fabricChassisEp', 'fabricComputeMSlotEp', 'fabricComputePhEp', 'fabricComputeSlotEp', 'fabricDceSwSrvEp', 'fabricDceSwSrvPc', 'fabricDceSwSrvPcEp', 'fabricEpMgr', 'fabricEthEstcEp', 'fabricEthEstcPc', 'fabricEthEstcPcEp', 'fabricEthLan', 'fabricEthLanEp', 'fabricEthLanPc', 'fabricEthLanPcEp', 'fabricEthLinkProfile', 'fabricEthMon', 'fabricEthMonDestEp', 'fabricEthTargetEp', 'fabricEthVlanPc', 'fabricEthVlanPortEp', 'fabricFcEstcEp', 'fabricFcMon', 'fabricFcMonDestEp', 'fabricFcSan', 'fabricFcSanEp', 'fabricFcSanPc', 'fabricFcSanPcEp', 'fabricFcUserZone', 'fabricFcVsanPc', 'fabricFcVsanPortEp', 'fabricFcZoneProfile', 'fabricFcoeEstcEp', 'fabricFcoeSanEp', 'fabricFcoeSanPc', 'fabricFcoeSanPcEp', 'fabricFcoeVsanPc', 'fabricFcoeVsanPortEp', 'fabricLanCloud', 'fabricLanPinGroup', 'fabricLanPinTarget', 'fabricMulticastPolicy', 'fabricNetGroup', 'fabricNetGroupRef', 'fabricNetflowMonExporter', 'fabricNetflowMonExporterRef', 'fabricNetflowMonSession', 'fabricNetflowMonitor', 'fabricNetflowMonitorRef', 'fabricPooledVlan', 'fabricReservedVlan', 'fabricSanCloud', 'fabricSanGroupRef', 'fabricSanPinGroup', 'fabricSanPinTarget', 'fabricSwChPhEp', 'fabricVlan', 'fabricVlanGroupReq', 'fabricVlanReq', 'fabricVnetEpSyncEp', 'fabricVsan', 'fabricVsanEp', 'fabricVsanMembership', 'faultSuppressTask', 'fcPIo', 'fcpoolAddr', 'fcpoolInitiators', 'fcpoolOuis', 'firmwareAck', 'firmwareAutoSyncPolicy', 'firmwareBootUnit', 'firmwareDistributable', 'firmwareDownloader', 'firmwareImage', 'firmwareInfra', 'firmwarePackItem', 'firmwareSecureFPGA', 'firmwareStatus', 'firmwareSystem', 'firmwareUpdatable', 'flowctrlItem', 'gmetaHolder', 'identIdentRequest', 'identMetaSystem', 'ippoolAddr', 'ippoolIpV6Addr', 'ippoolPool', 'iqnpoolAddr', 'iqnpoolPool', 'licenseDownloader', 'licenseFile', 'licenseInstance', 'lsBinding', 'lsIdentityInfo', 'lsIssues', 'lsRequirement', 'lsServer', 'lsmaintAck', 'lsmaintMaintPolicy', 'lstorageDasScsiLun', 'lstorageProfileBinding', 'macpoolAddr', 'macpoolPool', 'memoryArray', 'memoryBufferUnit', 'memoryPersistentMemoryConfigResult', 'memoryPersistentMemoryConfiguration', 'memoryPersistentMemoryNamespace', 'memoryPersistentMemoryNamespaceConfigResult', 'memoryPersistentMemoryUnit', 'memoryUnit', 'mgmtBackup', 'mgmtBackupPolicy', 'mgmtBackupPolicyConfig', 'mgmtCfgExportPolicy', 'mgmtConnection', 'mgmtController', 'mgmtDbState', 'mgmtEntity', 'mgmtHealthStatus', 'mgmtIPv6IfAddr', 'mgmtIf', 'mgmtImporter', 'mgmtInterface', 'mgmtKvmCertificate', 'mgmtPmonEntry', 'moIpV4AddrKv', 'moIpV6AddrKv', 'morefImportRoot', 'networkElement', 'networkLimit', 'networkOperLevel', 'nfsMountDef', 'nfsMountInst', 'observeObserved', 'pciEquipSlot', 'pciSwitch', 'pfcWatchDog', 'pkiEp', 'pkiKeyRing', 'pkiTP', 'policyControlEp', 'policyControlledType', 'policyPolicyScope', 'policyPolicyScopeCont', 'policyRequestor', 'powerBudget', 'powerChassisMember', 'powerGroup', 'powerPolicy', 'processorUnit', 'qosclassDefinition', 'qosclassSlowDrain', 'statsCollectionPolicy', 'storageConnectionDef', 'storageConnectionPolicy', 'storageController', 'storageEnclosure', 'storageEnclosureDiskSlotEp', 'storageFlexFlashCard', 'storageFlexFlashController', 'storageFlexFlashDrive', 'storageFlexFlashVirtualDrive', 'storageIniGroup', 'storageInitiator', 'storageItem', 'storageLocalDisk', 'storageLocalDiskSlotEp', 'storageMezzFlashLife', 'storageNvmeSwitch', 'storageRaidBattery', 'storageSasExpander', 'storageSystem', 'storageVDMemberEp', 'storageVirtualDrive', 'storageVsanRef', 'swAccessDomain', 'swEthLanBorder', 'swEthLanFlowMon', 'swEthMon', 'swEthTargetEp', 'swExtUtility', 'swFcMon', 'swFcSanBorder', 'swPhys', 'swPortDiscover', 'swSystemStats', 'swUtilityDomain', 'swVlan', 'swVlanPortNs', 'syntheticFsObj', 'sysdebugAutoCoreFileExportTarget', 'sysdebugCore', 'sysdebugLogControlEp', 'sysdebugLogExportPolicy', 'sysdebugLogExportStatus', 'sysdebugMEpLog', 'sysdebugManualCoreFileExportTarget', 'sysdebugTechSupport', 'sysfileMutation', 'trigTest', 'uuidpoolAddr', 'uuidpoolPool', 'vmLifeCyclePolicy', 'vmNic', 'vmVif', 'vnicConnDef', 'vnicDynamicConPolicyRef', 'vnicEthConfig', 'vnicEther', 'vnicEtherIf', 'vnicFc', 'vnicFcGroupDef', 'vnicFcGroupTempl', 'vnicFcIf', 'vnicFcNode', 'vnicIPv4PooledIscsiAddr', 'vnicIScsi', 'vnicIScsiBootVnic', 'vnicIScsiConfig', 'vnicIScsiLCP', 'vnicIScsiNode', 'vnicIScsiStaticTargetIf', 'vnicIpV4MgmtPooledAddr', 'vnicIpV4PooledAddr', 'vnicIpV6MgmtPooledAddr', 'vnicIpc', 'vnicLanConnTempl', 'vnicProfile', 'vnicProfileSet', 'vnicSanConnTempl', 'vnicScsi', 'vnicSriovHpnConPolicyRef', 'vnicUsnicConPolicyRef', 'vnicVmqConPolicyRef'], [], ["Get"]),
"FaultLocalTypedHolder": MoMeta("FaultLocalTypedHolder", "faultLocalTypedHolder", "type-[type]", VersionMeta.Version211a, "InputOutput", 0x1, [], ["admin", "fault"], ['faultHolder'], [], [None]),
"FaultPolicy": MoMeta("FaultPolicy", "faultPolicy", "fault-policy", VersionMeta.Version101e, "InputOutput", 0x1, [], ["admin", "fault"], ['faultHolder'], [], ["Get", "Set"]),
"FaultSuppressPolicy": MoMeta("FaultSuppressPolicy", "faultSuppressPolicy", "fault-suppress-policy-[name]", VersionMeta.Version211a, "InputOutput", 0x1, [], ["read-only"], ['faultHolder'], ['faultAffectedClass', 'faultSuppressPolicyItem'], [None]),
Expand Down
Loading