RackHD/on-http

View on GitHub
static/DSP8010_2016.3/metadata/SerialInterface_v1.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<!---->
<!--################################################################################       -->
<!--# Redfish Schema:  SerialInterface  v1.0.3-->
<!--#                                                                                      -->
<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->
<!--# available at http://www.dmtf.org/standards/redfish                                   -->
<!--# 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://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
  </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.v1_0_0"/>
  </edmx:Reference>

  <edmx:DataServices>

    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface">

      <EntityType Name="SerialInterface" BaseType="Resource.v1_0_0.Resource" Abstract="true">
        <Annotation Term="OData.Description" String="This resource describes an asynchronous serial interface, such as an RS-232 interface, available to a system or device."/>
        <Annotation Term="OData.LongDescription" String="This resource shall be used to represent serial resources as part of the Redfish specification."/>
        <Annotation Term="Capabilities.InsertRestrictions">
          <Record>
            <PropertyValue Property="Insertable" Bool="false"/>
          </Record>
        </Annotation>
        <Annotation Term="Capabilities.UpdateRestrictions">
          <Record>
            <PropertyValue Property="Updatable" Bool="true"/>
            <Annotation Term="OData.Description" String="A Serial Interface can be updated to enable or disable it or to change the configuration."/>
          </Record>
        </Annotation>
        <Annotation Term="Capabilities.DeleteRestrictions">
          <Record>
            <PropertyValue Property="Deletable" Bool="false"/>
          </Record>
        </Annotation>
      </EntityType>

    </Schema>

    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface.v1_0_0">

      <EntityType Name="SerialInterface" BaseType="SerialInterface.SerialInterface">
        <Annotation Term="OData.Description" String="This schema defines an asynchronous serial interface resource."/>
        <Annotation Term="OData.LongDescription" String="This resource shall be used to represent serial resources as part of the Redfish specification."/>
        <Property Name="InterfaceEnabled" Type="Edm.Boolean">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
          <Annotation Term="OData.Description" String="This indicates whether this interface is enabled."/>
          <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether this interface is enabled."/>
        </Property>
        <Property Name="SignalType" Type="SerialInterface.v1_0_0.SignalType" Nullable="false">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The type of signal used for the communication connection - RS232 or RS485."/>
          <Annotation Term="OData.LongDescription" String="This property shall indicate the type of serial signalling that will be utilized for the serial connection."/>
        </Property>
        <Property Name="BitRate" Type="SerialInterface.v1_0_0.BitRate" Nullable="false">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
          <Annotation Term="OData.Description" String="The receive and transmit rate of data flow, typically in bits-per-second (bps), over the serial connection."/>
          <Annotation Term="OData.LongDescription" String="This property shall indicate the transmit and receive speed of the serial connection."/>
        </Property>
        <Property Name="Parity" Type="SerialInterface.v1_0_0.Parity" Nullable="false">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
          <Annotation Term="OData.Description" String="The type of parity used by the sender and receiver in order to detect errors over the serial connection."/>
          <Annotation Term="OData.LongDescription" String="This property shall indicate parity information for a serial connection."/>
        </Property>
        <Property Name="DataBits" Type="SerialInterface.v1_0_0.DataBits" Nullable="false">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
          <Annotation Term="OData.Description" String="The number of data bits that will follow the start bit over the serial connection."/>
          <Annotation Term="OData.LongDescription" String="This property shall indicate number of data bits for the serial connection."/>
        </Property>
        <Property Name="StopBits" Type="SerialInterface.v1_0_0.StopBits" Nullable="false">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
          <Annotation Term="OData.Description" String="The period of time before the next start bit is transmitted."/>
          <Annotation Term="OData.LongDescription" String="This property shall indicate the stop bits for the serial connection."/>
        </Property>
        <Property Name="FlowControl" Type="SerialInterface.v1_0_0.FlowControl" Nullable="false">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
          <Annotation Term="OData.Description" String="The type of flow control, if any, that will be imposed on the serial connection."/>
          <Annotation Term="OData.LongDescription" String="This property shall indicate the flow control mechanism for the serial connection."/>
        </Property>
        <Property Name="ConnectorType" Type="SerialInterface.v1_0_0.ConnectorType" Nullable="false">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The type of connector used for this interface."/>
          <Annotation Term="OData.LongDescription" String="This property shall indicate the type of phyiscal connector used for this serial connection."/>
        </Property>
        <Property Name="PinOut" Type="SerialInterface.v1_0_0.PinOut">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The physical pin configuration needed for a serial connector."/>
          <Annotation Term="OData.LongDescription" String="This property shall indicate the physical pin out for the serial connection."/>
        </Property>
      </EntityType>

      <EnumType Name="SignalType">
        <Member Name="Rs232"/>
        <Member Name="Rs485"/>
      </EnumType>

      <TypeDefinition Name="BitRate" UnderlyingType="Edm.String">
        <Annotation Term="Redfish.Enumeration">
          <Collection>
            <Record>
              <PropertyValue Property="Member" String="1200"/>
            </Record>
            <Record>
              <PropertyValue Property="Member" String="2400"/>
            </Record>
            <Record>
              <PropertyValue Property="Member" String="4800"/>
            </Record>
            <Record>
              <PropertyValue Property="Member" String="9600"/>
            </Record>
            <Record>
              <PropertyValue Property="Member" String="19200"/>
            </Record>
            <Record>
              <PropertyValue Property="Member" String="38400"/>
            </Record>
            <Record>
              <PropertyValue Property="Member" String="57600"/>
            </Record>
            <Record>
              <PropertyValue Property="Member" String="115200"/>
            </Record>
            <Record>
              <PropertyValue Property="Member" String="230400"/>
            </Record>
          </Collection>
        </Annotation>
      </TypeDefinition>

      <EnumType Name="Parity">
        <Member Name="None"/>
        <Member Name="Even"/>
        <Member Name="Odd"/>
        <Member Name="Mark"/>
        <Member Name="Space"/>
      </EnumType>

      <TypeDefinition Name="DataBits" UnderlyingType="Edm.String">
        <Annotation Term="Redfish.Enumeration">
          <Collection>
            <Record>
              <PropertyValue Property="Member" String="5"/>
            </Record>
            <Record>
              <PropertyValue Property="Member" String="6"/>
            </Record>
            <Record>
              <PropertyValue Property="Member" String="7"/>
            </Record>
            <Record>
              <PropertyValue Property="Member" String="8"/>
            </Record>
          </Collection>
        </Annotation>
      </TypeDefinition>

      <TypeDefinition Name="StopBits" UnderlyingType="Edm.String">
        <Annotation Term="Redfish.Enumeration">
          <Collection>
            <Record>
              <PropertyValue Property="Member" String="1"/>
            </Record>
            <Record>
              <PropertyValue Property="Member" String="2"/>
            </Record>
          </Collection>
        </Annotation>
      </TypeDefinition>

      <EnumType Name="FlowControl">
        <Member Name="None">
          <Annotation Term="OData.Description" String="No flow control imposed."/>
        </Member>
        <Member Name="Software">
          <Annotation Term="OData.Description" String="XON/XOFF in-band flow control imposed."/>
        </Member>
        <Member Name="Hardware">
          <Annotation Term="OData.Description" String="Out of band flow control imposed."/>
        </Member>
      </EnumType>

      <EnumType Name="PinOut">
        <Member Name="Cisco"/>
        <Member Name="Cyclades"/>
        <Member Name="Digi"/>
      </EnumType>

      <TypeDefinition Name="ConnectorType" UnderlyingType="Edm.String">
        <Annotation Term="Redfish.Enumeration">
          <Collection>
            <Record>
              <PropertyValue Property="Member" String="RJ45."/>
            </Record>
            <Record>
              <PropertyValue Property="Member" String="RJ11."/>
            </Record>
            <Record>
              <PropertyValue Property="Member" String="DB9 Female."/>
            </Record>
            <Record>
              <PropertyValue Property="Member" String="DB9 Male."/>
            </Record>
            <Record>
              <PropertyValue Property="Member" String="DB25 Female."/>
            </Record>
            <Record>
              <PropertyValue Property="Member" String="DB25 Male."/>
            </Record>
            <Record>
              <PropertyValue Property="Member" String="USB."/>
            </Record>
            <Record>
              <PropertyValue Property="Member" String="mUSB."/>
            </Record>
            <Record>
              <PropertyValue Property="Member" String="uUSB."/>
            </Record>
          </Collection>
        </Annotation>
      </TypeDefinition>

    </Schema>

    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface.v1_0_2">
      <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
      <EntityType Name="SerialInterface" BaseType="SerialInterface.v1_0_0.SerialInterface"/>
    </Schema>

    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface.v1_0_3">
      <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
      <EntityType Name="SerialInterface" BaseType="SerialInterface.v1_0_2.SerialInterface"/>
    </Schema>

  </edmx:DataServices>
</edmx:Edmx>