Switch

Schema Definition

Switch contains properties describing a simple fabric switch.

Properties

PropertyTypeNullableRequiredPermissionDescription
@odata.contextStringread-onlyThe OData description of a payload.
Format: uri
@odata.idStringread-onlyThe unique identifier for a resource.
Format: uri
@odata.typeStringread-onlyThe type of a resource.
Actions {Objectread-writeThe available actions for this resource.
    Oem { }Objectread-writeThe available OEM specific actions for this resource.
}
DescriptionStringYesread-onlyProvides a description of this resource and is used for commonality in the schema definitions.
IdStringGETread-onlyUniquely identifies the resource within the collection of like resources.
Links {Objectread-writeContains references to other resources that are related to this resource.
    Chassis {Reference(Chassis)read-onlyA reference to the chassis which contains this switch.
        @odata.idStringread-onlyThe unique identifier for a resource.
Format: uri
    }
    Oem { }Objectread-writeOem extension object.
}
NameStringGETread-onlyThe name of the resource or array element.
Oem {Objectread-writeThis is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.
    EID_47597 {Objectread-writeRECS|Box Switch extension
        PCIeFunctions {Reference(PCIeFunctionCollection)Yesread-onlyThis is a link to a collection of PCIeFunctions provided by this switch. They can be exposed by ports of this switch.
            @odata.idStringread-onlyThe unique identifier for a resource.
Format: uri
        }
        SwitchTypeStringread-onlyThe type of the switch.
Possible Values:
  • Ethernet
  • PCIe
        VLANs {Reference(VLanNetworkInterfaceCollection)Yesread-onlyThis is a link to a collection of VLANs provided by this switch. They can be added to ports of this switch.
            @odata.idStringread-onlyThe unique identifier for a resource.
Format: uri
        }
    }
}
Ports {Reference(PortCollection)read-onlyA collection of references to the ports for this switch.
    @odata.idStringread-onlyThe unique identifier for a resource.
Format: uri
}
PowerStateStringYesread-onlyThis is the current power state of the switch.
Possible Values:
  • On: The state is powered On.
  • Off: The state is powered Off.
  • PoweringOn: A temporary state between Off and On.
  • PoweringOff: A temporary state between On and Off.
Status {Objectread-writeThis type describes the status and health of a resource and its children.
    HealthStringYesread-onlyThis represents the health state of this resource in the absence of its dependent resources.
Possible Values:
  • OK: Normal.
  • Warning: A condition exists that requires attention.
  • Critical: A critical condition exists that requires immediate attention.
    HealthRollupStringYesread-onlyThis represents the overall health state from the view of this resource.
Possible Values:
  • OK: Normal.
  • Warning: A condition exists that requires attention.
  • Critical: A critical condition exists that requires immediate attention.
    Oem { }Objectread-writeOem extension object.
    StateStringYesread-onlyThis indicates the known state of the resource, such as if it is enabled.
Possible Values:
  • Enabled: This function or resource has been enabled.
  • Disabled: This function or resource has been disabled.
  • StandbyOffline: This function or resource is enabled, but awaiting an external action to activate it.
  • StandbySpare: This function or resource is part of a redundancy set and is awaiting a failover or other external action to activate it.
  • InTest: This function or resource is undergoing testing.
  • Starting: This function or resource is starting.
  • Absent: This function or resource is not present or not detected.
  • UnavailableOffline: This function or resource is present but cannot be used.
  • Deferring: The element will not process any commands but will queue new requests.
  • Quiesced: The element is enabled but only processes a restricted set of commands.
  • Updating: The element is updating and may be unavailable or degraded.
}
TotalSwitchWidthInt64Yesread-onlyThe total number of lanes, phys, or other physical transport links that this switch contains.

Operations

GET

Request

GET /redfish/v1/Chassis/Chassis1/Switch1
Content-Type: application/json

Response

{
    "@odata.context": "uri",
    "@odata.id": "/redfish/v1/Chassis/Chassis1/Switch1",
    "@odata.type": "String",
    "Actions": {
        "Oem": { }
    }
    "Description": "String",
    "Id": "String",
    "Links": {
        "Chassis": {
            "@odata.id": "/redfish/v1/Chassis/Chassis1"
        },
        "Oem": { }
    }
    "Name": "String",
    "Oem": {
        "EID_47597": {
            "PCIeFunctions": {
                "@odata.id": "/redfish/v1/Chassis/Chassis1/Switch1/PCIeFunctions"
            },
            "SwitchType": "Ethernet",
            "VLANs": {
                "@odata.id": "/redfish/v1/Chassis/Chassis1/Switch1/VLANs"
            }
        }
    }
    "Ports": {
        "@odata.id": "/redfish/v1/Chassis/Chassis1/Switch1/Ports"
    },
    "PowerState": "On",
    "Status": {
        "Health": "OK",
        "HealthRollup": "OK",
        "Oem": { },
        "State": "Enabled"
    }
    "TotalSwitchWidth": 0
}

POST

This operation is not supported on this resource and will result in the following response:

HTTP/1.1 405 Method Not Allowed

PATCH

This operation is not supported on this resource and will result in the following response:

HTTP/1.1 405 Method Not Allowed

DELETE

This operation is not supported on this resource and will result in the following response:

HTTP/1.1 405 Method Not Allowed