mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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
|
||
---|---|---|
.. | ||
identity/keycloak | ||
mh | ||
net_tools/pritunl | ||
oracle | ||
remote_management/lxca | ||
source_control | ||
storage | ||
_mount.py | ||
alicloud_ecs.py | ||
cloud.py | ||
cmd_runner.py | ||
csv.py | ||
database.py | ||
deps.py | ||
dimensiondata.py | ||
gandi_livedns_api.py | ||
gconftool2.py | ||
gitlab.py | ||
heroku.py | ||
hwc_utils.py | ||
ibm_sa_utils.py | ||
ilo_redfish_utils.py | ||
influxdb.py | ||
ipa.py | ||
jenkins.py | ||
known_hosts.py | ||
ldap.py | ||
linode.py | ||
lxd.py | ||
manageiq.py | ||
memset.py | ||
module_helper.py | ||
ocapi_utils.py | ||
oneandone.py | ||
onepassword.py | ||
oneview.py | ||
online.py | ||
opennebula.py | ||
pipx.py | ||
proxmox.py | ||
puppet.py | ||
pure.py | ||
rax.py | ||
redfish_utils.py | ||
redhat.py | ||
redis.py | ||
rundeck.py | ||
saslprep.py | ||
scaleway.py | ||
ssh.py | ||
univention_umc.py | ||
utm_utils.py | ||
version.py | ||
vexata.py | ||
wdc_redfish_utils.py | ||
xenserver.py | ||
xfconf.py |