summaryrefslogtreecommitdiffstats
path: root/static/redfish/v1/JsonSchemas
diff options
context:
space:
mode:
authorPrzemyslaw Czarnowski <przemyslaw.hawrylewicz.czarnowski@intel.com>2020-01-21 12:41:56 +0100
committerPrzemyslaw Czarnowski <przemyslaw.hawrylewicz.czarnowski@intel.com>2020-01-27 09:53:14 +0000
commitd04ba325f3ef4e60eb4fd8e7477af78d1be0d79d (patch)
treec26bd2ee2f6c6b45c850088bc6b60f23741a1b33 /static/redfish/v1/JsonSchemas
parente13c27606f49f70910eca01f0ee496e7e9a6b330 (diff)
downloadbmcweb-d04ba325f3ef4e60eb4fd8e7477af78d1be0d79d.tar.gz
bmcweb-d04ba325f3ef4e60eb4fd8e7477af78d1be0d79d.zip
Add OemVirtualMedia schema
OEM Schema for VirtualMedia added. Also OpenBMC level has been added to OEM field in the code to conform to schema standard. Tested: Manually using full stack of VirtualMedia. * Inserting/ejecting media in both legacy and proxy mode * Redfish Service Validator 1.3.2 ran Change-Id: Iaa87dd767a4bf2062bd4e74dd790a2496aca96de Signed-off-by: Przemyslaw Czarnowski <przemyslaw.hawrylewicz.czarnowski@intel.com>
Diffstat (limited to 'static/redfish/v1/JsonSchemas')
-rw-r--r--static/redfish/v1/JsonSchemas/OemVirtualMedia/index.json61
1 files changed, 61 insertions, 0 deletions
diff --git a/static/redfish/v1/JsonSchemas/OemVirtualMedia/index.json b/static/redfish/v1/JsonSchemas/OemVirtualMedia/index.json
new file mode 100644
index 0000000..78bd8b7
--- /dev/null
+++ b/static/redfish/v1/JsonSchemas/OemVirtualMedia/index.json
@@ -0,0 +1,61 @@
+{
+ "$id": "http://redfish.dmtf.org/schemas/v1/OemVirtualMedia.v1_0_0.json",
+ "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
+ "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
+ "definitions": {
+ "OpenBmc": {
+ "additionalProperties": true,
+ "description": "Oem properties for OpenBmc.",
+ "patternProperties": {
+ "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
+ "description": "This property shall specify a valid odata or Redfish property.",
+ "type": [
+ "array",
+ "boolean",
+ "integer",
+ "number",
+ "null",
+ "object",
+ "string"
+ ]
+ }
+ },
+ "properties": {
+ "WebSocketEndpoint": {
+ "description": "Indicates endpoint socket name and location.",
+ "longDescription": "The value of this property shall be a structure ring indicating location and name of the socket used to communicate with nbd server.",
+ "readonly": true,
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "VirtualMedia": {
+ "additionalProperties": false,
+ "description": "OEM Extension for VirtualMedia",
+ "longDescription": "OEM Extension for VirtualMedia to support Proxy mode.",
+ "patternProperties": {
+ "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
+ "description": "This property shall specify a valid odata or Redfish property.",
+ "type": [
+ "array",
+ "boolean",
+ "integer",
+ "number",
+ "null",
+ "object",
+ "string"
+ ]
+ }
+ },
+ "properties": {},
+ "type": "object"
+ }
+ },
+ "owningEntity": "OpenBMC",
+ "release": "1.0",
+ "title": "#OemVirtualMedia.v1_0_0"
+} \ No newline at end of file
OpenPOWER on IntegriCloud