Skip to content

Commit

Permalink
Release 1.2.518
Browse files Browse the repository at this point in the history
  • Loading branch information
ABHISHEK-SINHA10 committed Aug 26, 2024
1 parent d7cf49a commit 1760497
Show file tree
Hide file tree
Showing 52 changed files with 97 additions and 236 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ Dell OpenManage Python SDK is supported for python 2.7 and above.
``` pip3 install -r requirements-python3x.txt ```

# Installation
* This branch contains the build version 1.2.513
* This branch contains the build version 1.2.518
* Install the latest development version from github:

```
git clone https://github.com/dell/omsdk.git
cd omsdk
sh build.sh 1.2 513
sh build.sh 1.2 518
cd dist
pip install omsdk-1.2.513-py2.py3-none-any.whl
pip install omsdk-1.2.518-py2.py3-none-any.whl
```
* If omsdk build creation fails due to `python` command error, configure
`python` to launch either `python2` or `python3`. Accordingly configure the `pip` command.
Expand All @@ -41,7 +41,7 @@ Dell OpenManage Python SDK is supported for python 2.7 and above.

* Downgrade pip version to lower than 10.0 and then install omsdk
* Force install omsdk using:
```pip install --ignore-installed omsdk-1.2.513-py2.py3-none-any.whl```
```pip install --ignore-installed omsdk-1.2.518-py2.py3-none-any.whl```
# Uninstallation
* Uninstall this module as follows:
Expand Down
3 changes: 1 addition & 2 deletions omdrivers/CMC.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
#
# Copyright © 2018 Dell Inc. or its subsidiaries. All rights reserved.
# Copyright © 2018-2024 Dell Inc. or its subsidiaries. All rights reserved.
# Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries.
# Other trademarks may be trademarks of their respective owners.
#
Expand All @@ -23,7 +23,6 @@

import sys

from enum import Enum
from omsdk.sdkdevice import iDeviceRegistry, iDeviceDriver, iDeviceDiscovery
from omsdk.sdkdevice import iDeviceTopologyInfo
from omsdk.sdkproto import PWSMAN
Expand Down
9 changes: 2 additions & 7 deletions omdrivers/Compellent.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
#
# Copyright © 2018 Dell Inc. or its subsidiaries. All rights reserved.
# Copyright © 2018-2024 Dell Inc. or its subsidiaries. All rights reserved.
# Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries.
# Other trademarks may be trademarks of their respective owners.
#
Expand All @@ -20,11 +20,8 @@
#
# Authors: Vaideeswaran Ganesan
#
from enum import Enum
from omsdk.sdkdevice import iDeviceDiscovery, iDeviceRegistry, iDeviceDriver
from omsdk.sdkcenum import EnumWrapper
from omsdk.sdkfile import FileOnShare, Share
from omsdk.sdkcreds import UserCredentials
from omsdk.sdkproto import PSNMP
import sys

Expand All @@ -35,9 +32,7 @@
try:
from pysnmp.hlapi import *
from pysnmp.smi import *
from pysnmp.entity.rfc3413.oneliner import cmdgen
from pysnmp.proto import rfc1902
from pysnmp import debug
from pysnmp.smi.rfc1902 import ObjectIdentity
PySnmpPresent = True
except ImportError:
PySnmpPresent = False
Expand Down
10 changes: 2 additions & 8 deletions omdrivers/EqualLogic.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
#
# Copyright © 2018 Dell Inc. or its subsidiaries. All rights reserved.
# Copyright © 2018-2024 Dell Inc. or its subsidiaries. All rights reserved.
# Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries.
# Other trademarks may be trademarks of their respective owners.
#
Expand All @@ -20,14 +20,10 @@
#
# Authors: Vaideeswaran Ganesan
#
from enum import Enum
from omsdk.sdkdevice import iDeviceDiscovery, iDeviceRegistry, iDeviceDriver
from omsdk.sdkcenum import EnumWrapper
from omsdk.sdkfile import FileOnShare, Share
from omsdk.sdkcreds import UserCredentials
from omsdk.sdkproto import PSNMP
import sys
import re
import ipaddress
import logging

