blob: ba0d9aa7f133915959a541fca3ceece6679d79e6 [file] [log] [blame]
Ed Tanous118b1c72018-09-13 13:45:51 -07001{
Gunnar Mills844b4152020-06-22 12:44:09 -05002 "$id": "http://redfish.dmtf.org/schemas/v1/Fabric.v1_1_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 },
Ed Tanous118b1c72018-09-13 13:45:51 -070077 "Description": {
78 "anyOf": [
79 {
80 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
81 },
82 {
83 "type": "null"
84 }
85 ],
86 "readonly": true
87 },
88 "Endpoints": {
89 "$ref": "http://redfish.dmtf.org/schemas/v1/EndpointCollection.json#/definitions/EndpointCollection",
Ed Tanouscb103132019-10-08 11:34:22 -070090 "description": "The collection of links to the endpoints that this fabric contains.",
Gunnar Mills844b4152020-06-22 12:44:09 -050091 "longDescription": "This property shall contain a link to a resource collection of type EndpointCollection.",
Ed Tanous118b1c72018-09-13 13:45:51 -070092 "readonly": true
93 },
94 "FabricType": {
95 "anyOf": [
96 {
97 "$ref": "http://redfish.dmtf.org/schemas/v1/Protocol.json#/definitions/Protocol"
98 },
99 {
100 "type": "null"
101 }
102 ],
103 "description": "The protocol being sent over this fabric.",
Ed Tanouscb103132019-10-08 11:34:22 -0700104 "longDescription": "This property shall contain the type of fabric being represented by this simple fabric.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700105 "readonly": true
106 },
107 "Id": {
108 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
109 "readonly": true
110 },
111 "Links": {
112 "$ref": "#/definitions/Links",
Gunnar Mills844b4152020-06-22 12:44:09 -0500113 "description": "The links to other resources that are related to this resource.",
114 "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 -0700115 },
116 "MaxZones": {
Ed Tanouscb103132019-10-08 11:34:22 -0700117 "description": "The maximum number of zones the switch can currently configure.",
Gunnar Mills844b4152020-06-22 12:44:09 -0500118 "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 -0700119 "readonly": true,
120 "type": [
Ed Tanous530520e2019-01-02 13:41:37 -0800121 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700122 "null"
123 ]
124 },
125 "Name": {
126 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
127 "readonly": true
128 },
129 "Oem": {
130 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -0700131 "description": "The OEM extension property.",
132 "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 -0700133 },
134 "Status": {
Ed Tanous530520e2019-01-02 13:41:37 -0800135 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
Gunnar Mills844b4152020-06-22 12:44:09 -0500136 "description": "The status and health of the resource and its subordinate or dependent resources.",
137 "longDescription": "This property shall contain any status or health properties of the resource."
Ed Tanous118b1c72018-09-13 13:45:51 -0700138 },
139 "Switches": {
140 "$ref": "http://redfish.dmtf.org/schemas/v1/SwitchCollection.json#/definitions/SwitchCollection",
Ed Tanouscb103132019-10-08 11:34:22 -0700141 "description": "The collection of links to the switches that this fabric contains.",
Gunnar Mills844b4152020-06-22 12:44:09 -0500142 "longDescription": "This property shall contain a link to a resource collection of type SwitchCollection.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700143 "readonly": true
144 },
145 "Zones": {
146 "$ref": "http://redfish.dmtf.org/schemas/v1/ZoneCollection.json#/definitions/ZoneCollection",
Ed Tanouscb103132019-10-08 11:34:22 -0700147 "description": "The collection of links to the zones that this fabric contains.",
Gunnar Mills844b4152020-06-22 12:44:09 -0500148 "longDescription": "This property shall contain a link to a resource collection of type ZoneCollection.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700149 "readonly": true
150 }
151 },
152 "required": [
Ed Tanous530520e2019-01-02 13:41:37 -0800153 "@odata.id",
154 "@odata.type",
Ed Tanous118b1c72018-09-13 13:45:51 -0700155 "Id",
156 "Name"
157 ],
158 "type": "object"
159 },
160 "Links": {
161 "additionalProperties": false,
Gunnar Mills844b4152020-06-22 12:44:09 -0500162 "description": "The links to other resources that are related to this resource.",
163 "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 -0700164 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700165 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700166 "description": "This property shall specify a valid odata or Redfish property.",
167 "type": [
168 "array",
169 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800170 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700171 "number",
172 "null",
173 "object",
174 "string"
175 ]
176 }
177 },
178 "properties": {
179 "Oem": {
180 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -0700181 "description": "The OEM extension property.",
182 "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 -0700183 }
184 },
185 "type": "object"
186 },
187 "OemActions": {
188 "additionalProperties": true,
Gunnar Mills844b4152020-06-22 12:44:09 -0500189 "description": "The available OEM-specific actions for this resource.",
190 "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700191 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700192 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700193 "description": "This property shall specify a valid odata or Redfish property.",
194 "type": [
195 "array",
196 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800197 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700198 "number",
199 "null",
200 "object",
201 "string"
202 ]
203 }
204 },
205 "properties": {},
206 "type": "object"
207 }
208 },
Ed Tanous530520e2019-01-02 13:41:37 -0800209 "owningEntity": "DMTF",
Gunnar Mills09b9d452020-02-11 13:27:39 -0600210 "release": "2019.4",
Gunnar Mills844b4152020-06-22 12:44:09 -0500211 "title": "#Fabric.v1_1_1.Fabric"
Ed Tanous118b1c72018-09-13 13:45:51 -0700212}