1*2bde4061SEd Tanous<?xml version="1.0" encoding="UTF-8"?>
2*2bde4061SEd Tanous<!---->
3*2bde4061SEd Tanous<!--################################################################################       -->
4*2bde4061SEd Tanous<!--# Redfish Schema:  Container v1.0.0                                                    -->
5*2bde4061SEd Tanous<!--#                                                                                      -->
6*2bde4061SEd Tanous<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->
7*2bde4061SEd Tanous<!--# available at http://www.dmtf.org/standards/redfish                                   -->
8*2bde4061SEd Tanous<!--# Copyright 2014-2023 DMTF.                                                            -->
9*2bde4061SEd Tanous<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
10*2bde4061SEd Tanous<!--################################################################################       -->
11*2bde4061SEd Tanous<!---->
12*2bde4061SEd Tanous<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
13*2bde4061SEd Tanous
14*2bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
15*2bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
16*2bde4061SEd Tanous  </edmx:Reference>
17*2bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
18*2bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
19*2bde4061SEd Tanous  </edmx:Reference>
20*2bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Measures.V1.xml">
21*2bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
22*2bde4061SEd Tanous  </edmx:Reference>
23*2bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
24*2bde4061SEd Tanous    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
25*2bde4061SEd Tanous    <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
26*2bde4061SEd Tanous  </edmx:Reference>
27*2bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
28*2bde4061SEd Tanous    <edmx:Include Namespace="Resource"/>
29*2bde4061SEd Tanous    <edmx:Include Namespace="Resource.v1_0_0"/>
30*2bde4061SEd Tanous  </edmx:Reference>
31*2bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/ContainerImage_v1.xml">
32*2bde4061SEd Tanous    <edmx:Include Namespace="ContainerImage"/>
33*2bde4061SEd Tanous  </edmx:Reference>
34*2bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/EthernetInterfaceCollection_v1.xml">
35*2bde4061SEd Tanous    <edmx:Include Namespace="EthernetInterfaceCollection"/>
36*2bde4061SEd Tanous  </edmx:Reference>
37*2bde4061SEd Tanous
38*2bde4061SEd Tanous  <edmx:DataServices>
39*2bde4061SEd Tanous
40*2bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Container">
41*2bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
42*2bde4061SEd Tanous
43*2bde4061SEd Tanous      <EntityType Name="Container" BaseType="Resource.v1_0_0.Resource" Abstract="true">
44*2bde4061SEd Tanous        <Annotation Term="OData.Description" String="The Container schema represents an instance of a container that is running on a computer system."/>
45*2bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This resource shall represent an instance of a container that is running on a computer system."/>
46*2bde4061SEd Tanous        <Annotation Term="Capabilities.InsertRestrictions">
47*2bde4061SEd Tanous          <Record>
48*2bde4061SEd Tanous            <PropertyValue Property="Insertable" Bool="false"/>
49*2bde4061SEd Tanous          </Record>
50*2bde4061SEd Tanous        </Annotation>
51*2bde4061SEd Tanous        <Annotation Term="Capabilities.UpdateRestrictions">
52*2bde4061SEd Tanous          <Record>
53*2bde4061SEd Tanous            <PropertyValue Property="Updatable" Bool="false"/>
54*2bde4061SEd Tanous          </Record>
55*2bde4061SEd Tanous        </Annotation>
56*2bde4061SEd Tanous        <Annotation Term="Capabilities.DeleteRestrictions">
57*2bde4061SEd Tanous          <Record>
58*2bde4061SEd Tanous            <PropertyValue Property="Deletable" Bool="false"/>
59*2bde4061SEd Tanous          </Record>
60*2bde4061SEd Tanous        </Annotation>
61*2bde4061SEd Tanous        <Annotation Term="Redfish.Uris">
62*2bde4061SEd Tanous          <Collection>
63*2bde4061SEd Tanous            <String>/redfish/v1/Systems/{ComputerSystemId}/OperatingSystem/Containers/{ContainerId}</String>
64*2bde4061SEd Tanous            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/OperatingSystem/Containers/{ContainerId}</String>
65*2bde4061SEd Tanous            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/OperatingSystem/Containers/{ContainerId}</String>
66*2bde4061SEd Tanous          </Collection>
67*2bde4061SEd Tanous        </Annotation>
68*2bde4061SEd Tanous      </EntityType>
69*2bde4061SEd Tanous
70*2bde4061SEd Tanous      <Action Name="Reset" IsBound="true">
71*2bde4061SEd Tanous        <Annotation Term="OData.Description" String="This action resets the container."/>
72*2bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This action shall reset the container."/>
73*2bde4061SEd Tanous        <Parameter Name="Container" Type="Container.v1_0_0.Actions"/>
74*2bde4061SEd Tanous        <Parameter Name="ResetType" Type="Resource.ResetType">
75*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The type of reset."/>
76*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This parameter shall contain the type of reset.  `GracefulRestart` and `ForceRestart` shall indicate requests to restart the container.  `GracefulShutdown` and `ForceOff` shall indicate requests to stop or disable the container.  `On` and `ForceOn` shall indicate requests to start or enable the container.  The service can accept a request without the parameter and shall perform a `GracefulRestart`."/>
77*2bde4061SEd Tanous        </Parameter>
78*2bde4061SEd Tanous      </Action>
79*2bde4061SEd Tanous    </Schema>
80*2bde4061SEd Tanous
81*2bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Container.v1_0_0">
82*2bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
83*2bde4061SEd Tanous      <Annotation Term="Redfish.Release" String="2023.2"/>
84*2bde4061SEd Tanous
85*2bde4061SEd Tanous      <EntityType Name="Container" BaseType="Container.Container">
86*2bde4061SEd Tanous        <Property Name="Status" Type="Resource.Status" Nullable="false">
87*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/>
88*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
89*2bde4061SEd Tanous        </Property>
90*2bde4061SEd Tanous        <Property Name="StartTime" Type="Edm.DateTimeOffset">
91*2bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
92*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The date and time when the container started running."/>
93*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall indicate the date and time when the container started running."/>
94*2bde4061SEd Tanous        </Property>
95*2bde4061SEd Tanous        <Property Name="ProgrammaticId" Type="Edm.String">
96*2bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
97*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The programmatic identifier for this container."/>
98*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the programmatic identifier for this container.  This is typically a hash string that represents the running instance of this container."/>
99*2bde4061SEd Tanous        </Property>
100*2bde4061SEd Tanous        <Property Name="Limits" Type="Container.v1_0_0.Limits">
101*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The resource limits allocated to this container."/>
102*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the resource limits allocated to this container."/>
103*2bde4061SEd Tanous        </Property>
104*2bde4061SEd Tanous        <Property Name="MountPoints" Type="Collection(Container.v1_0_0.MountPoint)">
105*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The file system mount points configured for this container."/>
106*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the file system mount points configured for this container."/>
107*2bde4061SEd Tanous        </Property>
108*2bde4061SEd Tanous        <NavigationProperty Name="EthernetInterfaces" Type="EthernetInterfaceCollection.EthernetInterfaceCollection" ContainsTarget="true" Nullable="false">
109*2bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
110*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The link to the collection of Ethernet interfaces associated with this container."/>
111*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type EthernetInterfaceCollection."/>
112*2bde4061SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
113*2bde4061SEd Tanous        </NavigationProperty>
114*2bde4061SEd Tanous        <Property Name="Links" Type="Container.v1_0_0.Links" Nullable="false">
115*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/>
116*2bde4061SEd Tanous          <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."/>
117*2bde4061SEd Tanous        </Property>
118*2bde4061SEd Tanous        <Property Name="Actions" Type="Container.v1_0_0.Actions" Nullable="false">
119*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available actions for this resource."/>
120*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
121*2bde4061SEd Tanous        </Property>
122*2bde4061SEd Tanous      </EntityType>
123*2bde4061SEd Tanous
124*2bde4061SEd Tanous      <ComplexType Name="Limits">
125*2bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
126*2bde4061SEd Tanous        <Annotation Term="OData.Description" String="The resource limits allocated to a container."/>
127*2bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the resource limits allocated to a container."/>
128*2bde4061SEd Tanous        <Property Name="MemoryBytes" Type="Edm.Int64">
129*2bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
130*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The amount of memory available to this container in bytes."/>
131*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the amount of memory available to this container in bytes."/>
132*2bde4061SEd Tanous          <Annotation Term="Measures.Unit" String="By"/>
133*2bde4061SEd Tanous        </Property>
134*2bde4061SEd Tanous        <Property Name="CPUCount" Type="Edm.Decimal">
135*2bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
136*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The number of processors available to this container."/>
137*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the number of processors available to this container."/>
138*2bde4061SEd Tanous        </Property>
139*2bde4061SEd Tanous      </ComplexType>
140*2bde4061SEd Tanous
141*2bde4061SEd Tanous      <ComplexType Name="MountPoint">
142*2bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
143*2bde4061SEd Tanous        <Annotation Term="OData.Description" String="A file system mount point configured for a container."/>
144*2bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain a file system mount point configured for a container."/>
145*2bde4061SEd Tanous        <Property Name="Source" Type="Edm.String">
146*2bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
147*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The file system path from the hosting system that is provided to this container."/>
148*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the file system path from the hosting system that is provided to this container."/>
149*2bde4061SEd Tanous        </Property>
150*2bde4061SEd Tanous        <Property Name="Destination" Type="Edm.String">
151*2bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
152*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The file system path in the container that is provided as the mount point to access the files and folders contained in the source path."/>
153*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the file system path in the container that is provided as the mount point to access the files and folders specified by the Source property."/>
154*2bde4061SEd Tanous        </Property>
155*2bde4061SEd Tanous      </ComplexType>
156*2bde4061SEd Tanous
157*2bde4061SEd Tanous      <ComplexType Name="Links" BaseType="Resource.Links">
158*2bde4061SEd Tanous        <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/>
159*2bde4061SEd Tanous        <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."/>
160*2bde4061SEd Tanous        <NavigationProperty Name="ContainerImage" Type="ContainerImage.ContainerImage" Nullable="false">
161*2bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
162*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The link to the container image for this container."/>
163*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource of type ContainerImage that represents the container image for this container."/>
164*2bde4061SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
165*2bde4061SEd Tanous        </NavigationProperty>
166*2bde4061SEd Tanous      </ComplexType>
167*2bde4061SEd Tanous
168*2bde4061SEd Tanous      <ComplexType Name="Actions">
169*2bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
170*2bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available actions for this resource."/>
171*2bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
172*2bde4061SEd Tanous        <Property Name="Oem" Type="Container.v1_0_0.OemActions" Nullable="false">
173*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
174*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
175*2bde4061SEd Tanous        </Property>
176*2bde4061SEd Tanous      </ComplexType>
177*2bde4061SEd Tanous
178*2bde4061SEd Tanous      <ComplexType Name="OemActions">
179*2bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
180*2bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
181*2bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
182*2bde4061SEd Tanous      </ComplexType>
183*2bde4061SEd Tanous    </Schema>
184*2bde4061SEd Tanous
185*2bde4061SEd Tanous  </edmx:DataServices>
186*2bde4061SEd Tanous</edmx:Edmx>
187