summaryrefslogtreecommitdiff
path: root/static/redfish/v1/schema
diff options
context:
space:
mode:
authorShantappa Teekappanavar <sbteeks@yahoo.com>2021-12-17 04:02:52 +0300
committerEd Tanous <ed@tanous.net>2022-01-26 21:27:54 +0300
commit9c929bea78857633f2b71b356abf4aa4b1ac56d2 (patch)
tree33c1dc9af157337eebf9589900a3406d777d4c55 /static/redfish/v1/schema
parent71b861b64bde714410c4fe94f1628a70cb6b17aa (diff)
downloadbmcweb-9c929bea78857633f2b71b356abf4aa4b1ac56d2.tar.xz
Implement Cable schema
This commit implements Cable and Cable collection schema on bmcweb. Testing: Validator: @odata.id /redfish/v1/Cables odata Exists PASS @odata.type #CableCollection.CableCollection odata Exists PASS Members@odata.count 2 odata Exists PASS Members Array (size: 2) links: Cable Yes ... Members[0] Link: /redfish/v1/Cables/dp0_cable0 link: Cable Yes PASS Members[1] Link: /redfish/v1/Cables/dp0_cable1 link: Cable Yes PASS Description Collection of Cable Entries none Yes PASS Name Cable Collection none Yes PASS Oem - Resource.Oem No Optional Property Name Value Type Exists Result @odata.id /redfish/v1/Cables/dp0_cable0 odata Exists PASS @odata.type #Cable.v1_0_0.Cable odata Exists PASS CableType string Yes PASS LengthMeters - number No Optional Id dp0_cable0 none Yes PASS Name Cable none Yes PASS Property Name Value Type Exists Result @odata.id /redfish/v1/Cables/dp0_cable1 odata Exists PASS @odata.type #Cable.v1_0_0.Cable odata Exists PASS CableType string Yes PASS LengthMeters - number No Optional Id dp0_cable1 none Yes PASS Name Cable none Yes PASS Note: Removed some of the fields that are optional to reduce commit msg Tesing with Curl commands: $ curl -k -X GET https://{$bmc}/redfish/v1/Cables { "@odata.id": "/redfish/v1/Cables", "@odata.type": "#CableCollection.CableCollection", "Description": "Collection of Cable Entries", "Members": [ { "@odata.id": "/redfish/v1/Cables/dp0_cable0" }, { "@odata.id": "/redfish/v1/Cables/dp0_cable1" } ], "Members@odata.count": 2, "Name": "Cable Collection" } $ curl -k -X GET https://{$bmc}/redfish/v1/Cables/dp0_cable0 { "@odata.id": "/redfish/v1/Cables/dp0_cable0", "@odata.type": "#Cable.v1_0_0.Cable", "CableType": "", "Id": "dp0_cable0", "Name": "Cable" } $ curl -k -X GET https://{$bmc}/redfish/v1/Cables/dp0_cable1 { "@odata.id": "/redfish/v1/Cables/dp0_cable1", "@odata.type": "#Cable.v1_0_0.Cable", "CableType": "", "Id": "dp0_cable1", "Name": "Cable" } Set Length property to 1.5 meters using busctl, and check the properties busctl set-property xyz.openbmc_project.Inventory.Manager \ /xyz/openbmc_project/inventory/cables/dp0_cable0 \ xyz.openbmc_project.Inventory.Item.Cable Length d 1.5 $ curl -k -X GET https://{$bmc}/redfish/v1/Cables/dp0_cable0 { "@odata.id": "/redfish/v1/Cables/dp0_cable0", "@odata.type": "#Cable.v1_0_0.Cable", "CableType": "", "Id": "dp0_cable0", "LengthMeters": 1.5, "Name": "Cable" } Signed-off-by: Shantappa Teekappanavar <sbteeks@yahoo.com> Change-Id: I832ff1c1053f4d8100d04a42cc8046a61e8c1613
Diffstat (limited to 'static/redfish/v1/schema')
-rw-r--r--static/redfish/v1/schema/CableCollection_v1.xml70
-rw-r--r--static/redfish/v1/schema/Cable_v1.xml367
2 files changed, 437 insertions, 0 deletions
diff --git a/static/redfish/v1/schema/CableCollection_v1.xml b/static/redfish/v1/schema/CableCollection_v1.xml
new file mode 100644
index 0000000000..10bad5356a
--- /dev/null
+++ b/static/redfish/v1/schema/CableCollection_v1.xml
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!---->
+<!--################################################################################ -->
+<!--# Redfish Schema: CableCollection -->
+<!--# -->
+<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
+<!--# available at http://www.dmtf.org/standards/redfish -->
+<!--# Copyright 2014-2021 DMTF. -->
+<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
+<!--################################################################################ -->
+<!---->
+<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
+
+ <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
+ <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
+ </edmx:Reference>
+ <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
+ <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
+ </edmx:Reference>
+ <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
+ <edmx:Include Namespace="Resource.v1_0_0"/>
+ </edmx:Reference>
+ <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
+ <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
+ </edmx:Reference>
+ <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Cable_v1.xml">
+ <edmx:Include Namespace="Cable"/>
+ </edmx:Reference>
+
+ <edmx:DataServices>
+
+ <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CableCollection">
+ <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
+
+ <EntityType Name="CableCollection" BaseType="Resource.v1_0_0.ResourceCollection">
+ <Annotation Term="OData.Description" String="The collection of Cable resource instances."/>
+ <Annotation Term="OData.LongDescription" String="This resource shall represent a resource collection of Cable instances for a Redfish implementation."/>
+ <Annotation Term="Capabilities.InsertRestrictions">
+ <Record>
+ <PropertyValue Property="Insertable" Bool="true"/>
+ <Annotation Term="OData.Description" String="Cables can be added through a POST to the cable collection."/>
+ </Record>
+ </Annotation>
+ <Annotation Term="Capabilities.UpdateRestrictions">
+ <Record>
+ <PropertyValue Property="Updatable" Bool="false"/>
+ </Record>
+ </Annotation>
+ <Annotation Term="Capabilities.DeleteRestrictions">
+ <Record>
+ <PropertyValue Property="Deletable" Bool="false"/>
+ </Record>
+ </Annotation>
+ <Annotation Term="Redfish.Uris">
+ <Collection>
+ <String>/redfish/v1/Cables</String>
+ </Collection>
+ </Annotation>
+ <NavigationProperty Name="Members" Type="Collection(Cable.Cable)">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The members of this collection."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to the members of this collection."/>
+ <Annotation Term="OData.AutoExpandReferences"/>
+ <Annotation Term="Redfish.Required"/>
+ </NavigationProperty>
+ </EntityType>
+ </Schema>
+
+ </edmx:DataServices>
+</edmx:Edmx>
diff --git a/static/redfish/v1/schema/Cable_v1.xml b/static/redfish/v1/schema/Cable_v1.xml
new file mode 100644
index 0000000000..feadc62a90
--- /dev/null
+++ b/static/redfish/v1/schema/Cable_v1.xml
@@ -0,0 +1,367 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!---->
+<!--################################################################################ -->
+<!--# Redfish Schema: Cable v1.1.0 -->
+<!--# -->
+<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
+<!--# available at http://www.dmtf.org/standards/redfish -->
+<!--# Copyright 2014-2021 DMTF. -->
+<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
+<!--################################################################################ -->
+<!---->
+<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
+
+ <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
+ <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
+ </edmx:Reference>
+ <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
+ <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
+ </edmx:Reference>
+ <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
+ <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
+ </edmx:Reference>
+ <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
+ <edmx:Include Namespace="Resource"/>
+ <edmx:Include Namespace="Resource.v1_0_0"/>
+ </edmx:Reference>
+ <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Chassis_v1.xml">
+ <edmx:Include Namespace="Chassis"/>
+ </edmx:Reference>
+ <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Port_v1.xml">
+ <edmx:Include Namespace="Port"/>
+ </edmx:Reference>
+ <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Assembly_v1.xml">
+ <edmx:Include Namespace="Assembly"/>
+ </edmx:Reference>
+
+ <edmx:DataServices>
+
+ <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Cable">
+ <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
+
+ <EntityType Name="Cable" BaseType="Resource.v1_0_0.Resource" Abstract="true">
+ <Annotation Term="OData.AdditionalProperties" Bool="true"/>
+ <Annotation Term="OData.Description" String="The Cable schema contains properties that describe a cable connecting endpoints of a chassis, port, or any other cable-compatible endpoint."/>
+ <Annotation Term="OData.LongDescription" String="This resource contains a simple cable for a Redfish implementation."/>
+ <Annotation Term="Capabilities.InsertRestrictions">
+ <Record>
+ <PropertyValue Property="Insertable" Bool="false"/>
+ </Record>
+ </Annotation>
+ <Annotation Term="Capabilities.UpdateRestrictions">
+ <Record>
+ <PropertyValue Property="Updatable" Bool="true"/>
+ </Record>
+ </Annotation>
+ <Annotation Term="Capabilities.DeleteRestrictions">
+ <Record>
+ <PropertyValue Property="Deletable" Bool="true"/>
+ </Record>
+ </Annotation>
+ <Annotation Term="Redfish.Uris">
+ <Collection>
+ <String>/redfish/v1/Cables/{CableId}</String>
+ </Collection>
+ </Annotation>
+ </EntityType>
+ </Schema>
+
+ <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Cable.v1_0_0">
+ <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
+ <Annotation Term="Redfish.Release" String="2021.2"/>
+
+ <EntityType Name="Cable" BaseType="Cable.Cable">
+ <Property Name="UserDescription" Type="Edm.String">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="The description of this cable."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain a user-defined description for this cable."/>
+ </Property>
+ <Property Name="CableType" Type="Edm.String">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="The type of this cable."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain a user-defined type for this cable."/>
+ </Property>
+ <Property Name="LengthMeters" Type="Edm.Decimal">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="The length of the cable in meters."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the length of the cable in meters."/>
+ </Property>
+ <Property Name="DownstreamName" Type="Edm.String">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="The identifier for the downstream resource."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain any identifier for a downstream resource."/>
+ </Property>
+ <Property Name="UpstreamName" Type="Edm.String">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="The identifier for the downstream resource."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain any identifier for an upstream resource."/>
+ </Property>
+ <Property Name="Actions" Type="Cable.v1_0_0.Actions" Nullable="false">
+ <Annotation Term="OData.Description" String="The available actions for this resource."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
+ </Property>
+ <Property Name="Model" Type="Edm.String">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="The model number of the cable."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the name by which the manufacturer generally refers to the cable."/>
+ </Property>
+ <Property Name="Manufacturer" Type="Edm.String">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="The manufacturer of this cable."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the name of the organization responsible for producing the cable. This organization might be the entity from whom the cable is purchased, but this is not necessarily true."/>
+ </Property>
+ <Property Name="Vendor" Type="Edm.String">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="The manufacturer of this cable."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the name of the company that provides the final product that includes this cable."/>
+ </Property>
+ <Property Name="SKU" Type="Edm.String">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="The SKU for this cable."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the stock-keeping unit (SKU) number for this cable."/>
+ </Property>
+ <Property Name="SerialNumber" Type="Edm.String">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="The serial number for this cable."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the manufacturer-allocated number that identifies the cable."/>
+ </Property>
+ <Property Name="PartNumber" Type="Edm.String">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="The part number for this cable."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the part number assigned by the organization that is responsible for producing or manufacturing the cable."/>
+ </Property>
+ <Property Name="AssetTag" Type="Edm.String">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="The user-assigned asset tag for this cable."/>
+ <Annotation Term="OData.LongDescription" String="This property shall track the cable for inventory purposes."/>
+ </Property>
+ <Property Name="CableClass" Type="Cable.v1_0_0.CableClass">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="The identifier for the downstream resource."/>
+ <Annotation Term="OData.LongDescription" String="The property shall contain the cable class for this cable."/>
+ </Property>
+ <Property Name="DownstreamConnectorTypes" Type="Collection(Cable.v1_0_0.ConnectorType)" Nullable="false">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="The connector types this cable supports."/>
+ <Annotation Term="OData.LongDescription" String="The property shall contain an array of connector types this cable supports."/>
+ </Property>
+ <Property Name="UpstreamConnectorTypes" Type="Collection(Cable.v1_0_0.ConnectorType)" Nullable="false">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="The connector types this cable supports."/>
+ <Annotation Term="OData.LongDescription" String="The property shall contain an array of connector types this cable supports."/>
+ </Property>
+ <Property Name="Links" Type="Cable.v1_0_0.Links" Nullable="false">
+ <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain links to resources that are related to but are not contained by, or subordinate to, this resource."/>
+ </Property>
+ <Property Name="CableStatus" Type="Cable.v1_0_0.CableStatus" Nullable="false">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="The user-reported status of this resource."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the user-reported status of this resource."/>
+ </Property>
+ <Property Name="Status" Type="Resource.Status" Nullable="false">
+ <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
+ </Property>
+ <Property Name="Location" Type="Resource.Location" Nullable="false">
+ <Annotation Term="OData.Description" String="The location of the assembly."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain location information of the associated assembly."/>
+ </Property>
+ <NavigationProperty Name="Assembly" Type="Assembly.Assembly" ContainsTarget="true" Nullable="false">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The link to the assembly associated with this cable."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource of type Assembly."/>
+ <Annotation Term="OData.AutoExpandReferences"/>
+ </NavigationProperty>
+ </EntityType>
+
+ <EnumType Name="CableClass">
+ <Member Name="Power">
+ <Annotation Term="OData.Description" String="This cable is used for connecting to a power system."/>
+ </Member>
+ <Member Name="Network">
+ <Annotation Term="OData.Description" String="This cable is used for connecting to a networking system."/>
+ </Member>
+ <Member Name="Storage">
+ <Annotation Term="OData.Description" String="This cable is used for connecting to a storage system."/>
+ </Member>
+ <Member Name="Fan">
+ <Annotation Term="OData.Description" String="This cable is used for connecting to a fan system."/>
+ </Member>
+ <Member Name="PCIe">
+ <Annotation Term="OData.Description" String="This cable is used for connecting to a PCIe endpoint."/>
+ </Member>
+ <Member Name="USB">
+ <Annotation Term="OData.Description" String="This cable is used for connecting to a USB endpoint."/>
+ </Member>
+ <Member Name="Video">
+ <Annotation Term="OData.Description" String="This cable is used for connecting to a video system."/>
+ </Member>
+ <Member Name="Fabric">
+ <Annotation Term="OData.Description" String="This cable is used for connecting to a fabric."/>
+ </Member>
+ <Member Name="Serial">
+ <Annotation Term="OData.Description" String="This cable is used for connecting to a serial endpoint."/>
+ </Member>
+ <Member Name="General">
+ <Annotation Term="OData.Description" String="This cable is used for providing general connectivity."/>
+ </Member>
+ </EnumType>
+
+ <EnumType Name="ConnectorType">
+ <Member Name="ACPower">
+ <Annotation Term="OData.Description" String="This cable connects to a AC power connector."/>
+ </Member>
+ <Member Name="DB9">
+ <Annotation Term="OData.Description" String="This cable connects to a DB9 connector."/>
+ </Member>
+ <Member Name="DCPower">
+ <Annotation Term="OData.Description" String="This cable connects to a DC power connector."/>
+ </Member>
+ <Member Name="DisplayPort">
+ <Annotation Term="OData.Description" String="This cable connects to a DisplayPort power connector."/>
+ </Member>
+ <Member Name="HDMI">
+ <Annotation Term="OData.Description" String="This cable connects to an HDMI connector."/>
+ </Member>
+ <Member Name="ICI">
+ <Annotation Term="OData.Description" String="This cable connects to an ICI connector."/>
+ </Member>
+ <Member Name="IPASS">
+ <Annotation Term="OData.Description" String="This cable connects to an IPASS connector."/>
+ </Member>
+ <Member Name="PCIe">
+ <Annotation Term="OData.Description" String="This cable connects to a PCIe connector."/>
+ </Member>
+ <Member Name="Proprietary">
+ <Annotation Term="OData.Description" String="This cable connects to a proprietary connector."/>
+ </Member>
+ <Member Name="RJ45">
+ <Annotation Term="OData.Description" String="This cable connects to an RJ45 connector."/>
+ </Member>
+ <Member Name="SATA">
+ <Annotation Term="OData.Description" String="This cable connects to a SATA connector."/>
+ </Member>
+ <Member Name="SCSI">
+ <Annotation Term="OData.Description" String="This cable connects to a SCSI connector."/>
+ </Member>
+ <Member Name="SlimSAS">
+ <Annotation Term="OData.Description" String="This cable connects to a SlimSAS connector."/>
+ </Member>
+ <Member Name="SFP">
+ <Annotation Term="OData.Description" String="This cable connects to a SFP connector."/>
+ </Member>
+ <Member Name="SFPPlus">
+ <Annotation Term="OData.Description" String="This cable connects to a SFPPlus connector."/>
+ </Member>
+ <Member Name="USBA">
+ <Annotation Term="OData.Description" String="This cable connects to a USB-A connector."/>
+ </Member>
+ <Member Name="USBC">
+ <Annotation Term="OData.Description" String="This cable connects to a USB-C connector."/>
+ </Member>
+ <Member Name="QSFP">
+ <Annotation Term="OData.Description" String="This cable connects to a QSFP connector."/>
+ </Member>
+ </EnumType>
+
+ <EnumType Name="CableStatus">
+ <Member Name="Normal">
+ <Annotation Term="OData.Description" String="The cable is operating normally."/>
+ <Annotation Term="OData.LongDescription" String="This value shall indicate the cable is operating normally. The State property in Status shall contain the value `Enabled` and The Health property in Status shall contain the value `OK`."/>
+ </Member>
+ <Member Name="Degraded">
+ <Annotation Term="OData.Description" String="The cable is degraded."/>
+ <Annotation Term="OData.LongDescription" String="This value shall indicate the cable is degraded. The State property in Status shall contain the value `Enabled` and The Health property in Status shall contain the value `Warning`."/>
+ </Member>
+ <Member Name="Failed">
+ <Annotation Term="OData.Description" String="The cable has failed."/>
+ <Annotation Term="OData.LongDescription" String="This value shall indicate the cable has failed. The State property in Status shall contain the value `Enabled` and The Health property in Status shall contain the value `Critical`."/>
+ </Member>
+ <Member Name="Testing">
+ <Annotation Term="OData.Description" String="The cable is under test."/>
+ <Annotation Term="OData.LongDescription" String="This value shall indicate the cable is under test. The State property in Status shall contain the value `InTest`."/>
+ </Member>
+ <Member Name="Disabled">
+ <Annotation Term="OData.Description" String="The cable is disabled."/>
+ <Annotation Term="OData.LongDescription" String="This value shall indicate the cable is disabled. The State property in Status shall contain the value `Disabled`."/>
+ </Member>
+ <Member Name="SetByService">
+ <Annotation Term="OData.Description" String="The cable status is set by the service."/>
+ <Annotation Term="OData.LongDescription" String="This value shall indicate the status for the cable is not defined by the user. If implemented, the service shall determine the value of the State and Health properties in Status."/>
+ </Member>
+ </EnumType>
+
+ <ComplexType Name="Actions">
+ <Annotation Term="OData.AdditionalProperties" Bool="false"/>
+ <Annotation Term="OData.Description" String="The available actions for this resource."/>
+ <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
+ <Property Name="Oem" Type="Cable.v1_0_0.OemActions" Nullable="false">
+ <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
+ </Property>
+ </ComplexType>
+
+ <ComplexType Name="OemActions">
+ <Annotation Term="OData.AdditionalProperties" Bool="true"/>
+ <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
+ <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
+ </ComplexType>
+
+ <ComplexType Name="Links" BaseType="Resource.Links">
+ <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/>
+ <Annotation Term="OData.LongDescription" String="This Redfish Specification-described type shall contain links to resources that are related to but are not contained by, or subordinate to, this resource."/>
+ <NavigationProperty Name="DownstreamChassis" Type="Collection(Chassis.Chassis)">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="An array of links to the downstream chassis connected to this cable."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type Chassis that represent the physical downstream containers connected to this cable."/>
+ <Annotation Term="OData.AutoExpandReferences"/>
+ </NavigationProperty>
+ <NavigationProperty Name="UpstreamChassis" Type="Collection(Chassis.Chassis)">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="An array of links to the upstream chassis connected to this cable."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type Chassis that represent the physical upstream containers connected to this cable."/>
+ <Annotation Term="OData.AutoExpandReferences"/>
+ </NavigationProperty>
+ <NavigationProperty Name="DownstreamPorts" Type="Collection(Port.Port)">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="An array of links to the downstream ports connected to this cable."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type Port that represent the physical downstream connections connected to this cable."/>
+ <Annotation Term="OData.AutoExpandReferences"/>
+ </NavigationProperty>
+ <NavigationProperty Name="UpstreamPorts" Type="Collection(Port.Port)">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="An array of links to the upstream ports connected to this cable."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type Port that represent the physical upstream connections connected to this cable."/>
+ <Annotation Term="OData.AutoExpandReferences"/>
+ </NavigationProperty>
+ <NavigationProperty Name="DownstreamResources" Type="Collection(Resource.Resource)">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="An array of links to the downstream resources connected to this cable."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources that represent the physical downstream connections connected to this cable. Even if the resource is already referenced in another property within Links, such as DownstreamPorts or DownstreamChassis, it shall also be referenced in this property."/>
+ <Annotation Term="OData.AutoExpandReferences"/>
+ </NavigationProperty>
+ <NavigationProperty Name="UpstreamResources" Type="Collection(Resource.Resource)">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="An array of links to the upstream resources connected to this cable."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources that represent the physical upstream connections connected to this cable. Even if the resource is already referenced in another property within Links, such as UpstreamPorts or UpstreamChassis, it shall also be referenced in this property."/>
+ <Annotation Term="OData.AutoExpandReferences"/>
+ </NavigationProperty>
+ </ComplexType>
+ </Schema>
+
+ <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Cable.v1_1_0">
+ <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
+ <Annotation Term="Redfish.Release" String="2021.3"/>
+
+ <EntityType Name="Cable" BaseType="Cable.v1_0_0.Cable">
+ <Property Name="UserLabel" Type="Edm.String" Nullable="false">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="A user-assigned label."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain a user-assigned label used to identify this resource. If a value has not been assigned by a user, the value of this property shall be an empty string."/>
+ </Property>
+ </EntityType>
+ </Schema>
+
+ </edmx:DataServices>
+</edmx:Edmx>