Redfish Schemas/OSNEXUS v1.xml

From OSNEXUS Online Documentation Site
Revision as of 23:48, 7 November 2026 by Qadmin (talk | contribs) (QSTOR-13246: OSNEXUS Redfish OEM schema v1_0_0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2026 OSNEXUS Corporation. Generated by swordfish/schemas/gen_oem_schemas.py. -->
<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="OSNEXUS">
      <Annotation Term="Redfish.OwningEntity" String="OSNEXUS"/>
      <ComplexType Name="ComputerSystem" BaseType="Resource.OemObject" Abstract="true">
        <Annotation Term="OData.Description" String="OSNEXUS extensions to ComputerSystem (a QuantaStor storage system)."/>
        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
      </ComplexType>
      <ComplexType Name="StoragePool" BaseType="Resource.OemObject" Abstract="true">
        <Annotation Term="OData.Description" String="OSNEXUS extensions to StoragePool (a QuantaStor storage pool)."/>
        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
      </ComplexType>
      <ComplexType Name="Volume" BaseType="Resource.OemObject" Abstract="true">
        <Annotation Term="OData.Description" String="OSNEXUS extensions to Volume (a QuantaStor storage volume)."/>
        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
      </ComplexType>
      <ComplexType Name="Drive" BaseType="Resource.OemObject" Abstract="true">
        <Annotation Term="OData.Description" String="OSNEXUS extensions to Drive (a QuantaStor physical disk)."/>
        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
      </ComplexType>
      <ComplexType Name="FileSystem" BaseType="Resource.OemObject" Abstract="true">
        <Annotation Term="OData.Description" String="OSNEXUS extensions to FileSystem (a QuantaStor network share)."/>
        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
      </ComplexType>
      <ComplexType Name="Task" BaseType="Resource.OemObject" Abstract="true">
        <Annotation Term="OData.Description" String="OSNEXUS extensions to Task (a QuantaStor task)."/>
        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
      </ComplexType>
    </Schema>
    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OSNEXUS.v1_0_0">
      <Annotation Term="Redfish.OwningEntity" String="OSNEXUS"/>
      <Annotation Term="Redfish.Release" String="1.0"/>
      <ComplexType Name="ComputerSystem" BaseType="OSNEXUS.ComputerSystem">
        <Annotation Term="OData.Description" String="OSNEXUS extensions to ComputerSystem (a QuantaStor storage system)."/>
        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
        <Property Name="ServiceVersion" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The QuantaStor service version."/>
        </Property>
        <Property Name="KernelVersion" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The Linux kernel version."/>
        </Property>
        <Property Name="DistroVersion" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The operating system release."/>
        </Property>
        <Property Name="IsGridMaster" Type="Edm.Boolean">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="Whether this storage system is the grid master."/>
        </Property>
        <Property Name="StartupTime" Type="Edm.DateTimeOffset">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="When the QuantaStor service last started."/>
        </Property>
      </ComplexType>
      <ComplexType Name="StoragePool" BaseType="OSNEXUS.StoragePool">
        <Annotation Term="OData.Description" String="OSNEXUS extensions to StoragePool (a QuantaStor storage pool)."/>
        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
        <Property Name="PoolType" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The pool type, for example ZFS or CephRBD."/>
        </Property>
        <Property Name="Compressed" Type="Edm.Boolean">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="Whether compression is enabled."/>
        </Property>
        <Property Name="Deduplicated" Type="Edm.Boolean">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="Whether deduplication is enabled."/>
        </Property>
        <Property Name="Encrypted" Type="Edm.Boolean">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="Whether the pool is encrypted."/>
        </Property>
        <Property Name="PoolStatus" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The pool status reported by the file system, for example ONLINE."/>
        </Property>
        <Property Name="MountPath" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="Where the pool is mounted on the storage system."/>
        </Property>
        <Property Name="CompressionRatio" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The compression ratio, as a decimal string."/>
        </Property>
        <Property Name="DevicesTotal" Type="Edm.Int64">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The number of devices in the pool."/>
        </Property>
        <Property Name="DevicesFailed" Type="Edm.Int64">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The number of failed devices in the pool."/>
        </Property>
      </ComplexType>
      <ComplexType Name="Volume" BaseType="OSNEXUS.Volume">
        <Annotation Term="OData.Description" String="OSNEXUS extensions to Volume (a QuantaStor storage volume)."/>
        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
        <Property Name="StoragePool" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The URI of the StoragePool this resource belongs to."/>
        </Property>
        <Property Name="StoragePoolName" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The name of the storage pool."/>
        </Property>
        <Property Name="Iqn" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The iSCSI qualified name of the volume's target."/>
        </Property>
        <Property Name="SnapshotCount" Type="Edm.Int64">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The number of snapshots of the volume."/>
        </Property>
        <Property Name="Created" Type="Edm.DateTimeOffset">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="When the volume was created."/>
        </Property>
      </ComplexType>
      <ComplexType Name="Drive" BaseType="OSNEXUS.Drive">
        <Annotation Term="OData.Description" String="OSNEXUS extensions to Drive (a QuantaStor physical disk)."/>
        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
        <Property Name="DevicePath" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The persistent device path."/>
        </Property>
        <Property Name="AltDevicePath" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The kernel device path."/>
        </Property>
        <Property Name="StoragePool" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The URI of the StoragePool this resource belongs to."/>
        </Property>
        <Property Name="SmartHealth" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The result of the last SMART health test."/>
        </Property>
        <Property Name="Temperature" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The drive temperature as reported by the drive."/>
        </Property>
      </ComplexType>
      <ComplexType Name="FileSystem" BaseType="OSNEXUS.FileSystem">
        <Annotation Term="OData.Description" String="OSNEXUS extensions to FileSystem (a QuantaStor network share)."/>
        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
        <Property Name="StoragePool" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The URI of the StoragePool this resource belongs to."/>
        </Property>
        <Property Name="SharePath" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="Where the share is mounted on the storage system."/>
        </Property>
        <Property Name="Encrypted" Type="Edm.Boolean">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="Whether the share is encrypted."/>
        </Property>
        <Property Name="SnapshotCount" Type="Edm.Int64">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The number of snapshots of the share."/>
        </Property>
        <Property Name="Active" Type="Edm.Boolean">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="Whether the share is active."/>
        </Property>
        <Property Name="Health" Type="Resource.Health">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The health of the share."/>
        </Property>
      </ComplexType>
      <ComplexType Name="Task" BaseType="OSNEXUS.Task">
        <Annotation Term="OData.Description" String="OSNEXUS extensions to Task (a QuantaStor task)."/>
        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
        <Property Name="Operation" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The QuantaStor operation, for example create or modify."/>
        </Property>
        <Property Name="ObjectType" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The type of the QuantaStor object the task acts on."/>
        </Property>
        <Property Name="ObjectId" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The id of the QuantaStor object the task acts on."/>
        </Property>
      </ComplexType>
    </Schema>
  </edmx:DataServices>
</edmx:Edmx>