12bde4061SEd Tanous<?xml version="1.0" encoding="UTF-8"?>
22bde4061SEd Tanous<!---->
32bde4061SEd Tanous<!--################################################################################       -->
4*f2a8e57eSGunnar Mills<!--# Redfish Schema:  Container v1.0.1                                                    -->
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*f2a8e57eSGunnar Mills<!--# Copyright 2014-2024 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://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
182bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
192bde4061SEd Tanous  </edmx:Reference>
202bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Measures.V1.xml">
212bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
222bde4061SEd Tanous  </edmx:Reference>
232bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
242bde4061SEd Tanous    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
252bde4061SEd Tanous    <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
262bde4061SEd Tanous  </edmx:Reference>
272bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
282bde4061SEd Tanous    <edmx:Include Namespace="Resource"/>
292bde4061SEd Tanous    <edmx:Include Namespace="Resource.v1_0_0"/>
302bde4061SEd Tanous  </edmx:Reference>
312bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/ContainerImage_v1.xml">
322bde4061SEd Tanous    <edmx:Include Namespace="ContainerImage"/>
332bde4061SEd Tanous  </edmx:Reference>
342bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/EthernetInterfaceCollection_v1.xml">
352bde4061SEd Tanous    <edmx:Include Namespace="EthernetInterfaceCollection"/>
362bde4061SEd Tanous  </edmx:Reference>
372bde4061SEd Tanous
382bde4061SEd Tanous  <edmx:DataServices>
392bde4061SEd Tanous
402bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Container">
412bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
42*f2a8e57eSGunnar Mills      <Annotation Term="Redfish.Language" String="en"/>
432bde4061SEd Tanous
442bde4061SEd Tanous      <EntityType Name="Container" BaseType="Resource.v1_0_0.Resource" Abstract="true">
45*f2a8e57eSGunnar Mills        <Annotation Term="OData.Description" String="The `Container` schema represents an instance of a container that is running on a computer system."/>
462bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This resource shall represent an instance of a container that is running on a computer system."/>
472bde4061SEd Tanous        <Annotation Term="Capabilities.InsertRestrictions">
482bde4061SEd Tanous          <Record>
492bde4061SEd Tanous            <PropertyValue Property="Insertable" Bool="false"/>
502bde4061SEd Tanous          </Record>
512bde4061SEd Tanous        </Annotation>
522bde4061SEd Tanous        <Annotation Term="Capabilities.UpdateRestrictions">
532bde4061SEd Tanous          <Record>
542bde4061SEd Tanous            <PropertyValue Property="Updatable" Bool="false"/>
552bde4061SEd Tanous          </Record>
562bde4061SEd Tanous        </Annotation>
572bde4061SEd Tanous        <Annotation Term="Capabilities.DeleteRestrictions">
582bde4061SEd Tanous          <Record>
592bde4061SEd Tanous            <PropertyValue Property="Deletable" Bool="false"/>
602bde4061SEd Tanous          </Record>
612bde4061SEd Tanous        </Annotation>
622bde4061SEd Tanous        <Annotation Term="Redfish.Uris">
632bde4061SEd Tanous          <Collection>
642bde4061SEd Tanous            <String>/redfish/v1/Systems/{ComputerSystemId}/OperatingSystem/Containers/{ContainerId}</String>
652bde4061SEd Tanous            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/OperatingSystem/Containers/{ContainerId}</String>
662bde4061SEd Tanous            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/OperatingSystem/Containers/{ContainerId}</String>
672bde4061SEd Tanous          </Collection>
682bde4061SEd Tanous        </Annotation>
692bde4061SEd Tanous      </EntityType>
702bde4061SEd Tanous
712bde4061SEd Tanous      <Action Name="Reset" IsBound="true">
722bde4061SEd Tanous        <Annotation Term="OData.Description" String="This action resets the container."/>
732bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This action shall reset the container."/>
742bde4061SEd Tanous        <Parameter Name="Container" Type="Container.v1_0_0.Actions"/>
752bde4061SEd Tanous        <Parameter Name="ResetType" Type="Resource.ResetType">
762bde4061SEd Tanous          <Annotation Term="OData.Description" String="The type of reset."/>
772bde4061SEd 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`."/>
782bde4061SEd Tanous        </Parameter>
792bde4061SEd Tanous      </Action>
802bde4061SEd Tanous    </Schema>
812bde4061SEd Tanous
822bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Container.v1_0_0">
832bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
842bde4061SEd Tanous      <Annotation Term="Redfish.Release" String="2023.2"/>
852bde4061SEd Tanous
862bde4061SEd Tanous      <EntityType Name="Container" BaseType="Container.Container">
872bde4061SEd Tanous        <Property Name="Status" Type="Resource.Status" Nullable="false">
882bde4061SEd Tanous          <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/>
892bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
902bde4061SEd Tanous        </Property>
912bde4061SEd Tanous        <Property Name="StartTime" Type="Edm.DateTimeOffset">
922bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
932bde4061SEd Tanous          <Annotation Term="OData.Description" String="The date and time when the container started running."/>
942bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall indicate the date and time when the container started running."/>
952bde4061SEd Tanous        </Property>
962bde4061SEd Tanous        <Property Name="ProgrammaticId" Type="Edm.String">
972bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
982bde4061SEd Tanous          <Annotation Term="OData.Description" String="The programmatic identifier for this container."/>
992bde4061SEd 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."/>
1002bde4061SEd Tanous        </Property>
101*f2a8e57eSGunnar Mills        <Property Name="Limits" Type="Container.v1_0_0.Limits" Nullable="false">
1022bde4061SEd Tanous          <Annotation Term="OData.Description" String="The resource limits allocated to this container."/>
1032bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the resource limits allocated to this container."/>
1042bde4061SEd Tanous        </Property>
1052bde4061SEd Tanous        <Property Name="MountPoints" Type="Collection(Container.v1_0_0.MountPoint)">
1062bde4061SEd Tanous          <Annotation Term="OData.Description" String="The file system mount points configured for this container."/>
1072bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the file system mount points configured for this container."/>
1082bde4061SEd Tanous        </Property>
1092bde4061SEd Tanous        <NavigationProperty Name="EthernetInterfaces" Type="EthernetInterfaceCollection.EthernetInterfaceCollection" ContainsTarget="true" Nullable="false">
1102bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
1112bde4061SEd Tanous          <Annotation Term="OData.Description" String="The link to the collection of Ethernet interfaces associated with this container."/>
112*f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type `EthernetInterfaceCollection`."/>
1132bde4061SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
1142bde4061SEd Tanous        </NavigationProperty>
1152bde4061SEd Tanous        <Property Name="Links" Type="Container.v1_0_0.Links" Nullable="false">
1162bde4061SEd Tanous          <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/>
1172bde4061SEd 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."/>
1182bde4061SEd Tanous        </Property>
1192bde4061SEd Tanous        <Property Name="Actions" Type="Container.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="Limits">
1262bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
1272bde4061SEd Tanous        <Annotation Term="OData.Description" String="The resource limits allocated to a container."/>
1282bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the resource limits allocated to a container."/>
1292bde4061SEd Tanous        <Property Name="MemoryBytes" Type="Edm.Int64">
1302bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
1312bde4061SEd Tanous          <Annotation Term="OData.Description" String="The amount of memory available to this container in bytes."/>
1322bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the amount of memory available to this container in bytes."/>
1332bde4061SEd Tanous          <Annotation Term="Measures.Unit" String="By"/>
1342bde4061SEd Tanous        </Property>
1352bde4061SEd Tanous        <Property Name="CPUCount" Type="Edm.Decimal">
1362bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
1372bde4061SEd Tanous          <Annotation Term="OData.Description" String="The number of processors available to this container."/>
1382bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the number of processors available to this container."/>
1392bde4061SEd Tanous        </Property>
1402bde4061SEd Tanous      </ComplexType>
1412bde4061SEd Tanous
1422bde4061SEd Tanous      <ComplexType Name="MountPoint">
1432bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
1442bde4061SEd Tanous        <Annotation Term="OData.Description" String="A file system mount point configured for a container."/>
1452bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain a file system mount point configured for a container."/>
1462bde4061SEd Tanous        <Property Name="Source" Type="Edm.String">
1472bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
1482bde4061SEd Tanous          <Annotation Term="OData.Description" String="The file system path from the hosting system that is provided to this container."/>
1492bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the file system path from the hosting system that is provided to this container."/>
1502bde4061SEd Tanous        </Property>
1512bde4061SEd Tanous        <Property Name="Destination" Type="Edm.String">
1522bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
1532bde4061SEd 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."/>
154*f2a8e57eSGunnar Mills          <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."/>
1552bde4061SEd Tanous        </Property>
1562bde4061SEd Tanous      </ComplexType>
1572bde4061SEd Tanous
1582bde4061SEd Tanous      <ComplexType Name="Links" BaseType="Resource.Links">
1592bde4061SEd Tanous        <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/>
1602bde4061SEd 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."/>
1612bde4061SEd Tanous        <NavigationProperty Name="ContainerImage" Type="ContainerImage.ContainerImage" Nullable="false">
1622bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
1632bde4061SEd Tanous          <Annotation Term="OData.Description" String="The link to the container image for this container."/>
164*f2a8e57eSGunnar Mills          <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."/>
1652bde4061SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
1662bde4061SEd Tanous        </NavigationProperty>
1672bde4061SEd Tanous      </ComplexType>
1682bde4061SEd Tanous
1692bde4061SEd Tanous      <ComplexType Name="Actions">
1702bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
1712bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available actions for this resource."/>
1722bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
1732bde4061SEd Tanous        <Property Name="Oem" Type="Container.v1_0_0.OemActions" Nullable="false">
1742bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
1752bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
1762bde4061SEd Tanous        </Property>
1772bde4061SEd Tanous      </ComplexType>
1782bde4061SEd Tanous
1792bde4061SEd Tanous      <ComplexType Name="OemActions">
1802bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
1812bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
1822bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
1832bde4061SEd Tanous      </ComplexType>
1842bde4061SEd Tanous    </Schema>
1852bde4061SEd Tanous
186*f2a8e57eSGunnar Mills    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Container.v1_0_1">
187*f2a8e57eSGunnar Mills      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
188*f2a8e57eSGunnar 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."/>
189*f2a8e57eSGunnar Mills      <EntityType Name="Container" BaseType="Container.v1_0_0.Container"/>
190*f2a8e57eSGunnar Mills    </Schema>
191*f2a8e57eSGunnar Mills
1922bde4061SEd Tanous  </edmx:DataServices>
1932bde4061SEd Tanous</edmx:Edmx>
194