1{
2    "$id": "http://redfish.dmtf.org/schemas/v1/Switch.v1_9_3.json",
3    "$ref": "#/definitions/Switch",
4    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5    "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6    "definitions": {
7        "Actions": {
8            "additionalProperties": false,
9            "description": "The available actions for this resource.",
10            "longDescription": "This type shall contain the available actions for this resource.",
11            "patternProperties": {
12                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
13                    "description": "This property shall specify a valid odata or Redfish property.",
14                    "type": [
15                        "array",
16                        "boolean",
17                        "integer",
18                        "number",
19                        "null",
20                        "object",
21                        "string"
22                    ]
23                }
24            },
25            "properties": {
26                "#Switch.Reset": {
27                    "$ref": "#/definitions/Reset"
28                },
29                "Oem": {
30                    "$ref": "#/definitions/OemActions",
31                    "description": "The available OEM-specific actions for this resource.",
32                    "longDescription": "This property shall contain the available OEM-specific actions for this resource."
33                }
34            },
35            "type": "object"
36        },
37        "CXL": {
38            "additionalProperties": false,
39            "description": "CXL properties for a switch.",
40            "longDescription": "This type shall contain CXL-specific properties for a switch.",
41            "patternProperties": {
42                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
43                    "description": "This property shall specify a valid odata or Redfish property.",
44                    "type": [
45                        "array",
46                        "boolean",
47                        "integer",
48                        "number",
49                        "null",
50                        "object",
51                        "string"
52                    ]
53                }
54            },
55            "properties": {
56                "MaxVCSsSupported": {
57                    "description": "The maximum number of Virtual CXL Switches (VCSs) supported in this switch.",
58                    "longDescription": "This property shall contain the maximum number of Virtual CXL Switches (VCSs) supported in this switch.",
59                    "readonly": true,
60                    "type": "integer",
61                    "versionAdded": "v1_9_0"
62                },
63                "TotalNumbervPPBs": {
64                    "description": "The total number of virtual PCI-to-PCI bridges (vPPBs) supported in this switch.",
65                    "longDescription": "This property shall contain the total number of virtual PCI-to-PCI bridges (vPPBs) supported in this switch.",
66                    "readonly": true,
67                    "type": "integer",
68                    "versionAdded": "v1_9_0"
69                },
70                "VCS": {
71                    "$ref": "#/definitions/VCSSwitch",
72                    "description": "Virtual CXL Switch (VCS) properties for this switch.",
73                    "longDescription": "This property shall contain Virtual CXL Switch (VCS) properties for this switch.",
74                    "versionAdded": "v1_9_0"
75                }
76            },
77            "type": "object"
78        },
79        "Links": {
80            "additionalProperties": false,
81            "description": "The links to other resources that are related to this resource.",
82            "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.",
83            "patternProperties": {
84                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
85                    "description": "This property shall specify a valid odata or Redfish property.",
86                    "type": [
87                        "array",
88                        "boolean",
89                        "integer",
90                        "number",
91                        "null",
92                        "object",
93                        "string"
94                    ]
95                }
96            },
97            "properties": {
98                "Chassis": {
99                    "$ref": "http://redfish.dmtf.org/schemas/v1/Chassis.json#/definitions/Chassis",
100                    "description": "The link to the chassis that contains this switch.",
101                    "longDescription": "This property shall contain a link to a resource of type `Chassis` with which this switch is associated.",
102                    "readonly": true
103                },
104                "Endpoints": {
105                    "description": "An array of links to the endpoints that connect to this switch.",
106                    "items": {
107                        "$ref": "http://redfish.dmtf.org/schemas/v1/Endpoint.json#/definitions/Endpoint"
108                    },
109                    "longDescription": "This property shall contain an array of links to resources of type `Endpoint` with which this switch is associated.",
110                    "readonly": true,
111                    "type": "array",
112                    "versionAdded": "v1_3_0"
113                },
114                "Endpoints@odata.count": {
115                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
116                },
117                "ManagedBy": {
118                    "description": "An array of links to the managers that manage this switch.",
119                    "items": {
120                        "$ref": "http://redfish.dmtf.org/schemas/v1/Manager.json#/definitions/Manager"
121                    },
122                    "longDescription": "This property shall contain an array of links to resources of type `Manager` with which this switch is associated.",
123                    "readonly": true,
124                    "type": "array"
125                },
126                "ManagedBy@odata.count": {
127                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
128                },
129                "Oem": {
130                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
131                    "description": "The OEM extension property.",
132                    "longDescription": "This property shall contain the OEM extensions.  All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
133                },
134                "PCIeDevice": {
135                    "$ref": "http://redfish.dmtf.org/schemas/v1/PCIeDevice.json#/definitions/PCIeDevice",
136                    "description": "The link to the PCIe device providing this switch.",
137                    "longDescription": "This property shall contain a link to a resource of type `PCIeDevice` that represents the PCIe device providing this switch.",
138                    "readonly": true,
139                    "versionAdded": "v1_4_0"
140                }
141            },
142            "type": "object"
143        },
144        "OemActions": {
145            "additionalProperties": true,
146            "description": "The available OEM-specific actions for this resource.",
147            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
148            "patternProperties": {
149                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
150                    "description": "This property shall specify a valid odata or Redfish property.",
151                    "type": [
152                        "array",
153                        "boolean",
154                        "integer",
155                        "number",
156                        "null",
157                        "object",
158                        "string"
159                    ]
160                }
161            },
162            "properties": {},
163            "type": "object"
164        },
165        "Reset": {
166            "additionalProperties": false,
167            "description": "This action resets this switch.",
168            "longDescription": "This action shall reset this switch.",
169            "parameters": {
170                "ResetType": {
171                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/ResetType",
172                    "description": "The type of reset.",
173                    "longDescription": "This parameter shall contain the type of reset.  The service can accept a request without this parameter and can complete an implementation-specific default reset."
174                }
175            },
176            "patternProperties": {
177                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
178                    "description": "This property shall specify a valid odata or Redfish property.",
179                    "type": [
180                        "array",
181                        "boolean",
182                        "integer",
183                        "number",
184                        "null",
185                        "object",
186                        "string"
187                    ]
188                }
189            },
190            "properties": {
191                "target": {
192                    "description": "Link to invoke action",
193                    "format": "uri-reference",
194                    "type": "string"
195                },
196                "title": {
197                    "description": "Friendly action name",
198                    "type": "string"
199                }
200            },
201            "type": "object"
202        },
203        "Switch": {
204            "additionalProperties": false,
205            "description": "The `Switch` schema contains properties that describe a fabric switch.",
206            "longDescription": "This resource contains a switch for a Redfish implementation.",
207            "patternProperties": {
208                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
209                    "description": "This property shall specify a valid odata or Redfish property.",
210                    "type": [
211                        "array",
212                        "boolean",
213                        "integer",
214                        "number",
215                        "null",
216                        "object",
217                        "string"
218                    ]
219                }
220            },
221            "properties": {
222                "@odata.context": {
223                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
224                },
225                "@odata.etag": {
226                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
227                },
228                "@odata.id": {
229                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
230                },
231                "@odata.type": {
232                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
233                },
234                "Actions": {
235                    "$ref": "#/definitions/Actions",
236                    "description": "The available actions for this resource.",
237                    "longDescription": "This property shall contain the available actions for this resource."
238                },
239                "AssetTag": {
240                    "description": "The user-assigned asset tag for this switch.",
241                    "longDescription": "This property shall contain the user-assigned asset tag, which is an identifying string that tracks the drive for inventory purposes.",
242                    "readonly": false,
243                    "type": [
244                        "string",
245                        "null"
246                    ]
247                },
248                "CXL": {
249                    "$ref": "#/definitions/CXL",
250                    "description": "CXL properties for this switch.",
251                    "longDescription": "This property shall contain CXL-specific properties for this switch.",
252                    "versionAdded": "v1_9_0"
253                },
254                "Certificates": {
255                    "$ref": "http://redfish.dmtf.org/schemas/v1/CertificateCollection.json#/definitions/CertificateCollection",
256                    "description": "The link to a collection of certificates for device identity and attestation.",
257                    "longDescription": "This property shall contain a link to a resource collection of type `CertificateCollection` that contains certificates for device identity and attestation.",
258                    "readonly": true,
259                    "versionAdded": "v1_5_0"
260                },
261                "CurrentBandwidthGbps": {
262                    "description": "The current internal bandwidth of this switch.",
263                    "longDescription": "This property shall contain the internal unidirectional bandwidth of this switch currently negotiated and running.",
264                    "readonly": true,
265                    "type": [
266                        "number",
267                        "null"
268                    ],
269                    "units": "Gbit/s",
270                    "versionAdded": "v1_4_0"
271                },
272                "Description": {
273                    "anyOf": [
274                        {
275                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
276                        },
277                        {
278                            "type": "null"
279                        }
280                    ],
281                    "readonly": true
282                },
283                "DomainID": {
284                    "description": "The domain ID for this switch.",
285                    "longDescription": "This property shall contain The domain ID for this switch.  This property has a scope of uniqueness within the fabric of which the switch is a member.",
286                    "readonly": true,
287                    "type": [
288                        "integer",
289                        "null"
290                    ]
291                },
292                "Enabled": {
293                    "description": "An indication of whether this switch is enabled.",
294                    "longDescription": "The value of this property shall indicate if this switch is enabled.",
295                    "readonly": false,
296                    "type": "boolean",
297                    "versionAdded": "v1_6_0"
298                },
299                "EnvironmentMetrics": {
300                    "$ref": "http://redfish.dmtf.org/schemas/v1/EnvironmentMetrics.json#/definitions/EnvironmentMetrics",
301                    "description": "The link to the environment metrics for this switch.",
302                    "longDescription": "This property shall contain a link to a resource of type `EnvironmentMetrics` that specifies the environment metrics for this switch.",
303                    "readonly": true,
304                    "versionAdded": "v1_6_0"
305                },
306                "FirmwareVersion": {
307                    "description": "The firmware version of this switch.",
308                    "longDescription": "This property shall contain the firmware version as defined by the manufacturer for the associated switch.",
309                    "readonly": true,
310                    "type": [
311                        "string",
312                        "null"
313                    ],
314                    "versionAdded": "v1_2_0"
315                },
316                "Id": {
317                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
318                    "readonly": true
319                },
320                "IndicatorLED": {
321                    "anyOf": [
322                        {
323                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/IndicatorLED"
324                        },
325                        {
326                            "type": "null"
327                        }
328                    ],
329                    "deprecated": "This property has been deprecated in favor of the `LocationIndicatorActive` property.",
330                    "description": "The state of the indicator LED, which identifies the switch.",
331                    "longDescription": "This property shall contain the state of the indicator light associated with this switch.",
332                    "readonly": false,
333                    "versionDeprecated": "v1_4_0"
334                },
335                "IsManaged": {
336                    "description": "An indication of whether the switch is in a managed or unmanaged state.",
337                    "longDescription": "This property shall indicate whether this switch is in a managed or unmanaged state.",
338                    "readonly": false,
339                    "type": [
340                        "boolean",
341                        "null"
342                    ]
343                },
344                "Links": {
345                    "$ref": "#/definitions/Links",
346                    "description": "The links to other resources that are related to this resource.",
347                    "longDescription": "This property shall contain links to resources that are related to but are not contained by, or subordinate to, this resource."
348                },
349                "Location": {
350                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Location",
351                    "description": "The location of the switch.",
352                    "longDescription": "This property shall contain the location information of the associated switch.",
353                    "versionAdded": "v1_1_0"
354                },
355                "LocationIndicatorActive": {
356                    "description": "An indicator allowing an operator to physically locate this resource.",
357                    "longDescription": "This property shall contain the state of the indicator used to physically identify or locate this resource.  A write to this property shall update the value of `IndicatorLED` in this resource, if supported, to reflect the implementation of the locating function.",
358                    "readonly": false,
359                    "type": [
360                        "boolean",
361                        "null"
362                    ],
363                    "versionAdded": "v1_4_0"
364                },
365                "LogServices": {
366                    "$ref": "http://redfish.dmtf.org/schemas/v1/LogServiceCollection.json#/definitions/LogServiceCollection",
367                    "description": "The link to the collection of log services associated with this switch.",
368                    "longDescription": "This property shall contain a link to a resource collection of type `LogServiceCollection`.",
369                    "readonly": true
370                },
371                "Manufacturer": {
372                    "description": "The manufacturer of this switch.",
373                    "longDescription": "This property shall contain the name of the organization responsible for producing the switch.  This organization may be the entity from which the switch is purchased, but this is not necessarily true.",
374                    "readonly": true,
375                    "type": [
376                        "string",
377                        "null"
378                    ]
379                },
380                "MaxBandwidthGbps": {
381                    "description": "The maximum internal bandwidth of this switch as currently configured.",
382                    "longDescription": "This property shall contain the maximum internal unidirectional bandwidth this switch is capable of being configured.  If capable of autonegotiation, the switch shall attempt to negotiate to the specified maximum bandwidth.",
383                    "readonly": true,
384                    "type": [
385                        "number",
386                        "null"
387                    ],
388                    "units": "Gbit/s",
389                    "versionAdded": "v1_4_0"
390                },
391                "Measurements": {
392                    "deprecated": "This property has been deprecated in favor of the `ComponentIntegrity` resource.",
393                    "description": "An array of DSP0274-defined measurement blocks.",
394                    "items": {
395                        "$ref": "http://redfish.dmtf.org/schemas/v1/SoftwareInventory.json#/definitions/MeasurementBlock"
396                    },
397                    "longDescription": "This property shall contain an array of DSP0274-defined measurement blocks.",
398                    "type": "array",
399                    "versionAdded": "v1_5_0",
400                    "versionDeprecated": "v1_8_0"
401                },
402                "Metrics": {
403                    "$ref": "http://redfish.dmtf.org/schemas/v1/SwitchMetrics.json#/definitions/SwitchMetrics",
404                    "description": "The link to the metrics associated with this switch.",
405                    "longDescription": "This property shall contain a link to the metrics associated with this switch.",
406                    "readonly": true,
407                    "uriSegment": "SwitchMetrics",
408                    "versionAdded": "v1_7_0"
409                },
410                "Model": {
411                    "description": "The product model number of this switch.",
412                    "longDescription": "This property shall contain the manufacturer-provided model information of this switch.",
413                    "readonly": true,
414                    "type": [
415                        "string",
416                        "null"
417                    ]
418                },
419                "Name": {
420                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
421                    "readonly": true
422                },
423                "Oem": {
424                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
425                    "description": "The OEM extension property.",
426                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
427                },
428                "PartNumber": {
429                    "description": "The part number for this switch.",
430                    "longDescription": "This property shall contain the manufacturer-provided part number for the switch.",
431                    "readonly": true,
432                    "type": [
433                        "string",
434                        "null"
435                    ]
436                },
437                "Ports": {
438                    "$ref": "http://redfish.dmtf.org/schemas/v1/PortCollection.json#/definitions/PortCollection",
439                    "description": "The link to the collection ports for this switch.",
440                    "longDescription": "This property shall contain a link to a resource collection of type `PortCollection`.",
441                    "readonly": true
442                },
443                "PowerState": {
444                    "anyOf": [
445                        {
446                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/PowerState"
447                        },
448                        {
449                            "type": "null"
450                        }
451                    ],
452                    "description": "The current power state of the switch.",
453                    "longDescription": "This property shall contain the power state of the switch.",
454                    "readonly": true
455                },
456                "Redundancy": {
457                    "autoExpand": true,
458                    "description": "Redundancy information for the switches.",
459                    "items": {
460                        "$ref": "http://redfish.dmtf.org/schemas/v1/Redundancy.json#/definitions/Redundancy"
461                    },
462                    "longDescription": "This property shall contain an array that shows how this switch is grouped with other switches for form redundancy sets.",
463                    "type": "array"
464                },
465                "Redundancy@odata.count": {
466                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
467                },
468                "SKU": {
469                    "description": "The SKU for this switch.",
470                    "longDescription": "This property shall contain the SKU number for this switch.",
471                    "readonly": true,
472                    "type": [
473                        "string",
474                        "null"
475                    ]
476                },
477                "SerialNumber": {
478                    "description": "The serial number for this switch.",
479                    "longDescription": "This property shall contain a manufacturer-allocated number that identifies the switch.",
480                    "readonly": true,
481                    "type": [
482                        "string",
483                        "null"
484                    ]
485                },
486                "Status": {
487                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
488                    "description": "The status and health of the resource and its subordinate or dependent resources.",
489                    "longDescription": "This property shall contain any status or health properties of the resource."
490                },
491                "SupportedProtocols": {
492                    "description": "The protocols this switch supports.",
493                    "items": {
494                        "$ref": "http://redfish.dmtf.org/schemas/v1/Protocol.json#/definitions/Protocol"
495                    },
496                    "longDescription": "The property shall contain an array of protocols this switch supports.  If the value of `SwitchType` is `MultiProtocol`, this property shall be required.",
497                    "readonly": true,
498                    "type": "array",
499                    "versionAdded": "v1_3_0"
500                },
501                "SwitchType": {
502                    "anyOf": [
503                        {
504                            "$ref": "http://redfish.dmtf.org/schemas/v1/Protocol.json#/definitions/Protocol"
505                        },
506                        {
507                            "type": "null"
508                        }
509                    ],
510                    "description": "The protocol being sent over this switch.",
511                    "longDescription": "This property shall contain the protocol being sent over this switch.  For a switch that supports multiple protocols, the value should be `MultiProtocol` and the `SupportedProtocols` property should be used to describe the supported protocols.",
512                    "readonly": true
513                },
514                "TotalSwitchWidth": {
515                    "description": "The total number of lanes, phys, or other physical transport links that this switch contains.",
516                    "longDescription": "This property shall contain the number of physical transport lanes, phys, or other physical transport links that this switch contains.  For PCIe, this value shall be the lane count.",
517                    "readonly": true,
518                    "type": [
519                        "integer",
520                        "null"
521                    ]
522                },
523                "UUID": {
524                    "anyOf": [
525                        {
526                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/UUID"
527                        },
528                        {
529                            "type": "null"
530                        }
531                    ],
532                    "description": "The UUID for this switch.",
533                    "longDescription": "This property shall contain a universally unique identifier number for the switch.",
534                    "readonly": true,
535                    "versionAdded": "v1_3_0"
536                }
537            },
538            "required": [
539                "@odata.id",
540                "@odata.type",
541                "Id",
542                "Name"
543            ],
544            "type": "object"
545        },
546        "VCSSwitch": {
547            "additionalProperties": false,
548            "description": "Virtual CXL Switch (VCS) properties for a switch.",
549            "longDescription": "This type shall contain Virtual CXL Switch (VCS) properties for a switch.",
550            "patternProperties": {
551                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
552                    "description": "This property shall specify a valid odata or Redfish property.",
553                    "type": [
554                        "array",
555                        "boolean",
556                        "integer",
557                        "number",
558                        "null",
559                        "object",
560                        "string"
561                    ]
562                }
563            },
564            "properties": {
565                "HDMDecoders": {
566                    "description": "The number of Host Device Memory (HDM) Decoders supported by this switch.",
567                    "longDescription": "This property shall contain the number of Host Device Memory (HDM) Decoders supported by this switch.",
568                    "readonly": true,
569                    "type": "integer",
570                    "versionAdded": "v1_9_0"
571                }
572            },
573            "type": "object"
574        }
575    },
576    "language": "en",
577    "owningEntity": "DMTF",
578    "release": "2022.3",
579    "title": "#Switch.v1_9_3.Switch"
580}