You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+54-39
Original file line number
Diff line number
Diff line change
@@ -10,28 +10,38 @@ The Redfish Interop Validator is a python3 tool that will validate a service bas
10
10
11
11
This tool is designed to accept a profile conformant to the schematics specified by the DMTF Redfish Profile schema, and run against any valid Redfish service for a given device. It is not biased to any specific hardware, only dependent on the current Redfish specification.
12
12
13
-
## Pre-requisites
13
+
## Installation
14
14
15
-
The Redfish Interop Validator is based on Python 3 and the client system is required to have the Python framework installed before the tool can be installed and executed on the system. Additionally, the following packages are required to be installed and accessible from the python environment:
16
-
* requests - https://github.com/kennethreitz/requests (Documentation is available at http://docs.python-requests.org/)
17
-
* jsonschema
15
+
From PyPI:
18
16
19
-
If you wish to convert your logs:
20
-
* beautifulsoup4 - https://pypi.python.org/pypi/beautifulsoup4/ (must be >= 4.6.0)
If you have a previous beautifulsoup4 installation, please use the following command:
26
+
## Requirements
27
27
28
-
`pip3 install beautifulsoup4 --upgrade`
28
+
External modules:
29
29
30
-
There is no dependency based on Windows or Linux OS. The result logs are generated in HTML format and an appropriate browser (Chrome, Firefox, IE, etc.) is required to view the logs on the client system.
Place the RedfishInteropValidator.py tool into the desired tool root directory. Create the following subdirectories in the tool root directory: "config" and "logs". Place the example config.ini file in the "config" directory.
39
+
If you have a previous beautifulsoup4 installation, use the following command:
40
+
41
+
pip3 install beautifulsoup4 --upgrade
42
+
43
+
There is no dependency based on Windows or Linux OS.
44
+
The result logs are generated in HTML format and an appropriate browser, such as Chrome, Firefox, or Edge, is required to view the logs on the client system.
35
45
36
46
## Execution Steps
37
47
@@ -41,40 +51,44 @@ Modify the config\example.ini file to enter the system details under below secti
41
51
42
52
### [Tool]
43
53
44
-
Variable | Type | Definition
45
-
-- |--|--
46
-
Version | string | Internal config version (optional)
47
-
Copyright | string | _DMTF_ copyright (optional)
48
-
verbose | int | level of verbosity (0-3)
54
+
|Variable | Type | Definition|
55
+
| :---| :--- | :---|
56
+
|Version | string | Internal config version (optional)|
57
+
|Copyright | string |_DMTF_ copyright (optional)|
58
+
|verbose | int | level of verbosity (0-3) |
49
59
50
60
### [Interop]
51
-
Variable | Type | Definition
52
-
-- |-- |--
53
-
Profile | string | name of the testing profile (mandatory)
54
-
Schema | string | name of json schema to test profile against
61
+
62
+
| Variable | Type | Definition |
63
+
| :--- | :--- | :--- |
64
+
| Profile | string | name of the testing profile (mandatory) |
65
+
| Schema | string | name of json schema to test profile against |
55
66
56
67
### [Host]
57
-
Variable | Type | Definition
58
-
-- |-- |--
59
-
ip | string | Host of testing system, formatted as https:// ip : port (can use http as well)
60
-
username | string | Username for Basic authentication
61
-
password | string | Password for Basic authentication (removed from logs)
62
-
description| string | Description of system being tested (optional)
63
-
forceauth | boolean | Force authentication even on http servers
| debugging | boolean | Whether to print debug to log |
88
+
| required_profiles_dir | string | Option to set the root folder of required profiles |
76
89
77
90
### Payload options
91
+
78
92
The payload option takes two parameters as "option uri"
79
93
80
94
(Single, SingleFile, Tree, TreeFile)
@@ -99,6 +113,7 @@ To convert a previous HTML log into a csv file, use the following command:
99
113
* 3. Step 2 repeats till all the URIs and resources are covered.
100
114
101
115
Upon validation of a resource, the following types of tests may occur:
116
+
102
117
***Unlike** the Service Validator, the program will not necessarily list and warn problematic Resources, it will expect those problems to be found with the Service Validator and are ignored in the process here.
103
118
* When a Resource is found, check if this resource exists in the Profile provided, otherwise ignore it and move on to the next available resources via its Links.
104
119
* With the Resource initiated, begin to validate itself and the Properties that exist in the Profile given to the program with the following possible tests:
0 commit comments