Skip to content

Commit

Permalink
1.1.2 Versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
mraineri committed Jun 22, 2018
1 parent a932752 commit 0b58442
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 10 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## [1.1.2] - 2018-06-22
- Added support for verifying OEM objects in responses

## [1.1.1] - 2018-06-01
- Added option to force authentication if using an unsecure connection
- Added error checking for @Redfish.Copyright in payloads
Expand Down
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,17 @@ ForceAuth = \<Force authentication on otherwise unsecure communication\>

AuthType = \<Type of authorization for above credentials (None,Basic,Session)\>

The Tool has an option to ignore SSL certificate check if certificate is not installed on the client system. The certificate check can be switched on or off using the below parameter of the config.ini file. By default the parameter is set to ‘Off’. UseSSL determines whether or not the https protocol is used. If it is `Off`, it will also disable certification.
UseSSL = \<True / False\>

[Options]
CertificateCheck = \<True / False\>

UseSSL = \<On / Off\>
CertificateBundle = ca_bundle Specify a bundle (file or directory) with certificates of trusted CAs. See [SelfSignedCerts.md](https://github.com/DMTF/Redfish-Service-Validator/blob/master/SelfSignedCerts.md) for tips on creating the bundle.

OemCheck = \<On / Off\> Specify if we want to check OEM properties
The Tool has an option to ignore SSL certificate check if certificate is not installed on the client system. The certificate check can be switched on or off using the below parameter of the config.ini file. By default the parameter is set to `False`. UseSSL determines whether or not the https protocol is used. If it is `False`, it will also disable certification.

CertificateCheck = \<On / Off\>
[Options]

CertificateBundle = ca_bundle Specify a bundle (file or directory) with certificates of trusted CAs. See [SelfSignedCerts.md](https://github.com/DMTF/Redfish-Service-Validator/blob/master/SelfSignedCerts.md) for tips on creating the bundle.
OemCheck = \<True / False\> Specify if we want to check OEM properties

Other attributes under the "[Options]" section have schema specific implementations as described below

Expand All @@ -73,8 +73,6 @@ MetadataFilePath - (string) This attribute points to the location of the DMTF sc

Schema_Pack - (string) URL path to an official zipped pack of DMTF Schema, to be extracted over the user's local schema directory. Use 'latest' to pull the latest zip. (To be used with option LocalOnly)

LogPath - (string) Path with which to generate logs in

Timeout - (integer) Interval of time before timing out

SchemaSuffix - (string) When searching for local hard drive schema, append this if unable to derive the expected xml from the service's metadata
Expand All @@ -95,6 +93,10 @@ LinkLimit = TypeName:## -- Option to limit the amount of links accepted from col

Sample = (integer) Number of random members from large collections to validate. The default is to validate all members. All members will be validated if a value of zero or a negative number is specified. If a LinkLimit and Sample apply to a given collection, the LinkLimit takes precedence.

[Validator]

LogPath - (string) Path to store the logs for the generator

PayloadMode = [Default, Tree, Single, TreeFile, SingleFile] -- Options for the target of validation, allowing to specify a file or specific URI and traversal behavior

PayloadFilePath = Path to URI/File
Expand Down
2 changes: 1 addition & 1 deletion RedfishServiceValidator.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

from metadata import setup_schema_pack

tool_version = '1.1.1'
tool_version = '1.1.2'

rsvLogger = rst.getLogger()

Expand Down
5 changes: 5 additions & 0 deletions RedfishServiceValidatorGui.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@
"value": "",
"description": "URL path to a zipped pack of DMTF Schema; for LocalMode only"
},
"OemCheck": {
"value": "True",
"description": "Enable or disable validation of OEM objects",
"options": ( "True", "False" )
},
"CacheMode": {
"value": "Off",
"description": "Cache options for overriding or falling back to a file",
Expand Down
2 changes: 1 addition & 1 deletion config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ CertificateBundle =
[Options]
MetadataFilePath = ./SchemaFiles/metadata
Schema_Pack =
OemCheck = On
OemCheck = True
CacheMode = Off
CacheFilePath =
SchemaSuffix = _v1.xml
Expand Down

0 comments on commit 0b58442

Please sign in to comment.