blob: ad91d6ab5641f2193e00ef41851d332c07539b75 [file] [log] [blame]
Gunnar Mills09b9d452020-02-11 13:27:39 -06001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
4<!--# Redfish Schema: RouteEntry v1.0.0 -->
5<!--# -->
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://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
18 <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
19 </edmx:Reference>
20 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
21 <edmx:Include Namespace="Resource"/>
22 <edmx:Include Namespace="Resource.v1_0_0"/>
23 </edmx:Reference>
24 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
25 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
26 </edmx:Reference>
27 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
28 <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
29 </edmx:Reference>
30 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RouteSetEntryCollection_v1.xml">
31 <edmx:Include Namespace="RouteSetEntryCollection"/>
32 </edmx:Reference>
33
34 <edmx:DataServices>
35
36 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RouteEntry">
37 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
38
39 <EntityType Name="RouteEntry" BaseType="Resource.v1_0_0.Resource" Abstract="true">
40 <Annotation Term="OData.Description" String="The RouteEntry schema describes the content of route entry rows. Each route entry contains route sets that list the possible routes for the route entry."/>
41 <Annotation Term="OData.LongDescription" String="This Resource shall represent the content of route entry rows in the Redfish Specification."/>
42 <Annotation Term="Capabilities.InsertRestrictions">
43 <Record>
44 <PropertyValue Property="Insertable" Bool="false"/>
45 </Record>
46 </Annotation>
47 <Annotation Term="Capabilities.UpdateRestrictions">
48 <Record>
49 <PropertyValue Property="Updatable" Bool="true"/>
50 <Annotation Term="OData.Description" String="The route entry can be updated to enable or disable it."/>
51 </Record>
52 </Annotation>
53 <Annotation Term="Capabilities.DeleteRestrictions">
54 <Record>
55 <PropertyValue Property="Deletable" Bool="true"/>
56 </Record>
57 </Annotation>
58 <Annotation Term="Redfish.Uris">
59 <Collection>
60 <String>/redfish/v1/Fabrics/{FabricId}/Switches/{SwitchId}/Ports/{PortId}/LPRT/{LPRTId}</String>
61 <String>/redfish/v1/Fabrics/{FabricId}/Switches/{SwitchId}/Ports/{PortId}/MPRT/{MPRTId}</String>
62 <String>/redfish/v1/Systems/{ComputerSystemId}/FabricAdapters/{FabricAdapterId}/MSDT/{MSDTId}</String>
63 <String>/redfish/v1/Systems/{ComputerSystemId}/FabricAdapters/{FabricAdapterId}/SSDT/{SSDTId}</String>
64 <String>/redfish/v1/Systems/{ComputerSystemId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/LPRT/{LPRTId}</String>
65 <String>/redfish/v1/Systems/{ComputerSystemId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/MPRT/{MPRTId}</String>
66 </Collection>
67 </Annotation>
68 </EntityType>
69
70 </Schema>
71
72 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RouteEntry.v1_0_0">
73 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
74 <Annotation Term="Redfish.Release" String="2019.4"/>
75
76 <EntityType Name="RouteEntry" BaseType="RouteEntry.RouteEntry">
77 <NavigationProperty Name="RouteSet" Type="RouteSetEntryCollection.RouteSetEntryCollection" ContainsTarget="true" Nullable="false">
78 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
79 <Annotation Term="OData.Description" String="The link to the collection of route set entries associated with this route."/>
80 <Annotation Term="OData.LongDescription" String="This property shall contain a link to a Resource Collection of type RouteSetEntryCollection."/>
81 <Annotation Term="OData.AutoExpandReferences"/>
82 </NavigationProperty>
83 <Property Name="RawEntryHex" Type="Edm.String" Nullable="false">
84 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
85 <Annotation Term="OData.Description" String="The raw data of route entry rows."/>
86 <Annotation Term="OData.LongDescription" String="This property shall contain a binary data that represents the content of route entry rows."/>
87 <Annotation Term="Validation.Pattern" String="^0[xX](([a-fA-F]|[0-9]){2}){8}$"/>
88 </Property>
89 <Property Name="MinimumHopCount" Type="Edm.Int64" Nullable="false">
90 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
91 <Annotation Term="OData.Description" String="The minimum number of hops."/>
92 <Annotation Term="OData.LongDescription" String="This property shall indicate the minimum hop count used to calculate the computed hop count."/>
93 </Property>
94 <Property Name="Actions" Type="RouteEntry.v1_0_0.Actions" Nullable="false">
95 <Annotation Term="OData.Description" String="The available actions for this Resource."/>
96 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this Resource."/>
97 </Property>
98 </EntityType>
99
100 <ComplexType Name="Actions">
101 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
102 <Annotation Term="OData.Description" String="The available actions for this Resource."/>
103 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this Resource."/>
104 <Property Name="Oem" Type="RouteEntry.v1_0_0.OemActions" Nullable="false">
105 <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/>
106 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this Resource."/>
107 </Property>
108 </ComplexType>
109
110 <ComplexType Name="OemActions">
111 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
112 <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/>
113 <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this Resource."/>
114 </ComplexType>
115 </Schema>
116
117 </edmx:DataServices>
118</edmx:Edmx>