12bde4061SEd Tanous<?xml version="1.0" encoding="UTF-8"?>
22bde4061SEd Tanous<!---->
32bde4061SEd Tanous<!--################################################################################       -->
4*f2a8e57eSGunnar Mills<!--# Redfish Schema:  LicenseService v1.1.2                                               -->
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://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
212bde4061SEd Tanous    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
222bde4061SEd Tanous  </edmx:Reference>
232bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
242bde4061SEd Tanous    <edmx:Include Namespace="Resource"/>
252bde4061SEd Tanous    <edmx:Include Namespace="Resource.v1_0_0"/>
262bde4061SEd Tanous  </edmx:Reference>
272bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/LicenseCollection_v1.xml">
282bde4061SEd Tanous    <edmx:Include Namespace="LicenseCollection"/>
292bde4061SEd Tanous  </edmx:Reference>
302bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Manager_v1.xml">
312bde4061SEd Tanous    <edmx:Include Namespace="Manager"/>
322bde4061SEd Tanous  </edmx:Reference>
332bde4061SEd Tanous
342bde4061SEd Tanous  <edmx:DataServices>
352bde4061SEd Tanous
362bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LicenseService">
372bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
38*f2a8e57eSGunnar Mills      <Annotation Term="Redfish.Language" String="en"/>
392bde4061SEd Tanous
402bde4061SEd Tanous      <EntityType Name="LicenseService" BaseType="Resource.v1_0_0.Resource" Abstract="true">
41*f2a8e57eSGunnar Mills        <Annotation Term="OData.Description" String="The `LicenseService` schema describes the license service and the properties for the service itself with a link to the collection of licenses.  The license service also provides methods for installing licenses in a Redfish service."/>
422bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This resource shall represent a license service and the properties that affect the service itself for a Redfish implementation."/>
432bde4061SEd Tanous        <Annotation Term="Capabilities.InsertRestrictions">
442bde4061SEd Tanous          <Record>
452bde4061SEd Tanous            <PropertyValue Property="Insertable" Bool="false"/>
462bde4061SEd Tanous          </Record>
472bde4061SEd Tanous        </Annotation>
482bde4061SEd Tanous        <Annotation Term="Capabilities.UpdateRestrictions">
492bde4061SEd Tanous          <Record>
502bde4061SEd Tanous            <PropertyValue Property="Updatable" Bool="true"/>
512bde4061SEd Tanous          </Record>
522bde4061SEd Tanous        </Annotation>
532bde4061SEd Tanous        <Annotation Term="Capabilities.DeleteRestrictions">
542bde4061SEd Tanous          <Record>
552bde4061SEd Tanous            <PropertyValue Property="Deletable" Bool="false"/>
562bde4061SEd Tanous          </Record>
572bde4061SEd Tanous        </Annotation>
582bde4061SEd Tanous        <Annotation Term="Redfish.Uris">
592bde4061SEd Tanous          <Collection>
602bde4061SEd Tanous            <String>/redfish/v1/LicenseService</String>
612bde4061SEd Tanous          </Collection>
622bde4061SEd Tanous        </Annotation>
632bde4061SEd Tanous      </EntityType>
642bde4061SEd Tanous
652bde4061SEd Tanous      <Action Name="Install" IsBound="true">
662bde4061SEd Tanous        <Annotation Term="OData.Description" String="This action installs one or more licenses from a remote file."/>
67*f2a8e57eSGunnar Mills        <Annotation Term="OData.LongDescription" String="This action shall install one or more licenses from a remote file.  The service may update an existing `License` resource.  The `Location` header in the response shall contain the URI of the new or updated `License` resource."/>
682bde4061SEd Tanous        <Parameter Name="LicenseService" Type="LicenseService.v1_0_0.Actions"/>
692bde4061SEd Tanous        <Parameter Name="LicenseFileURI" Type="Edm.String" Nullable="false">
702bde4061SEd Tanous          <Annotation Term="OData.Description" String="The URI of the license file to install."/>
71*f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This parameter shall contain an RFC3986-defined URI that links to a file that the license service retrieves to install the license in that file.  This URI should contain a scheme that describes the transfer protocol.  If the `TransferProtocol` parameter is absent or not supported, and a transfer protocol is not specified by a scheme contained within this URI, the service shall use HTTP to get the file."/>
722bde4061SEd Tanous          <Annotation Term="OData.IsURL"/>
732bde4061SEd Tanous        </Parameter>
742bde4061SEd Tanous        <Parameter Name="TransferProtocol" Type="LicenseService.v1_0_0.TransferProtocolType">
75*f2a8e57eSGunnar Mills          <Annotation Term="OData.Description" String="The network protocol that the license service uses to retrieve the license file located at the URI provided in `LicenseFileURI`.  This parameter is ignored if the URI provided in `LicenseFileURI` contains a scheme."/>
76*f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This parameter shall contain the network protocol that the license service shall use to retrieve the license file located at the `LicenseFileURI`.  Services should ignore this parameter if the URI provided in `LicenseFileURI` contains a scheme.  If this parameter is not provided or supported, and if a transfer protocol is not specified by a scheme contained within this URI, the service shall use HTTP to retrieve the file."/>
772bde4061SEd Tanous        </Parameter>
782bde4061SEd Tanous        <Parameter Name="Username" Type="Edm.String">
79*f2a8e57eSGunnar Mills          <Annotation Term="OData.Description" String="The username to access the URI specified by the `LicenseFileURI` parameter."/>
80*f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This parameter shall contain the username to access the URI specified by the `LicenseFileURI` parameter."/>
812bde4061SEd Tanous        </Parameter>
822bde4061SEd Tanous        <Parameter Name="Password" Type="Edm.String">
83*f2a8e57eSGunnar Mills          <Annotation Term="OData.Description" String="The password to access the URI specified by the `LicenseFileURI` parameter."/>
84*f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This parameter shall contain the password to access the URI specified by the `LicenseFileURI` parameter."/>
852bde4061SEd Tanous        </Parameter>
862bde4061SEd Tanous        <Parameter Name="AuthorizedDevices" Type="Collection(Resource.Item)">
872bde4061SEd Tanous          <Annotation Term="OData.Description" String="An array of links to the devices to be authorized by the license."/>
88*f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This parameter shall contain an array of links to the devices to be authorized by the license.  Clients can provide this parameter when installing a license to apply the license to specific devices.  If not provided when installing a license, the service may determine the devices to which the license applies.  This parameter shall not be present if the `AuthorizationScope` property contains the value `Service`."/>
892bde4061SEd Tanous          <Annotation Term="Redfish.Revisions">
902bde4061SEd Tanous            <Collection>
912bde4061SEd Tanous              <Record>
922bde4061SEd Tanous                <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
932bde4061SEd Tanous                <PropertyValue Property="Version" String="v1_1_0"/>
942bde4061SEd Tanous              </Record>
952bde4061SEd Tanous            </Collection>
962bde4061SEd Tanous          </Annotation>
972bde4061SEd Tanous        </Parameter>
982bde4061SEd Tanous        <Parameter Name="TargetServices" Type="Collection(Manager.Manager)">
992bde4061SEd Tanous          <Annotation Term="OData.Description" String="An array of links to the managers where the license will be installed."/>
100*f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type `Manager` that represent the services where the license will be installed, such as remote Redfish services.  This parameter shall only be present in aggregators when the `AuthorizationScope` property contains `Service` or `Capacity`."/>
1012bde4061SEd Tanous          <Annotation Term="Redfish.Revisions">
1022bde4061SEd Tanous            <Collection>
1032bde4061SEd Tanous              <Record>
1042bde4061SEd Tanous                <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
1052bde4061SEd Tanous                <PropertyValue Property="Version" String="v1_1_0"/>
1062bde4061SEd Tanous              </Record>
1072bde4061SEd Tanous            </Collection>
1082bde4061SEd Tanous          </Annotation>
1092bde4061SEd Tanous        </Parameter>
1102bde4061SEd Tanous      </Action>
1112bde4061SEd Tanous    </Schema>
1122bde4061SEd Tanous
1132bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LicenseService.v1_0_0">
1142bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1152bde4061SEd Tanous      <Annotation Term="Redfish.Release" String="2021.3"/>
1162bde4061SEd Tanous
1172bde4061SEd Tanous      <EntityType Name="LicenseService" BaseType="LicenseService.LicenseService">
1182bde4061SEd Tanous        <Property Name="ServiceEnabled" Type="Edm.Boolean">
1192bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
1202bde4061SEd Tanous          <Annotation Term="OData.Description" String="An indication of whether this service is enabled."/>
1212bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall indicate whether this service is enabled."/>
1222bde4061SEd Tanous        </Property>
1232bde4061SEd Tanous        <Property Name="LicenseExpirationWarningDays" Type="Edm.Int64">
1242bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
1252bde4061SEd Tanous          <Annotation Term="OData.Description" String="The number of days prior to a license expiration that a warning message is sent.  A value of zero indicates no warning message is sent."/>
1262bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the number of days prior to a license expiration that the service shall send the `DaysBeforeExpiration` message from the License Message Registry at least once.  A value of zero shall indicate that no warning messages are sent prior to license expiration."/>
1272bde4061SEd Tanous        </Property>
1282bde4061SEd Tanous        <Property Name="Actions" Type="LicenseService.v1_0_0.Actions" Nullable="false">
1292bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available actions for this resource."/>
1302bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
1312bde4061SEd Tanous        </Property>
132*f2a8e57eSGunnar Mills        <NavigationProperty Name="Licenses" Type="LicenseCollection.LicenseCollection" ContainsTarget="true" Nullable="false">
1332bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
1342bde4061SEd Tanous          <Annotation Term="OData.Description" String="The link to the collection of licenses."/>
135*f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type `LicenseCollection`.  When installing a license with a `POST` operation to this collection, the service may update an existing License resource instead of creating a new resource.  In these cases, the service shall respond with the HTTP `200 OK` status code or HTTP `204 No Content` status code and the `Location` header in the response shall contain the URI of the updated License resource."/>
1362bde4061SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
1372bde4061SEd Tanous        </NavigationProperty>
1382bde4061SEd Tanous      </EntityType>
1392bde4061SEd Tanous
1402bde4061SEd Tanous      <ComplexType Name="Actions">
1412bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
1422bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available actions for this resource."/>
1432bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
1442bde4061SEd Tanous        <Property Name="Oem" Type="LicenseService.v1_0_0.OemActions" Nullable="false">
1452bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
1462bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
1472bde4061SEd Tanous        </Property>
1482bde4061SEd Tanous      </ComplexType>
1492bde4061SEd Tanous
1502bde4061SEd Tanous      <ComplexType Name="OemActions">
1512bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
1522bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
1532bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
1542bde4061SEd Tanous      </ComplexType>
1552bde4061SEd Tanous
1562bde4061SEd Tanous      <EnumType Name="TransferProtocolType">
1572bde4061SEd Tanous        <Member Name="CIFS">
1582bde4061SEd Tanous          <Annotation Term="OData.Description" String="Common Internet File System (CIFS)."/>
1592bde4061SEd Tanous        </Member>
1602bde4061SEd Tanous        <Member Name="FTP">
1612bde4061SEd Tanous          <Annotation Term="OData.Description" String="File Transfer Protocol (FTP)."/>
1622bde4061SEd Tanous        </Member>
1632bde4061SEd Tanous        <Member Name="SFTP">
164*f2a8e57eSGunnar Mills          <Annotation Term="OData.Description" String="SSH File Transfer Protocol (SFTP)."/>
1652bde4061SEd Tanous        </Member>
1662bde4061SEd Tanous        <Member Name="HTTP">
1672bde4061SEd Tanous          <Annotation Term="OData.Description" String="Hypertext Transfer Protocol (HTTP)."/>
1682bde4061SEd Tanous        </Member>
1692bde4061SEd Tanous        <Member Name="HTTPS">
1702bde4061SEd Tanous          <Annotation Term="OData.Description" String="Hypertext Transfer Protocol Secure (HTTPS)."/>
1712bde4061SEd Tanous        </Member>
1722bde4061SEd Tanous        <Member Name="SCP">
1732bde4061SEd Tanous          <Annotation Term="OData.Description" String="Secure Copy Protocol (SCP)."/>
1742bde4061SEd Tanous        </Member>
1752bde4061SEd Tanous        <Member Name="TFTP">
1762bde4061SEd Tanous          <Annotation Term="OData.Description" String="Trivial File Transfer Protocol (TFTP)."/>
1772bde4061SEd Tanous        </Member>
1782bde4061SEd Tanous        <Member Name="OEM">
1792bde4061SEd Tanous          <Annotation Term="OData.Description" String="A manufacturer-defined protocol."/>
1802bde4061SEd Tanous        </Member>
1812bde4061SEd Tanous        <Member Name="NFS">
1822bde4061SEd Tanous          <Annotation Term="OData.Description" String="Network File System (NFS)."/>
1832bde4061SEd Tanous        </Member>
1842bde4061SEd Tanous      </EnumType>
1852bde4061SEd Tanous    </Schema>
1862bde4061SEd Tanous
1872bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LicenseService.v1_0_1">
1882bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1892bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
1902bde4061SEd Tanous      <EntityType Name="LicenseService" BaseType="LicenseService.v1_0_0.LicenseService"/>
1912bde4061SEd Tanous    </Schema>
1922bde4061SEd Tanous
193*f2a8e57eSGunnar Mills    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LicenseService.v1_0_2">
194*f2a8e57eSGunnar Mills      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
195*f2a8e57eSGunnar Mills      <Annotation Term="OData.Description" String="This version was created to correct the description for the `SFTP` value to match IETF documentation.  It was also 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."/>
196*f2a8e57eSGunnar Mills      <EntityType Name="LicenseService" BaseType="LicenseService.v1_0_1.LicenseService"/>
197*f2a8e57eSGunnar Mills    </Schema>
198*f2a8e57eSGunnar Mills
1992bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LicenseService.v1_1_0">
2002bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
2012bde4061SEd Tanous      <Annotation Term="Redfish.Release" String="2022.3"/>
202*f2a8e57eSGunnar Mills      <Annotation Term="OData.Description" String="This version was created to add the `AuthorizedDevices` and `TargetServices` parameters to the `Install` action."/>
2032bde4061SEd Tanous
2042bde4061SEd Tanous      <EntityType Name="LicenseService" BaseType="LicenseService.v1_0_0.LicenseService"/>
2052bde4061SEd Tanous    </Schema>
2062bde4061SEd Tanous
2072bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LicenseService.v1_1_1">
2082bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
2092bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
2102bde4061SEd Tanous      <EntityType Name="LicenseService" BaseType="LicenseService.v1_1_0.LicenseService"/>
2112bde4061SEd Tanous    </Schema>
2122bde4061SEd Tanous
213*f2a8e57eSGunnar Mills    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LicenseService.v1_1_2">
214*f2a8e57eSGunnar Mills      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
215*f2a8e57eSGunnar Mills      <Annotation Term="OData.Description" String="This version was created to correct the description for the `SFTP` value to match IETF documentation.  It was also 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."/>
216*f2a8e57eSGunnar Mills      <EntityType Name="LicenseService" BaseType="LicenseService.v1_1_1.LicenseService"/>
217*f2a8e57eSGunnar Mills    </Schema>
218*f2a8e57eSGunnar Mills
2192bde4061SEd Tanous  </edmx:DataServices>
2202bde4061SEd Tanous</edmx:Edmx>
221