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. ()
Remote management modules for OCAPI-based devices. ()

* 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 () 2022-12-05 05:47:23 +00:00
mh [PR #5765/dc531b18 backport][stable-6] ModuleHelper - lax handling of conflicting output () 2023-01-07 10:52:56 +01:00
net_tools/pritunl
oracle
remote_management/lxca
source_control Remove deprecated features, bump version to 6.0.0 () 2022-10-25 08:07:21 +02:00
storage
_mount.py Add remaining copyright statements, add licenses sanity test () 2022-08-08 23:23:08 +02:00
alicloud_ecs.py multiple modules: removed unused imports () 2022-09-09 22:23:48 +02:00
cloud.py
cmd_runner.py [PR #5647/be22ca06 backport][stable-6] cmd_runner: allow bool format to pass alternate (false) value () 2022-12-04 12:39:30 +01:00
csv.py
database.py
deps.py add dependency manager () () 2022-11-23 07:37:45 +01:00
dimensiondata.py
gandi_livedns_api.py
gconftool2.py gconftool2: refactored to use ModuleHelper + CmdRunner () () 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 () 2022-12-10 22:42:19 +01:00
heroku.py
hwc_utils.py
ibm_sa_utils.py
ilo_redfish_utils.py [PR #5804/b92542de backport][stable-6] Minor changes to HPE iLO collection () 2023-01-18 08:09:20 +01:00
influxdb.py
ipa.py
jenkins.py jenkins_plugin: fix sanity checks () () 2022-11-23 07:37:52 +01:00
known_hosts.py
ldap.py Allow for DN's to have {x} prefix on first RDN () 2022-11-05 12:43:28 +01:00
linode.py
lxd.py lxd_project: refactored os.path.expanduser() to module utils () () 2022-11-23 07:37:36 +01:00
manageiq.py manageiq_tags_info: new module () 2022-10-23 11:33:07 +02:00
memset.py Fix linting errors; fix some real bugs () 2022-08-12 11:07:30 +02:00
module_helper.py
ocapi_utils.py [PR #5754/59a9d342 backport][stable-6] Remote management modules for OCAPI-based devices. () 2023-01-22 17:23:28 +01:00
oneandone.py
onepassword.py
oneview.py
online.py
opennebula.py
pipx.py pipx module utils: removed unused import () 2022-09-18 11:52:15 +02:00
proxmox.py [feat] proxmox_snap: snapshot containers with configured mountpoints () 2022-09-28 22:48:11 +02:00
puppet.py [PR #5612/f95e0d77 backport][stable-6] puppet: refactored to use CmdRunner () 2022-12-14 22:03:40 +01:00
pure.py
rax.py rax_scaling_group: fix sanity check () () 2022-11-23 07:37:12 +01:00
redfish_utils.py [PR #5507/b22638ba backport][stable-6] Adding PUT functionality to redfish_utils (Updated) () 2022-12-05 18:42:37 +01:00
redhat.py
redis.py Fix linting errors; fix some real bugs () 2022-08-12 11:07:30 +02:00
rundeck.py
saslprep.py
scaleway.py [PR #5499/c4b18361 backport][stable-6] scaleway module utils: make function private that should be removed () 2023-01-18 21:44:08 +01:00
ssh.py [PR #5720/6383c823 backport][stable-6] ssh_config: fixed sanity () 2022-12-23 06:41:39 +01:00
univention_umc.py
utm_utils.py
version.py
vexata.py
wdc_redfish_utils.py WDC Redfish support for setting the power mode. () 2022-09-03 12:45:03 +02:00
xenserver.py
xfconf.py