Expand All @@ -39,9 +35,7 @@
try:
from pysnmp.hlapi import *
from pysnmp.smi import *
from pysnmp.entity.rfc3413.oneliner import cmdgen
from pysnmp.proto import rfc1902
from pysnmp import debug
from pysnmp.smi.rfc1902 import ObjectIdentity
PyPSNMP = True
except ImportError:
PyPSNMP = False
Expand Down
7 changes: 2 additions & 5 deletions omdrivers/F10.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
#
# Copyright © 2018 Dell Inc. or its subsidiaries. All rights reserved.
# Copyright © 2018-2024 Dell Inc. or its subsidiaries. All rights reserved.
# Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries.
# Other trademarks may be trademarks of their respective owners.
#
Expand All @@ -20,7 +20,6 @@
#
# Authors: Vaideeswaran Ganesan
#
from enum import Enum
from omsdk.sdkdevice import iDeviceDiscovery, iDeviceRegistry, iDeviceDriver
from omsdk.sdkcenum import EnumWrapper
from omsdk.sdkproto import PSNMP, ProtocolEnum
Expand All @@ -35,9 +34,7 @@
try:
from pysnmp.hlapi import *
from pysnmp.smi import *
from pysnmp.entity.rfc3413.oneliner import cmdgen
from pysnmp.proto import rfc1902
from pysnmp import debug
from pysnmp.smi.rfc1902 import ObjectIdentity
PyPSNMP = True
except ImportError:
PyPSNMP = False
Expand Down
7 changes: 2 additions & 5 deletions omdrivers/F10NG.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@
#
# Authors: Sachin Apagundi
#
from enum import Enum
from omsdk.sdkdevice import iDeviceDiscovery, iDeviceRegistry, iDeviceDriver
from omsdk.sdkcenum import EnumWrapper
from omsdk.sdkproto import PSNMP, ProtocolEnum
from omsdk.sdkproto import PSNMP
import sys
import logging

Expand All @@ -35,9 +34,7 @@
try:
from pysnmp.hlapi import *
from pysnmp.smi import *
from pysnmp.entity.rfc3413.oneliner import cmdgen
from pysnmp.proto import rfc1902
from pysnmp import debug
from pysnmp.smi.rfc1902 import ObjectIdentity
PyPSNMP = True
except ImportError:
PyPSNMP = False
Expand Down
5 changes: 1 addition & 4 deletions omdrivers/FileList.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
#
# Copyright © 2018 Dell Inc. or its subsidiaries. All rights reserved.
# Copyright © 2018-2024 Dell Inc. or its subsidiaries. All rights reserved.
# Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries.
# Other trademarks may be trademarks of their respective owners.
#
Expand All @@ -21,12 +21,9 @@
# Authors: Vaideeswaran Ganesan
#
import os
import io
import logging
import threading
import time
from omsdk.sdkconsole import iConsoleRegistry, iConsoleDriver, iConsoleDiscovery
from omsdk.sdkprint import PrettyPrint
from omsdk.sdkproto import PCONSOLE
import sys
import logging
Expand Down
9 changes: 2 additions & 7 deletions omdrivers/MDArray.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
#
# Copyright © 2018 Dell Inc. or its subsidiaries. All rights reserved.
# Copyright © 2018-2024 Dell Inc. or its subsidiaries. All rights reserved.
# Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries.
# Other trademarks may be trademarks of their respective owners.
#
Expand All @@ -20,11 +20,8 @@
#
# Authors: Vaideeswaran Ganesan
#
from enum import Enum
from omsdk.sdkdevice import iDeviceDiscovery, iDeviceRegistry, iDeviceDriver
from omsdk.sdkcenum import EnumWrapper
from omsdk.sdkfile import FileOnShare, Share
from omsdk.sdkcreds import UserCredentials
from omsdk.sdkproto import PSNMP
import sys

Expand All @@ -34,9 +31,7 @@
try:
from pysnmp.hlapi import *
from pysnmp.smi import *
from pysnmp.entity.rfc3413.oneliner import cmdgen
from pysnmp.proto import rfc1902
from pysnmp import debug
from pysnmp.smi.rfc1902 import ObjectIdentity

PySnmpPresent = True
except ImportError:
Expand Down
6 changes: 2 additions & 4 deletions omdrivers/NSeries.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
#
# Copyright © 2018 Dell Inc. or its subsidiaries. All rights reserved.
# Copyright © 2018-2024 Dell Inc. or its subsidiaries. All rights reserved.
# Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries.
# Other trademarks may be trademarks of their respective owners.
#
Expand Down Expand Up @@ -34,9 +34,7 @@
try:
from pysnmp.hlapi import *
from pysnmp.smi import *
from pysnmp.entity.rfc3413.oneliner import cmdgen
from pysnmp.proto import rfc1902
from pysnmp import debug
from pysnmp.smi.rfc1902 import ObjectIdentity
PyPSNMP = True
except ImportError:
PyPSNMP = False
Expand Down
3 changes: 1 addition & 2 deletions omdrivers/Nagios.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
#
# Copyright © 2018 Dell Inc. or its subsidiaries. All rights reserved.
# Copyright © 2018-2024 Dell Inc. or its subsidiaries. All rights reserved.
# Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries.
# Other trademarks may be trademarks of their respective owners.
#
Expand All @@ -27,7 +27,6 @@
from omsdk.sdkproto import PCONSOLE
from omsdk.sdkconsole import iConsoleRegistry, iConsoleDriver, iConsoleDiscovery
from omsdk.sdkfile import cfgprocessor
from omsdk.sdkprint import PrettyPrint

