diff --git a/CHANGELOG.md b/CHANGELOG.md index 23e55de..83f0fd1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 665aa4b..63e409b 100644 --- a/README.md +++ b/README.md @@ -51,17 +51,17 @@ ForceAuth = \ AuthType = \ -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 = \ -[Options] +CertificateCheck = \ -UseSSL = \ +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 = \ 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 = \ +[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 = \ Specify if we want to check OEM properties Other attributes under the "[Options]" section have schema specific implementations as described below @@ -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 @@ -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 diff --git a/RedfishServiceValidator.py b/RedfishServiceValidator.py index 8ad4048..faaf4e6 100644 --- a/RedfishServiceValidator.py +++ b/RedfishServiceValidator.py @@ -21,7 +21,7 @@ from metadata import setup_schema_pack -tool_version = '1.1.1' +tool_version = '1.1.2' rsvLogger = rst.getLogger() diff --git a/RedfishServiceValidatorGui.py b/RedfishServiceValidatorGui.py index a08345b..0a0dc34 100644 --- a/RedfishServiceValidatorGui.py +++ b/RedfishServiceValidatorGui.py @@ -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", diff --git a/config.ini b/config.ini index 1bb551c..2dc4371 100644 --- a/config.ini +++ b/config.ini @@ -13,7 +13,7 @@ CertificateBundle = [Options] MetadataFilePath = ./SchemaFiles/metadata Schema_Pack = -OemCheck = On +OemCheck = True CacheMode = Off CacheFilePath = SchemaSuffix = _v1.xml