Skip to main content

Redfish Use Case Checkers

Project description

Redfish Use Case Checkers

Copyright 2017-2025 DMTF. All rights reserved.

About

The Redfish Use Case Checkers performs common management use cases to ensure a Redfish service meets functional expectations.

Installation

From PyPI:

pip install redfish_use_case_checkers

From GitHub:

git clone https://github.com/DMTF/Redfish-Use-Case-Checkers.git
cd Redfish-Use-Case-Checkers
python setup.py sdist
pip install dist/redfish_use_case_checkers-x.x.x.tar.gz

Requirements

The Redfish Use Case Checkers requires Python3.

Required external packages:

colorama
redfish
redfish_utilities

If installing from GitHub, you may install the external packages by running:

pip install -r requirements.txt

Usage

usage: rf_use_case_checkers.py [-h] --user USER --password PASSWORD --rhost
                               RHOST [--report-dir REPORT_DIR] [--relaxed]
                               [--test-list [{AccountManagement,PowerControl,BootOverride,ManagerEthernetInterfaces,QueryParameters} ...]]
                               [--debugging]

Validate Redfish services against use cases

options:
  -h, --help            show this help message and exit
  --user USER, -u USER  The username for authentication
  --password PASSWORD, -p PASSWORD
                        The password for authentication
  --rhost RHOST, -r RHOST
                        The address of the Redfish service (with scheme)
  --report-dir REPORT_DIR
                        The directory for generated report files (default:
                        'reports')
  --relaxed             Allows for some failures to be logged as warnings;
                        useful if the criteria is to meet the literal 'shall'
                        statements in the specification.
  --test-list [{AccountManagement,PowerControl,BootOverride,ManagerEthernetInterfaces,QueryParameters} ...]
                        Selects specific tests to perform instead of running
                        the entire test suite.
  --debugging           Controls the verbosity of the debugging output; if not
                        specified only INFO and higher are logged.

Example:

rf_use_case_checkers -r https://192.168.1.100 -u USERNAME -p PASSWORD

Release Process

  1. Go to the "Actions" page
  2. Select the "Release and Publish" workflow
  3. Click "Run workflow"
  4. Fill out the form
  5. Click "Run workflow"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

redfish_use_case_checkers-2.0.7.tar.gz (42.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

redfish_use_case_checkers-2.0.7-py3-none-any.whl (48.6 kB view details)

Uploaded Python 3

File details

Details for the file redfish_use_case_checkers-2.0.7.tar.gz.

File metadata

File hashes

Hashes for redfish_use_case_checkers-2.0.7.tar.gz
Algorithm Hash digest
SHA256 d8ec2bda7da4cd97b1c901827f95d144ddb2fce235062a4aa8ae9fe213854a0f
MD5 a0eb3de0ffce8724a223b3997ea663a5
BLAKE2b-256 ebe7c7cf1471eb5ba96f74012f6a0a90f5bc957a8fed8dc97c90c1f56c74c9a9

See more details on using hashes here.

File details

Details for the file redfish_use_case_checkers-2.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for redfish_use_case_checkers-2.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 251dd4ad972d30c78c50f6cc7c4fba7afb1e5f1cccca3e96e567be6a7f794560
MD5 cf60c93e8df6ebc586c041b8780c468d
BLAKE2b-256 da799fd9e2f0976665a1d4f379023235d53f14175a87bd1d418f542a290c0890

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page