Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 1 | { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 2 | "$id": "http://redfish.dmtf.org/schemas/v1/Fabric.v1_0_6.json", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 3 | "$ref": "#/definitions/Fabric", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 4 | "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 5 | "copyright": "Copyright 2014-2019 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] | 6 | "definitions": { |
| 7 | "Actions": { |
| 8 | "additionalProperties": false, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 9 | "description": "The available actions for this Resource.", |
| 10 | "longDescription": "This type shall contain the available actions for this Resource.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 11 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 12 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 13 | "description": "This property shall specify a valid odata or Redfish property.", |
| 14 | "type": [ |
| 15 | "array", |
| 16 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 17 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 18 | "number", |
| 19 | "null", |
| 20 | "object", |
| 21 | "string" |
| 22 | ] |
| 23 | } |
| 24 | }, |
| 25 | "properties": { |
| 26 | "Oem": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 27 | "$ref": "#/definitions/OemActions", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 28 | "description": "The available OEM-specific actions for this Resource.", |
| 29 | "longDescription": "This property shall contain the available OEM-specific actions for this Resource." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 30 | } |
| 31 | }, |
| 32 | "type": "object" |
| 33 | }, |
| 34 | "Fabric": { |
| 35 | "additionalProperties": false, |
| 36 | "description": "The Fabric schema represents a simple fabric consisting of one or more switches, zero or more endpoints, and zero or more zones.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 37 | "longDescription": "This Resource shall represent a simple switchable fabric for a Redfish implementation.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 38 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 39 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 40 | "description": "This property shall specify a valid odata or Redfish property.", |
| 41 | "type": [ |
| 42 | "array", |
| 43 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 44 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 45 | "number", |
| 46 | "null", |
| 47 | "object", |
| 48 | "string" |
| 49 | ] |
| 50 | } |
| 51 | }, |
| 52 | "properties": { |
| 53 | "@odata.context": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 54 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 55 | }, |
| 56 | "@odata.etag": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 57 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 58 | }, |
| 59 | "@odata.id": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 60 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 61 | }, |
| 62 | "@odata.type": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 63 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 64 | }, |
| 65 | "Actions": { |
| 66 | "$ref": "#/definitions/Actions", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 67 | "description": "The available actions for this Resource.", |
| 68 | "longDescription": "This property shall contain the available actions for this Resource." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 69 | }, |
| 70 | "Description": { |
| 71 | "anyOf": [ |
| 72 | { |
| 73 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" |
| 74 | }, |
| 75 | { |
| 76 | "type": "null" |
| 77 | } |
| 78 | ], |
| 79 | "readonly": true |
| 80 | }, |
| 81 | "Endpoints": { |
| 82 | "$ref": "http://redfish.dmtf.org/schemas/v1/EndpointCollection.json#/definitions/EndpointCollection", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 83 | "description": "The collection of links to the endpoints that this fabric contains.", |
| 84 | "longDescription": "This property shall contain a link to the Resources of the Endpoint type that this fabric uses.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 85 | "readonly": true |
| 86 | }, |
| 87 | "FabricType": { |
| 88 | "anyOf": [ |
| 89 | { |
| 90 | "$ref": "http://redfish.dmtf.org/schemas/v1/Protocol.json#/definitions/Protocol" |
| 91 | }, |
| 92 | { |
| 93 | "type": "null" |
| 94 | } |
| 95 | ], |
| 96 | "description": "The protocol being sent over this fabric.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 97 | "longDescription": "This property shall contain the type of fabric being represented by this simple fabric.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 98 | "readonly": true |
| 99 | }, |
| 100 | "Id": { |
| 101 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", |
| 102 | "readonly": true |
| 103 | }, |
| 104 | "Links": { |
| 105 | "$ref": "#/definitions/Links", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 106 | "description": "The links to other Resources that are related to this Resource.", |
| 107 | "longDescription": "This property shall contain links to Resources that are related to but are not contained by or subordinate to this Resource." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 108 | }, |
| 109 | "MaxZones": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 110 | "description": "The maximum number of zones the switch can currently configure.", |
| 111 | "longDescription": "This property shall contain the maximum number of zones the switch can currently configure. This value may change based on changes in the logical or physical configuration of the system.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 112 | "readonly": true, |
| 113 | "type": [ |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 114 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 115 | "null" |
| 116 | ] |
| 117 | }, |
| 118 | "Name": { |
| 119 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", |
| 120 | "readonly": true |
| 121 | }, |
| 122 | "Oem": { |
| 123 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 124 | "description": "The OEM extension property.", |
| 125 | "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 126 | }, |
| 127 | "Status": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 128 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 129 | "description": "The status and health of the Resource and its subordinate or dependent Resources.", |
| 130 | "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] | 131 | }, |
| 132 | "Switches": { |
| 133 | "$ref": "http://redfish.dmtf.org/schemas/v1/SwitchCollection.json#/definitions/SwitchCollection", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 134 | "description": "The collection of links to the switches that this fabric contains.", |
| 135 | "longDescription": "This property shall contain a link to the Resources of the Switch type that this fabric uses.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 136 | "readonly": true |
| 137 | }, |
| 138 | "Zones": { |
| 139 | "$ref": "http://redfish.dmtf.org/schemas/v1/ZoneCollection.json#/definitions/ZoneCollection", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 140 | "description": "The collection of links to the zones that this fabric contains.", |
| 141 | "longDescription": "This property shall contain a link to the Resources of the Zone type that this fabric uses.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 142 | "readonly": true |
| 143 | } |
| 144 | }, |
| 145 | "required": [ |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 146 | "@odata.id", |
| 147 | "@odata.type", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 148 | "Id", |
| 149 | "Name" |
| 150 | ], |
| 151 | "type": "object" |
| 152 | }, |
| 153 | "Links": { |
| 154 | "additionalProperties": false, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 155 | "description": "The links to other Resources that are related to this Resource.", |
| 156 | "longDescription": "This Redfish Specification-described type shall contain links to Resources that are related to but are not contained by or subordinate to this Resource.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 157 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 158 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 159 | "description": "This property shall specify a valid odata or Redfish property.", |
| 160 | "type": [ |
| 161 | "array", |
| 162 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 163 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 164 | "number", |
| 165 | "null", |
| 166 | "object", |
| 167 | "string" |
| 168 | ] |
| 169 | } |
| 170 | }, |
| 171 | "properties": { |
| 172 | "Oem": { |
| 173 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 174 | "description": "The OEM extension property.", |
| 175 | "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 176 | } |
| 177 | }, |
| 178 | "type": "object" |
| 179 | }, |
| 180 | "OemActions": { |
| 181 | "additionalProperties": true, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 182 | "description": "The available OEM-specific actions for this Resource.", |
| 183 | "longDescription": "This type shall contain the available OEM-specific actions for this Resource.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 184 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 185 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 186 | "description": "This property shall specify a valid odata or Redfish property.", |
| 187 | "type": [ |
| 188 | "array", |
| 189 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 190 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 191 | "number", |
| 192 | "null", |
| 193 | "object", |
| 194 | "string" |
| 195 | ] |
| 196 | } |
| 197 | }, |
| 198 | "properties": {}, |
| 199 | "type": "object" |
| 200 | } |
| 201 | }, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 202 | "owningEntity": "DMTF", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 203 | "release": "2016.2", |
| 204 | "title": "#Fabric.v1_0_6.Fabric" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 205 | } |