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/tests/unit/plugins/modules
Mike Moerk 59a9d34250
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>
2023-01-22 17:10:36 +01:00
..
interfaces_file
conftest.py
FakeAnsibleModule.py
FakeXenAPI.py
gitlab.py
hpe_test_utils.py
linode_conftest.py
oneview_conftest.py
oneview_module_loader.py
rhn_conftest.py
test_alerta_customer.py
test_apache2_module.py
test_apk.py
test_archive.py
test_bitbucket_access_key.py
test_bitbucket_pipeline_key_pair.py
test_bitbucket_pipeline_known_host.py
test_bitbucket_pipeline_variable.py
test_campfire.py
test_circonus_annotation.py
test_cpanm.py
test_datadog_downtime.py.disabled
test_discord.py
test_dnsimple.py
test_dnsimple_info.py
test_gconftool2.py
test_gconftool2_info.py
test_gem.py
test_github_repo.py
test_gitlab_deploy_key.py
test_gitlab_group.py
test_gitlab_hook.py
test_gitlab_project.py
test_gitlab_protected_branch.py
test_gitlab_runner.py
test_gitlab_user.py
test_homebrew.py
test_homebrew_cask.py
test_icinga2_feature.py
test_ipa_otpconfig.py
test_ipa_otptoken.py
test_ipa_pwpolicy.py
test_java_keystore.py
test_jenkins_build.py
test_jenkins_plugin.py
test_keycloak_authentication.py
test_keycloak_client.py
test_keycloak_client_rolemapping.py
test_keycloak_clientscope.py
test_keycloak_identity_provider.py
test_keycloak_realm.py
test_keycloak_realm_info.py
test_keycloak_role.py
test_keycloak_user_federation.py
test_linode.py
test_linode_v4.py
test_lxca_cmms.py
test_lxca_nodes.py
test_macports.py
test_maven_artifact.py
test_modprobe.py
test_monit.py
test_nmcli.py
test_npm.py
test_ocapi_command.py Remote management modules for OCAPI-based devices. (#5754) 2023-01-22 17:10:36 +01:00
test_ocapi_info.py Remote management modules for OCAPI-based devices. (#5754) 2023-01-22 17:10:36 +01:00
test_oneview_datacenter_info.py
test_oneview_enclosure_info.py
test_oneview_ethernet_network.py
test_oneview_ethernet_network_info.py
test_oneview_fc_network.py
test_oneview_fc_network_info.py
test_oneview_fcoe_network.py
test_oneview_fcoe_network_info.py
test_oneview_logical_interconnect_group.py
test_oneview_logical_interconnect_group_info.py
test_oneview_network_set.py
test_oneview_network_set_info.py
test_oneview_san_manager.py
test_oneview_san_manager_info.py
test_opkg.py
test_pacman.py
test_pacman_key.py
test_pagerduty.py
test_pagerduty_alert.py
test_pagerduty_change.py
test_pamd.py
test_parted.py
test_pkgin.py
test_pmem.py
test_pritunl_org.py
test_pritunl_org_info.py
test_pritunl_user.py
test_pritunl_user_info.py
test_proxmox_kvm.py
test_proxmox_snap.py
test_proxmox_tasks_info.py
test_puppet.py
test_redhat_subscription.py
test_redis_data.py
test_redis_data_incr.py
test_redis_data_info.py
test_redis_info.py
test_rhn_channel.py
test_rhn_register.py
test_rhsm_release.py
test_rpm_ostree_pkg.py
test_scaleway_compute_private_network.py
test_scaleway_private_network.py
test_slack.py
test_solaris_zone.py
test_ss_3par_cpg.py
test_statsd.py
test_sysupgrade.py
test_terraform.py
test_ufw.py
test_wdc_redfish_command.py
test_wdc_redfish_info.py
test_xcc_redfish_command.py
test_xenserver_guest_info.py
test_xenserver_guest_powerstate.py
test_xfconf.py
test_xfconf_info.py
utils.py
xenserver_common.py
xenserver_conftest.py