blob: e47455009d235703a980426fd0da0b7139cc6ad2 [file] [log] [blame]
Gunnar Mills09b9d452020-02-11 13:27:39 -06001{
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -05002 "$id": "http://redfish.dmtf.org/schemas/v1/VCATEntry.v1_0_1.json",
Gunnar Mills09b9d452020-02-11 13:27:39 -06003 "$ref": "#/definitions/VCATEntry",
4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -05005 "copyright": "Copyright 2014-2020 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
Gunnar Mills09b9d452020-02-11 13:27:39 -06006 "definitions": {
7 "Actions": {
8 "additionalProperties": false,
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -05009 "description": "The available actions for this resource.",
10 "longDescription": "This type shall contain the available actions for this resource.",
Gunnar Mills09b9d452020-02-11 13:27:39 -060011 "patternProperties": {
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
13 "description": "This property shall specify a valid odata or Redfish property.",
14 "type": [
15 "array",
16 "boolean",
17 "integer",
18 "number",
19 "null",
20 "object",
21 "string"
22 ]
23 }
24 },
25 "properties": {
26 "Oem": {
27 "$ref": "#/definitions/OemActions",
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050028 "description": "The available OEM-specific actions for this resource.",
29 "longDescription": "This property shall contain the available OEM-specific actions for this resource."
Gunnar Mills09b9d452020-02-11 13:27:39 -060030 }
31 },
32 "type": "object"
33 },
34 "OemActions": {
35 "additionalProperties": true,
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050036 "description": "The available OEM-specific actions for this resource.",
37 "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
Gunnar Mills09b9d452020-02-11 13:27:39 -060038 "patternProperties": {
39 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
40 "description": "This property shall specify a valid odata or Redfish property.",
41 "type": [
42 "array",
43 "boolean",
44 "integer",
45 "number",
46 "null",
47 "object",
48 "string"
49 ]
50 }
51 },
52 "properties": {},
53 "type": "object"
54 },
55 "VCATEntry": {
56 "additionalProperties": false,
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050057 "description": "The VCATEntry schema defines an entry in a Virtual Channel Action Table. A Virtual Channel is a mechanism used to create multiple, logical communication streams across a physical link.",
58 "longDescription": "This resource shall represent and entry of Virtual Channel Action Table in a Redfish implementation.",
Gunnar Mills09b9d452020-02-11 13:27:39 -060059 "patternProperties": {
60 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
61 "description": "This property shall specify a valid odata or Redfish property.",
62 "type": [
63 "array",
64 "boolean",
65 "integer",
66 "number",
67 "null",
68 "object",
69 "string"
70 ]
71 }
72 },
73 "properties": {
74 "@odata.context": {
75 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
76 },
77 "@odata.etag": {
78 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
79 },
80 "@odata.id": {
81 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
82 },
83 "@odata.type": {
84 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
85 },
86 "Actions": {
87 "$ref": "#/definitions/Actions",
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050088 "description": "The available actions for this resource.",
89 "longDescription": "This property shall contain the available actions for this resource."
Gunnar Mills09b9d452020-02-11 13:27:39 -060090 },
91 "Description": {
92 "anyOf": [
93 {
94 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
95 },
96 {
97 "type": "null"
98 }
99 ],
100 "readonly": true
101 },
102 "Id": {
103 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
104 "readonly": true
105 },
106 "Name": {
107 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
108 "readonly": true
109 },
110 "Oem": {
111 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
112 "description": "The OEM extension property.",
113 "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
114 },
115 "RawEntryHex": {
116 "description": "The hexadecimal value of the Virtual Channel Action Table entries.",
117 "longDescription": "This property shall contain the hexadecimal value of the Virtual Channel Action Table entries. The length of hexadecimal value depends on the number of Virtual Channel Action entries supported by the component.",
118 "pattern": "^0[xX](([a-fA-F]|[0-9])*)$",
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -0500119 "readonly": false,
Gunnar Mills09b9d452020-02-11 13:27:39 -0600120 "type": [
121 "string",
122 "null"
123 ]
124 },
125 "VCEntries": {
126 "description": "An array of entries of the Virtual Channel Action Table.",
127 "items": {
128 "$ref": "#/definitions/VCATableEntry"
129 },
130 "longDescription": "This property shall contain an array of entries of the Virtual Channel Action Table. The length of the array depends on the number of Virtual Channel Action entries supported by the component.",
131 "type": "array"
132 }
133 },
134 "required": [
135 "@odata.id",
136 "@odata.type",
137 "Id",
138 "Name"
139 ],
140 "type": "object"
141 },
142 "VCATableEntry": {
143 "additionalProperties": false,
144 "description": "The Virtual Channel Action Table entry corresponding to a specific Virtual Channel.",
145 "longDescription": "This type shall contain a Virtual Channel entry definition that describes a specific Virtual Channel.",
146 "patternProperties": {
147 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
148 "description": "This property shall specify a valid odata or Redfish property.",
149 "type": [
150 "array",
151 "boolean",
152 "integer",
153 "number",
154 "null",
155 "object",
156 "string"
157 ]
158 }
159 },
160 "properties": {
161 "Threshold": {
162 "description": "The configured threshold.",
163 "longDescription": "This property shall contain the Gen-Z Core Specification-defined 'TH' 7-bit threshold.",
164 "pattern": "^0[xX]([a-fA-F]|[0-9]){2}$",
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -0500165 "readonly": false,
Gunnar Mills09b9d452020-02-11 13:27:39 -0600166 "type": [
167 "string",
168 "null"
169 ]
170 },
171 "VCMask": {
172 "description": "The bits corresponding to the supported Virtual Channel.",
173 "longDescription": "This property shall contain a 32-bit value where the bits correspond to a supported Virtual Channel.",
174 "pattern": "^0[xX](([a-fA-F]|[0-9]){2}){4}$",
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -0500175 "readonly": false,
Gunnar Mills09b9d452020-02-11 13:27:39 -0600176 "type": [
177 "string",
178 "null"
179 ]
180 }
181 },
182 "type": "object"
183 }
184 },
185 "owningEntity": "DMTF",
186 "release": "2019.4",
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -0500187 "title": "#VCATEntry.v1_0_1.VCATEntry"
Gunnar Mills09b9d452020-02-11 13:27:39 -0600188}