blob: 3304488e9ad4960cbcf5da022a4980bc2149287c [file] [log] [blame]
Gunnar Mills09b9d452020-02-11 13:27:39 -06001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -05004<!--# Redfish Schema: VCATEntry v1.0.1 -->
Gunnar Mills09b9d452020-02-11 13:27:39 -06005<!--# -->
6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
7<!--# available at http://www.dmtf.org/standards/redfish -->
Gunnar Millsa778c022020-05-12 12:20:36 -05008<!--# Copyright 2014-2020 DMTF. -->
Gunnar Mills09b9d452020-02-11 13:27:39 -06009<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
10<!--################################################################################ -->
11<!---->
12<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
13
14 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
15 <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
16 </edmx:Reference>
17 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
18 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
19 <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
20 </edmx:Reference>
21 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
22 <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
23 </edmx:Reference>
24 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
25 <edmx:Include Namespace="Resource"/>
26 <edmx:Include Namespace="Resource.v1_0_0"/>
27 </edmx:Reference>
28
29 <edmx:DataServices>
30
31 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VCATEntry">
32 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
33
34 <EntityType Name="VCATEntry" BaseType="Resource.v1_0_0.Resource" Abstract="true">
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050035 <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."/>
36 <Annotation Term="OData.LongDescription" String="This resource shall represent and entry of Virtual Channel Action Table in a Redfish implementation."/>
Gunnar Mills09b9d452020-02-11 13:27:39 -060037 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
38 <Annotation Term="Capabilities.InsertRestrictions">
39 <Record>
40 <PropertyValue Property="Insertable" Bool="false"/>
41 </Record>
42 </Annotation>
43 <Annotation Term="Capabilities.UpdateRestrictions">
44 <Record>
45 <PropertyValue Property="Updatable" Bool="true"/>
46 </Record>
47 </Annotation>
48 <Annotation Term="Capabilities.DeleteRestrictions">
49 <Record>
50 <PropertyValue Property="Deletable" Bool="true"/>
51 </Record>
52 </Annotation>
53 <Annotation Term="Redfish.Uris">
54 <Collection>
55 <String>/redfish/v1/Fabrics/{FabricId}/Switches/{SwitchId}/Ports/{PortId}/VCAT/{VCATEntryId}</String>
56 <String>/redfish/v1/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/VCAT/{VCATEntryId}</String>
57 <String>/redfish/v1/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/REQ-VCAT/{VCATEntryId}</String>
58 <String>/redfish/v1/Systems/{SystemId}/FabricAdapters/{FabricAdapterId}/RSP-VCAT/{VCATEntryId}</String>
59 </Collection>
60 </Annotation>
61 </EntityType>
62 </Schema>
63
64 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VCATEntry.v1_0_0">
65 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
66 <Annotation Term="Redfish.Release" String="2019.4"/>
67
68 <EntityType Name="VCATEntry" BaseType="VCATEntry.VCATEntry">
69 <Property Name="RawEntryHex" Type="Edm.String">
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050070 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
Gunnar Mills09b9d452020-02-11 13:27:39 -060071 <Annotation Term="OData.Description" String="The hexadecimal value of the Virtual Channel Action Table entries."/>
72 <Annotation Term="OData.LongDescription" String="This property shall contain the hexadecimal value of the Virtual Channel Action Table entries. The length of hexadecimal value depends on the number of Virtual Channel Action entries supported by the component."/>
73 <Annotation Term="Validation.Pattern" String="^0[xX](([a-fA-F]|[0-9])*)$"/>
74 </Property>
75 <Property Name="VCEntries" Type="Collection(VCATEntry.v1_0_0.VCATableEntry)" Nullable="false">
76 <Annotation Term="OData.Description" String="An array of entries of the Virtual Channel Action Table."/>
77 <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."/>
78 </Property>
79 <Property Name="Actions" Type="VCATEntry.v1_0_0.Actions" Nullable="false">
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050080 <Annotation Term="OData.Description" String="The available actions for this resource."/>
81 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
Gunnar Mills09b9d452020-02-11 13:27:39 -060082 </Property>
83 </EntityType>
84
85 <ComplexType Name="VCATableEntry">
86 <Annotation Term="OData.Description" String="The Virtual Channel Action Table entry corresponding to a specific Virtual Channel."/>
87 <Annotation Term="OData.LongDescription" String="This type shall contain a Virtual Channel entry definition that describes a specific Virtual Channel."/>
88 <Property Name="VCMask" Type="Edm.String">
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050089 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
Gunnar Mills09b9d452020-02-11 13:27:39 -060090 <Annotation Term="OData.Description" String="The bits corresponding to the supported Virtual Channel."/>
91 <Annotation Term="OData.LongDescription" String="This property shall contain a 32-bit value where the bits correspond to a supported Virtual Channel."/>
92 <Annotation Term="Validation.Pattern" String="^0[xX](([a-fA-F]|[0-9]){2}){4}$"/>
93 </Property>
94 <Property Name="Threshold" Type="Edm.String">
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050095 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
Gunnar Mills09b9d452020-02-11 13:27:39 -060096 <Annotation Term="OData.Description" String="The configured threshold."/>
97 <Annotation Term="OData.LongDescription" String="This property shall contain the Gen-Z Core Specification-defined 'TH' 7-bit threshold."/>
98 <Annotation Term="Validation.Pattern" String="^0[xX]([a-fA-F]|[0-9]){2}$"/>
99 </Property>
100 </ComplexType>
101
102 <ComplexType Name="Actions">
103 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -0500104 <Annotation Term="OData.Description" String="The available actions for this resource."/>
105 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
Gunnar Mills09b9d452020-02-11 13:27:39 -0600106 <Property Name="Oem" Type="VCATEntry.v1_0_0.OemActions" Nullable="false">
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -0500107 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
108 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
Gunnar Mills09b9d452020-02-11 13:27:39 -0600109 </Property>
110 </ComplexType>
111
112 <ComplexType Name="OemActions">
113 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -0500114 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
115 <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
Gunnar Mills09b9d452020-02-11 13:27:39 -0600116 </ComplexType>
117 </Schema>
118
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -0500119 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VCATEntry.v1_0_1">
120 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
121 <Annotation Term="OData.Description" String="This version was created to correct the permissions for several properties to be writable."/>
122 <EntityType Name="VCATEntry" BaseType="VCATEntry.v1_0_0.VCATEntry"/>
123 </Schema>
124
Gunnar Mills09b9d452020-02-11 13:27:39 -0600125 </edmx:DataServices>
126</edmx:Edmx>