import sys

Expand Down
3 changes: 1 addition & 2 deletions omdrivers/OME.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
#
# Copyright © 2018 Dell Inc. or its subsidiaries. All rights reserved.
# Copyright © 2018-2024 Dell Inc. or its subsidiaries. All rights reserved.
# Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries.
# Other trademarks may be trademarks of their respective owners.
#
Expand All @@ -25,7 +25,6 @@
import logging
from omsdk.sdkproto import PCONSOLE
from omsdk.sdkconsole import iConsoleRegistry, iConsoleDriver, iConsoleDiscovery
from omsdk.sdkprint import PrettyPrint

import sys

Expand Down
10 changes: 2 additions & 8 deletions omdrivers/Printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
#
# Copyright © 2018 Dell Inc. or its subsidiaries. All rights reserved.
# Copyright © 2018-2024 Dell Inc. or its subsidiaries. All rights reserved.
# Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries.
# Other trademarks may be trademarks of their respective owners.
#
Expand All @@ -20,11 +20,8 @@
#
# Authors: Vaideeswaran Ganesan
#
from enum import Enum
from omsdk.sdkdevice import iDeviceDiscovery, iDeviceRegistry, iDeviceDriver
from omsdk.sdkcenum import EnumWrapper
from omsdk.sdkfile import FileOnShare, Share
from omsdk.sdkcreds import UserCredentials
from omsdk.sdkproto import PSNMP
import sys

Expand All @@ -34,10 +31,7 @@
try:
from pysnmp.hlapi import *
from pysnmp.smi import *
from pysnmp.entity.rfc3413.oneliner import cmdgen
from pysnmp.proto import rfc1902
from pysnmp import debug

from pysnmp.smi.rfc1902 import ObjectIdentity
PySnmpPresent = True
except ImportError:
PySnmpPresent = False
Expand Down
4 changes: 1 addition & 3 deletions omdrivers/emcScaleIO.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
#
# Copyright © 2018 Dell Inc. or its subsidiaries. All rights reserved.
# Copyright © 2018-2024 Dell Inc. or its subsidiaries. All rights reserved.
# Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries.
# Other trademarks may be trademarks of their respective owners.
#
Expand All @@ -20,15 +20,13 @@
#
# Authors: Vaideeswaran Ganesan
#
import json
import os
import sys
import logging

sys.path.append(os.getcwd())
from omsdk.sdkproto import PCONSOLE
from omsdk.sdkdevice import iDeviceRegistry, iDeviceDriver, iDeviceDiscovery
from omsdk.sdkprint import PrettyPrint
from omsdk.sdkcenum import EnumWrapper
from omsdk.sdkcreds import UserCredentials, ProtocolCredentialsFactory, CredentialsEnum

Expand Down
4 changes: 1 addition & 3 deletions omdrivers/emcViper.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
#
# Copyright © 2018 Dell Inc. or its subsidiaries. All rights reserved.
# Copyright © 2018-2024 Dell Inc. or its subsidiaries. All rights reserved.
# Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries.
# Other trademarks may be trademarks of their respective owners.
#
Expand All @@ -20,15 +20,13 @@
#
# Authors: Vaideeswaran Ganesan
#
import json
import os
import sys
import logging

sys.path.append(os.getcwd())
from omsdk.sdkproto import PCONSOLE
from omsdk.sdkdevice import iDeviceRegistry, iDeviceDriver, iDeviceDiscovery
from omsdk.sdkprint import PrettyPrint
from omsdk.sdkcenum import EnumWrapper

import sys
Expand Down
3 changes: 2 additions & 1 deletion omdrivers/iDRAC.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
#
# Copyright © 2018 Dell Inc. or its subsidiaries. All rights reserved.
# Copyright © 2018-2024 Dell Inc. or its subsidiaries. All rights reserved.
# Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries.
# Other trademarks may be trademarks of their respective owners.
#
Expand Down Expand Up @@ -46,6 +46,7 @@ def __init__(self, arg1):
try:
from pysnmp.hlapi import *
from pysnmp.smi import *
from pysnmp.smi.rfc1902 import ObjectIdentity
PySnmpPresent = True
except ImportError:
PySnmpPresent = False
Expand Down
Loading

0 comments on commit 1760497

Please sign in to comment.