1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/module_utils
patchback[bot] ea9b272043
[PR #5754/59a9d342 backport][stable-6] Remote management modules for OCAPI-based devices. (#5869)
Remote management modules for OCAPI-based devices. (#5754)

* Remote management modules for OCAPI-based devices.

    Open Composable API (OCAPI) is a REST-based API designed for data center composability. For more information, see https://www.opencompute.org/documents/open-composable-api-for-ocp-2019-06-24-pdf

    This PR introduces ocapi_command and ocapi_info modules.  These are based on the existing redfish_command and redfish_info modules and follow similar patterns.  This initial implementation includes support for the folowing operations:

    - Indicator LED toggling
    - Power state toggling
    - Enclosure reset (reboot)
    - Firmware upload
    - Firmware update
    - Firmware activate
    - Job deletion
    - Job status

    These modules have been tested against Western Digital OpenFlex(tm) Data24 storage enclosures. API reference is at https://documents.westerndigital.com/content/dam/doc-library/en_us/assets/public/western-digital/product/platforms/openflex/reference-architecture-open-composable-api.pdf

* Fix licensing issue for ocapi_utils.py

* PR Feedback

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/module_utils/ocapi_utils.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/ocapi_info.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

* PR Feedback

Use six module for urlparse

* Apply suggestions from code review

Documentation fixes.

Co-authored-by: Felix Fontein <felix@fontein.de>

* Fix sanity test line too long error.

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 59a9d34250)

Co-authored-by: Mike Moerk <michael.moerk@wdc.com>
2023-01-22 17:23:28 +01:00
..
identity/keycloak [PR #5606/7ea544a6 backport][stable-6] New Module: Keycloak ClientSecret with PR changes (#5654) 2022-12-05 05:47:23 +00:00
mh [PR #5765/dc531b18 backport][stable-6] ModuleHelper - lax handling of conflicting output (#5775) 2023-01-07 10:52:56 +01:00
net_tools/pritunl Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
oracle Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
remote_management/lxca Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
source_control Remove deprecated features, bump version to 6.0.0 (#5326) 2022-10-25 08:07:21 +02:00
storage Fix copyright lines (make sure 'Copyright' is there). (#5083) 2022-08-05 22:12:10 +02:00
_mount.py Add remaining copyright statements, add licenses sanity test (#5098) 2022-08-08 23:23:08 +02:00
alicloud_ecs.py multiple modules: removed unused imports (#5240) 2022-09-09 22:23:48 +02:00
cloud.py Fix copyright lines (make sure 'Copyright' is there). (#5083) 2022-08-05 22:12:10 +02:00
cmd_runner.py [PR #5647/be22ca06 backport][stable-6] cmd_runner: allow bool format to pass alternate (false) value (#5650) 2022-12-04 12:39:30 +01:00
csv.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
database.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
deps.py add dependency manager (#5535) (#5574) 2022-11-23 07:37:45 +01:00
dimensiondata.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
gandi_livedns_api.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
gconftool2.py gconftool2: refactored to use ModuleHelper + CmdRunner (#5545) (#5551) 2022-11-23 07:37:27 +01:00
gitlab.py [PR #5667/c3bc172b backport][stable-6] respect new variable property in gitlab_group_variable and gitlab_project_variable (#5679) 2022-12-10 22:42:19 +01:00
heroku.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
hwc_utils.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
ibm_sa_utils.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
ilo_redfish_utils.py [PR #5804/b92542de backport][stable-6] Minor changes to HPE iLO collection (#5854) 2023-01-18 08:09:20 +01:00
influxdb.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
ipa.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
jenkins.py jenkins_plugin: fix sanity checks (#5565) (#5575) 2022-11-23 07:37:52 +01:00
known_hosts.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
ldap.py Allow for DN's to have {x} prefix on first RDN (#5450) 2022-11-05 12:43:28 +01:00
linode.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
lxd.py lxd_project: refactored os.path.expanduser() to module utils (#5549) (#5552) 2022-11-23 07:37:36 +01:00
manageiq.py manageiq_tags_info: new module (#5368) 2022-10-23 11:33:07 +02:00
memset.py Fix linting errors; fix some real bugs (#5111) 2022-08-12 11:07:30 +02:00
module_helper.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
ocapi_utils.py [PR #5754/59a9d342 backport][stable-6] Remote management modules for OCAPI-based devices. (#5869) 2023-01-22 17:23:28 +01:00
oneandone.py Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
onepassword.py Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
oneview.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
online.py Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
opennebula.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
pipx.py pipx module utils: removed unused import (#5288) 2022-09-18 11:52:15 +02:00
proxmox.py [feat] proxmox_snap: snapshot containers with configured mountpoints (#5274) 2022-09-28 22:48:11 +02:00
puppet.py [PR #5612/f95e0d77 backport][stable-6] puppet: refactored to use CmdRunner (#5686) 2022-12-14 22:03:40 +01:00
pure.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
rax.py rax_scaling_group: fix sanity check (#5563) (#5569) 2022-11-23 07:37:12 +01:00
redfish_utils.py [PR #5507/b22638ba backport][stable-6] Adding PUT functionality to redfish_utils (Updated) (#5660) 2022-12-05 18:42:37 +01:00
redhat.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
redis.py Fix linting errors; fix some real bugs (#5111) 2022-08-12 11:07:30 +02:00
rundeck.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
saslprep.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
scaleway.py [PR #5499/c4b18361 backport][stable-6] scaleway module utils: make function private that should be removed (#5860) 2023-01-18 21:44:08 +01:00
ssh.py [PR #5720/6383c823 backport][stable-6] ssh_config: fixed sanity (#5726) 2022-12-23 06:41:39 +01:00
univention_umc.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
utm_utils.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
version.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
vexata.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
wdc_redfish_utils.py WDC Redfish support for setting the power mode. (#5145) 2022-09-03 12:45:03 +02:00
xenserver.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
xfconf.py Fix copyright lines (make sure 'Copyright' is there). (#5083) 2022-08-05 22:12:10 +02:00