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