From b6639a1cdd1dd907137fcddbdd4d426dc07ea60f Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Fri, 29 Nov 2019 23:36:24 +0100 Subject: [PATCH] Fix typos --- README.rst | 2 +- docs/idrac.rst | 12 ++++---- docs/intro.rst | 2 +- omdrivers/CMC.py | 2 +- omdrivers/F10.py | 2 +- omdrivers/FileList.py | 2 +- omdrivers/enums/iDRAC/iDRAC.py | 4 +-- omdrivers/iDRAC/Config/BIOS.json | 6 ++-- omdrivers/iDRAC/Config/NIC.json | 2 +- omdrivers/iDRAC/Config/RAID.json | 6 ++-- omdrivers/iDRAC/Config/iDRAC.json | 28 +++++++++--------- omdrivers/iDRAC/MOF/DCIM_VFlashView.mof | 2 +- omdrivers/iDRAC/MOF/DCIM_VirtualDiskView.mof | 2 +- omdrivers/iDRAC/iDRAC.Monitor | 2 +- omdrivers/iDRAC/xml/BIOS.xml | 6 ++-- omdrivers/iDRAC/xml/NIC.xml | 2 +- omdrivers/iDRAC/xml/RAID.xml | 6 ++-- omdrivers/iDRAC/xml/iDRAC.xml | 30 ++++++++++---------- omdrivers/lifecycle/iDRAC/RAIDHelper.py | 14 ++++----- omsdk/http/sdkredfishbase.py | 8 +++--- omsdk/http/sdkrestbase.py | 2 +- omsdk/http/sdkwsmanbase.py | 16 +++++------ omsdk/idracmsgdb.py | 24 ++++++++-------- omsdk/sdkbase.py | 4 +-- omsdk/typemgr/ClassType.py | 8 +++--- omsdk/typemgr/FieldType.py | 2 +- tools/build_arspec.py | 2 +- 27 files changed, 99 insertions(+), 99 deletions(-) diff --git a/README.rst b/README.rst index 28220bd..1717cad 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,7 @@ Dell EMC OpenManage Python SDK ============================== -Dell EMC OpenManage Python Software Development Kit (SDK) is a pythonic library for programatically managing Dell EMC Servers and Chassis. Using this library a user can perform lifecycle operations on Dell EMC PowerEdge Servers and Blade Enclosure Chassis in Pythonic way. +Dell EMC OpenManage Python Software Development Kit (SDK) is a pythonic library for programmatically managing Dell EMC Servers and Chassis. Using this library a user can perform lifecycle operations on Dell EMC PowerEdge Servers and Blade Enclosure Chassis in Pythonic way. The Dell EMC OpenManage Python SDK leverages DMTF's Web Services Management standard (WS-Man) and IETF's Simple Network Management Protocol (SNMP) for managing and monitoring the Dell EMC PowerEdge branded hardware. diff --git a/docs/idrac.rst b/docs/idrac.rst index a11b1e0..6402b65 100644 --- a/docs/idrac.rst +++ b/docs/idrac.rst @@ -708,7 +708,7 @@ Server Configuration Profile and Server Profiles .. function:: idrac.config_mgr.scp_import_async(scp_share_path) Import Server Configuration Profile to iDRAC. This API returns immediately - and returns the job id assocated with the import operation. Until the + and returns the job id associated with the import operation. Until the operation is complete, iDRAC will not be accepting other jobs. Certain changes like RAID creation, would require the server to be rebooted after iDRAC successfully imported the Server Configuration Profile. @@ -742,7 +742,7 @@ Server Configuration Profile and Server Profiles .. function:: idrac.config_mgr.scp_export_async(scp_share_path) Export Server Configuration Profile to share. This API returns immediately - and returns the job id assocated with the import operation. Until the + and returns the job id associated with the import operation. Until the operation is complete, iDRAC will not be accepting other jobs. :param omsdk.sdkfile.FileOnShare scp_share_path: Location where the Server Configuration Profile will be exported @@ -775,7 +775,7 @@ Server Configuration Profile and Server Profiles .. function:: idrac.config_mgr.sp_import_async(sp_share_path) Import Server Profile to iDRAC. This API returns immediately - and returns the job id assocated with the import operation. Until the + and returns the job id associated with the import operation. Until the operation is complete, iDRAC will not be accepting other jobs. Certain changes like RAID creation, would require the server to be rebooted after iDRAC successfully imported the Server Profile. @@ -809,7 +809,7 @@ Server Configuration Profile and Server Profiles .. function:: idrac.config_mgr.sp_export_async(sp_share_path) Export Server Profile to share. This API returns immediately - and returns the job id assocated with the import operation. Until the + and returns the job id associated with the import operation. Until the operation is complete, iDRAC will not be accepting other jobs. :param omsdk.sdkfile.FileOnShare sp_share_path: Location where the Server Profile will be exported @@ -965,7 +965,7 @@ Provides APIs for listing, adding, modifying and removing Users local to iDRAC. Returns a JSON object containing list of all local users. For more details about the properties and values, refer to iDRAC Attribute Registry Guide - You can create upto 16 local users. + You can create up to 16 local users. A sample response from the API is as follows: @@ -1003,7 +1003,7 @@ Provides APIs for listing, adding, modifying and removing Users local to iDRAC. This function creates a idrac local user. :param str username: Name of the local user :param str password: Password for the given user - :param UserPrivilegeEnum: Privileges that need to be assiged to the user. User can be assigned as an Administrator, Operator, ReadOnly privileges or NoPrivilege at all. + :param UserPrivilegeEnum: Privileges that need to be assigned to the user. User can be assigned as an Administrator, Operator, ReadOnly privileges or NoPrivilege at all. :param JSON others: Provides options for other capabilities (Serial On LAN, Protocol, IPMI LAN Privilege and IPMI over Serial privileges) :return: JSON Returns a json indicating whether the user was created successfully or not. diff --git a/docs/intro.rst b/docs/intro.rst index ca9f4a9..d99cc29 100644 --- a/docs/intro.rst +++ b/docs/intro.rst @@ -10,7 +10,7 @@ DellEMC OpenManage SDK ---------------------- DellEMC OpenManage Software Development Kit is a pythonic library -for programatically managing DellEMC Servers and Chassis. Using +for programmatically managing DellEMC Servers and Chassis. Using this library a user can perform lifecycle operations on DellEMC PowerEdge servers and chassis in Pythonic way. The DellEMC OpenManage SDK leverages DMTF's Web Services Management standard (WS-Man), diff --git a/omdrivers/CMC.py b/omdrivers/CMC.py index ec87d42..7b782ae 100644 --- a/omdrivers/CMC.py +++ b/omdrivers/CMC.py @@ -803,7 +803,7 @@ def _should_i_modify_component(self, finalretjson, component): slot['FormFactor'] = "Half length Double width" newbladeList.append(slot) tmpDupList.append(slot) - #To remove FM servers who dont show Model - based on MasterSlotNumber + #To remove FM servers who don't show Model - based on MasterSlotNumber for slot in tmpDupList: if slot.get('MasterSlotNumber') in fmSlotNumSet: newbladeList.remove(slot) diff --git a/omdrivers/F10.py b/omdrivers/F10.py index a5f8206..e2a62c2 100644 --- a/omdrivers/F10.py +++ b/omdrivers/F10.py @@ -764,7 +764,7 @@ def _should_i_include(self, component, entry): if 'ifIndex' in entry: if entry.get("ifIndex") == component + '_ifIndex_null': return False - # This is implimented to ignore virtual port instances + # This is implemented to ignore virtual port instances if not 'SysIfName' in entry: return False if component in ["System"]: diff --git a/omdrivers/FileList.py b/omdrivers/FileList.py index b1ea503..bf1b6b7 100644 --- a/omdrivers/FileList.py +++ b/omdrivers/FileList.py @@ -142,7 +142,7 @@ def runit(self, function, *arguments): logger.debug("Running: " + str(function)) with self.myentitylistlock: if function in self.success: - logger.debug("another runit with same funciton in progress!!") + logger.debug("another runit with same function in progress!!") # wait self.success[function] = 0 self.failed[function] = 0 diff --git a/omdrivers/enums/iDRAC/iDRAC.py b/omdrivers/enums/iDRAC/iDRAC.py index 2855d48..71af306 100644 --- a/omdrivers/enums/iDRAC/iDRAC.py +++ b/omdrivers/enums/iDRAC/iDRAC.py @@ -2496,7 +2496,7 @@ Redundancy_InfoTypes = EnumWrapper("Redundancy_InfoTypes", { "ac_redundant": "ac redundant", - "non_redunant": "non redunant", + "non_redunant": "non redundant", "psu_and_ac_redundant": "psu and ac redundant", "psu_redundant": "psu redundant", }).enum_type @@ -2537,7 +2537,7 @@ }).enum_type SCFWUpdateState_SC_BMCTypes = EnumWrapper("SCFWUpdateState_SC_BMCTypes", { - "Availiable_to_SC": "Availiable to SC", + "Availiable_to_SC": "Available to SC", "Complete": "Complete", "Downloaded": "Downloaded", "Failed": "Failed", diff --git a/omdrivers/iDRAC/Config/BIOS.json b/omdrivers/iDRAC/Config/BIOS.json index 81fc0ca..c56f13f 100644 --- a/omdrivers/iDRAC/Config/BIOS.json +++ b/omdrivers/iDRAC/Config/BIOS.json @@ -907,7 +907,7 @@ "AesNi": { "baseType": "str", "description": "Intel(R) AES-NI", - "longDescription": "Indicates the status of the Intel Processor AES-NI feature. AES-NI improves the speed of applications by performing encryption and decryption using the Advenced Encryption Standard Instruction Set.", + "longDescription": "Indicates the status of the Intel Processor AES-NI feature. AES-NI improves the speed of applications by performing encryption and decryption using the Advanced Encryption Standard Instruction Set.", "modDeleteAllowed": true, "name": "AesNi", "qualifier": "SysSecurity", @@ -1934,7 +1934,7 @@ "IntegratedSas": { "baseType": "enum", "description": "Integrated SAS Controller", - "longDescription": "Enables or disables the integrated SAS controller. When set to Disabled, the device is not visisble to the operating system (OS).", + "longDescription": "Enables or disables the integrated SAS controller. When set to Disabled, the device is not visible to the operating system (OS).", "modDeleteAllowed": true, "name": "IntegratedSas", "qualifier": "IntegratedDevices", @@ -4364,7 +4364,7 @@ "ProcExecuteDisable": { "baseType": "enum", "description": "Execute Disable", - "longDescription": "A security feature designed to prevent certain types of buffer overflow attacks by enforcing specific areas of memory that applications can execute code. In general, it is best pratice to leave this option set to Enabled for the security benefits, as no real performance advantage has been detected by disabling this feature in BIOS.", + "longDescription": "A security feature designed to prevent certain types of buffer overflow attacks by enforcing specific areas of memory that applications can execute code. In general, it is best practice to leave this option set to Enabled for the security benefits, as no real performance advantage has been detected by disabling this feature in BIOS.", "modDeleteAllowed": true, "name": "ProcExecuteDisable", "qualifier": "ProcSettings", diff --git a/omdrivers/iDRAC/Config/NIC.json b/omdrivers/iDRAC/Config/NIC.json index 40bf377..c4de770 100644 --- a/omdrivers/iDRAC/Config/NIC.json +++ b/omdrivers/iDRAC/Config/NIC.json @@ -2033,7 +2033,7 @@ "baseType": "enum", "default": "IPv4", "description": "IP Version", - "longDescription": "Specify whether IPv4 or IPv6 network addressing will be used for iSCSI initiator and targets (Applies to the Initiator only when a seperate target IP Version is implemented). [Vendor to provide implementation-specific language].", + "longDescription": "Specify whether IPv4 or IPv6 network addressing will be used for iSCSI initiator and targets (Applies to the Initiator only when a separate target IP Version is implemented). [Vendor to provide implementation-specific language].", "modDeleteAllowed": true, "name": "IpVer", "qualifier": "IscsiGenParams", diff --git a/omdrivers/iDRAC/Config/RAID.json b/omdrivers/iDRAC/Config/RAID.json index 0e1b4a8..442f108 100644 --- a/omdrivers/iDRAC/Config/RAID.json +++ b/omdrivers/iDRAC/Config/RAID.json @@ -239,7 +239,7 @@ "Name": { "baseType": "str", "description": "Name", - "longDescription": "Diplays the name associated with a Virtual Disk.", + "longDescription": "Displays the name associated with a Virtual Disk.", "modDeleteAllowed": true, "name": "Name", "qualifier": "VirtualDisk", @@ -321,7 +321,7 @@ "RAIDEnclosureRequestedCfgMode": { "baseType": "enum", "default": "None", - "description": "Enclousre Requested Configuration Mode", + "description": "Enclosure Requested Configuration Mode", "longDescription": "This indicates enclosures requested configuration mode setting.", "modDeleteAllowed": true, "name": "RAIDEnclosureRequestedCfgMode", @@ -557,7 +557,7 @@ "baseType": "enum", "default": "Automatic", "description": "Load Balanced Mode", - "longDescription": "This attribute reprsents the ability to automatically use both controller ports connected to the same enclosure to route I/O requests.", + "longDescription": "This attribute represents the ability to automatically use both controller ports connected to the same enclosure to route I/O requests.", "modDeleteAllowed": true, "name": "RAIDloadBalancedMode", "qualifier": "Controller", diff --git a/omdrivers/iDRAC/Config/iDRAC.json b/omdrivers/iDRAC/Config/iDRAC.json index 64977b3..25c398a 100644 --- a/omdrivers/iDRAC/Config/iDRAC.json +++ b/omdrivers/iDRAC/Config/iDRAC.json @@ -5341,13 +5341,13 @@ }, "Redundancy_InfoTypes": { "enum": [ - "non redunant", + "non redundant", "ac redundant", "psu redundant", "psu and ac redundant" ], "enumDescriptions": [ - "non redunant", + "non redundant", "ac redundant", "psu redundant", "psu and ac redundant" @@ -5433,14 +5433,14 @@ "enum": [ "Not in progress", "Downloaded", - "Availiable to SC", + "Available to SC", "Complete", "Failed" ], "enumDescriptions": [ "Not in progress", "Downloaded", - "Availiable to SC", + "Available to SC", "Complete", "Failed" ], @@ -10919,7 +10919,7 @@ "ChassisIdentifyDuration_LCD": { "baseType": "int", "description": "Chassis Identify Duration", - "longDescription": "-1 = force on indefinetly; 0 = 0ff; > 0 number of seconds chassis identify is on", + "longDescription": "-1 = force on indefinitely; 0 = 0ff; > 0 number of seconds chassis identify is on", "modDeleteAllowed": true, "name": "ChassisIdentifyDuration", "qualifier": "LCD", @@ -11394,7 +11394,7 @@ "Config_SledInterposer": { "baseType": "str", "description": "Config", - "longDescription": "the redfish link that will bring you to the config information. This would be the group name fo the config information.", + "longDescription": "the redfish link that will bring you to the config information. This would be the group name of the config information.", "modDeleteAllowed": true, "name": "Config", "qualifier": "SledInterposer", @@ -13110,7 +13110,7 @@ "DynamicStepUp_ServerPwr": { "baseType": "enum", "description": "DynamicStepUp", - "longDescription": "Indicates if step up supressed or not", + "longDescription": "Indicates if step up suppressed or not", "modDeleteAllowed": true, "name": "DynamicStepUp", "qualifier": "ServerPwr", @@ -14463,7 +14463,7 @@ }, "GroupPublishInterval_GroupManager": { "baseType": "int", - "description": "Group Manager Group Existance Publish Interval", + "description": "Group Manager Group Existence Publish Interval", "longDescription": "[To be filled]", "modDeleteAllowed": true, "name": "GroupPublishInterval", @@ -16008,7 +16008,7 @@ }, "LM-IDRAC-EXPRESS-BLADES_PMLicensing": { "baseType": "enum", - "description": "PM Enforced Express for Blades (deprecated, added so no one can add accidently later)", + "description": "PM Enforced Express for Blades (deprecated, added so no one can add accidentally later)", "longDescription": "This is for 13G group 20050", "modDeleteAllowed": true, "name": "LM-IDRAC-EXPRESS-BLADES", @@ -16239,7 +16239,7 @@ }, "LM-REMOTE-FIRWARE-UPDATE_PMLicensing": { "baseType": "enum", - "description": "LM REMOTE FIRWARE UPDATE", + "description": "LM REMOTE FIRMWARE UPDATE", "longDescription": "This is for 13G group 20050", "modDeleteAllowed": true, "name": "LM-REMOTE-FIRWARE-UPDATE", @@ -16393,7 +16393,7 @@ }, "LM-USC-ASSISTED-OS-DEPLOYEMENT_PMLicensing": { "baseType": "enum", - "description": "USC ASSISTED OS DEPLOYEMENT", + "description": "USC ASSISTED OS DEPLOYMENT", "longDescription": "This is for 13G group 20050", "modDeleteAllowed": true, "name": "LM-USC-ASSISTED-OS-DEPLOYEMENT", @@ -16565,7 +16565,7 @@ }, "LastFWUpdate_Update": { "baseType": "str", - "description": "Last Firmwware Update", + "description": "Last Firmware Update", "longDescription": "[To be filled]", "modDeleteAllowed": true, "name": "LastFWUpdate", @@ -20009,7 +20009,7 @@ "RackSlot_ServerTopology": { "baseType": "int", "description": "Rack Slot", - "longDescription": "Slot in the rack where the sytem is located", + "longDescription": "Slot in the rack where the system is located", "modDeleteAllowed": true, "name": "RackSlot", "qualifier": "ServerTopology", @@ -23494,4 +23494,4 @@ } }, "title": "omdrivers\\iDRAC\\xml\\iDRAC.xml" -} \ No newline at end of file +} diff --git a/omdrivers/iDRAC/MOF/DCIM_VFlashView.mof b/omdrivers/iDRAC/MOF/DCIM_VFlashView.mof index 9f673de..5000c19 100644 --- a/omdrivers/iDRAC/MOF/DCIM_VFlashView.mof +++ b/omdrivers/iDRAC/MOF/DCIM_VFlashView.mof @@ -37,7 +37,7 @@ class DCIM_VFlashView : DCIM_View { uint64 Capacity; [Description ( - "This property specifies the avaible size on the media " ), + "This property specifies the available size on the media " ), ModelCorrespondence { "DCIM_VFlashView.Capacity" }] uint64 AvailableSize; diff --git a/omdrivers/iDRAC/MOF/DCIM_VirtualDiskView.mof b/omdrivers/iDRAC/MOF/DCIM_VirtualDiskView.mof index 2a88b9d..6477e28 100644 --- a/omdrivers/iDRAC/MOF/DCIM_VirtualDiskView.mof +++ b/omdrivers/iDRAC/MOF/DCIM_VirtualDiskView.mof @@ -113,7 +113,7 @@ class DCIM_VirtualDiskView : DCIM_View { "Stripe size is the size of the stripe on a physical disk that " "contributes to the virtual disk. The stripe size can be specified " " in bytes or kilobytes or megabytes. The Stripe size can have one " - "of the folllowing values: \"Default\", \"512B\", \"1KB\", \"2KB\" " + "of the following values: \"Default\", \"512B\", \"1KB\", \"2KB\" " "\"4KB\", \"8KB\", \"16KB\", \"32KB\", \"64KB\", \"128KB\", " "\"256KB\" " "\"512KB\", \"1MB\", \"2MB\", \"4MB\", \"8MB\", \"16MB\" "), diff --git a/omdrivers/iDRAC/iDRAC.Monitor b/omdrivers/iDRAC/iDRAC.Monitor index 4a5996e..5275f50 100644 --- a/omdrivers/iDRAC/iDRAC.Monitor +++ b/omdrivers/iDRAC/iDRAC.Monitor @@ -339,7 +339,7 @@ "5" : "ATM", "6" : "IEEE80211 Wireless", "7" : "Tunnel", - "8" : "IEEE1394 Fireware" + "8" : "IEEE1394 Firmware" } }, "PCIDevice": { diff --git a/omdrivers/iDRAC/xml/BIOS.xml b/omdrivers/iDRAC/xml/BIOS.xml index 0c173e5..f31419f 100644 --- a/omdrivers/iDRAC/xml/BIOS.xml +++ b/omdrivers/iDRAC/xml/BIOS.xml @@ -102,7 +102,7 @@ When set to User Defined, the system delays power-up by that amount. The system Intel(R) AES-NI SysSecurity AesNi - Indicates the status of the Intel Processor AES-NI feature. AES-NI improves the speed of applications by performing encryption and decryption using the Advenced Encryption Standard Instruction Set. + Indicates the status of the Intel Processor AES-NI feature. AES-NI improves the speed of applications by performing encryption and decryption using the Advanced Encryption Standard Instruction Set. System Security String 1329 @@ -2553,7 +2553,7 @@ NOTE: If set to Disabled (OS), the Integrated NICs may still be available for sh IntegratedSas Integrated SAS Controller IntegratedDevices - Enables or disables the integrated SAS controller. When set to Disabled, the device is not visisble to the operating system (OS). + Enables or disables the integrated SAS controller. When set to Disabled, the device is not visible to the operating system (OS). Integrated Devices Enumeration 901 @@ -7417,7 +7417,7 @@ When configured as Hybrid mode, part of MCDRAM memory is mapped to system addres ProcExecuteDisable Execute Disable ProcSettings - A security feature designed to prevent certain types of buffer overflow attacks by enforcing specific areas of memory that applications can execute code. In general, it is best pratice to leave this option set to Enabled for the security benefits, as no real performance advantage has been detected by disabling this feature in BIOS. + A security feature designed to prevent certain types of buffer overflow attacks by enforcing specific areas of memory that applications can execute code. In general, it is best practice to leave this option set to Enabled for the security benefits, as no real performance advantage has been detected by disabling this feature in BIOS. Processor Settings Enumeration 340 diff --git a/omdrivers/iDRAC/xml/NIC.xml b/omdrivers/iDRAC/xml/NIC.xml index 94a3a04..cc6c602 100644 --- a/omdrivers/iDRAC/xml/NIC.xml +++ b/omdrivers/iDRAC/xml/NIC.xml @@ -2457,7 +2457,7 @@ IP Version IpVer IscsiGenParams - Specify whether IPv4 or IPv6 network addressing will be used for iSCSI initiator and targets (Applies to the Initiator only when a seperate target IP Version is implemented). [Vendor to provide implementation-specific language]. + Specify whether IPv4 or IPv6 network addressing will be used for iSCSI initiator and targets (Applies to the Initiator only when a separate target IP Version is implemented). [Vendor to provide implementation-specific language]. 1109 IPv4 iSCSI General Parameters diff --git a/omdrivers/iDRAC/xml/RAID.xml b/omdrivers/iDRAC/xml/RAID.xml index 63f7534..c173201 100644 --- a/omdrivers/iDRAC/xml/RAID.xml +++ b/omdrivers/iDRAC/xml/RAID.xml @@ -95,7 +95,7 @@ RAIDloadBalancedMode Load Balanced Mode - This attribute reprsents the ability to automatically use both controller ports connected to the same enclosure to route I/O requests. + This attribute represents the ability to automatically use both controller ports connected to the same enclosure to route I/O requests. 106 Automatic Enumeration @@ -440,7 +440,7 @@ Name Name - Diplays the name associated with a Virtual Disk. + Displays the name associated with a Virtual Disk. 302 String TRUE @@ -834,7 +834,7 @@ RAIDEnclosureRequestedCfgMode - Enclousre Requested Configuration Mode + Enclosure Requested Configuration Mode This indicates enclosures requested configuration mode setting. 203 None diff --git a/omdrivers/iDRAC/xml/iDRAC.xml b/omdrivers/iDRAC/xml/iDRAC.xml index a9e9fdd..dce13e1 100644 --- a/omdrivers/iDRAC/xml/iDRAC.xml +++ b/omdrivers/iDRAC/xml/iDRAC.xml @@ -1301,7 +1301,7 @@ Rack Slot Server Topology ServerTopology - Slot in the rack where the sytem is located + Slot in the rack where the system is located FALSE 1424 Integer @@ -7908,8 +7908,8 @@ Downloaded - Availiable to SC - Availiable to SC + Available to SC + Available to SC Complete @@ -9247,7 +9247,7 @@ GroupPublishInterval - Group Manager Group Existance Publish Interval + Group Manager Group Existence Publish Interval Group Manager GroupManager [To be filled] @@ -11394,7 +11394,7 @@ LastFWUpdate - Last Firmwware Update + Last Firmware Update Firmware Update Update [To be filled] @@ -12950,7 +12950,7 @@ Chassis Identify Duration LCD Configuration LCD - -1 = force on indefinetly; 0 = 0ff; > 0 number of seconds chassis identify is on + -1 = force on indefinitely; 0 = 0ff; > 0 number of seconds chassis identify is on FALSE 1438 Integer @@ -14093,8 +14093,8 @@ FALSE FALSE - non redunant - non redunant + non redundant + non redundant ac redundant @@ -15108,7 +15108,7 @@ Config Sled Information SledInterposer - the redfish link that will bring you to the config information. This would be the group name fo the config information. + the redfish link that will bring you to the config information. This would be the group name of the config information. TRUE String FALSE @@ -22626,7 +22626,7 @@ LM-USC-ASSISTED-OS-DEPLOYEMENT - USC ASSISTED OS DEPLOYEMENT + USC ASSISTED OS DEPLOYMENT Personality Module License PMLicensing This is for 13G group 20050 @@ -23344,7 +23344,7 @@ LM-REMOTE-FIRWARE-UPDATE - LM REMOTE FIRWARE UPDATE + LM REMOTE FIRMWARE UPDATE Personality Module License PMLicensing This is for 13G group 20050 @@ -24361,7 +24361,7 @@ LM-IDRAC-EXPRESS-BLADES - PM Enforced Express for Blades (deprecated, added so no one can add accidently later) + PM Enforced Express for Blades (deprecated, added so no one can add accidentally later) Personality Module License PMLicensing This is for 13G group 20050 @@ -24671,8 +24671,8 @@ FALSE FALSE - non redunant - non redunant + non redundant + non redundant ac redundant @@ -26869,7 +26869,7 @@ DynamicStepUp Server Power ServerPwr - Indicates if step up supressed or not + Indicates if step up suppressed or not FALSE 1427 Enumeration diff --git a/omdrivers/lifecycle/iDRAC/RAIDHelper.py b/omdrivers/lifecycle/iDRAC/RAIDHelper.py index 8cda488..2b39383 100644 --- a/omdrivers/lifecycle/iDRAC/RAIDHelper.py +++ b/omdrivers/lifecycle/iDRAC/RAIDHelper.py @@ -251,7 +251,7 @@ def create_virtual_disk(self, sysconfig, **kwargs): # Time being fix for -JIT-107987 - Ansible(1.0.3) - [RAID Configuration] VD creation is failing # on external storage (MD Array) configured to server - # Ensures that existing senarios are not broken + # Ensures that existing scenarios are not broken if len(disks) == 0: if kwargs.get('ControllerFQDD') is not None: filter_query = '((entry is PhysicalDisk and "' + kwargs['ControllerFQDD'] + '" in entry.FQDD._value))' @@ -297,7 +297,7 @@ def create_virtual_disk(self, sysconfig, **kwargs): # Time being fix for -JIT-107987 - Ansible(1.0.3) - [RAID Configuration] VD creation is failing # on external storage (MD Array) configured to server - # Ensures that existing senarios are not broken + # Ensures that existing scenarios are not broken enclosure_fqdd = "" if controller.FQDD != kwargs.get('ControllerFQDD') and len(disks) >= 0: ctrlst = sysconfig.Controller.Properties @@ -310,7 +310,7 @@ def create_virtual_disk(self, sysconfig, **kwargs): # Time being fix for -JIT-107987 - Ansible(1.0.3) - [RAID Configuration] VD creation is failing # on external storage (MD Array) configured to server - # Ensures that existing senarios are not broken + # Ensures that existing scenarios are not broken try: derived_ctrl_fqdd = controller.FQDD except (AttributeError, TypeError): @@ -337,7 +337,7 @@ def create_virtual_disk(self, sysconfig, **kwargs): # Time being fix for -JIT-107987 - Ansible(1.0.3) - [RAID Configuration] VD creation is failing # on external storage (MD Array) configured to server - # Ensures that existing senarios are not broken + # Ensures that existing scenarios are not broken if enclosure_fqdd: tgt_encl._attribs['FQDD'] = enclosure_fqdd else: @@ -349,7 +349,7 @@ def create_virtual_disk(self, sysconfig, **kwargs): # Time being fix for -JIT-107987 - Ansible(1.0.3) - [RAID Configuration] VD creation is failing # on external storage (MD Array) configured to server - # Ensures that existing senarios are not broken + # Ensures that existing scenarios are not broken try: if n_dhs > 0: if filter_query: @@ -495,11 +495,11 @@ def find_matching_virtual_disk(self, criteria): def view_storage(self, controller=None, virtual_disk=None): """ view storage hierarchy as a json - :param controller: contoller id + :param controller: controller id :param controller: str :param virtual_disk: virtual disk id :param virtual_disk: str - :return: returns json accoring to the parameter provided + :return: returns json according to the parameter provided """ try: logger.info(self.entity.ipaddr + " : getting storage tree") diff --git a/omsdk/http/sdkredfishbase.py b/omsdk/http/sdkredfishbase.py index 85e64ed..e0a5736 100644 --- a/omsdk/http/sdkredfishbase.py +++ b/omsdk/http/sdkredfishbase.py @@ -94,12 +94,12 @@ def __init__(self, ipaddr, creds, pOptions): if self.pOptions.authentication == AuthenticationType.Basic: self.session.auth = HTTPBasicAuth(creds.username, creds.password) if self.pOptions.authentication == AuthenticationType.Digest: - print("Digest authentication not yet implimented") + print("Digest authentication not yet implemented") self.session.auth = HTTPDigestAuth(creds.username, creds.password) if self.pOptions.authentication == AuthenticationType.OAuth1: - print("OAuth1 authentication not yet implimented") + print("OAuth1 authentication not yet implemented") if self.pOptions.authentication == AuthenticationType.OAuth2: - print("Not yet implimented", self.pOptions.authentication) + print("Not yet implemented", self.pOptions.authentication) def reset(self, ignore=True): if self.session: @@ -109,7 +109,7 @@ def reset(self, ignore=True): def identify(self): """ Identifies the target product - Curently _communicate has hardcoded data + Currently _communicate has hardcoded data """ return None diff --git a/omsdk/http/sdkrestbase.py b/omsdk/http/sdkrestbase.py index 0971f87..91d6765 100644 --- a/omsdk/http/sdkrestbase.py +++ b/omsdk/http/sdkrestbase.py @@ -69,7 +69,7 @@ def reset(self, ignore=True): def identify(self): """ Identifies the target product - Curently _communicate has hardcoded data + Currently _communicate has hardcoded data """ # wsm = RestRequest() # wsm.identify() diff --git a/omsdk/http/sdkwsmanbase.py b/omsdk/http/sdkwsmanbase.py index 15a3022..3a0da12 100644 --- a/omsdk/http/sdkwsmanbase.py +++ b/omsdk/http/sdkwsmanbase.py @@ -129,11 +129,11 @@ def opget(self, ruri, name, args): return self._communicate(wsm, name) def operation(self, wsmancmds, cmdname, *args): - ##########################Below are redfish codes, need to be removed once prtocol issue is addressed##################### + ##########################Below are redfish codes, need to be removed once protocol issue is addressed##################### cmmd = str(cmdname) if cmmd.endswith("_redfish"): return self.redfish_operation(wsmancmds, cmdname, *args) - ##########################Above are redfish codes, need to be removed once prtocol issue is addressed##################### + ##########################Above are redfish codes, need to be removed once protocol issue is addressed##################### ruri = wsmancmds[cmdname]["ResourceURI"] act = wsmancmds[cmdname]["Action"] sset = {} @@ -148,7 +148,7 @@ def operation(self, wsmancmds, cmdname, *args): wsm.add_body(ruri, act, toargs['retval']) return self._communicate(wsm) - ##########################Below are redfish codes, need to be moved once prtocol issue is addressed##################### + ##########################Below are redfish codes, need to be moved once protocol issue is addressed##################### def _build_attribute_config_payload(self, toargs_dict): if not toargs_dict: return None @@ -178,7 +178,7 @@ def _build_redfish_payload(self, toargs_dict): val = retval[key] if "/" in key: tokens = key.split("/") - ''' right now implementation is only for params containing single "/", it will be extented for generic numbers of "/"''' + ''' right now implementation is only for params containing single "/", it will be extended for generic numbers of "/"''' if not tokens[0] in payload: param_key = tokens[0] param_val = {} @@ -201,7 +201,7 @@ def _pack_http_method_args(self, resource_path, http_headers, http_body=None, ht :param http_headers: str. :param http_body: body for http request :param http_body: dict/json. - :returns: returns a key-value pair as a dictionary for arguemnts + :returns: returns a key-value pair as a dictionary for arguments """ method_args = {} @@ -223,7 +223,7 @@ def _pack_rest_method_args(self, auth, verify=False, data={}, headers=None): :param data: dict/json. :param headers: http headers :param headers: str. - :returns: returns a key-value pair as a dictionary for arguemnts + :returns: returns a key-value pair as a dictionary for arguments """ method_args = {} @@ -257,7 +257,7 @@ def _get_redfish_jobid(self, headers): def _remove_dummyparams(self, redfish_cmdlist, redfish_cmdname, argdict): """Remove dummy params which are not required by the actual redfish command, - these dummy params are required for ceratin URI's and other supporting purposes + these dummy params are required for certain URI's and other supporting purposes :param redfish_cmdlist: redfish command list. :param redfish_cmdlist: list. @@ -411,7 +411,7 @@ def _get_redfish_jobid(self, headers): return tokens[-1] return None - ##########################Above are redfish codes, need to be moved once prtocol issue is addressed##################### + ##########################Above are redfish codes, need to be moved once protocol issue is addressed##################### def _proto_connect(self): pass diff --git a/omsdk/idracmsgdb.py b/omsdk/idracmsgdb.py index fcb2d98..91d2161 100644 --- a/omsdk/idracmsgdb.py +++ b/omsdk/idracmsgdb.py @@ -17435,7 +17435,7 @@ "ParamTypes": [ "String" ], - "Resolution": "Wait for three minutes, and then retry the operation. If the issue persists, remove and reinsert the server and wait for the iDRAC to finish restarting before retying the operation.", + "Resolution": "Wait for three minutes, and then retry the operation. If the issue persists, remove and reinsert the server and wait for the iDRAC to finish restarting before retrying the operation.", "Severity": "Warning" }, "PWR8574": { @@ -17445,7 +17445,7 @@ "ParamTypes": [ "String" ], - "Resolution": "Wait for three minutes, and then retry the operation. If the issue persists, remove and reinsert the server and wait for the iDRAC to finish restarting before retying the operation.", + "Resolution": "Wait for three minutes, and then retry the operation. If the issue persists, remove and reinsert the server and wait for the iDRAC to finish restarting before retrying the operation.", "Severity": "Critical" }, "PWR8575": { @@ -33809,7 +33809,7 @@ "Severity": "Warning" }, "SYS257": { - "Description": "The file cannot be transferred because the verification certificate is not available. The file transfer settings are set to verify the certificate of the remore host server, but the necessary verification certificate is not uploaded.", + "Description": "The file cannot be transferred because the verification certificate is not available. The file transfer settings are set to verify the certificate of the remote host server, but the necessary verification certificate is not uploaded.", "Message": "Unable to transfer a file, %1, because the verification certificate is not available.", "NumberOfArgs": 1, "ParamTypes": [ @@ -34399,7 +34399,7 @@ "Description": "The job cannot be created because the Start Time entered is invalid.", "Message": "Unable to create the job because the Start Time entered is invalid.", "NumberOfArgs": 0, - "Resolution": "Enter the Start Time in the String format, and then retry the operation For example, YYYY-MM-DDTHH:MM:SS. For more information about recommened Start Time format, see the iDRAC User's Guide available on the support site.", + "Resolution": "Enter the Start Time in the String format, and then retry the operation For example, YYYY-MM-DDTHH:MM:SS. For more information about recommended Start Time format, see the iDRAC User's Guide available on the support site.", "Severity": "Warning" }, "SYS437": { @@ -35874,7 +35874,7 @@ "Severity": "Critical" }, "UEFI0109": { - "Description": "One or more memory errors have occurred on memory slot identified in the message. The error occurred during write leveling initialization.", + "Description": "One or more memory errors have occurred on memory slot identified in the message. The error occurred during write levelling initialization.", "Message": "One or more memory errors have occurred on memory slot: %1.", "NumberOfArgs": 1, "ParamTypes": [ @@ -36455,7 +36455,7 @@ "Severity": "Warning" }, "UEFI0180": { - "Description": "One or more memory correctable training errors have occurred on the memory slot identified in the message. A corrected Write Leveling error was detected.", + "Description": "One or more memory correctable training errors have occurred on the memory slot identified in the message. A corrected Write Levelling error was detected.", "Message": "One or more memory correctable training errors have occurred on memory slot: %1.", "NumberOfArgs": 1, "ParamTypes": [ @@ -36965,7 +36965,7 @@ "Severity": "Critical" }, "UEFI0231": { - "Description": "An error occurred during DDR memory initialization during the Memory Buffer Write Leveling Training - Configuration Read phase.", + "Description": "An error occurred during DDR memory initialization during the Memory Buffer Write Levelling Training - Configuration Read phase.", "Message": "An error occurred during DDR memory channel initialization on memory slots: %1.", "NumberOfArgs": 1, "ParamTypes": [ @@ -36975,7 +36975,7 @@ "Severity": "Critical" }, "UEFI0232": { - "Description": "An error occurred during DDR memory initialization during the Memory Buffer Write Leveling Training - Configuration Write phase.", + "Description": "An error occurred during DDR memory initialization during the Memory Buffer Write Levelling Training - Configuration Write phase.", "Message": "An error occurred during DDR memory channel initialization on memory slots: %1.", "NumberOfArgs": 1, "ParamTypes": [ @@ -36985,7 +36985,7 @@ "Severity": "Critical" }, "UEFI0233": { - "Description": "An error occurred during DDR memory initialization during the Memory Buffer Write Leveling Training - FIFO Reset phase.", + "Description": "An error occurred during DDR memory initialization during the Memory Buffer Write Levelling Training - FIFO Reset phase.", "Message": "An error occurred during DDR memory channel initialization on memory slots: %1.", "NumberOfArgs": 1, "ParamTypes": [ @@ -36995,7 +36995,7 @@ "Severity": "Critical" }, "UEFI0234": { - "Description": "An error occurred during DDR memory initialization during the Memory Buffer Write Leveling Training - Memory Test phase.", + "Description": "An error occurred during DDR memory initialization during the Memory Buffer Write Levelling Training - Memory Test phase.", "Message": "An error occurred during DDR memory channel initialization on memory slots: %1.", "NumberOfArgs": 1, "ParamTypes": [ @@ -37005,7 +37005,7 @@ "Severity": "Critical" }, "UEFI0235": { - "Description": "An error occurred during DDR memory initialization during the Memory Buffer Write Leveling Training - Calibration phase.", + "Description": "An error occurred during DDR memory initialization during the Memory Buffer Write Levelling Training - Calibration phase.", "Message": "An error occurred during DDR memory channel initialization on memory slots: %1.", "NumberOfArgs": 1, "ParamTypes": [ @@ -40568,4 +40568,4 @@ "Resolution": "No response action is required.", "Severity": "Critical" } - } \ No newline at end of file + } diff --git a/omsdk/sdkbase.py b/omsdk/sdkbase.py index 918e7c6..5b5a763 100644 --- a/omsdk/sdkbase.py +++ b/omsdk/sdkbase.py @@ -701,7 +701,7 @@ def _misc_join_component(self, entityjson, comp_misc_join_spec): myDict[attrInst[attrName]] = attrInst[ckeys[2]] else: for attrInst in entityjson[comp]: - # This check is avoided to accomodate iDRAVcardView FQDD issue + # This check is avoided to accommodate iDRAVcardView FQDD issue # if(myDict[k] == attrInst[k]): myDict[attrInst[attrName]] = attrInst[ckeys[2]] # del entityjson[comp] @@ -724,7 +724,7 @@ def _misc_join_component(self, entityjson, comp_misc_join_spec): compInst[attrInst[attrName]] = attrInst[ckeys[2]] else: if (compInst[k] == attrInst[k]) or (attrInst[k] in compInst[ - k]): # to accomodate iDRACCArdView and iDRACCardString issue iDRAC.Embedded.1-1 and iDRAC.Embedded.1 + k]): # to accommodate iDRACCArdView and iDRACCardString issue iDRAC.Embedded.1-1 and iDRAC.Embedded.1 if ckeys[ 2] in attrInst: # Added because iDRACString in one of firmware 3.11.11.11(14G) did not have attribute CurrentValue(SystemLockDown) compInst[attrInst[attrName]] = attrInst[ckeys[2]] diff --git a/omsdk/typemgr/ClassType.py b/omsdk/typemgr/ClassType.py index 6b6a9f5..952f24d 100644 --- a/omsdk/typemgr/ClassType.py +++ b/omsdk/typemgr/ClassType.py @@ -280,7 +280,7 @@ def _get_combined_properties(self, obj1, obj2): # Compare APIs: def __lt__(self, other): - # uses sorted order of attributes for comparision similar to tuples, list! + # uses sorted order of attributes for comparison similar to tuples, list! if not isinstance(other, type(self)): raise TypeError('unorderable types: ' + type(self).__name__ + ", " + type(other).__name__) @@ -298,7 +298,7 @@ def __lt__(self, other): # Compare APIs: def __le__(self, other): - # uses sorted order of attributes for comparision similar to tuples, list! + # uses sorted order of attributes for comparison similar to tuples, list! if not isinstance(other, type(self)): raise TypeError('unorderable types: ' + type(self).__name__ + ", " + type(other).__name__) @@ -316,7 +316,7 @@ def __le__(self, other): # Compare APIs: def __gt__(self, other): - # uses sorted order of attributes for comparision similar to tuples, list! + # uses sorted order of attributes for comparison similar to tuples, list! if not isinstance(other, type(self)): raise TypeError('unorderable types: ' + type(self).__name__ + ", " + type(other).__name__) @@ -334,7 +334,7 @@ def __gt__(self, other): # Compare APIs: def __ge__(self, other): - # uses sorted order of attributes for comparision similar to tuples, list! + # uses sorted order of attributes for comparison similar to tuples, list! if not isinstance(other, type(self)): raise TypeError('unorderable types: ' + type(self).__name__ + ", " + type(other).__name__) diff --git a/omsdk/typemgr/FieldType.py b/omsdk/typemgr/FieldType.py index 69b532a..4132598 100644 --- a/omsdk/typemgr/FieldType.py +++ b/omsdk/typemgr/FieldType.py @@ -379,7 +379,7 @@ def __ge__(self, other): return False return myvalue >= othervalue - # Don't allow comparision with string ==> becomes too generic + # Don't allow comparison with string ==> becomes too generic # Compare APIs: def __eq__(self, other): if self._state is TypeState.UnInitialized: diff --git a/tools/build_arspec.py b/tools/build_arspec.py index 2e92188..acf617a 100644 --- a/tools/build_arspec.py +++ b/tools/build_arspec.py @@ -30,7 +30,7 @@ logger = logging.getLogger(__name__) -# Attribute Registry Convertor +# Attribute Registry Converter # .xml to .json file converter class maj: def __init__(self):