Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 1 | { |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame^] | 2 | "$id": "http://redfish.dmtf.org/schemas/v1/Fabric.v1_2_0.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", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 5 | "copyright": "Copyright 2014-2020 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, |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [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", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [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.", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [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 | }, |
Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 70 | "AddressPools": { |
| 71 | "$ref": "http://redfish.dmtf.org/schemas/v1/AddressPoolCollection.json#/definitions/AddressPoolCollection", |
| 72 | "description": "The collection of links to the address pools that this fabric contains.", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 73 | "longDescription": "This property shall contain a link to a resource collection of type AddressPoolCollection.", |
Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 74 | "readonly": true, |
| 75 | "versionAdded": "v1_1_0" |
| 76 | }, |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame^] | 77 | "Connections": { |
| 78 | "$ref": "http://redfish.dmtf.org/schemas/v1/ConnectionCollection.json#/definitions/ConnectionCollection", |
| 79 | "description": "The collection of links to the connections that this fabric contains.", |
| 80 | "longDescription": "This property shall contain a link to a resource collection of type ConnectionCollection.", |
| 81 | "readonly": true, |
| 82 | "versionAdded": "v1_2_0" |
| 83 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 84 | "Description": { |
| 85 | "anyOf": [ |
| 86 | { |
| 87 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" |
| 88 | }, |
| 89 | { |
| 90 | "type": "null" |
| 91 | } |
| 92 | ], |
| 93 | "readonly": true |
| 94 | }, |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame^] | 95 | "EndpointGroups": { |
| 96 | "$ref": "http://redfish.dmtf.org/schemas/v1/EndpointGroupCollection.json#/definitions/EndpointGroupCollection", |
| 97 | "description": "The collection of links to the endpoint groups that this fabric contains.", |
| 98 | "longDescription": "This property shall contain a link to a resource collection of type EndpointGroupCollection.", |
| 99 | "readonly": true, |
| 100 | "versionAdded": "v1_2_0" |
| 101 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 102 | "Endpoints": { |
| 103 | "$ref": "http://redfish.dmtf.org/schemas/v1/EndpointCollection.json#/definitions/EndpointCollection", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 104 | "description": "The collection of links to the endpoints that this fabric contains.", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 105 | "longDescription": "This property shall contain a link to a resource collection of type EndpointCollection.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 106 | "readonly": true |
| 107 | }, |
| 108 | "FabricType": { |
| 109 | "anyOf": [ |
| 110 | { |
| 111 | "$ref": "http://redfish.dmtf.org/schemas/v1/Protocol.json#/definitions/Protocol" |
| 112 | }, |
| 113 | { |
| 114 | "type": "null" |
| 115 | } |
| 116 | ], |
| 117 | "description": "The protocol being sent over this fabric.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 118 | "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] | 119 | "readonly": true |
| 120 | }, |
| 121 | "Id": { |
| 122 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", |
| 123 | "readonly": true |
| 124 | }, |
| 125 | "Links": { |
| 126 | "$ref": "#/definitions/Links", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 127 | "description": "The links to other resources that are related to this resource.", |
| 128 | "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] | 129 | }, |
| 130 | "MaxZones": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 131 | "description": "The maximum number of zones the switch can currently configure.", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 132 | "longDescription": "This property shall contain the maximum number of zones the switch can currently configure. Changes in the logical or physical configuration of the system might change this value.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 133 | "readonly": true, |
| 134 | "type": [ |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 135 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 136 | "null" |
| 137 | ] |
| 138 | }, |
| 139 | "Name": { |
| 140 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", |
| 141 | "readonly": true |
| 142 | }, |
| 143 | "Oem": { |
| 144 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 145 | "description": "The OEM extension property.", |
| 146 | "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] | 147 | }, |
| 148 | "Status": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 149 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 150 | "description": "The status and health of the resource and its subordinate or dependent resources.", |
| 151 | "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] | 152 | }, |
| 153 | "Switches": { |
| 154 | "$ref": "http://redfish.dmtf.org/schemas/v1/SwitchCollection.json#/definitions/SwitchCollection", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 155 | "description": "The collection of links to the switches that this fabric contains.", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 156 | "longDescription": "This property shall contain a link to a resource collection of type SwitchCollection.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 157 | "readonly": true |
| 158 | }, |
| 159 | "Zones": { |
| 160 | "$ref": "http://redfish.dmtf.org/schemas/v1/ZoneCollection.json#/definitions/ZoneCollection", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 161 | "description": "The collection of links to the zones that this fabric contains.", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 162 | "longDescription": "This property shall contain a link to a resource collection of type ZoneCollection.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 163 | "readonly": true |
| 164 | } |
| 165 | }, |
| 166 | "required": [ |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 167 | "@odata.id", |
| 168 | "@odata.type", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 169 | "Id", |
| 170 | "Name" |
| 171 | ], |
| 172 | "type": "object" |
| 173 | }, |
| 174 | "Links": { |
| 175 | "additionalProperties": false, |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 176 | "description": "The links to other resources that are related to this resource.", |
| 177 | "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] | 178 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 179 | "^([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] | 180 | "description": "This property shall specify a valid odata or Redfish property.", |
| 181 | "type": [ |
| 182 | "array", |
| 183 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 184 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 185 | "number", |
| 186 | "null", |
| 187 | "object", |
| 188 | "string" |
| 189 | ] |
| 190 | } |
| 191 | }, |
| 192 | "properties": { |
| 193 | "Oem": { |
| 194 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 195 | "description": "The OEM extension property.", |
| 196 | "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] | 197 | } |
| 198 | }, |
| 199 | "type": "object" |
| 200 | }, |
| 201 | "OemActions": { |
| 202 | "additionalProperties": true, |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 203 | "description": "The available OEM-specific actions for this resource.", |
| 204 | "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] | 205 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 206 | "^([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] | 207 | "description": "This property shall specify a valid odata or Redfish property.", |
| 208 | "type": [ |
| 209 | "array", |
| 210 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 211 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 212 | "number", |
| 213 | "null", |
| 214 | "object", |
| 215 | "string" |
| 216 | ] |
| 217 | } |
| 218 | }, |
| 219 | "properties": {}, |
| 220 | "type": "object" |
| 221 | } |
| 222 | }, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 223 | "owningEntity": "DMTF", |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame^] | 224 | "release": "2020.3", |
| 225 | "title": "#Fabric.v1_2_0.Fabric" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 226 | } |