blob: edf7ed2d8b618b552957166e8a88a5423328c193 [file] [log] [blame]
Ed Tanous118b1c72018-09-13 13:45:51 -07001{
Gunnar Mills262d7d42021-01-20 16:28:41 -06002 "$id": "http://redfish.dmtf.org/schemas/v1/Fabric.v1_2_1.json",
Ed Tanous118b1c72018-09-13 13:45:51 -07003 "$ref": "#/definitions/Fabric",
Ed Tanous530520e2019-01-02 13:41:37 -08004 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
Gunnar Mills844b4152020-06-22 12:44:09 -05005 "copyright": "Copyright 2014-2020 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
Ed Tanous118b1c72018-09-13 13:45:51 -07006 "definitions": {
7 "Actions": {
8 "additionalProperties": false,
Gunnar Mills844b4152020-06-22 12:44:09 -05009 "description": "The available actions for this resource.",
10 "longDescription": "This type shall contain the available actions for this resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -070011 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070012 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070013 "description": "This property shall specify a valid odata or Redfish property.",
14 "type": [
15 "array",
16 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080017 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070018 "number",
19 "null",
20 "object",
21 "string"
22 ]
23 }
24 },
25 "properties": {
26 "Oem": {
Ed Tanous530520e2019-01-02 13:41:37 -080027 "$ref": "#/definitions/OemActions",
Gunnar Mills844b4152020-06-22 12:44:09 -050028 "description": "The available OEM-specific actions for this resource.",
29 "longDescription": "This property shall contain the available OEM-specific actions for this resource."
Ed Tanous118b1c72018-09-13 13:45:51 -070030 }
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 Mills844b4152020-06-22 12:44:09 -050037 "longDescription": "This resource shall represent a simple switchable fabric for a Redfish implementation.",
Ed Tanous118b1c72018-09-13 13:45:51 -070038 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070039 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070040 "description": "This property shall specify a valid odata or Redfish property.",
41 "type": [
42 "array",
43 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080044 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070045 "number",
46 "null",
47 "object",
48 "string"
49 ]
50 }
51 },
52 "properties": {
53 "@odata.context": {
Ed Tanouscb103132019-10-08 11:34:22 -070054 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
Ed Tanous530520e2019-01-02 13:41:37 -080055 },
56 "@odata.etag": {
Ed Tanouscb103132019-10-08 11:34:22 -070057 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
Ed Tanous118b1c72018-09-13 13:45:51 -070058 },
59 "@odata.id": {
Ed Tanouscb103132019-10-08 11:34:22 -070060 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
Ed Tanous118b1c72018-09-13 13:45:51 -070061 },
62 "@odata.type": {
Ed Tanouscb103132019-10-08 11:34:22 -070063 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
Ed Tanous118b1c72018-09-13 13:45:51 -070064 },
65 "Actions": {
66 "$ref": "#/definitions/Actions",
Ed Tanouscb103132019-10-08 11:34:22 -070067 "description": "The available actions for this Resource.",
68 "longDescription": "This property shall contain the available actions for this Resource."
Ed Tanous118b1c72018-09-13 13:45:51 -070069 },
Gunnar Mills09b9d452020-02-11 13:27:39 -060070 "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 Mills844b4152020-06-22 12:44:09 -050073 "longDescription": "This property shall contain a link to a resource collection of type AddressPoolCollection.",
Gunnar Mills09b9d452020-02-11 13:27:39 -060074 "readonly": true,
75 "versionAdded": "v1_1_0"
76 },
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050077 "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 Tanous118b1c72018-09-13 13:45:51 -070084 "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 Karunanithic8ccb772020-09-22 10:56:46 -050095 "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 Tanous118b1c72018-09-13 13:45:51 -0700102 "Endpoints": {
103 "$ref": "http://redfish.dmtf.org/schemas/v1/EndpointCollection.json#/definitions/EndpointCollection",
Ed Tanouscb103132019-10-08 11:34:22 -0700104 "description": "The collection of links to the endpoints that this fabric contains.",
Gunnar Mills844b4152020-06-22 12:44:09 -0500105 "longDescription": "This property shall contain a link to a resource collection of type EndpointCollection.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700106 "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 Tanouscb103132019-10-08 11:34:22 -0700118 "longDescription": "This property shall contain the type of fabric being represented by this simple fabric.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700119 "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 Mills844b4152020-06-22 12:44:09 -0500127 "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 Tanous118b1c72018-09-13 13:45:51 -0700129 },
130 "MaxZones": {
Ed Tanouscb103132019-10-08 11:34:22 -0700131 "description": "The maximum number of zones the switch can currently configure.",
Gunnar Mills844b4152020-06-22 12:44:09 -0500132 "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 Tanous118b1c72018-09-13 13:45:51 -0700133 "readonly": true,
134 "type": [
Ed Tanous530520e2019-01-02 13:41:37 -0800135 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700136 "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 Tanouscb103132019-10-08 11:34:22 -0700145 "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 Tanous118b1c72018-09-13 13:45:51 -0700147 },
148 "Status": {
Ed Tanous530520e2019-01-02 13:41:37 -0800149 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
Gunnar Mills844b4152020-06-22 12:44:09 -0500150 "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 Tanous118b1c72018-09-13 13:45:51 -0700152 },
153 "Switches": {
154 "$ref": "http://redfish.dmtf.org/schemas/v1/SwitchCollection.json#/definitions/SwitchCollection",
Ed Tanouscb103132019-10-08 11:34:22 -0700155 "description": "The collection of links to the switches that this fabric contains.",
Gunnar Mills844b4152020-06-22 12:44:09 -0500156 "longDescription": "This property shall contain a link to a resource collection of type SwitchCollection.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700157 "readonly": true
158 },
159 "Zones": {
160 "$ref": "http://redfish.dmtf.org/schemas/v1/ZoneCollection.json#/definitions/ZoneCollection",
Ed Tanouscb103132019-10-08 11:34:22 -0700161 "description": "The collection of links to the zones that this fabric contains.",
Gunnar Mills844b4152020-06-22 12:44:09 -0500162 "longDescription": "This property shall contain a link to a resource collection of type ZoneCollection.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700163 "readonly": true
164 }
165 },
166 "required": [
Ed Tanous530520e2019-01-02 13:41:37 -0800167 "@odata.id",
168 "@odata.type",
Ed Tanous118b1c72018-09-13 13:45:51 -0700169 "Id",
170 "Name"
171 ],
172 "type": "object"
173 },
174 "Links": {
175 "additionalProperties": false,
Gunnar Mills844b4152020-06-22 12:44:09 -0500176 "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 Tanous118b1c72018-09-13 13:45:51 -0700178 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700179 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700180 "description": "This property shall specify a valid odata or Redfish property.",
181 "type": [
182 "array",
183 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800184 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700185 "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 Tanouscb103132019-10-08 11:34:22 -0700195 "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 Tanous118b1c72018-09-13 13:45:51 -0700197 }
198 },
199 "type": "object"
200 },
201 "OemActions": {
202 "additionalProperties": true,
Gunnar Mills844b4152020-06-22 12:44:09 -0500203 "description": "The available OEM-specific actions for this resource.",
204 "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700205 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700206 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700207 "description": "This property shall specify a valid odata or Redfish property.",
208 "type": [
209 "array",
210 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800211 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700212 "number",
213 "null",
214 "object",
215 "string"
216 ]
217 }
218 },
219 "properties": {},
220 "type": "object"
221 }
222 },
Ed Tanous530520e2019-01-02 13:41:37 -0800223 "owningEntity": "DMTF",
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -0500224 "release": "2020.3",
Gunnar Mills262d7d42021-01-20 16:28:41 -0600225 "title": "#Fabric.v1_2_1.Fabric"
Ed Tanous118b1c72018-09-13 13:45:51 -0700226}