blob: 67ec5c2fa21c16525834e7c342030dad16d52212 [file] [log] [blame]
Ed Tanous118b1c72018-09-13 13:45:51 -07001{
Ed Tanouscb103132019-10-08 11:34:22 -07002 "$id": "http://redfish.dmtf.org/schemas/v1/Fabric.v1_0_6.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",
Ed Tanouscb103132019-10-08 11:34:22 -07005 "copyright": "Copyright 2014-2019 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,
Ed Tanouscb103132019-10-08 11:34:22 -07009 "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",
Ed Tanouscb103132019-10-08 11:34:22 -070028 "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.",
Ed Tanouscb103132019-10-08 11:34:22 -070037 "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 },
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 Tanouscb103132019-10-08 11:34:22 -070083 "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 Tanous118b1c72018-09-13 13:45:51 -070085 "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 Tanouscb103132019-10-08 11:34:22 -070097 "longDescription": "This property shall contain the type of fabric being represented by this simple fabric.",
Ed Tanous118b1c72018-09-13 13:45:51 -070098 "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 Tanouscb103132019-10-08 11:34:22 -0700106 "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 Tanous118b1c72018-09-13 13:45:51 -0700108 },
109 "MaxZones": {
Ed Tanouscb103132019-10-08 11:34:22 -0700110 "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 Tanous118b1c72018-09-13 13:45:51 -0700112 "readonly": true,
113 "type": [
Ed Tanous530520e2019-01-02 13:41:37 -0800114 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700115 "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 Tanouscb103132019-10-08 11:34:22 -0700124 "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 Tanous118b1c72018-09-13 13:45:51 -0700126 },
127 "Status": {
Ed Tanous530520e2019-01-02 13:41:37 -0800128 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
Ed Tanouscb103132019-10-08 11:34:22 -0700129 "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 Tanous118b1c72018-09-13 13:45:51 -0700131 },
132 "Switches": {
133 "$ref": "http://redfish.dmtf.org/schemas/v1/SwitchCollection.json#/definitions/SwitchCollection",
Ed Tanouscb103132019-10-08 11:34:22 -0700134 "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 Tanous118b1c72018-09-13 13:45:51 -0700136 "readonly": true
137 },
138 "Zones": {
139 "$ref": "http://redfish.dmtf.org/schemas/v1/ZoneCollection.json#/definitions/ZoneCollection",
Ed Tanouscb103132019-10-08 11:34:22 -0700140 "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 Tanous118b1c72018-09-13 13:45:51 -0700142 "readonly": true
143 }
144 },
145 "required": [
Ed Tanous530520e2019-01-02 13:41:37 -0800146 "@odata.id",
147 "@odata.type",
Ed Tanous118b1c72018-09-13 13:45:51 -0700148 "Id",
149 "Name"
150 ],
151 "type": "object"
152 },
153 "Links": {
154 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -0700155 "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 Tanous118b1c72018-09-13 13:45:51 -0700157 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700158 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700159 "description": "This property shall specify a valid odata or Redfish property.",
160 "type": [
161 "array",
162 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800163 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700164 "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 Tanouscb103132019-10-08 11:34:22 -0700174 "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 Tanous118b1c72018-09-13 13:45:51 -0700176 }
177 },
178 "type": "object"
179 },
180 "OemActions": {
181 "additionalProperties": true,
Ed Tanouscb103132019-10-08 11:34:22 -0700182 "description": "The available OEM-specific actions for this Resource.",
183 "longDescription": "This type shall contain the available OEM-specific actions for this Resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700184 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700185 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700186 "description": "This property shall specify a valid odata or Redfish property.",
187 "type": [
188 "array",
189 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800190 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700191 "number",
192 "null",
193 "object",
194 "string"
195 ]
196 }
197 },
198 "properties": {},
199 "type": "object"
200 }
201 },
Ed Tanous530520e2019-01-02 13:41:37 -0800202 "owningEntity": "DMTF",
Ed Tanouscb103132019-10-08 11:34:22 -0700203 "release": "2016.2",
204 "title": "#Fabric.v1_0_6.Fabric"
Ed Tanous118b1c72018-09-13 13:45:51 -0700205}