redfish-interop-validator 2.2.4__tar.gz → 2.2.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {redfish_interop_validator-2.2.4/redfish_interop_validator.egg-info → redfish_interop_validator-2.2.5}/PKG-INFO +29 -29
- {redfish_interop_validator-2.2.4 → redfish_interop_validator-2.2.5}/README.md +28 -28
- {redfish_interop_validator-2.2.4 → redfish_interop_validator-2.2.5}/redfish_interop_validator/RedfishInteropValidator.py +2 -2
- {redfish_interop_validator-2.2.4 → redfish_interop_validator-2.2.5}/redfish_interop_validator/RedfishLogo.py +1 -1
- {redfish_interop_validator-2.2.4 → redfish_interop_validator-2.2.5}/redfish_interop_validator/config.py +2 -2
- {redfish_interop_validator-2.2.4 → redfish_interop_validator-2.2.5}/redfish_interop_validator/interop.py +1 -1
- {redfish_interop_validator-2.2.4 → redfish_interop_validator-2.2.5}/redfish_interop_validator/profile.py +1 -1
- {redfish_interop_validator-2.2.4 → redfish_interop_validator-2.2.5}/redfish_interop_validator/redfish.py +1 -1
- {redfish_interop_validator-2.2.4 → redfish_interop_validator-2.2.5}/redfish_interop_validator/session.py +1 -1
- {redfish_interop_validator-2.2.4 → redfish_interop_validator-2.2.5}/redfish_interop_validator/tohtml.py +1 -1
- {redfish_interop_validator-2.2.4 → redfish_interop_validator-2.2.5}/redfish_interop_validator/traverseInterop.py +1 -1
- {redfish_interop_validator-2.2.4 → redfish_interop_validator-2.2.5}/redfish_interop_validator/validateResource.py +1 -1
- {redfish_interop_validator-2.2.4 → redfish_interop_validator-2.2.5/redfish_interop_validator.egg-info}/PKG-INFO +29 -29
- {redfish_interop_validator-2.2.4 → redfish_interop_validator-2.2.5}/setup.py +2 -2
- {redfish_interop_validator-2.2.4 → redfish_interop_validator-2.2.5}/AUTHORS.md +0 -0
- {redfish_interop_validator-2.2.4 → redfish_interop_validator-2.2.5}/LICENSE.md +0 -0
- {redfish_interop_validator-2.2.4 → redfish_interop_validator-2.2.5}/redfish_interop_validator/__init__.py +0 -0
- {redfish_interop_validator-2.2.4 → redfish_interop_validator-2.2.5}/redfish_interop_validator.egg-info/SOURCES.txt +0 -0
- {redfish_interop_validator-2.2.4 → redfish_interop_validator-2.2.5}/redfish_interop_validator.egg-info/dependency_links.txt +0 -0
- {redfish_interop_validator-2.2.4 → redfish_interop_validator-2.2.5}/redfish_interop_validator.egg-info/entry_points.txt +0 -0
- {redfish_interop_validator-2.2.4 → redfish_interop_validator-2.2.5}/redfish_interop_validator.egg-info/requires.txt +0 -0
- {redfish_interop_validator-2.2.4 → redfish_interop_validator-2.2.5}/redfish_interop_validator.egg-info/top_level.txt +0 -0
- {redfish_interop_validator-2.2.4 → redfish_interop_validator-2.2.5}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: redfish_interop_validator
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.5
|
|
4
4
|
Summary: Redfish Interop Validator
|
|
5
5
|
Home-page: https://github.com/DMTF/Redfish-Interop-Validator
|
|
6
6
|
Author: DMTF, https://www.dmtf.org/standards/feedback
|
|
@@ -18,7 +18,7 @@ Requires-Dist: beautifulsoup4>=4.6.0
|
|
|
18
18
|
Requires-Dist: lxml
|
|
19
19
|
Requires-Dist: jsonschema
|
|
20
20
|
|
|
21
|
-
Copyright 2017-
|
|
21
|
+
Copyright 2017-2024 DMTF. All rights reserved.
|
|
22
22
|
|
|
23
23
|
# Redfish Interop Validator
|
|
24
24
|
|
|
@@ -71,42 +71,42 @@ Modify the config\example.ini file to enter the system details under below secti
|
|
|
71
71
|
|
|
72
72
|
### [Tool]
|
|
73
73
|
|
|
74
|
-
| Variable | Type
|
|
75
|
-
| :---
|
|
76
|
-
|
|
|
77
|
-
| Copyright | string | _DMTF_ copyright (optional) |
|
|
78
|
-
| verbose | int | level of verbosity (0-3) |
|
|
74
|
+
| Variable | CLI Argument | Type | Definition |
|
|
75
|
+
| :--- | :--- | :--- | :--- |
|
|
76
|
+
| `verbose` | `-v` | integer | Verbosity of tool in stdout; 0 to 3, 3 being the greatest level of verbosity. |
|
|
79
77
|
|
|
80
78
|
### [Interop]
|
|
81
79
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
|
85
|
-
|
|
|
80
|
+
Note: These arguments are only supplied via the CLI to the tool and are not specified in the configuration file.
|
|
81
|
+
|
|
82
|
+
| CLI Argument | Type | Definition |
|
|
83
|
+
| :--- | :--- | :--- |
|
|
84
|
+
| `profile` | string | The name of the testing profile (mandatory). |
|
|
85
|
+
| `--schema` | string | The filepath and name of the schema file to verify the format of the profile. |
|
|
86
86
|
|
|
87
87
|
### [Host]
|
|
88
88
|
|
|
89
|
-
| Variable
|
|
90
|
-
| :---
|
|
91
|
-
| ip
|
|
92
|
-
| username
|
|
93
|
-
| password
|
|
94
|
-
| description | string |
|
|
95
|
-
| forceauth
|
|
96
|
-
| authtype
|
|
97
|
-
| token
|
|
89
|
+
| Variable | CLI Argument | Type | Definition |
|
|
90
|
+
| :--- | :--- | :--- | :--- |
|
|
91
|
+
| `ip` | `-r` | string | The address of the Redfish service (with scheme); example: 'https://123.45.6.7:8000'. |
|
|
92
|
+
| `username` | `-u` | string | The username for authentication. |
|
|
93
|
+
| `password` | `-p` | string | The password for authentication. |
|
|
94
|
+
| `description` | `--description` | string | The description of the system for identifying logs; if none is given, a value is produced from information in the service root. |
|
|
95
|
+
| `forceauth` | `--forceauth` | boolean | Force authentication on unsecure connections; 'True' or 'False'. |
|
|
96
|
+
| `authtype` | `--authtype` | string | Authorization type; 'None', 'Basic', 'Session', or 'Token'. |
|
|
97
|
+
| `token` | `--token` | string | Token when 'authtype' is 'Token'. |
|
|
98
98
|
|
|
99
99
|
### [Validator]
|
|
100
100
|
|
|
101
|
-
| Variable | Type
|
|
102
|
-
| :---
|
|
103
|
-
| payload | string |
|
|
104
|
-
| logdir | string |
|
|
105
|
-
| oemcheck | boolean | Whether to check
|
|
106
|
-
| online_profiles | boolean | Whether to download online profiles |
|
|
107
|
-
| debugging | boolean |
|
|
108
|
-
| required_profiles_dir | string | Option to set the root folder of required profiles |
|
|
109
|
-
| collectionlimit | string | Sets a limit to links gathered from collections by type
|
|
101
|
+
| Variable | CLI Argument | Type | Definition |
|
|
102
|
+
| :--- | :--- | :--- | :--- |
|
|
103
|
+
| `payload` | `--payload` | string | The mode to validate payloads ('Tree', 'Single', 'SingleFile', or 'TreeFile') followed by resource/filepath; see below. |
|
|
104
|
+
| `logdir` | `--logdir` | string | The directory for generated report files; default: 'logs'. |
|
|
105
|
+
| `oemcheck` | `--nooemcheck` | boolean | Whether to check OEM items on service; 'True' or 'False'. |
|
|
106
|
+
| `online_profiles` | `--no_online_profiles` | boolean | Whether to download online profiles; 'True' or 'False'. |
|
|
107
|
+
| `debugging` | `--debugging` | boolean | Output debug statements to text log, otherwise it only uses INFO; 'True' or 'False'. |
|
|
108
|
+
| `required_profiles_dir` | `--required_profiles_dir` | string | Option to set the root folder of required profiles |
|
|
109
|
+
| `collectionlimit` | `--collectionlimit` | string | Sets a limit to links gathered from collections by type (schema name).<br/>Example 1: `ComputerSystem 20` limits ComputerSystemCollection to 20 links.<br/>Example 2: `ComputerSystem 20 LogEntry 10` limits ComputerSystemCollection to 20 links and LogEntryCollection to 10 links. |
|
|
110
110
|
|
|
111
111
|
### Payload options
|
|
112
112
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Copyright 2017-
|
|
1
|
+
Copyright 2017-2024 DMTF. All rights reserved.
|
|
2
2
|
|
|
3
3
|
# Redfish Interop Validator
|
|
4
4
|
|
|
@@ -51,42 +51,42 @@ Modify the config\example.ini file to enter the system details under below secti
|
|
|
51
51
|
|
|
52
52
|
### [Tool]
|
|
53
53
|
|
|
54
|
-
| Variable | Type
|
|
55
|
-
| :---
|
|
56
|
-
|
|
|
57
|
-
| Copyright | string | _DMTF_ copyright (optional) |
|
|
58
|
-
| verbose | int | level of verbosity (0-3) |
|
|
54
|
+
| Variable | CLI Argument | Type | Definition |
|
|
55
|
+
| :--- | :--- | :--- | :--- |
|
|
56
|
+
| `verbose` | `-v` | integer | Verbosity of tool in stdout; 0 to 3, 3 being the greatest level of verbosity. |
|
|
59
57
|
|
|
60
58
|
### [Interop]
|
|
61
59
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
|
65
|
-
|
|
|
60
|
+
Note: These arguments are only supplied via the CLI to the tool and are not specified in the configuration file.
|
|
61
|
+
|
|
62
|
+
| CLI Argument | Type | Definition |
|
|
63
|
+
| :--- | :--- | :--- |
|
|
64
|
+
| `profile` | string | The name of the testing profile (mandatory). |
|
|
65
|
+
| `--schema` | string | The filepath and name of the schema file to verify the format of the profile. |
|
|
66
66
|
|
|
67
67
|
### [Host]
|
|
68
68
|
|
|
69
|
-
| Variable
|
|
70
|
-
| :---
|
|
71
|
-
| ip
|
|
72
|
-
| username
|
|
73
|
-
| password
|
|
74
|
-
| description | string |
|
|
75
|
-
| forceauth
|
|
76
|
-
| authtype
|
|
77
|
-
| token
|
|
69
|
+
| Variable | CLI Argument | Type | Definition |
|
|
70
|
+
| :--- | :--- | :--- | :--- |
|
|
71
|
+
| `ip` | `-r` | string | The address of the Redfish service (with scheme); example: 'https://123.45.6.7:8000'. |
|
|
72
|
+
| `username` | `-u` | string | The username for authentication. |
|
|
73
|
+
| `password` | `-p` | string | The password for authentication. |
|
|
74
|
+
| `description` | `--description` | string | The description of the system for identifying logs; if none is given, a value is produced from information in the service root. |
|
|
75
|
+
| `forceauth` | `--forceauth` | boolean | Force authentication on unsecure connections; 'True' or 'False'. |
|
|
76
|
+
| `authtype` | `--authtype` | string | Authorization type; 'None', 'Basic', 'Session', or 'Token'. |
|
|
77
|
+
| `token` | `--token` | string | Token when 'authtype' is 'Token'. |
|
|
78
78
|
|
|
79
79
|
### [Validator]
|
|
80
80
|
|
|
81
|
-
| Variable | Type
|
|
82
|
-
| :---
|
|
83
|
-
| payload | string |
|
|
84
|
-
| logdir | string |
|
|
85
|
-
| oemcheck | boolean | Whether to check
|
|
86
|
-
| online_profiles | boolean | Whether to download online profiles |
|
|
87
|
-
| debugging | boolean |
|
|
88
|
-
| required_profiles_dir | string | Option to set the root folder of required profiles |
|
|
89
|
-
| collectionlimit | string | Sets a limit to links gathered from collections by type
|
|
81
|
+
| Variable | CLI Argument | Type | Definition |
|
|
82
|
+
| :--- | :--- | :--- | :--- |
|
|
83
|
+
| `payload` | `--payload` | string | The mode to validate payloads ('Tree', 'Single', 'SingleFile', or 'TreeFile') followed by resource/filepath; see below. |
|
|
84
|
+
| `logdir` | `--logdir` | string | The directory for generated report files; default: 'logs'. |
|
|
85
|
+
| `oemcheck` | `--nooemcheck` | boolean | Whether to check OEM items on service; 'True' or 'False'. |
|
|
86
|
+
| `online_profiles` | `--no_online_profiles` | boolean | Whether to download online profiles; 'True' or 'False'. |
|
|
87
|
+
| `debugging` | `--debugging` | boolean | Output debug statements to text log, otherwise it only uses INFO; 'True' or 'False'. |
|
|
88
|
+
| `required_profiles_dir` | `--required_profiles_dir` | string | Option to set the root folder of required profiles |
|
|
89
|
+
| `collectionlimit` | `--collectionlimit` | string | Sets a limit to links gathered from collections by type (schema name).<br/>Example 1: `ComputerSystem 20` limits ComputerSystemCollection to 20 links.<br/>Example 2: `ComputerSystem 20 LogEntry 10` limits ComputerSystemCollection to 20 links and LogEntryCollection to 10 links. |
|
|
90
90
|
|
|
91
91
|
### Payload options
|
|
92
92
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
# Copyright Notice:
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2017-2024 DMTF. All rights reserved.
|
|
4
4
|
# License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/Redfish-Interop-Validator/blob/master/LICENSE.md
|
|
5
5
|
|
|
6
6
|
import os
|
|
@@ -17,7 +17,7 @@ import redfish_interop_validator.traverseInterop as traverseInterop
|
|
|
17
17
|
from redfish_interop_validator.profile import getProfiles, checkProfileAgainstSchema, hashProfile
|
|
18
18
|
from redfish_interop_validator.validateResource import validateSingleURI, validateURITree
|
|
19
19
|
|
|
20
|
-
tool_version = '2.2.
|
|
20
|
+
tool_version = '2.2.5'
|
|
21
21
|
|
|
22
22
|
# Set up the custom debug levels
|
|
23
23
|
VERBOSE1 = logging.INFO - 1
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Copyright Notice:
|
|
2
|
-
# Copyright
|
|
2
|
+
# Copyright 2017-2024 DMTF. All rights reserved.
|
|
3
3
|
# License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/Redfish-Service-Validator/blob/master/LICENSE.md
|
|
4
4
|
|
|
5
5
|
import configparser
|
|
@@ -49,7 +49,7 @@ def convert_config_to_args(args, config):
|
|
|
49
49
|
if option.lower() not in ['version', 'copyright']:
|
|
50
50
|
my_logger.error('Option {} not supported!'.format(option))
|
|
51
51
|
elif my_config[section][option] not in ['', None]:
|
|
52
|
-
if option.lower() == 'payload':
|
|
52
|
+
if option.lower() == 'payload' or option.lower() == 'collectionlimit':
|
|
53
53
|
setattr(args, option, my_config[section][option].split(' '))
|
|
54
54
|
else:
|
|
55
55
|
setattr(args, option, my_config[section][option])
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Copyright Notice:
|
|
2
|
-
# Copyright
|
|
2
|
+
# Copyright 2017-2024 DMTF. All rights reserved.
|
|
3
3
|
# License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/Redfish-Service-Validator/blob/master/LICENSE.md
|
|
4
4
|
|
|
5
5
|
from datetime import datetime, timedelta
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Copyright Notice:
|
|
2
|
-
# Copyright
|
|
2
|
+
# Copyright 2017-2024 DMTF. All rights reserved.
|
|
3
3
|
# License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/Redfish-Service-Validator/blob/master/LICENSE.md
|
|
4
4
|
|
|
5
5
|
import requests
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Copyright Notice:
|
|
2
|
-
# Copyright
|
|
2
|
+
# Copyright 2017-2024 DMTF. All rights reserved.
|
|
3
3
|
# License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/Redfish-Service-Validator/blob/master/LICENSE.md
|
|
4
4
|
|
|
5
5
|
import logging
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: redfish_interop_validator
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.5
|
|
4
4
|
Summary: Redfish Interop Validator
|
|
5
5
|
Home-page: https://github.com/DMTF/Redfish-Interop-Validator
|
|
6
6
|
Author: DMTF, https://www.dmtf.org/standards/feedback
|
|
@@ -18,7 +18,7 @@ Requires-Dist: beautifulsoup4>=4.6.0
|
|
|
18
18
|
Requires-Dist: lxml
|
|
19
19
|
Requires-Dist: jsonschema
|
|
20
20
|
|
|
21
|
-
Copyright 2017-
|
|
21
|
+
Copyright 2017-2024 DMTF. All rights reserved.
|
|
22
22
|
|
|
23
23
|
# Redfish Interop Validator
|
|
24
24
|
|
|
@@ -71,42 +71,42 @@ Modify the config\example.ini file to enter the system details under below secti
|
|
|
71
71
|
|
|
72
72
|
### [Tool]
|
|
73
73
|
|
|
74
|
-
| Variable | Type
|
|
75
|
-
| :---
|
|
76
|
-
|
|
|
77
|
-
| Copyright | string | _DMTF_ copyright (optional) |
|
|
78
|
-
| verbose | int | level of verbosity (0-3) |
|
|
74
|
+
| Variable | CLI Argument | Type | Definition |
|
|
75
|
+
| :--- | :--- | :--- | :--- |
|
|
76
|
+
| `verbose` | `-v` | integer | Verbosity of tool in stdout; 0 to 3, 3 being the greatest level of verbosity. |
|
|
79
77
|
|
|
80
78
|
### [Interop]
|
|
81
79
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
|
85
|
-
|
|
|
80
|
+
Note: These arguments are only supplied via the CLI to the tool and are not specified in the configuration file.
|
|
81
|
+
|
|
82
|
+
| CLI Argument | Type | Definition |
|
|
83
|
+
| :--- | :--- | :--- |
|
|
84
|
+
| `profile` | string | The name of the testing profile (mandatory). |
|
|
85
|
+
| `--schema` | string | The filepath and name of the schema file to verify the format of the profile. |
|
|
86
86
|
|
|
87
87
|
### [Host]
|
|
88
88
|
|
|
89
|
-
| Variable
|
|
90
|
-
| :---
|
|
91
|
-
| ip
|
|
92
|
-
| username
|
|
93
|
-
| password
|
|
94
|
-
| description | string |
|
|
95
|
-
| forceauth
|
|
96
|
-
| authtype
|
|
97
|
-
| token
|
|
89
|
+
| Variable | CLI Argument | Type | Definition |
|
|
90
|
+
| :--- | :--- | :--- | :--- |
|
|
91
|
+
| `ip` | `-r` | string | The address of the Redfish service (with scheme); example: 'https://123.45.6.7:8000'. |
|
|
92
|
+
| `username` | `-u` | string | The username for authentication. |
|
|
93
|
+
| `password` | `-p` | string | The password for authentication. |
|
|
94
|
+
| `description` | `--description` | string | The description of the system for identifying logs; if none is given, a value is produced from information in the service root. |
|
|
95
|
+
| `forceauth` | `--forceauth` | boolean | Force authentication on unsecure connections; 'True' or 'False'. |
|
|
96
|
+
| `authtype` | `--authtype` | string | Authorization type; 'None', 'Basic', 'Session', or 'Token'. |
|
|
97
|
+
| `token` | `--token` | string | Token when 'authtype' is 'Token'. |
|
|
98
98
|
|
|
99
99
|
### [Validator]
|
|
100
100
|
|
|
101
|
-
| Variable | Type
|
|
102
|
-
| :---
|
|
103
|
-
| payload | string |
|
|
104
|
-
| logdir | string |
|
|
105
|
-
| oemcheck | boolean | Whether to check
|
|
106
|
-
| online_profiles | boolean | Whether to download online profiles |
|
|
107
|
-
| debugging | boolean |
|
|
108
|
-
| required_profiles_dir | string | Option to set the root folder of required profiles |
|
|
109
|
-
| collectionlimit | string | Sets a limit to links gathered from collections by type
|
|
101
|
+
| Variable | CLI Argument | Type | Definition |
|
|
102
|
+
| :--- | :--- | :--- | :--- |
|
|
103
|
+
| `payload` | `--payload` | string | The mode to validate payloads ('Tree', 'Single', 'SingleFile', or 'TreeFile') followed by resource/filepath; see below. |
|
|
104
|
+
| `logdir` | `--logdir` | string | The directory for generated report files; default: 'logs'. |
|
|
105
|
+
| `oemcheck` | `--nooemcheck` | boolean | Whether to check OEM items on service; 'True' or 'False'. |
|
|
106
|
+
| `online_profiles` | `--no_online_profiles` | boolean | Whether to download online profiles; 'True' or 'False'. |
|
|
107
|
+
| `debugging` | `--debugging` | boolean | Output debug statements to text log, otherwise it only uses INFO; 'True' or 'False'. |
|
|
108
|
+
| `required_profiles_dir` | `--required_profiles_dir` | string | Option to set the root folder of required profiles |
|
|
109
|
+
| `collectionlimit` | `--collectionlimit` | string | Sets a limit to links gathered from collections by type (schema name).<br/>Example 1: `ComputerSystem 20` limits ComputerSystemCollection to 20 links.<br/>Example 2: `ComputerSystem 20 LogEntry 10` limits ComputerSystemCollection to 20 links and LogEntryCollection to 10 links. |
|
|
110
110
|
|
|
111
111
|
### Payload options
|
|
112
112
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Copyright Notice:
|
|
2
|
-
# Copyright
|
|
2
|
+
# Copyright 2017-2024 DMTF. All rights reserved.
|
|
3
3
|
# License: BSD 3-Clause License. For full text see link:
|
|
4
4
|
# https://github.com/DMTF/Redfish-Interop-Validator/blob/main/LICENSE.md
|
|
5
5
|
|
|
@@ -11,7 +11,7 @@ with open("README.md", "r", "utf-8") as f:
|
|
|
11
11
|
|
|
12
12
|
setup(
|
|
13
13
|
name="redfish_interop_validator",
|
|
14
|
-
version="2.2.
|
|
14
|
+
version="2.2.5",
|
|
15
15
|
description="Redfish Interop Validator",
|
|
16
16
|
long_description=long_description,
|
|
17
17
|
long_description_content_type="text/markdown",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|