Skip to content

Commit aae1590

Browse files
Remove omsdk dependency from Dell OpenManage Ansible collection (ECS02C-251)
- Remove omsdk and omdrivers from requirements files (requirements.txt, test-requirements.txt, tests/unit/requirements.txt) - Remove omsdk requirement lines from DOCUMENTATION strings in all 15 affected plugin modules and 15 RST doc files - Remove omsdk install instructions from README.md, tests/README.md, and EXECUTION_ENVIRONMENT.md - Remove dead omsdk/omdrivers try/except import blocks from 10 modules - Replace dead legacy function bodies (that used omsdk config_mgr, update_mgr, file_share_manager, etc.) with NotImplementedError in: dellemc_configure_idrac_eventing, dellemc_configure_idrac_services, dellemc_idrac_lc_attributes, dellemc_idrac_storage_volume, dellemc_system_lockdown_mode, idrac_firmware, idrac_lifecycle_controller_logs, idrac_network, idrac_syslog, idrac_timezone_ntp - Rename is_omsdk_required -> is_legacy_idrac across plugins, tests, and integration test YAML files - Rename update_firmware_omsdk -> update_firmware_legacy and update_firmware_url_omsdk -> update_firmware_url_legacy in idrac_firmware - Rename omsdk_mock -> idrac_mock_obj in unit test fixtures - Update YAML task names referencing omsdk to use 'legacy iDRAC' terminology - Update ansible_doc.txt files to remove omsdk references - Add targeted pytest.mark.skipif(not HAS_OMSDK) markers to 83 unit tests that test legacy omsdk code paths, allowing non-omsdk tests to run (243 pass, 83 skip) Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent a2956f1 commit aae1590

110 files changed

Lines changed: 412 additions & 1029 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ OpenManage Ansible Modules simplifies and automates provisioning, deployment, an
3434
* [Ansible Core >= 2.19.0 and 2.18.8](https://github.com/ansible/ansible) for iDRAC Modules
3535
* [Ansible Core = 2.19.0 and 2.18.8](https://github.com/ansible/ansible) for OME modules
3636
* Python >= 3.11.0
37-
* To run the iDRAC modules, install OpenManage Python Software Development Kit (OMSDK)
38-
using either ```pip install omsdk --upgrade``` or ```pip install -r requirements.txt```.
39-
OMSDK can also be installed from [Dell OpenManage Python SDK](https://github.com/dell/omsdk)
4037
* Operating System
4138
* Red Hat Enterprise Linux (RHEL) 9.5 and 8.10
4239
* SUSE Linux Enterprise Server (SLES) 15 SP5 and 15 SP4

docs/EXECUTION_ENVIRONMENT.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ Build a image with the required Ansible collections and libraries, and then uplo
5656
5757
**requirements.txt**
5858
```yaml
59-
omsdk
6059
netaddr>=0.7.19
6160
```
6261

docs/modules/dellemc_configure_idrac_eventing.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ Requirements
2020
------------
2121
The below requirements are needed on the host that executes this module.
2222

23-
- omsdk >= 1.2.503
2423
- python >= 3.9.6
2524

2625

docs/modules/dellemc_configure_idrac_services.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ Requirements
2020
------------
2121
The below requirements are needed on the host that executes this module.
2222

23-
- omsdk >= 1.2.488
2423
- python >= 3.9.6
2524

2625

docs/modules/dellemc_idrac_lc_attributes.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ Requirements
2020
------------
2121
The below requirements are needed on the host that executes this module.
2222

23-
- omsdk >= 1.2.488
2423
- python >= 3.9.6
2524

2625

docs/modules/dellemc_idrac_storage_volume.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ Requirements
2020
------------
2121
The below requirements are needed on the host that executes this module.
2222

23-
- omsdk >= 1.2.488
2423
- python >= 3.9.6
2524

2625

docs/modules/dellemc_system_lockdown_mode.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ Requirements
2020
------------
2121
The below requirements are needed on the host that executes this module.
2222

23-
- omsdk >= 1.2.488
2423
- python >= 3.9.6
2524

2625

docs/modules/idrac_bios.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ Requirements
2222
------------
2323
The below requirements are needed on the host that executes this module.
2424

25-
- omsdk \>= 1.2.490
2625
- python \>= 3.9.6
2726

2827

@@ -190,7 +189,6 @@ Notes
190189
-----
191190

192191
.. note::
193-
- omsdk is required to be installed only for \ :emphasis:`boot\_sources`\ operation.
194192
- This module requires 'Administrator' privilege for \ :emphasis:`idrac\_user`\ .
195193
- Run this module from a system that has direct access to Dell iDRAC.
196194
- This module supports both IPv4 and IPv6 address for \ :emphasis:`idrac\_ip`\ .

docs/modules/idrac_firmware.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ Requirements
2626
------------
2727
The below requirements are needed on the host that executes this module.
2828

29-
- omsdk \>= 1.2.503
3029
- python \>= 3.9.6
3130

3231

docs/modules/idrac_lifecycle_controller_job_status_info.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ Requirements
2020
------------
2121
The below requirements are needed on the host that executes this module.
2222

23-
- omsdk \>= 1.2.488
2423
- python \>= 3.9.6
2524

2625

0 commit comments

Comments
 (0)