xref: /openbmc/bmcweb/features/redfish/schema/dmtf/csdl/VCATEntry_v1.xml (revision d125652e8a30dfeaad88bbfa5b1e04a80610469c)
12bde4061SEd Tanous<?xml version="1.0" encoding="UTF-8"?>
22bde4061SEd Tanous<!---->
32bde4061SEd Tanous<!--################################################################################       -->
4f2a8e57eSGunnar Mills<!--# Redfish Schema:  VCATEntry v1.0.3                                                    -->
52bde4061SEd Tanous<!--#                                                                                      -->
62bde4061SEd Tanous<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->
72bde4061SEd Tanous<!--# available at http://www.dmtf.org/standards/redfish                                   -->
8*d125652eSGunnar Mills<!--# Copyright 2014-2025 DMTF.                                                            -->
92bde4061SEd Tanous<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
102bde4061SEd Tanous<!--################################################################################       -->
112bde4061SEd Tanous<!---->
122bde4061SEd Tanous<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
132bde4061SEd Tanous
142bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
152bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
162bde4061SEd Tanous  </edmx:Reference>
172bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
182bde4061SEd Tanous    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
192bde4061SEd Tanous    <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
202bde4061SEd Tanous  </edmx:Reference>
212bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
222bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
232bde4061SEd Tanous  </edmx:Reference>
242bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
252bde4061SEd Tanous    <edmx:Include Namespace="Resource"/>
262bde4061SEd Tanous    <edmx:Include Namespace="Resource.v1_0_0"/>
272bde4061SEd Tanous  </edmx:Reference>
282bde4061SEd Tanous
292bde4061SEd Tanous  <edmx:DataServices>
302bde4061SEd Tanous
312bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VCATEntry">
322bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
33f2a8e57eSGunnar Mills      <Annotation Term="Redfish.Language" String="en"/>
342bde4061SEd Tanous
352bde4061SEd Tanous      <EntityType Name="VCATEntry" BaseType="Resource.v1_0_0.Resource" Abstract="true">
36f2a8e57eSGunnar Mills        <Annotation Term="OData.Description" String="The `VCATEntry` schema defines an entry in a Virtual Channel Action Table.  A Virtual Channel is a mechanism used to create multiple, logical communication streams across a physical link."/>
372bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This resource shall represent an entry of Virtual Channel Action Table in a Redfish implementation."/>
382bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
392bde4061SEd Tanous        <Annotation Term="Capabilities.InsertRestrictions">
402bde4061SEd Tanous          <Record>
412bde4061SEd Tanous            <PropertyValue Property="Insertable" Bool="false"/>
422bde4061SEd Tanous          </Record>
432bde4061SEd Tanous        </Annotation>
442bde4061SEd Tanous        <Annotation Term="Capabilities.UpdateRestrictions">
452bde4061SEd Tanous          <Record>
462bde4061SEd Tanous            <PropertyValue Property="Updatable" Bool="true"/>
472bde4061SEd Tanous          </Record>
482bde4061SEd Tanous        </Annotation>
492bde4061SEd Tanous        <Annotation Term="Capabilities.DeleteRestrictions">
502bde4061SEd Tanous          <Record>
512bde4061SEd Tanous            <PropertyValue Property="Deletable" Bool="true"/>
522bde4061SEd Tanous          </Record>
532bde4061SEd Tanous        </Annotation>
542bde4061SEd Tanous        <Annotation Term="Redfish.Uris">
552bde4061SEd Tanous          <Collection>
562bde4061SEd Tanous            <String>/redfish/v1/Fabrics/{FabricId}/Switches/{SwitchId}/Ports/{PortId}/VCAT/{VCATEntryId}</String>
572bde4061SEd Tanous            <String>/redfish/v1/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/VCAT/{VCATEntryId}</String>
582bde4061SEd Tanous            <String>/redfish/v1/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/REQ-VCAT/{VCATEntryId}</String>
592bde4061SEd Tanous            <String>/redfish/v1/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/RSP-VCAT/{VCATEntryId}</String>
602bde4061SEd Tanous            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/VCAT/{VCATEntryId}</String>
612bde4061SEd Tanous            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/REQ-VCAT/{VCATEntryId}</String>
622bde4061SEd Tanous            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/RSP-VCAT/{VCATEntryId}</String>
632bde4061SEd Tanous            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/VCAT/{VCATEntryId}</String>
642bde4061SEd Tanous            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/REQ-VCAT/{VCATEntryId}</String>
652bde4061SEd Tanous            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/RSP-VCAT/{VCATEntryId}</String>
662bde4061SEd Tanous            <String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/VCAT/{VCATEntryId}</String>
672bde4061SEd Tanous            <String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/REQ-VCAT/{VCATEntryId}</String>
682bde4061SEd Tanous            <String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/RSP-VCAT/{VCATEntryId}</String>
692bde4061SEd Tanous            <String>/redfish/v1/Fabrics/{FabricId}/Switches/{SwitchId}/Ports/{PortId}/GenZ/VCAT/{VCATEntryId}</String>
702bde4061SEd Tanous            <String>/redfish/v1/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/GenZ/VCAT/{VCATEntryId}</String>
712bde4061SEd Tanous            <String>/redfish/v1/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/GenZ/REQ-VCAT/{VCATEntryId}</String>
722bde4061SEd Tanous            <String>/redfish/v1/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/GenZ/RSP-VCAT/{VCATEntryId}</String>
732bde4061SEd Tanous            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/GenZ/VCAT/{VCATEntryId}</String>
742bde4061SEd Tanous            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/GenZ/REQ-VCAT/{VCATEntryId}</String>
752bde4061SEd Tanous            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/GenZ/RSP-VCAT/{VCATEntryId}</String>
762bde4061SEd Tanous            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/GenZ/VCAT/{VCATEntryId}</String>
772bde4061SEd Tanous            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/GenZ/REQ-VCAT/{VCATEntryId}</String>
782bde4061SEd Tanous            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/GenZ/RSP-VCAT/{VCATEntryId}</String>
792bde4061SEd Tanous            <String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/GenZ/VCAT/{VCATEntryId}</String>
802bde4061SEd Tanous            <String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/GenZ/REQ-VCAT/{VCATEntryId}</String>
812bde4061SEd Tanous            <String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/GenZ/RSP-VCAT/{VCATEntryId}</String>
822bde4061SEd Tanous          </Collection>
832bde4061SEd Tanous        </Annotation>
842bde4061SEd Tanous        <Annotation Term="Redfish.DeprecatedUris">
852bde4061SEd Tanous          <Collection>
862bde4061SEd Tanous            <String>/redfish/v1/Fabrics/{FabricId}/Switches/{SwitchId}/Ports/{PortId}/VCAT/{VCATEntryId}</String>
872bde4061SEd Tanous            <String>/redfish/v1/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/VCAT/{VCATEntryId}</String>
882bde4061SEd Tanous            <String>/redfish/v1/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/REQ-VCAT/{VCATEntryId}</String>
892bde4061SEd Tanous            <String>/redfish/v1/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/RSP-VCAT/{VCATEntryId}</String>
902bde4061SEd Tanous            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/VCAT/{VCATEntryId}</String>
912bde4061SEd Tanous            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/REQ-VCAT/{VCATEntryId}</String>
922bde4061SEd Tanous            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/RSP-VCAT/{VCATEntryId}</String>
932bde4061SEd Tanous            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/VCAT/{VCATEntryId}</String>
942bde4061SEd Tanous            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/REQ-VCAT/{VCATEntryId}</String>
952bde4061SEd Tanous            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/RSP-VCAT/{VCATEntryId}</String>
962bde4061SEd Tanous            <String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/VCAT/{VCATEntryId}</String>
972bde4061SEd Tanous            <String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/REQ-VCAT/{VCATEntryId}</String>
982bde4061SEd Tanous            <String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/RSP-VCAT/{VCATEntryId}</String>
992bde4061SEd Tanous          </Collection>
1002bde4061SEd Tanous        </Annotation>
1012bde4061SEd Tanous      </EntityType>
1022bde4061SEd Tanous    </Schema>
1032bde4061SEd Tanous
1042bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VCATEntry.v1_0_0">
1052bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1062bde4061SEd Tanous      <Annotation Term="Redfish.Release" String="2019.4"/>
1072bde4061SEd Tanous
1082bde4061SEd Tanous      <EntityType Name="VCATEntry" BaseType="VCATEntry.VCATEntry">
1092bde4061SEd Tanous        <Property Name="RawEntryHex" Type="Edm.String">
1102bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
1112bde4061SEd Tanous          <Annotation Term="OData.Description" String="The hexadecimal value of the Virtual Channel Action Table entries."/>
1122bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the hexadecimal value of the Virtual Channel Action Table entries.  The length of the hexadecimal value depends on the number of Virtual Channel Action entries supported by the component."/>
1132bde4061SEd Tanous          <Annotation Term="Validation.Pattern" String="^0[xX](([a-fA-F]|[0-9])*)$"/>
1142bde4061SEd Tanous        </Property>
1152bde4061SEd Tanous        <Property Name="VCEntries" Type="Collection(VCATEntry.v1_0_0.VCATableEntry)" Nullable="false">
1162bde4061SEd Tanous          <Annotation Term="OData.Description" String="An array of entries of the Virtual Channel Action Table."/>
1172bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain an array of entries of the Virtual Channel Action Table.  The length of the array depends on the number of Virtual Channel Action entries supported by the component."/>
1182bde4061SEd Tanous        </Property>
1192bde4061SEd Tanous        <Property Name="Actions" Type="VCATEntry.v1_0_0.Actions" Nullable="false">
1202bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available actions for this resource."/>
1212bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
1222bde4061SEd Tanous        </Property>
1232bde4061SEd Tanous      </EntityType>
1242bde4061SEd Tanous
1252bde4061SEd Tanous      <ComplexType Name="VCATableEntry">
1262bde4061SEd Tanous        <Annotation Term="OData.Description" String="The Virtual Channel Action Table entry corresponding to a specific Virtual Channel."/>
1272bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain a Virtual Channel entry definition that describes a specific Virtual Channel."/>
1282bde4061SEd Tanous        <Property Name="VCMask" Type="Edm.String">
1292bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
1302bde4061SEd Tanous          <Annotation Term="OData.Description" String="The bits corresponding to the supported Virtual Channel."/>
1312bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain a 32-bit value where the bits correspond to a supported Virtual Channel."/>
1322bde4061SEd Tanous          <Annotation Term="Validation.Pattern" String="^0[xX](([a-fA-F]|[0-9]){2}){4}$"/>
1332bde4061SEd Tanous        </Property>
1342bde4061SEd Tanous        <Property Name="Threshold" Type="Edm.String">
1352bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
1362bde4061SEd Tanous          <Annotation Term="OData.Description" String="The configured threshold."/>
1372bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the Gen-Z Core Specification-defined 'TH' 7-bit threshold."/>
1382bde4061SEd Tanous          <Annotation Term="Validation.Pattern" String="^0[xX]([a-fA-F]|[0-9]){2}$"/>
1392bde4061SEd Tanous        </Property>
1402bde4061SEd Tanous      </ComplexType>
1412bde4061SEd Tanous
1422bde4061SEd Tanous      <ComplexType Name="Actions">
1432bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
1442bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available actions for this resource."/>
1452bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
1462bde4061SEd Tanous        <Property Name="Oem" Type="VCATEntry.v1_0_0.OemActions" Nullable="false">
1472bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
1482bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
1492bde4061SEd Tanous        </Property>
1502bde4061SEd Tanous      </ComplexType>
1512bde4061SEd Tanous
1522bde4061SEd Tanous      <ComplexType Name="OemActions">
1532bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
1542bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
1552bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
1562bde4061SEd Tanous      </ComplexType>
1572bde4061SEd Tanous    </Schema>
1582bde4061SEd Tanous
1592bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VCATEntry.v1_0_1">
1602bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1612bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to correct the permissions for several properties to be writable."/>
1622bde4061SEd Tanous      <EntityType Name="VCATEntry" BaseType="VCATEntry.v1_0_0.VCATEntry"/>
1632bde4061SEd Tanous    </Schema>
1642bde4061SEd Tanous
1652bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VCATEntry.v1_0_2">
1662bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1672bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
1682bde4061SEd Tanous      <EntityType Name="VCATEntry" BaseType="VCATEntry.v1_0_1.VCATEntry"/>
1692bde4061SEd Tanous    </Schema>
1702bde4061SEd Tanous
171f2a8e57eSGunnar Mills    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VCATEntry.v1_0_3">
172f2a8e57eSGunnar Mills      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
173f2a8e57eSGunnar Mills      <Annotation Term="OData.Description" String="This version was created to force the regeneration of OpenAPI schemas to properly express nullable properties with external references.  It was also created to correct various typographical errors."/>
174f2a8e57eSGunnar Mills      <EntityType Name="VCATEntry" BaseType="VCATEntry.v1_0_2.VCATEntry"/>
175f2a8e57eSGunnar Mills    </Schema>
176f2a8e57eSGunnar Mills
1772bde4061SEd Tanous  </edmx:DataServices>
1782bde4061SEd Tanous</edmx:Edmx>
179