redfish-interop-validator 2.2.9__tar.gz → 2.3.0__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.9/redfish_interop_validator.egg-info → redfish_interop_validator-2.3.0}/PKG-INFO +3 -2
- {redfish_interop_validator-2.2.9 → redfish_interop_validator-2.3.0}/redfish_interop_validator/RedfishInteropValidator.py +1 -1
- {redfish_interop_validator-2.2.9 → redfish_interop_validator-2.3.0}/redfish_interop_validator/interop.py +5 -5
- {redfish_interop_validator-2.2.9 → redfish_interop_validator-2.3.0}/redfish_interop_validator/profile.py +1 -1
- {redfish_interop_validator-2.2.9 → redfish_interop_validator-2.3.0/redfish_interop_validator.egg-info}/PKG-INFO +3 -2
- {redfish_interop_validator-2.2.9 → redfish_interop_validator-2.3.0}/setup.py +1 -1
- {redfish_interop_validator-2.2.9 → redfish_interop_validator-2.3.0}/AUTHORS.md +0 -0
- {redfish_interop_validator-2.2.9 → redfish_interop_validator-2.3.0}/LICENSE.md +0 -0
- {redfish_interop_validator-2.2.9 → redfish_interop_validator-2.3.0}/README.md +0 -0
- {redfish_interop_validator-2.2.9 → redfish_interop_validator-2.3.0}/redfish_interop_validator/RedfishLogo.py +0 -0
- {redfish_interop_validator-2.2.9 → redfish_interop_validator-2.3.0}/redfish_interop_validator/__init__.py +0 -0
- {redfish_interop_validator-2.2.9 → redfish_interop_validator-2.3.0}/redfish_interop_validator/config.py +0 -0
- {redfish_interop_validator-2.2.9 → redfish_interop_validator-2.3.0}/redfish_interop_validator/redfish.py +0 -0
- {redfish_interop_validator-2.2.9 → redfish_interop_validator-2.3.0}/redfish_interop_validator/session.py +0 -0
- {redfish_interop_validator-2.2.9 → redfish_interop_validator-2.3.0}/redfish_interop_validator/tohtml.py +0 -0
- {redfish_interop_validator-2.2.9 → redfish_interop_validator-2.3.0}/redfish_interop_validator/traverseInterop.py +0 -0
- {redfish_interop_validator-2.2.9 → redfish_interop_validator-2.3.0}/redfish_interop_validator/validateResource.py +0 -0
- {redfish_interop_validator-2.2.9 → redfish_interop_validator-2.3.0}/redfish_interop_validator.egg-info/SOURCES.txt +0 -0
- {redfish_interop_validator-2.2.9 → redfish_interop_validator-2.3.0}/redfish_interop_validator.egg-info/dependency_links.txt +0 -0
- {redfish_interop_validator-2.2.9 → redfish_interop_validator-2.3.0}/redfish_interop_validator.egg-info/entry_points.txt +0 -0
- {redfish_interop_validator-2.2.9 → redfish_interop_validator-2.3.0}/redfish_interop_validator.egg-info/requires.txt +0 -0
- {redfish_interop_validator-2.2.9 → redfish_interop_validator-2.3.0}/redfish_interop_validator.egg-info/top_level.txt +0 -0
- {redfish_interop_validator-2.2.9 → redfish_interop_validator-2.3.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: redfish_interop_validator
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.0
|
|
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
|
|
@@ -24,6 +24,7 @@ Dynamic: description-content-type
|
|
|
24
24
|
Dynamic: home-page
|
|
25
25
|
Dynamic: keywords
|
|
26
26
|
Dynamic: license
|
|
27
|
+
Dynamic: license-file
|
|
27
28
|
Dynamic: requires-dist
|
|
28
29
|
Dynamic: summary
|
|
29
30
|
|
|
@@ -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.
|
|
20
|
+
tool_version = '2.3.0'
|
|
21
21
|
|
|
22
22
|
# Set up the custom debug levels
|
|
23
23
|
VERBOSE1 = logging.INFO - 1
|
|
@@ -764,18 +764,18 @@ def validateActionRequirement(profile_entry, rf_payload_tuple, actionname):
|
|
|
764
764
|
return msgs, counts
|
|
765
765
|
|
|
766
766
|
|
|
767
|
-
URI_ID_REGEX = '\{[A-Za-z0-9]
|
|
767
|
+
URI_ID_REGEX = '\{[A-Za-z0-9]+\}'
|
|
768
768
|
|
|
769
|
-
VALID_ID_REGEX = '
|
|
769
|
+
VALID_ID_REGEX = '[A-Za-z0-9.!#$&-;=?\[\]_~]+'
|
|
770
770
|
|
|
771
771
|
|
|
772
772
|
def compareRedfishURI(expected_uris, uri):
|
|
773
773
|
success = False
|
|
774
774
|
# If we have our URIs
|
|
775
775
|
if expected_uris is not None:
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
success = re.fullmatch(
|
|
776
|
+
regex_pattern = "^{}$".format("|".join(expected_uris))
|
|
777
|
+
regex_pattern = re.sub(URI_ID_REGEX, VALID_ID_REGEX, regex_pattern)
|
|
778
|
+
success = re.fullmatch(regex_pattern, uri) is not None
|
|
779
779
|
else:
|
|
780
780
|
success = True
|
|
781
781
|
return success
|
|
@@ -176,7 +176,7 @@ def getProfiles(profile, directories, chain=None, online=False):
|
|
|
176
176
|
required_by_resource.extend(inner_reqs)
|
|
177
177
|
|
|
178
178
|
# Process all RequiredResourceProfile by modifying profiles
|
|
179
|
-
profile_resources = profile.get('Resources')
|
|
179
|
+
profile_resources = profile.get('Resources', {})
|
|
180
180
|
|
|
181
181
|
for resource_name, resource in profile_resources.items():
|
|
182
182
|
# Modify just the resource or its UseCases. Should not have concurrent UseCases and RequiredResourceProfile in Resource
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: redfish_interop_validator
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.0
|
|
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
|
|
@@ -24,6 +24,7 @@ Dynamic: description-content-type
|
|
|
24
24
|
Dynamic: home-page
|
|
25
25
|
Dynamic: keywords
|
|
26
26
|
Dynamic: license
|
|
27
|
+
Dynamic: license-file
|
|
27
28
|
Dynamic: requires-dist
|
|
28
29
|
Dynamic: summary
|
|
29
30
|
|
|
@@ -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.
|
|
14
|
+
version="2.3.0",
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|