Ed Tanous | 710adfc | 2017-10-24 17:04:52 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
| 2 | <!---->
|
| 3 | <!--################################################################################ -->
|
| 4 | <!--# Redfish Schema: UpdateService v1.1.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 -->
|
| 8 | <!--# Copyright 2014-2016 Distributed Management Task Force, Inc. (DMTF). -->
|
| 9 | <!--# 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.Measures.V1.xml">
|
| 18 | <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
|
| 19 | </edmx:Reference>
|
| 20 | <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
|
| 21 | <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
|
| 22 | </edmx:Reference>
|
| 23 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
|
| 24 | <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
|
| 25 | </edmx:Reference>
|
| 26 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
|
| 27 | <edmx:Include Namespace="Resource"/>
|
| 28 | <edmx:Include Namespace="Resource.v1_0_0"/>
|
| 29 | <edmx:Include Namespace="Resource.v1_1_0"/>
|
| 30 | </edmx:Reference>
|
| 31 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/SoftwareInventoryCollection_v1.xml">
|
| 32 | <edmx:Include Namespace="SoftwareInventoryCollection"/>
|
| 33 | </edmx:Reference>
|
| 34 |
|
| 35 | <edmx:DataServices>
|
| 36 |
|
| 37 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="UpdateService">
|
| 38 | <EntityType Name="UpdateService" BaseType="Resource.v1_0_0.Resource">
|
| 39 | <Annotation Term="OData.Description" String="This is the schema definition for the Update Service. It represents the properties for the service itself and has links to collections of firmware and software inventory."/>
|
| 40 | <Annotation Term="OData.LongDescription" String="This resource shall be used to represent an Update Service for a Redfish implementation. It represents the properties that affect the service itself."/>
|
| 41 | <Annotation Term="Capabilities.InsertRestrictions">
|
| 42 | <Record>
|
| 43 | <PropertyValue Property="Insertable" Bool="false"/>
|
| 44 | </Record>
|
| 45 | </Annotation>
|
| 46 | <Annotation Term="Capabilities.UpdateRestrictions">
|
| 47 | <Record>
|
| 48 | <PropertyValue Property="Updatable" Bool="true"/>
|
| 49 | <Annotation Term="OData.Description" String="The Update Service can be updated to change properties such as ServiceEnabled."/>
|
| 50 | </Record>
|
| 51 | </Annotation>
|
| 52 | <Annotation Term="Capabilities.DeleteRestrictions">
|
| 53 | <Record>
|
| 54 | <PropertyValue Property="Deletable" Bool="false"/>
|
| 55 | </Record>
|
| 56 | </Annotation>
|
| 57 | </EntityType>
|
| 58 |
|
| 59 | <Action Name="SimpleUpdate" IsBound="true">
|
| 60 | <Annotation Term="OData.Description" String="This action is used to update software components."/>
|
| 61 | <Annotation Term="OData.LongDescription" String="This action shall perform an update of installed software component(s) as contained within a software image file located at a URI referenced by the ImageURI parameter."/>
|
| 62 | <Parameter Name="UpdateService" Type="UpdateService.v1_0_0.Actions"/>
|
| 63 | <Parameter Name="ImageURI" Type="Edm.String" Nullable="false">
|
| 64 | <Annotation Term="OData.Description" String="The URI of the software image to be installed."/>
|
| 65 | <Annotation Term="OData.LongDescription" String="This parameter shall contain a URI referencing a software image to be retreived by the UpdateService for the purpose of installing software contained within the image."/>
|
| 66 | </Parameter>
|
| 67 | <Parameter Name="TransferProtocol" Type="UpdateService.v1_0_0.TransferProtocolType">
|
| 68 | <Annotation Term="OData.Description" String="The network protocol used by the Update Service to retrieve the software image file located at the URI provided in ImageURI, if the URI does not contain a scheme."/>
|
| 69 | <Annotation Term="OData.LongDescription" String="This parameter shall contain the network protocol that the Update Service shall use to retreive the software image located at the ImageURI. If this parameter is not provided (or supported), and a transfer protocol is not specified by a scheme contained within ImageURI, the Update Service shall use HTTP to retrieve the image."/>
|
| 70 | </Parameter>
|
| 71 | </Action>
|
| 72 | </Schema>
|
| 73 |
|
| 74 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="UpdateService.v1_0_0">
|
| 75 |
|
| 76 | <EntityType Name="UpdateService" BaseType="UpdateService.UpdateService">
|
| 77 | <Annotation Term="OData.Description" String="This is the schema definition for the Update Service. It represents the properties for the service itself and has links to collections of firmware and software inventory."/>
|
| 78 | <Annotation Term="OData.LongDescription" String="This resource shall be used to represent an Update Service for a Redfish implementation. It represents the properties that affect the service itself."/>
|
| 79 | <Property Name="Status" Type="Resource.Status"/>
|
| 80 | <Property Name="ServiceEnabled" Type="Edm.Boolean">
|
| 81 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
|
| 82 | <Annotation Term="OData.Description" String="This indicates whether this service is enabled."/>
|
| 83 | <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether this service is enabled."/>
|
| 84 | </Property>
|
| 85 | <NavigationProperty Name="FirmwareInventory" Type="SoftwareInventoryCollection.SoftwareInventoryCollection">
|
| 86 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 87 | <Annotation Term="OData.Description" String="An inventory of firmware."/>
|
| 88 | <Annotation Term="OData.LongDescription" String="The value of this property shall be a link to a resource of type SoftwareInventoryCollection."/>
|
| 89 | <Annotation Term="OData.AutoExpandReferences"/>
|
| 90 | </NavigationProperty>
|
| 91 | <NavigationProperty Name="SoftwareInventory" Type="SoftwareInventoryCollection.SoftwareInventoryCollection">
|
| 92 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 93 | <Annotation Term="OData.Description" String="An inventory of software."/>
|
| 94 | <Annotation Term="OData.LongDescription" String="The value of this property shall be a link to a resource of type SoftwareInventoryCollection."/>
|
| 95 | <Annotation Term="OData.AutoExpandReferences"/>
|
| 96 | </NavigationProperty>
|
| 97 | <Property Name="Actions" Type="UpdateService.v1_0_0.Actions" Nullable="false">
|
| 98 | <Annotation Term="OData.Description" String="The Actions object contains the available custom actions on this resource."/>
|
| 99 | </Property>
|
| 100 | </EntityType>
|
| 101 |
|
| 102 | <ComplexType Name="Actions">
|
| 103 | <Annotation Term="OData.AdditionalProperties" Bool="false"/>
|
| 104 | <Property Name="Oem" Type="UpdateService.v1_0_0.OemActions" Nullable="false"/>
|
| 105 | </ComplexType>
|
| 106 |
|
| 107 | <ComplexType Name="OemActions">
|
| 108 | <Annotation Term="OData.AdditionalProperties" Bool="true"/>
|
| 109 | </ComplexType>
|
| 110 |
|
| 111 | <EnumType Name="TransferProtocolType">
|
| 112 | <Member Name="CIFS">
|
| 113 | <Annotation Term="OData.Description" String="Common Internet File System protocol."/>
|
| 114 | </Member>
|
| 115 | <Member Name="FTP">
|
| 116 | <Annotation Term="OData.Description" String="File Transfer Protocol."/>
|
| 117 | </Member>
|
| 118 | <Member Name="SFTP">
|
| 119 | <Annotation Term="OData.Description" String="Secure File Transfer Protocol."/>
|
| 120 | </Member>
|
| 121 | <Member Name="HTTP">
|
| 122 | <Annotation Term="OData.Description" String="Hypertext Transfer Protocol."/>
|
| 123 | </Member>
|
| 124 | <Member Name="HTTPS">
|
| 125 | <Annotation Term="OData.Description" String="HTTP Secure protocol."/>
|
| 126 | </Member>
|
| 127 | <Member Name="NSF">
|
| 128 | <Annotation Term="OData.Description" String="Network File System protocol."/>
|
| 129 | </Member>
|
| 130 | <Member Name="SCP">
|
| 131 | <Annotation Term="OData.Description" String="Secure File Copy protocol."/>
|
| 132 | </Member>
|
| 133 | <Member Name="TFTP">
|
| 134 | <Annotation Term="OData.Description" String="Trivial File Transfer Protocol."/>
|
| 135 | </Member>
|
| 136 | <Member Name="OEM">
|
| 137 | <Annotation Term="OData.Description" String="A protocol defined by the manufacturer."/>
|
| 138 | </Member>
|
| 139 | </EnumType>
|
| 140 |
|
| 141 | </Schema>
|
| 142 |
|
| 143 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="UpdateService.v1_0_1">
|
| 144 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
|
| 145 | <EntityType Name="UpdateService" BaseType="UpdateService.v1_0_0.UpdateService"/>
|
| 146 | </Schema>
|
| 147 |
|
| 148 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="UpdateService.v1_1_0">
|
| 149 | <EntityType Name="UpdateService" BaseType="UpdateService.v1_0_1.UpdateService">
|
| 150 | <Property Name="HttpPushUri" Type="Edm.String" Nullable="false">
|
| 151 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 152 | <Annotation Term="OData.Description" String="The URI used to perform an HTTP or HTTPS push update to the Update Service."/>
|
| 153 | <Annotation Term="OData.LongDescription" String="This property shall contain a URI at which the UpdateService supports an HTTP or HTTPS POST of a software image for the purpose of installing software contained within the image."/>
|
| 154 | <Annotation Term="OData.IsURL"/>
|
| 155 | </Property>
|
| 156 | </EntityType>
|
| 157 |
|
| 158 | </Schema>
|
| 159 | </edmx:DataServices>
|
| 160 | </edmx:Edmx>
|