| <?xml version="1.0" encoding="UTF-8"?> |
| <!----> |
| <!--################################################################################ --> |
| <!--# Google Schema: GoogleExtensions v1.0.0--> |
| <!--# --> |
| <!--# Copyright 2014-2016 Distributed Management Task Force, Inc. (DMTF). --> |
| <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> |
| <!--################################################################################ --> |
| <!----> |
| <edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0"> |
| |
| <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml"> |
| <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/> |
| </edmx:Reference> |
| <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml"> |
| <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> |
| </edmx:Reference> |
| <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml"> |
| <edmx:Include Namespace="Resource"/> |
| <edmx:Include Namespace="Resource.v1_0_0"/> |
| </edmx:Reference> |
| |
| <edmx:DataServices> |
| |
| <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="GoogleBootTime"> |
| <Annotation Term="Redfish.OwningEntity" String="Google"/> |
| <Annotation Term="OData.Description" String="Google boot time stats for components"/> |
| <EntityType Name="GooglePower" BaseType="Resource.v1_0_0.Resource" Abstract="true"> |
| <Annotation Term="Redfish.Uris"> |
| <Collection> |
| <String>/redfish/v1/Systems/{ComputerSystemId}/Oem/Google/BootTime</String> |
| <String>/redfish/v1/Managers/{ManagerId}/Oem/Google/BootTime</String> |
| </Collection> |
| </Annotation> |
| </EntityType> |
| </Schema> |
| |
| <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="GoogleBootTime.v1_0_0"> |
| <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| |
| <EntityType Name="GoogleBootTime" BaseType="GoogleBootTime.GoogleBootTime"> |
| <Property Name="Breakdown" Type="Collection(GoogleBootTime.v1_0_0.Breakdown)" Nullable="false"> |
| <Annotation Term="OData.Description" String="The list of breakdowns for the boot."/> |
| <Annotation Term="OData.LongDescription" String="This property shall list the breakdowns with their duration in the recent boot cycle."/> |
| </Property> |
| <Property Name="Durations" Type="Collection(GoogleBootTime.v1_0_0.Duration)" Nullable="false"> |
| <Annotation Term="OData.Description" String="The list of durations of different stages of the boot."/> |
| <Annotation Term="OData.LongDescription" String="This property shall list the durations of different stages in the recent boot cycle."/> |
| </Property> |
| <Property Name="RebootFlow" Type="Collection(GoogleBootTime.v1_0_0.RebootFlow)" Nullable="false"> |
| <Annotation Term="OData.Description" String="A seamless reboot flow list."/> |
| <Annotation Term="OData.LongDescription" String="This property shall list the timestamps of different stages in the recent boot cycle."/> |
| </Property> |
| <Property Name="Stat" Type="GoogleBootTime.v1_0_0.Stat" Nullable="false"> |
| <Annotation Term="OData.Description" String="Statistics data of the recent reboot."/> |
| <Annotation Term="OData.LongDescription" String="This property shall contain the statistics data of the recent reboot."/> |
| </Property> |
| <Property Name="Total" Type="Edm.Decimal"> |
| <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| <Annotation Term="OData.Description" String="Total reboot time."/> |
| <Annotation Term="OData.LongDescription" String="Total reboot time for the component."/> |
| </Property> |
| </EntityType> |
| |
| <ComplexType Name="Breakdown"> |
| <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| <Annotation Term="OData.Description" String="The information about each breakdown stage of the boot."/> |
| <Annotation Term="OData.LongDescription" String="The information about each breakdown stage of the boot."/> |
| <Property Name="Stage" Type="Edm.String" Nullable="false"> |
| <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| <Annotation Term="OData.Description" String="The name of the stage."/> |
| <Annotation Term="OData.LongDescription" String="This property shall contain the name of the stage."/> |
| <Annotation Term="Redfish.Required"/> |
| </Property> |
| <Property Name="Duration" Type="Edm.Decimal" Nullable="false"> |
| <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| <Annotation Term="OData.Description" String="The time elapsed in this stage."/> |
| <Annotation Term="OData.LongDescription" String="This property shall indicate the time elapsed in a particular stage of the boot."/> |
| <Annotation Term="Redfish.Required"/> |
| </Property> |
| </ComplexType> |
| |
| <ComplexType Name="Duration"> |
| <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| <Annotation Term="OData.Description" String="The information about each stage of the boot."/> |
| <Annotation Term="OData.LongDescription" String="The information about each stage of the boot. This property will contain some additional durations of the boot time which are not same as Breakdown but they are used to calculate the breakdowns."/> |
| <Property Name="Name" Type="Edm.String" Nullable="false"> |
| <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| <Annotation Term="OData.Description" String="The name of the stage."/> |
| <Annotation Term="OData.LongDescription" String="This property shall contain the name of the stage."/> |
| <Annotation Term="Redfish.Required"/> |
| </Property> |
| <Property Name="Duration" Type="Edm.Decimal" Nullable="false"> |
| <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| <Annotation Term="OData.Description" String="The time elapsed in this stage."/> |
| <Annotation Term="OData.LongDescription" String="This property shall indicate the time elapsed in a particular stage of the boot."/> |
| <Annotation Term="Redfish.Required"/> |
| </Property> |
| </ComplexType> |
| |
| <ComplexType Name="RebootFlow"> |
| <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| <Annotation Term="OData.Description" String="The information about the time when a particular stage of the boot happened."/> |
| <Annotation Term="OData.LongDescription" String="The information about the time when a particular stage of the boot happened."/> |
| <Property Name="Stage" Type="Edm.String" Nullable="false"> |
| <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| <Annotation Term="OData.Description" String="The name of the stage."/> |
| <Annotation Term="OData.LongDescription" String="This property shall contain the name of the stage."/> |
| <Annotation Term="Redfish.Required"/> |
| </Property> |
| <Property Name="StartTime" Type="Edm.DateTimeOffset" Nullable="false"> |
| <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| <Annotation Term="OData.Description" String="The timestamp when the stage started."/> |
| <Annotation Term="OData.LongDescription" String="This property shall indicate the time when the stage was started."/> |
| <Annotation Term="Redfish.Required"/> |
| </Property> |
| <Property Name="MonotonicStartTime" Type="Edm.Int64" Nullable="false"> |
| <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| <Annotation Term="OData.Description" String="The monotonic time when the stage started."/> |
| <Annotation Term="OData.LongDescription" String="This property shall indicate the monotonic time when the stage was started."/> |
| <Annotation Term="Redfish.Required"/> |
| </Property> |
| </ComplexType> |
| |
| <ComplexType Name="Stat"> |
| <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| <Annotation Term="OData.Description" String="Statistics of the last reboot."/> |
| <Annotation Term="OData.LongDescription" String="The Statistics of the last reboot."/> |
| <Property Name="IsRebooting" Type="Edm.Boolean" Nullable="false"> |
| <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| <Annotation Term="OData.Description" String="An indication of whether the component is rebooting or not."/> |
| <Annotation Term="OData.LongDescription" String="This property shall indicate whether the component is rebooting or not."/> |
| </Property> |
| <Property Name="PowerSource" Type="GoogleBootTime.v1_0_0.Breakdown"> |
| <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| <Annotation Term="OData.Description" String="The powersource of the powercycle."/> |
| <Annotation Term="OData.LongDescription" String="This property shall indicate the powersource of the powercycle."/> |
| </Property> |
| </ComplexType> |
| |
| <EnumType Name="PowerSourceTypes"> |
| <Member Name="Unknown"> |
| <Annotation Term="OData.Description" String="Powersource unknown."/> |
| </Member> |
| <Member Name="AC"> |
| <Annotation Term="OData.Description" String="AC powercycle."/> |
| </Member> |
| <Member Name="DC"> |
| <Annotation Term="OData.Description" String="DC powercycle."/> |
| </Member> |
| </EnumType> |
| </Schema> |
| |
| </edmx:DataServices> |
| </edmx:Edmx> |