blob: 93ebeedad309ff2e11fcaf200fc0f70bfcf1cee6 [file] [log] [blame]
Ed Tanous118b1c72018-09-13 13:45:51 -07001{
2 "$ref": "#/definitions/HostInterface",
3 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_4_0.json",
4 "copyright": "Copyright 2014-2018 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
5 "definitions": {
6 "Actions": {
7 "additionalProperties": false,
8 "description": "The available actions for this resource.",
9 "longDescription": "This type shall contain the available actions for this resource.",
10 "patternProperties": {
11 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
12 "description": "This property shall specify a valid odata or Redfish property.",
13 "type": [
14 "array",
15 "boolean",
16 "number",
17 "null",
18 "object",
19 "string"
20 ]
21 }
22 },
23 "properties": {
24 "Oem": {
25 "$ref": "#/definitions/OemActions"
26 }
27 },
28 "type": "object"
29 },
30 "AuthenticationMode": {
31 "enum": [
32 "AuthNone",
33 "BasicAuth",
34 "RedfishSessionAuth",
35 "OemAuth"
36 ],
37 "enumDescriptions": {
38 "AuthNone": "Requests without any sort of authentication are allowed.",
39 "BasicAuth": "Requests using HTTP Basic Authentication are allowed.",
40 "OemAuth": "Requests using OEM authentication mechanisms are allowed.",
41 "RedfishSessionAuth": "Requests using Redfish Session Authentication are allowed."
42 },
43 "type": "string"
44 },
45 "HostInterface": {
46 "additionalProperties": false,
47 "description": "This schema defines a single Host Interface resource.",
48 "longDescription": "This resource shall be used to represent Host Interface resources as part of the Redfish specification.",
49 "patternProperties": {
50 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
51 "description": "This property shall specify a valid odata or Redfish property.",
52 "type": [
53 "array",
54 "boolean",
55 "number",
56 "null",
57 "object",
58 "string"
59 ]
60 }
61 },
62 "properties": {
63 "@odata.context": {
64 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_2.json#/definitions/context"
65 },
66 "@odata.etag": {
67 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_2.json#/definitions/etag"
68 },
69 "@odata.id": {
70 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_2.json#/definitions/id"
71 },
72 "@odata.type": {
73 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_2.json#/definitions/type"
74 },
75 "Actions": {
76 "$ref": "#/definitions/Actions",
77 "description": "The available actions for this resource.",
78 "longDescription": "The Actions property shall contain the available actions for this resource."
79 },
80 "AuthenticationModes": {
81 "description": "Indicates the authentication modes available on this interface.",
82 "items": {
83 "$ref": "#/definitions/AuthenticationMode"
84 },
85 "longDescription": "The value of this property shall be an array consisting of the authentication modes allowed on this interface.",
86 "readonly": false,
87 "type": "array"
88 },
89 "Description": {
90 "anyOf": [
91 {
92 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
93 },
94 {
95 "type": "null"
96 }
97 ],
98 "readonly": true
99 },
100 "ExternallyAccessible": {
101 "description": "Indicates whether this interface is accessible by external entities.",
102 "longDescription": "The value of this property shall be a boolean indicating whether this interface is accessible by external (non-host) entities. For example, if the host and manager are connected via a switch, and the switch also exposes an external port on the system, then the interface could also be used by external clients, and this property will have the value set to true.",
103 "readonly": true,
104 "type": [
105 "boolean",
106 "null"
107 ]
108 },
109 "FirmwareAuthEnabled": {
110 "description": "Indicates whether this firmware authentication is enabled for this interface.",
111 "longDescription": "The value of this property shall be a boolean indicating whether firmware authentication for this interface is enabled.",
112 "readonly": false,
113 "type": [
114 "boolean",
115 "null"
116 ]
117 },
118 "FirmwareAuthRoleId": {
119 "description": "The Role used for firmware authentication on this interface.",
120 "longDescription": "The value of this property shall be the ID of the Role resource that is configured for firmware authentication on this interface.",
121 "readonly": false,
122 "type": "string"
123 },
124 "HostEthernetInterfaces": {
125 "$ref": "http://redfish.dmtf.org/schemas/v1/EthernetInterfaceCollection.json#/definitions/EthernetInterfaceCollection",
126 "description": "The Redfish link to the collection of network interface controllers or cards (NICs) that a Computer System uses to communicate with this Host Interface.",
127 "longDescription": "The value of this property shall be a link to a collection of type EthernetInterfaceCollection that Computer Systems use as the Host Interface to this Manager.",
128 "readonly": true
129 },
130 "HostInterfaceType": {
131 "anyOf": [
132 {
133 "$ref": "#/definitions/HostInterfaceType"
134 },
135 {
136 "type": "null"
137 }
138 ],
139 "description": "Indicates the Host Interface type for this interface.",
140 "longDescription": "The value of this property shall be an enumeration describing type of the interface.",
141 "readonly": true
142 },
143 "Id": {
144 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
145 "readonly": true
146 },
147 "InterfaceEnabled": {
148 "description": "Indicates whether this interface is enabled.",
149 "longDescription": "The value of this property shall be a boolean indicating whether this interface is enabled.",
150 "readonly": false,
151 "type": [
152 "boolean",
153 "null"
154 ]
155 },
156 "KernelAuthEnabled": {
157 "description": "Indicates whether this kernel authentication is enabled for this interface.",
158 "longDescription": "The value of this property shall be a boolean indicating whether kernel authentication for this interface is enabled.",
159 "readonly": false,
160 "type": [
161 "boolean",
162 "null"
163 ]
164 },
165 "KernelAuthRoleId": {
166 "description": "The Role used for kernel authentication on this interface.",
167 "longDescription": "The value of this property shall be the ID of the Role resource that is configured for kernel authentication on this interface.",
168 "readonly": false,
169 "type": "string"
170 },
171 "Links": {
172 "$ref": "#/definitions/Links",
173 "description": "Contains references to other resources that are related to this resource.",
174 "longDescription": "The Links property, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource."
175 },
176 "ManagerEthernetInterface": {
177 "$ref": "http://redfish.dmtf.org/schemas/v1/EthernetInterface.json#/definitions/EthernetInterface",
178 "description": "The Redfish link to a single network interface controllers or cards (NIC) that this Manager uses for network communication with this Host Interface.",
179 "longDescription": "The value of this property shall be a link to a resource of type EthernetInterface which represents the network interface used by this Manager as the HostInterface.",
180 "readonly": true
181 },
182 "Name": {
183 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
184 "readonly": true
185 },
186 "NetworkProtocol": {
187 "$ref": "http://redfish.dmtf.org/schemas/v1/ManagerNetworkProtocol.json#/definitions/ManagerNetworkProtocol",
188 "description": "The Redfish link to the network services and their settings that the Manager controls. It is here that clients will find network configuration options as well as network services.",
189 "longDescription": "The value of this property shall contain a reference to a resource of type ManagerNetworkProtocol which represents the network services for this Manager.",
190 "readonly": true
191 },
192 "Oem": {
193 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
194 "description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.",
195 "longDescription": "The value of this string shall be of the format for the reserved word *Oem*."
196 },
197 "Status": {
198 "anyOf": [
199 {
200 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
201 },
202 {
203 "type": "null"
204 }
205 ]
206 }
207 },
208 "required": [
209 "Id",
210 "Name"
211 ],
212 "type": "object"
213 },
214 "HostInterfaceType": {
215 "enum": [
216 "NetworkHostInterface"
217 ],
218 "enumDescriptions": {
219 "NetworkHostInterface": "This interface is a Network Host Interface."
220 },
221 "type": "string"
222 },
223 "Links": {
224 "additionalProperties": false,
225 "description": "References to other resources that are related to this resource.",
226 "longDescription": "This type, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource.",
227 "patternProperties": {
228 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
229 "description": "This property shall specify a valid odata or Redfish property.",
230 "type": [
231 "array",
232 "boolean",
233 "number",
234 "null",
235 "object",
236 "string"
237 ]
238 }
239 },
240 "properties": {
241 "ComputerSystems": {
242 "description": "An array of references to the Computer Systems connected to this Host Interface.",
243 "items": {
244 "$ref": "http://redfish.dmtf.org/schemas/v1/ComputerSystem.json#/definitions/ComputerSystem"
245 },
246 "longDescription": "The value of this property shall be an array of references to resources of type ComputerSystem that are connected to this HostInterface.",
247 "readonly": true,
248 "type": "array"
249 },
250 "ComputerSystems@odata.count": {
251 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_2.json#/definitions/count"
252 },
253 "FirmwareAuthRole": {
254 "$ref": "http://redfish.dmtf.org/schemas/v1/Role.json#/definitions/Role",
255 "description": "A reference to the Role that has firmware authentication privileges on this Host Interface.",
256 "longDescription": "The value of this property shall be a link to a Role object instance, and should reference the object identified by property FirmwareAuthRoleId.",
257 "readonly": true
258 },
259 "KernelAuthRole": {
260 "$ref": "http://redfish.dmtf.org/schemas/v1/Role.json#/definitions/Role",
261 "description": "A reference to the Role object defining Privileges for this Host Interface when using kernel authentication.",
262 "longDescription": "The value of this property shall be a link to a Role object instance, and should reference the object identified by property KernelAuthRoleId.",
263 "readonly": true
264 },
265 "Oem": {
266 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
267 "description": "Oem extension object.",
268 "longDescription": "This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."
269 }
270 },
271 "type": "object"
272 },
273 "OemActions": {
274 "additionalProperties": true,
275 "description": "The available OEM specific actions for this resource.",
276 "longDescription": "This type shall contain any additional OEM actions for this resource.",
277 "patternProperties": {
278 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
279 "description": "This property shall specify a valid odata or Redfish property.",
280 "type": [
281 "array",
282 "boolean",
283 "number",
284 "null",
285 "object",
286 "string"
287 ]
288 }
289 },
290 "properties": {},
291 "type": "object"
292 }
293 },
294 "owningEntity": "DMTF",
295 "title": "#HostInterface.v1_1_2.HostInterface"
296}