<?xml version="1.0" encoding="UTF-8"?>
<!--
  Device:2 Root Data Model: Common Object definitions [MoCA]

  Copyright (c) 2010-2020, Broadband Forum

  Redistribution and use in source and binary forms, with or
  without modification, are permitted provided that the following
  conditions are met:

  1. Redistributions of source code must retain the above copyright
     notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above
     copyright notice, this list of conditions and the following
     disclaimer in the documentation and/or other materials
     provided with the distribution.

  3. Neither the name of the copyright holder nor the names of its
     contributors may be used to endorse or promote products
     derived from this software without specific prior written
     permission.

  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
  CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
  INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

  The above license is used as a license under copyright only.
  Please reference the Forum IPR Policy for patent licensing terms
  <https://www.broadband-forum.org/ipr-policy>.

  Any moral rights which are necessary to exercise under the above
  license grant are also deemed granted under this license.

  Comments or questions about this Broadband Forum data model should be
  directed to <info@broadband-forum.org>.
-->

<dm:document
    xmlns:dm="urn:broadband-forum-org:cwmp:datamodel-1-8"
    xmlns:dmr="urn:broadband-forum-org:cwmp:datamodel-report-1-0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="
      urn:broadband-forum-org:cwmp:datamodel-1-8
        https://www.broadband-forum.org/cwmp/cwmp-datamodel-1-8.xsd
      urn:broadband-forum-org:cwmp:datamodel-report-1-0
        https://www.broadband-forum.org/cwmp/cwmp-datamodel-report-1-0.xsd"
    spec="urn:broadband-forum-org:tr-181-2-14-0-moca"
    file="tr-181-2-14-0-moca.xml">

  <import file="tr-069-biblio.xml" spec="urn:broadband-forum-org:tr-069"/>

  <import file="tr-106-types.xml" spec="urn:broadband-forum-org:tr-106">
    <dataType name="Alias" ref="_AliasCommon"/>
    <dataType name="MACAddress"/>
  </import>

  <import file="tr-181-2-root.xml"
      spec="urn:broadband-forum-org:tr-181-2-14-root">
    <component name="Root"/>
  </import>

  <component name="MoCA">

    <object name="Device.MoCA." access="readOnly" minEntries="1"
        maxEntries="1" version="2.0">
      <description>
        MoCA object that contains the {{object|Interface}} table
        {{bibref|MoCAv1.0}} {{bibref|MoCAv1.1}}.
      </description>

      <parameter name="InterfaceNumberOfEntries" access="readOnly">
        <description>
          {{numentries}}
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>
    </object>

    <object name="Device.MoCA.Interface.{i}." access="readOnly"
        numEntriesParameter="InterfaceNumberOfEntries" minEntries="0"
        maxEntries="unbounded" dmr:fixedObject="true" version="2.0">
      <description>
        MoCA interface table (a stackable interface object as described in
        {{bibref|TR-181i2|Section 4.2}}). Each table entry models the PHY and
        MAC levels of a MoCA interface {{bibref|MoCAv1.0}} {{bibref|MoCAv1.1}}.
      </description>
      <uniqueKey functional="false">
        <parameter ref="Alias"/>
      </uniqueKey>
      <uniqueKey functional="false">
        <parameter ref="Name"/>
      </uniqueKey>

      <parameter name="Enable" access="readWrite">
        <description>
          Enables or disables the interface.

          This parameter is based on ''ifAdminStatus'' from {{bibref|RFC2863}}.
        </description>
        <syntax>
          <boolean/>
        </syntax>
      </parameter>

      <parameter name="Status" access="readOnly">
        <description>
          The current operational state of the interface (see
          {{bibref|TR-181i2|Section 4.2.2}}). {{enum}}

          When {{param|Enable}} is {{false}} then {{param}} SHOULD normally be
          {{enum|Down}} (or {{enum|NotPresent}} or {{enum|Error}} if there is a
          fault condition on the interface).

          When {{param|Enable}} is changed to {{true}} then {{param}} SHOULD
          change to {{enum|Up}} if and only if the interface is able to
          transmit and receive network traffic; it SHOULD change to
          {{enum|Dormant}} if and only if the interface is operable but is
          waiting for external actions before it can transmit and receive
          network traffic (and subsequently change to {{enum|Up}} if still
          operable when the expected actions have completed); it SHOULD change
          to {{enum|LowerLayerDown}} if and only if the interface is prevented
          from entering the {{enum|Up}} state because one or more of the
          interfaces beneath it is down; it SHOULD remain in the {{enum|Error}}
          state if there is an error or other fault condition detected on the
          interface; it SHOULD remain in the {{enum|NotPresent}} state if the
          interface has missing (typically hardware) components; it SHOULD
          change to {{enum|Unknown}} if the state of the interface can not be
          determined for some reason.

          This parameter is based on ''ifOperStatus'' from {{bibref|RFC2863}}.
        </description>
        <syntax>
          <string>
            <enumeration value="Up"/>
            <enumeration value="Down"/>
            <enumeration value="Unknown"/>
            <enumeration value="Dormant"/>
            <enumeration value="NotPresent"/>
            <enumeration value="LowerLayerDown"/>
            <enumeration value="Error" optional="true"/>
          </string>
        </syntax>
      </parameter>

      <parameter name="Alias" access="readWrite" activeNotify="canDeny">
        <description>
          {{datatype|expand}}
        </description>
        <syntax>
          <dataType ref="Alias"/>
        </syntax>
      </parameter>

      <parameter name="Name" access="readOnly">
        <description>
          The textual name of the interface as assigned by the CPE.
        </description>
        <syntax>
          <string>
            <size maxLength="64"/>
          </string>
        </syntax>
      </parameter>

      <parameter name="LastChange" access="readOnly" activeNotify="canDeny">
        <description>
          The accumulated time in {{units}} since the interface entered its
          current operational state.
        </description>
        <syntax>
          <unsignedInt>
            <units value="seconds"/>
          </unsignedInt>
        </syntax>
      </parameter>

      <parameter name="LowerLayers" access="readWrite">
        <description>
          {{list}} {{reference|an interface object that is stacked immediately
          below this interface object}} See {{bibref|TR-181i2|Section 4.2.1}}.

          Note: Since {{object}} is a layer 1 interface, it is expected that
          {{param}} will not be used.
        </description>
        <syntax>
          <list>
            <size maxLength="1024"/>
          </list>
          <string>
            <pathRef refType="strong" targetType="row"/>
          </string>
        </syntax>
      </parameter>

      <parameter name="Upstream" access="readOnly">
        <description>
          Indicates whether the interface points towards the Internet
          ({{true}}) or towards End Devices ({{false}}).

          For example:

          * For an Internet Gateway Device, {{param}} will be {{true}} for all
            WAN interfaces and {{false}} for all LAN interfaces.

          * For a standalone WiFi Access Point that is connected via Ethernet
            to an Internet Gateway Device, {{param}} will be {{true}} for the
            Ethernet interface and {{false}} for the WiFi Radio interface.

          * For an End Device, {{param}} will be {{true}} for all interfaces.
        </description>
        <syntax>
          <boolean/>
        </syntax>
      </parameter>

      <parameter name="MACAddress" access="readOnly">
        <description>
          The MAC Address of the interface.

          Note: This is not necessarily the same as the Ethernet header source
          or destination MAC address, which is associated with the IP interface
          and is modeled via the {{param|.Ethernet.Link.{i}.MACAddress}}
          parameter.
        </description>
        <syntax>
          <dataType ref="MACAddress"/>
        </syntax>
      </parameter>

      <parameter name="FirmwareVersion" access="readOnly">
        <description>
          This interface's firmware version.

          This parameter is based on ''mocaIfSoftwareVersion'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <string>
            <size maxLength="64"/>
          </string>
        </syntax>
      </parameter>

      <parameter name="MaxBitRate" access="readOnly">
        <description>
          The maximum MoCA PHY bit rate (expressed in {{units}}).
        </description>
        <syntax>
          <unsignedInt>
            <units value="Mbps"/>
          </unsignedInt>
        </syntax>
      </parameter>

      <parameter name="MaxIngressBW" access="readOnly">
        <description>
          The maximum bandwidth of this interface for flows onto the MoCA
          network in {{units}}.

          This parameter is based on ''mocaIfMaxIngressNodeBw'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt>
            <units value="Mbps"/>
          </unsignedInt>
        </syntax>
      </parameter>

      <parameter name="MaxEgressBW" access="readOnly">
        <description>
          The maximum bandwidth of this interface for flows from the MoCA
          network in {{units}}.

          This parameter is based on ''mocaIfMaxEgressNodeBw'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt>
            <units value="Mbps"/>
          </unsignedInt>
        </syntax>
      </parameter>

      <parameter name="HighestVersion" access="readOnly">
        <description>
          Identifies the highest MoCA version that this interface supports.

          This element MUST be in the form of dot-delimited integers, where
          each successive integer represents a more minor category of
          variation. For example, 1.0, where the components mean major.minor
          revision number. {{pattern}}

          This parameter is based on ''mocaIfMocaVersion'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <string>
            <size maxLength="64"/>
            <pattern value="\d+(\.\d+)*"/>
          </string>
        </syntax>
      </parameter>

      <parameter name="CurrentVersion" access="readOnly">
        <description>
          Identifies the MoCA version that the MoCA network is currently
          running.

          This element MUST be in the form of dot-delimited integers, where
          each successive integer represents a more minor category of
          variation. For example, 1.0, where the components mean major.minor
          revision number. {{pattern}}

          This parameter is based on ''mocaIfNetworkVersion'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <string>
            <size maxLength="64"/>
            <pattern value="\d+(\.\d+)*"/>
          </string>
        </syntax>
      </parameter>

      <parameter name="NetworkCoordinator" access="readOnly">
        <description>
          The Node ID of the current Network Coordinator (NC) for the MoCA
          network.

          This parameter is based on ''mocaIfNC'' from {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>

      <parameter name="NodeID" access="readOnly">
        <description>
          The Node ID of this interface.

          This parameter is based on ''mocaIfNodeID'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>

      <parameter name="MaxNodes" access="readOnly">
        <description>
          The maximum network node capability supported by the interface. If
          {{param}} is {{true}} then the interface supports 16 nodes (the
          maximum for a MoCA 1.1 network). If {{param}} is false then the
          interface supports 8 nodes (the maximum for a MoCA 1.0 network).
        </description>
        <syntax>
          <boolean/>
        </syntax>
      </parameter>

      <parameter name="PreferredNC" access="readWrite">
        <description>
          Whether this interface is a preferred Network Coordinator (NC).

          This parameter is based on ''mocaIfPreferredNC'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <boolean/>
        </syntax>
      </parameter>

      <parameter name="BackupNC" access="readOnly">
        <description>
          The Node ID of the backup Network Coordinator node.

          This parameter is based on ''mocaIfBackupNC'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>

      <parameter name="PrivacyEnabledSetting" access="readWrite">
        <description>
          The configured privacy mode. This indicates whether link-layer
          security is enabled ({{true}}) or disabled ({{false}}) for network
          admission.

          The configured privacy setting MAY NOT match the current operational
          state ({{param|PrivacyEnabled}}), since this setting is only applied
          during network formation or admission.
        </description>
        <syntax>
          <boolean/>
        </syntax>
      </parameter>

      <parameter name="PrivacyEnabled" access="readOnly">
        <description>
          Indicates whether link-layer security is enabled or disabled.

          This parameter is based on ''mocaIfPrivacyEnable'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <boolean/>
        </syntax>
      </parameter>

      <parameter name="FreqCapabilityMask" access="readOnly">
        <description>
          Hexadecimal encoded 64-bit mask of supported frequencies. This is the
          bit map of the spectrum that the interface supports, and each bit
          represents 25 MHz of spectrum. The least significant bit of the
          rightmost character corresponds to 800MHz, which is the lowest
          frequency.

          For example, an interface that supports 1150 MHz through 1500 MHz
          would have a value of 0x000000001FFFC000.

          This parameter is based on ''mocaIfCapabilityMask'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <hexBinary>
            <size minLength="8" maxLength="8"/>
          </hexBinary>
        </syntax>
      </parameter>

      <parameter name="FreqCurrentMaskSetting" access="readWrite">
        <description>
          The configured hexadecimal encoded 64-bit mask of enabled frequencies
          for network admission.

          The configured frequencies MAY NOT match the current operational
          state ({{param|FreqCurrentMask}}), since this setting is only applied
          during network formation or admission.
        </description>
        <syntax>
          <hexBinary>
            <size minLength="8" maxLength="8"/>
          </hexBinary>
        </syntax>
      </parameter>

      <parameter name="FreqCurrentMask" access="readOnly">
        <description>
          Hexadecimal encoded 64-bit mask of used frequencies. This is the bit
          map of the spectrum that can be used and is a subset of the
          {{param|FreqCapabilityMask}}. Each bit represents 25 MHz of spectrum.
          The least significant bit of the rightmost character corresponds to
          800MHz, which is the lowest frequency.

          This parameter is based on ''mocaIfChannelMask'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <hexBinary>
            <size minLength="8" maxLength="8"/>
          </hexBinary>
        </syntax>
      </parameter>

      <parameter name="CurrentOperFreq" access="readOnly">
        <description>
          Current Operational Frequency. The RF frequency in Hz to which the
          MoCA interface is currently tuned. This parameter is only valid when
          {{param|Status}} is {{enum|Up|Status}}.

          This parameter is based on ''mocaIfRFChannel'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>

      <parameter name="LastOperFreq" access="readOnly">
        <description>
          Last Operational Frequency. The RF frequency in Hz to which the MoCA
          interface was tuned when last in the {{enum|Up|Status}} state.

          This parameter is based on ''mocaIfLOF'' from {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>

      <parameter name="KeyPassphrase" access="readWrite">
        <description>
          MoCA Password. The value consists of numeric characters (0-9).
          {{pattern}}

          This parameter is based on ''mocaIfPassword'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax hidden="true">
          <string>
            <size minLength="12" maxLength="17"/>
            <pattern value="\d+"/>
          </string>
        </syntax>
      </parameter>

      <parameter name="TxPowerLimit" access="readWrite">
        <description>
          Transmit Power attenuation in dB relative to the maximum transmit
          power.

          The MoCA interface SHOULD have {{param|Enable}} set to {{false}} for
          any change in this configuration. If the parameter is modified when
          {{param|Enable}} is {{true}} then this change might take several
          minutes to complete.

          This parameter is based on ''mocaIfTxPowerLimit'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>

      <parameter name="PowerCntlPhyTarget" access="readWrite">
        <description>
          Target PHY rate in Mbps for the power control algorithm.

          The MoCA interface SHOULD have {{param|Enable}} set to {{false}} for
          any change in this configuration. If the parameter is modified when
          {{param|Enable}} is {{true}} then this change might take several
          minutes to complete.

          This parameter is based on ''mocaIfPowerControlTargetRate'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>

      <parameter name="BeaconPowerLimit" access="readWrite">
        <description>
          Beacon Transmit Power attenuation in {{units}} relative to the
          maximum transmit power.

          The MoCA interface SHOULD have {{param|Enable}} set to {{false}} for
          any change in this configuration. If the parameter is modified when
          {{param|Enable}} is {{true}} then this change might take several
          minutes to complete.

          This parameter is based on ''mocaIfBeaconPowerLimit'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt>
            <units value="dB"/>
          </unsignedInt>
        </syntax>
      </parameter>

      <parameter name="NetworkTabooMask" access="readOnly">
        <description>
          Hexadecimal encoded 64-bit mask of MoCA taboo channels identified for
          the home network. This is the bit map of the spectrum that the
          interface supports, and each bit represents 25 MHz of spectrum. The
          least significant bit of the rightmost character corresponds to
          800MHz, which is the lowest frequency.

          This parameter is based on ''mocaIfTabooChannelMask'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <hexBinary>
            <size minLength="8" maxLength="8"/>
          </hexBinary>
        </syntax>
      </parameter>

      <parameter name="NodeTabooMask" access="readOnly">
        <description>
          Hexadecimal encoded 64-bit mask of supported frequencies. This is the
          bit map of the spectrum that the interface supports, and each bit
          represents 25 MHz of spectrum. The least significant bit of the
          rightmost character corresponds to 800MHz, which is the lowest
          frequency.

          This parameter is based on ''mocaIfNodeTabooChannelMask'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <hexBinary>
            <size minLength="8" maxLength="8"/>
          </hexBinary>
        </syntax>
      </parameter>

      <parameter name="TxBcastRate" access="readOnly">
        <description>
          The broadcast PHY transmit rate in {{units}} for this interface.

          This parameter is based on ''mocaIfTxGcdRate'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt>
            <units value="Mbps"/>
          </unsignedInt>
        </syntax>
      </parameter>

      <parameter name="TxBcastPowerReduction" access="readOnly">
        <description>
          Transmit Power attenuation in {{units}} relative to the maximum
          transmit power for broadcast transmissions.

          This parameter is based on ''mocaIfTxGcdPowerReduction'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt>
            <units value="dB"/>
          </unsignedInt>
        </syntax>
      </parameter>

      <parameter name="QAM256Capable" access="readOnly">
        <description>
          Whether this interface supports the 256 QAM feature.

          This parameter is based on ''mocaIfQAM256Capable'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <boolean/>
        </syntax>
      </parameter>

      <parameter name="PacketAggregationCapability" access="readOnly">
        <description>
          The packet aggregation capability supported by the interface.
          Standard values are 0 (no support), 6 (6 {{units}}) or 10 (10
          {{units}}).

          This parameter is based on ''mocaIfPacketsAggrCapability'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt>
            <range minInclusive="0" maxInclusive="10"/>
            <units value="packets"/>
          </unsignedInt>
        </syntax>
      </parameter>

      <parameter name="AssociatedDeviceNumberOfEntries" access="readOnly">
        <description>
          {{numentries}}
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>
    </object>

    <object name="Device.MoCA.Interface.{i}.Stats." access="readOnly"
        minEntries="1" maxEntries="1" version="2.0">
      <description>
        Throughput statistics for this interface.

        The CPE MUST reset the interface's Stats parameters (unless otherwise
        stated in individual object or parameter descriptions) either when the
        interface becomes operationally down due to a previous administrative
        down (i.e. the interface's {{param|#.Status}} parameter transitions to
        a down state after the interface is disabled) or when the interface
        becomes administratively up (i.e. the interface's {{param|#.Enable}}
        parameter transitions from {{false}} to {{true}}). Administrative and
        operational interface status is discussed in {{bibref|TR-181i2|section
        4.2.2}}.
      </description>

      <parameter name="BytesSent" access="readOnly" activeNotify="canDeny">
        <description>
          The total number of bytes transmitted out of the interface, including
          framing characters.
        </description>
        <syntax>
          <unsignedLong/>
        </syntax>
      </parameter>

      <parameter name="BytesReceived" access="readOnly" activeNotify="canDeny">
        <description>
          The total number of bytes received on the interface, including
          framing characters.
        </description>
        <syntax>
          <unsignedLong/>
        </syntax>
      </parameter>

      <parameter name="PacketsSent" access="readOnly" activeNotify="canDeny">
        <description>
          The total number of packets transmitted out of the interface.
        </description>
        <syntax>
          <unsignedLong/>
        </syntax>
      </parameter>

      <parameter name="PacketsReceived" access="readOnly"
          activeNotify="canDeny">
        <description>
          The total number of packets received on the interface.
        </description>
        <syntax>
          <unsignedLong/>
        </syntax>
      </parameter>

      <parameter name="ErrorsSent" access="readOnly" activeNotify="canDeny">
        <description>
          The total number of outbound packets that could not be transmitted
          because of errors.
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>

      <parameter name="ErrorsReceived" access="readOnly"
          activeNotify="canDeny">
        <description>
          The total number of inbound packets that contained errors preventing
          them from being delivered to a higher-layer protocol.
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>

      <parameter name="UnicastPacketsSent" access="readOnly"
          activeNotify="canDeny">
        <description>
          The total number of packets requested for transmission which were not
          addressed to a multicast or broadcast address at this layer,
          including those that were discarded or not sent.
        </description>
        <syntax>
          <unsignedLong/>
        </syntax>
      </parameter>

      <parameter name="UnicastPacketsReceived" access="readOnly"
          activeNotify="canDeny">
        <description>
          The total number of received packets, delivered by this layer to a
          higher layer, which were not addressed to a multicast or broadcast
          address at this layer.
        </description>
        <syntax>
          <unsignedLong/>
        </syntax>
      </parameter>

      <parameter name="DiscardPacketsSent" access="readOnly"
          activeNotify="canDeny">
        <description>
          The total number of outbound packets which were chosen to be
          discarded even though no errors had been detected to prevent their
          being transmitted. One possible reason for discarding such a packet
          could be to free up buffer space.
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>

      <parameter name="DiscardPacketsReceived" access="readOnly"
          activeNotify="canDeny">
        <description>
          The total number of inbound packets which were chosen to be discarded
          even though no errors had been detected to prevent their being
          delivered. One possible reason for discarding such a packet could be
          to free up buffer space.
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>

      <parameter name="MulticastPacketsSent" access="readOnly"
          activeNotify="canDeny">
        <description>
          The total number of packets that higher-level protocols requested for
          transmission and which were addressed to a multicast address at this
          layer, including those that were discarded or not sent.
        </description>
        <syntax>
          <unsignedLong/>
        </syntax>
      </parameter>

      <parameter name="MulticastPacketsReceived" access="readOnly"
          activeNotify="canDeny">
        <description>
          The total number of received packets, delivered by this layer to a
          higher layer, which were addressed to a multicast address at this
          layer.
        </description>
        <syntax>
          <unsignedLong/>
        </syntax>
      </parameter>

      <parameter name="BroadcastPacketsSent" access="readOnly"
          activeNotify="canDeny">
        <description>
          The total number of packets that higher-level protocols requested for
          transmission and which were addressed to a broadcast address at this
          layer, including those that were discarded or not sent.
        </description>
        <syntax>
          <unsignedLong/>
        </syntax>
      </parameter>

      <parameter name="BroadcastPacketsReceived" access="readOnly"
          activeNotify="canDeny">
        <description>
          The total number of received packets, delivered by this layer to a
          higher layer, which were addressed to a broadcast address at this
          layer.
        </description>
        <syntax>
          <unsignedLong/>
        </syntax>
      </parameter>

      <parameter name="UnknownProtoPacketsReceived" access="readOnly"
          activeNotify="canDeny">
        <description>
          The total number of packets received via the interface which were
          discarded because of an unknown or unsupported protocol.
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>
    </object>

    <object name="Device.MoCA.Interface.{i}.QoS." access="readOnly"
        minEntries="1" maxEntries="1" version="2.0">
      <description>
        The QoS object provides information on MoCA parameterized QoS for this
        interface {{bibref|MoCAv1.1}}.
      </description>

      <parameter name="EgressNumFlows" access="readOnly">
        <description>
          The number of QoS flows that this interface has from the MoCA
          network.

          This parameter is based on ''mocaIfEgressNodeNumFlows'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>

      <parameter name="IngressNumFlows" access="readOnly">
        <description>
          The number of QoS flows that this interface has onto the MoCA
          network.

          This parameter is based on ''mocaIfIngressNodeNumFlows'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>

      <parameter name="FlowStatsNumberOfEntries" access="readOnly">
        <description>
          {{numentries}}
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>
    </object>

    <object name="Device.MoCA.Interface.{i}.QoS.FlowStats.{i}."
        access="readOnly" numEntriesParameter="FlowStatsNumberOfEntries"
        minEntries="0" maxEntries="unbounded" version="2.0">
      <description>
        The flow statistics table provides information on the MoCA
        parameterized QoS flows this interface has allocated onto the MoCA
        network.
      </description>
      <uniqueKey>
        <parameter ref="FlowID"/>
      </uniqueKey>

      <parameter name="FlowID" access="readOnly">
        <description>
          The flow ID used to identify a flow in the network.

          This parameter is based on ''mocaIfFlowID'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>

      <parameter name="PacketDA" access="readOnly">
        <description>
          The Destination Address (DA) for the packets in this flow.

          This parameter is based on ''mocaIfPacketDA'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <dataType ref="MACAddress"/>
        </syntax>
      </parameter>

      <parameter name="MaxRate" access="readOnly">
        <description>
          Maximum required rate in {{units}}.

          This parameter is based on ''mocaIfPeakDataRate'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt>
            <units value="Kbps"/>
          </unsignedInt>
        </syntax>
      </parameter>

      <parameter name="MaxBurstSize" access="readOnly">
        <description>
          Maximum burst size.

          This parameter is based on ''mocaIfBurstSize'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>

      <parameter name="LeaseTime" access="readOnly">
        <description>
          Flow lease time (expressed in {{units}}).

          A {{param}} of 0 means unlimited lease time.

          This parameter is based on ''mocaIfLeaseTime'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt>
            <units value="seconds"/>
          </unsignedInt>
        </syntax>
      </parameter>

      <parameter name="LeaseTimeLeft" access="readOnly" activeNotify="canDeny">
        <description>
          Flow lease time remaining (expressed in {{units}}).

          If {{param|LeaseTime}} is 0 then a {{param}} of 0 means unlimited
          lease time; otherwise, a {{param}} of 0 means expired.

          This parameter is based on ''mocaIfLeaseTimeLeft'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt>
            <units value="seconds"/>
          </unsignedInt>
        </syntax>
      </parameter>

      <parameter name="FlowPackets" access="readOnly" activeNotify="canDeny">
        <description>
          The number of packets transmitted for this flow.

          This parameter is based on ''mocaIfTxPacketsFlow'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>
    </object>

    <object name="Device.MoCA.Interface.{i}.AssociatedDevice.{i}."
        access="readOnly" numEntriesParameter="AssociatedDeviceNumberOfEntries"
        minEntries="0" maxEntries="unbounded" version="2.0">
      <description>
        This table contains information about other MoCA devices currently
        associated with this MoCA interface.
      </description>
      <uniqueKey>
        <parameter ref="MACAddress"/>
      </uniqueKey>

      <parameter name="MACAddress" access="readOnly">
        <description>
          The MAC address of the associated device's MoCA interface.
        </description>
        <syntax>
          <dataType ref="MACAddress"/>
        </syntax>
      </parameter>

      <parameter name="NodeID" access="readOnly">
        <description>
          The Node ID of this remote device.

          This parameter is based on ''mocaNodeIndex'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>

      <parameter name="PreferredNC" access="readOnly">
        <description>
          Whether this remote device is a preferred Network Coordinator (NC).

          This parameter is based on ''mocaNodePreferredNC'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <boolean/>
        </syntax>
      </parameter>

      <parameter name="HighestVersion" access="readOnly">
        <description>
          Identifies the highest MoCA version that this remote device supports.

          This element MUST be in the form of dot-delimited integers, where
          each successive integer represents a more minor category of
          variation. For example, 1.0, where the components mean major.minor
          revision number. {{pattern}}

          This parameter is based on ''mocaNodeMocaVersion'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <string>
            <size maxLength="64"/>
            <pattern value="\d+(\.\d+)*"/>
          </string>
        </syntax>
      </parameter>

      <parameter name="PHYTxRate" access="readOnly">
        <description>
          The PHY transmit rate (in {{units}}) to this remote device.

          This parameter is based on ''mocaMeshTxRate'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt>
            <units value="Mbps"/>
          </unsignedInt>
        </syntax>
      </parameter>

      <parameter name="PHYRxRate" access="readOnly">
        <description>
          The PHY receive rate (in {{units}}) from this remote device.
        </description>
        <syntax>
          <unsignedInt>
            <units value="Mbps"/>
          </unsignedInt>
        </syntax>
      </parameter>

      <parameter name="TxPowerControlReduction" access="readOnly">
        <description>
          The reduction in transmitter level (in {{units}}) due to power
          control.

          This parameter is based on ''mocaNodeTxPowerReduction'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt>
            <units value="dB"/>
          </unsignedInt>
        </syntax>
      </parameter>

      <parameter name="RxPowerLevel" access="readOnly" activeNotify="canDeny">
        <description>
          The power level (in {{units}}) received at the MoCA interface from
          this remote device.

          This parameter is based on ''mocaNodeRxPower'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt>
            <units value="dBm"/>
          </unsignedInt>
        </syntax>
      </parameter>

      <parameter name="TxBcastRate" access="readOnly">
        <description>
          The broadcast PHY transmit rate (in {{units}}) from this remote
          device.

          This parameter is based on ''mocaNodeTxGcdRate'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt>
            <units value="Mbps"/>
          </unsignedInt>
        </syntax>
      </parameter>

      <parameter name="RxBcastPowerLevel" access="readOnly"
          activeNotify="canDeny">
        <description>
          The power level (in {{units}}) received at the MoCA interface from
          this remote device.

          This parameter is based on ''mocaNodeRxGcdPower'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt>
            <units value="dBm"/>
          </unsignedInt>
        </syntax>
      </parameter>

      <parameter name="TxPackets" access="readOnly" activeNotify="canDeny">
        <description>
          The number of packets transmitted to this remote device (Note:
          Includes Broadcast, Multicast and Unicast packets).
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>

      <parameter name="RxPackets" access="readOnly" activeNotify="canDeny">
        <description>
          The number of packets received from this remote device (Note:
          Includes Broadcast, Multicast and Unicast packets).

          This parameter is based on ''mocaNodeRxPackets'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>

      <parameter name="RxErroredAndMissedPackets" access="readOnly">
        <description>
          The number of errored and missed packets received from this remote
          device.

          This parameter is based on ''mocaNodeRxDrops'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt/>
        </syntax>
      </parameter>

      <parameter name="QAM256Capable" access="readOnly">
        <description>
          Whether this remote device supports the 256 QAM feature.

          This parameter is based on ''mocaNodeQAM256Capable'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <boolean/>
        </syntax>
      </parameter>

      <parameter name="PacketAggregationCapability" access="readOnly">
        <description>
          The packet aggregation capability supported by the remote device.
          Standard values are 0 (no support), 6 (6 {{units}}) or 10 (10
          {{units}}).

          This parameter is based on ''mocaNodePacketsAggrCapability'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt>
            <range minInclusive="0" maxInclusive="10"/>
            <units value="packets"/>
          </unsignedInt>
        </syntax>
      </parameter>

      <parameter name="RxSNR" access="readOnly">
        <description>
          The signal to noise level (in {{units}}) received at this interface
          from this remote device.

          This parameter is based on ''mocaNodeSNR'' from
          {{bibref|MOCA11-MIB}}.
        </description>
        <syntax>
          <unsignedInt>
            <units value="dBm"/>
          </unsignedInt>
        </syntax>
      </parameter>

      <parameter name="Active" access="readOnly">
        <description>
          Whether or not this remote device is currently present in the MoCA
          network.

          The ability to list inactive nodes is OPTIONAL. If the CPE includes
          inactive nodes in this table, {{param}} MUST be set to {{false}} for
          each inactive node. The length of time an inactive node remains
          listed in this table is a local matter to the CPE.
        </description>
        <syntax>
          <boolean/>
        </syntax>
      </parameter>
    </object>

    <profile name="MoCA:1" version="2.0">
      <object ref="Device.MoCA." requirement="present">
        <parameter ref="InterfaceNumberOfEntries" requirement="readOnly"/>
      </object>
      <object ref="Device.MoCA.Interface.{i}." requirement="present">
        <parameter ref="Enable" requirement="readWrite"/>
        <parameter ref="Status" requirement="readOnly"/>
        <parameter ref="Alias" requirement="readWrite"/>
        <parameter ref="Name" requirement="readOnly"/>
        <parameter ref="LastChange" requirement="readOnly"/>
        <parameter ref="Upstream" requirement="readOnly"/>
        <parameter ref="MACAddress" requirement="readOnly"/>
        <parameter ref="FirmwareVersion" requirement="readOnly"/>
        <parameter ref="MaxBitRate" requirement="readOnly"/>
        <parameter ref="HighestVersion" requirement="readOnly"/>
        <parameter ref="CurrentVersion" requirement="readOnly"/>
        <parameter ref="NetworkCoordinator" requirement="readOnly"/>
        <parameter ref="PrivacyEnabledSetting" requirement="readWrite"/>
        <parameter ref="PrivacyEnabled" requirement="readOnly"/>
        <parameter ref="FreqCapabilityMask" requirement="readOnly"/>
        <parameter ref="FreqCurrentMaskSetting" requirement="readWrite"/>
        <parameter ref="FreqCurrentMask" requirement="readOnly"/>
        <parameter ref="CurrentOperFreq" requirement="readOnly"/>
        <parameter ref="KeyPassphrase" requirement="readWrite"/>
        <parameter ref="NodeID" requirement="readOnly"/>
        <parameter ref="AssociatedDeviceNumberOfEntries"
            requirement="readOnly"/>
      </object>
      <object ref="Device.MoCA.Interface.{i}.Stats." requirement="present">
        <parameter ref="BytesSent" requirement="readOnly"/>
        <parameter ref="BytesReceived" requirement="readOnly"/>
        <parameter ref="PacketsSent" requirement="readOnly"/>
        <parameter ref="PacketsReceived" requirement="readOnly"/>
      </object>
    </profile>
  </component>

  <model name="MoCA:2.14">
    <component ref="Root"/>
    <component ref="MoCA"/>
  </model>
</dm:document>
