<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns="urn:ietf:params:xml:ns:yang:ietf-ipfix-psamp"
  targetNamespace="urn:ietf:params:xml:ns:yang:ietf-ipfix-psamp"
  elementFormDefault="qualified" attributeFormDefault="unqualified"
  xml:lang="en" version="2011-07-07"
  xmlns:ncx="http://netconfcentral.org/ns/yuma-ncx"
  xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"
  xmlns:yang="urn:ietf:params:xml:ns:yang:ietf-yang-types"
  xmlns:inet="urn:ietf:params:xml:ns:yang:ietf-inet-types">
  <xs:annotation>
    <xs:documentation>Converted from YANG file 'ietf-ipfix-psamp.yang' by yangdump version 2.2.1737
      
      Module: ietf-ipfix-psamp
      Organization: IETF IPFIX Working Group
      Version: 2011-07-07
      Contact: WG Web:   &lt;http://tools.ietf.org/wg/ipfix/&gt;
      WG List:  &lt;mailto:ipfix@ietf.org&gt;
      
      WG Chair: Nevil Brownlee
      	 &lt;n.brownlee@auckland.ac.nz&gt;
      
      WG Chair: Juergen Quittek
      	 &lt;quittek@neclab.eu&gt;
      
      Editor:   Gerhard Muenz
      	 &lt;mailto:muenz@net.in.tum.de&gt;</xs:documentation>
    <xs:documentation>IPFIX/PSAMP Configuration Data Model
      
      Copyright (c) 2010 IETF Trust and the persons identified as
      the document authors.  All rights reserved.
      Redistribution and use in source and binary forms, with or
      without modification, is permitted pursuant to, and subject
      to the license terms contained in, the Simplified BSD License
      set forth in Section 4.c of the IETF Trust's Legal Provisions
      Relating to IETF Documents
      (http://trustee.ietf.org/license-info).</xs:documentation>
    <xs:appinfo>
      <ncx:source>/usr/share/yuma/modules/ietf/ietf-ipfix-psamp.yang</ncx:source>
      <ncx:organization>IETF IPFIX Working Group</ncx:organization>
      <ncx:contact>WG Web:   &lt;http://tools.ietf.org/wg/ipfix/&gt;
        WG List:  &lt;mailto:ipfix@ietf.org&gt;
        
        WG Chair: Nevil Brownlee
        	 &lt;n.brownlee@auckland.ac.nz&gt;
        
        WG Chair: Juergen Quittek
        	 &lt;quittek@neclab.eu&gt;
        
        Editor:   Gerhard Muenz
        	 &lt;mailto:muenz@net.in.tum.de&gt;</ncx:contact>
    </xs:appinfo>
    <xs:appinfo>
      <ncx:revision>
        <ncx:version>2011-07-07</ncx:version>
        <ncx:description>Version of
          draft-ietf-ipfix-configuration-model-10.</ncx:description>
      </ncx:revision>
    </xs:appinfo>
  </xs:annotation>
  <xs:simpleType name="ieNameType">
    <xs:annotation>
      <xs:documentation>Type for Information Element names. Whitespaces
        are not allowed.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:pattern value="\S+"/>
      <xs:minLength value="1"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="ieIdType">
    <xs:annotation>
      <xs:documentation>Type for Information Element identifiers.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:unsignedShort">
      <xs:minInclusive value="1">
        <xs:annotation>
          <xs:documentation>Valid range of Information Element
            identifiers.</xs:documentation>
          <xs:appinfo>
            <ncx:reference>
              <ncx:text>RFC5102, Section 4.</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:minInclusive>
      <xs:maxInclusive value="32767">
        <xs:annotation>
          <xs:documentation>Valid range of Information Element
            identifiers.</xs:documentation>
          <xs:appinfo>
            <ncx:reference>
              <ncx:text>RFC5102, Section 4.</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:maxInclusive>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="nameType">
    <xs:annotation>
      <xs:documentation>Type for 'name' leafs which are used to identify
        specific instances within lists etc.
        Leading and trailing whitespaces are not allowed.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:pattern value="\S(.*\S)?"/>
      <xs:minLength value="1"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="ifNameType">
    <xs:annotation>
      <xs:documentation>This corresponds to the DisplayString textual
        convention of SNMPv2-TC, which is used for ifName in the IF
        MIB module.</xs:documentation>
      <xs:appinfo>
        <ncx:reference>
          <ncx:text>RFC2863 (ifName).</ncx:text>
        </ncx:reference>
      </xs:appinfo>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="1"/>
      <xs:maxLength value="255"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="direction">
    <xs:annotation>
      <xs:documentation>Direction of packets going through an interface or
        linecard.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="ingress">
        <xs:annotation>
          <xs:documentation>This value is used for monitoring incoming
            packets.</xs:documentation>
          <xs:appinfo>
            <ncx:value>0</ncx:value>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="egress">
        <xs:annotation>
          <xs:documentation>This value is used for monitoring outgoing
            packets.</xs:documentation>
          <xs:appinfo>
            <ncx:value>1</ncx:value>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="both">
        <xs:annotation>
          <xs:documentation>This value is used for monitoring incoming and
            outgoing packets.</xs:documentation>
          <xs:appinfo>
            <ncx:value>2</ncx:value>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="transportSessionStatus">
    <xs:annotation>
      <xs:documentation>Status of a Transport Session.</xs:documentation>
      <xs:appinfo>
        <ncx:reference>
          <ncx:text>RFC5815, Section 8 (ipfixTransportSessionStatus).</ncx:text>
        </ncx:reference>
      </xs:appinfo>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="inactive">
        <xs:annotation>
          <xs:documentation>This value MUST be used for Transport Sessions
            that are specified in the system but currently not active.
            The value can be used for Transport Sessions that are
            backup (secondary) sessions.</xs:documentation>
          <xs:appinfo>
            <ncx:value>0</ncx:value>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="active">
        <xs:annotation>
          <xs:documentation>This value MUST be used for Transport Sessions
            that are currently active and transmitting or receiving
            data.</xs:documentation>
          <xs:appinfo>
            <ncx:value>1</ncx:value>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="unknown">
        <xs:annotation>
          <xs:documentation>This value MUST be used if the status of the
            Transport Sessions cannot be detected by the device. This
            value should be avoided as far as possible.</xs:documentation>
          <xs:appinfo>
            <ncx:value>2</ncx:value>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:group name="observationPointParameters">
    <xs:annotation>
      <xs:documentation>Interface as input to Observation Point.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="observationPointId" type="xs:unsignedInt"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>Observation Point ID (i.e., the value of the
            Information Element observationPointId) assigned by the
            Monitoring Device.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:reference>
              <ncx:text>RFC5102, Section 5.1.10.</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="observationDomainId" type="xs:unsignedInt">
        <xs:annotation>
          <xs:documentation>The Observation Domain ID associates the
            Observation Point to an Observation Domain. Observation
            Points with identical Observation Domain ID belong to the
            same Observation Domain.
            Note that this parameter corresponds to
            ipfixObservationPointObservationDomainId in the IPFIX MIB
            module.</xs:documentation>
          <xs:appinfo>
            <ncx:mandatory>true</ncx:mandatory>
            <ncx:reference>
              <ncx:text>RFC5101; RFC5815, Section 8
                (ipfixObservationPointObservationDomainId).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="ifName" type="ifNameType" minOccurs="0"
        maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>List of names identifying interfaces of the
            Monitoring Device. The Observation Point observes packets at
            the specified interfaces.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="ifIndex" type="xs:unsignedInt" minOccurs="0"
        maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>List of ifIndex values pointing to entries in the
            ifTable of the IF-MIB module maintained by the Monitoring
            Device. The Observation Point observes packets at the
            specified interfaces.
            This parameter SHOULD only be used if an SNMP agent enables
            access to the ifTable.
            Note that this parameter corresponds to
            ipfixObservationPointPhysicalInterface in the IPFIX MIB
            module.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
            <ncx:reference>
              <ncx:text>RFC 1229; RFC5815, Section 8
                (ipfixObservationPointPhysicalInterface).</ncx:text>
              <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="entPhysicalName" type="xs:string" minOccurs="0"
        maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>List of names identifying physical entities of the
            Monitoring Device. The Observation Point observes packets at
            the specified entities.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="entPhysicalIndex" type="xs:unsignedInt"
        minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>List of entPhysicalIndex values pointing to
            entries in the entPhysicalTable of the ENTITY-MIB module
            maintained by the Monitoring Device. The Observation Point
            observes packets at the specified entities.
            This parameter SHOULD only be used if an SNMP agent enables
            access to the entPhysicalTable.
            Note that this parameter corresponds to
            ipfixObservationPointPhysicalEntity in the IPFIX MIB
            module.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
            <ncx:reference>
              <ncx:text>RFC 4133; RFC5815, Section 8
                (ipfixObservationPointPhysicalInterface).</ncx:text>
              <ncx:url>http://www.ietf.org/rfc/rfc4133.txt</ncx:url>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="direction" type="direction" default="both"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>Direction of packets. If not applicable (e.g., in
            the case of a sniffing interface in promiscuous mode), this
            parameter is ignored.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="sampCountBasedParameters">
    <xs:annotation>
      <xs:documentation>Configuration parameters of a Selector applying
        systematic count-based packet sampling to the packet
        stream.</xs:documentation>
      <xs:appinfo>
        <ncx:reference>
          <ncx:text>RFC5475, Section 5.1; RFC5476, Section 6.5.2.1.</ncx:text>
        </ncx:reference>
      </xs:appinfo>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="packetInterval" type="xs:unsignedInt">
        <xs:annotation>
          <xs:documentation>The number of packets that are consecutively
            sampled between gaps of length packetSpace.
            This parameter corresponds to the Information Element
            samplingPacketInterval and to psampSampCountBasedInterval
            in the PSAMP MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:units>packets</ncx:units>
            <ncx:mandatory>true</ncx:mandatory>
            <ncx:reference>
              <ncx:text>RFC5477, Section 8.2.2; RFCyyyy, Section 6
                (psampSampCountBasedInterval).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="packetSpace" type="xs:unsignedInt">
        <xs:annotation>
          <xs:documentation>The number of unsampled packets between two
            sampling intervals.
            This parameter corresponds to the Information Element
            samplingPacketSpace and to psampSampCountBasedSpace
            in the PSAMP MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:units>packets</ncx:units>
            <ncx:mandatory>true</ncx:mandatory>
            <ncx:reference>
              <ncx:text>RFC5477, Section 8.2.3; RFCyyyy, Section 6
                (psampSampCountBasedSpace).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="sampTimeBasedParameters">
    <xs:annotation>
      <xs:documentation>Configuration parameters of a Selector applying
        systematic time-based packet sampling to the packet
        stream.</xs:documentation>
      <xs:appinfo>
        <ncx:reference>
          <ncx:text>RFC5475, Section 5.1; RFC5476, Section 6.5.2.2.</ncx:text>
        </ncx:reference>
      </xs:appinfo>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="timeInterval" type="xs:unsignedInt">
        <xs:annotation>
          <xs:documentation>The time interval in microseconds during
            which all arriving packets are sampled between gaps
            of length timeSpace.
            This parameter corresponds to the Information Element
            samplingTimeInterval and to psampSampTimeBasedInterval
            in the PSAMP MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:units>microseconds</ncx:units>
            <ncx:mandatory>true</ncx:mandatory>
            <ncx:reference>
              <ncx:text>RFC5477, Section 8.2.4; RFCyyyy, Section 6
                (psampSampTimeBasedInterval).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="timeSpace" type="xs:unsignedInt">
        <xs:annotation>
          <xs:documentation>The time interval in microseconds during
            which no packets are sampled between two sampling
            intervals specified by timeInterval.
            This parameter corresponds to the Information Element
            samplingTimeInterval and to psampSampTimeBasedSpace
            in the PSAMP MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:units>microseconds</ncx:units>
            <ncx:mandatory>true</ncx:mandatory>
            <ncx:reference>
              <ncx:text>RFC5477, Section 8.2.5; RFCyyyy, Section 6
                (psampSampTimeBasedSpace).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="sampRandOutOfNParameters">
    <xs:annotation>
      <xs:documentation>Configuration parameters of a Selector applying
        n-out-of-N packet sampling to the packet stream.</xs:documentation>
      <xs:appinfo>
        <ncx:reference>
          <ncx:text>RFC5475, Section 5.2.1; RFC5476, Section 6.5.2.3.</ncx:text>
        </ncx:reference>
      </xs:appinfo>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="size" type="xs:unsignedInt">
        <xs:annotation>
          <xs:documentation>The number of elements taken from the parent
            population.
            This parameter corresponds to the Information Element
            samplingSize and to psampSampRandOutOfNSize in the PSAMP
            MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:units>packets</ncx:units>
            <ncx:mandatory>true</ncx:mandatory>
            <ncx:reference>
              <ncx:text>RFC5477, Section 8.2.6; RFCyyyy, Section 6
                (psampSampRandOutOfNSize).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="population" type="xs:unsignedInt">
        <xs:annotation>
          <xs:documentation>The number of elements in the parent
            population.
            This parameter corresponds to the Information Element
            samplingPopulation and to psampSampRandOutOfNPopulation
            in the PSAMP MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:units>packets</ncx:units>
            <ncx:mandatory>true</ncx:mandatory>
            <ncx:reference>
              <ncx:text>RFC5477, Section 8.2.7; RFCyyyy, Section 6
                (psampSampRandOutOfNPopulation).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="sampUniProbParameters">
    <xs:annotation>
      <xs:documentation>Configuration parameters of a Selector applying
        uniform probabilistic packet sampling (with equal
        probability per packet) to the packet stream.</xs:documentation>
      <xs:appinfo>
        <ncx:reference>
          <ncx:text>RFC5475, Section 5.2.2.1;
            RFC5476, Section 6.5.2.4.</ncx:text>
        </ncx:reference>
      </xs:appinfo>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="probability">
        <xs:annotation>
          <xs:documentation>Probability that a packet is sampled,
            expressed as a value between 0 and 1. The probability
            is equal for every packet.
            This parameter corresponds to the Information Element
            samplingProbability and to psampSampUniProbProbability
            in the PSAMP MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:mandatory>true</ncx:mandatory>
            <ncx:reference>
              <ncx:text>RFC5477, Section 8.2.8; RFCyyyy, Section 6
                (psampSampUniProbProbability).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:long">
            <xs:minInclusive value="0.0"/>
            <xs:maxInclusive value="1.000000000000000000"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="filterMatchParameters">
    <xs:annotation>
      <xs:documentation>Configuration parameters of a Selector applying
        property match filtering to the packet stream.
        The field to be matched is specified as Information
        Element.</xs:documentation>
      <xs:appinfo>
        <ncx:reference>
          <ncx:text>RFC5475, Section 6.1; RFC5476, Section 6.5.2.5.</ncx:text>
        </ncx:reference>
      </xs:appinfo>
    </xs:annotation>
    <xs:sequence>
      <xs:choice>
        <xs:annotation>
          <xs:documentation>The field to be matched is specified by
            either the name or the ID of the Information
            Element.</xs:documentation>
          <xs:appinfo>
            <ncx:choice-name>nameOrId</ncx:choice-name>
            <ncx:mandatory>true</ncx:mandatory>
          </xs:appinfo>
        </xs:annotation>
        <xs:sequence>
          <xs:annotation>
            <xs:appinfo>
              <ncx:case-name>ieName</ncx:case-name>
            </xs:appinfo>
          </xs:annotation>
          <xs:element name="ieName" type="ieNameType" minOccurs="0">
            <xs:annotation>
              <xs:documentation>Name of the Information Element.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:any minOccurs="0" maxOccurs="unbounded"
            namespace="##other" processContents="lax"/>
        </xs:sequence>
        <xs:sequence>
          <xs:annotation>
            <xs:appinfo>
              <ncx:case-name>ieId</ncx:case-name>
            </xs:appinfo>
          </xs:annotation>
          <xs:element name="ieId" type="ieIdType" minOccurs="0">
            <xs:annotation>
              <xs:documentation>ID of the Information Element.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:any minOccurs="0" maxOccurs="unbounded"
            namespace="##other" processContents="lax"/>
        </xs:sequence>
        <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"
          processContents="lax"/>
      </xs:choice>
      <xs:element name="ieEnterpriseNumber" type="xs:unsignedInt"
        default="0" minOccurs="0">
        <xs:annotation>
          <xs:documentation>If this parameter is zero, the Information
            Element is registered in the IANA registry of IPFIX
            Information Elements.
            If this parameter is configured with a non-zero private
            enterprise number, the Information Element is
            enterprise-specific.</xs:documentation>
          <xs:appinfo>
            <ncx:reference>
              <ncx:text>RFC5102.</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="value" type="xs:string">
        <xs:annotation>
          <xs:documentation>Matching value of the Information Element.</xs:documentation>
          <xs:appinfo>
            <ncx:mandatory>true</ncx:mandatory>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="filterHashParameters">
    <xs:annotation>
      <xs:documentation>Configuration parameters of a Selector applying
        hash-based filtering to the packet stream.</xs:documentation>
      <xs:appinfo>
        <ncx:reference>
          <ncx:text>RFC5475, Section 6.2; RFC5476, Section 6.5.2.6.</ncx:text>
        </ncx:reference>
      </xs:appinfo>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="hashFunction" type="xs:QName" default="BOB"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>Hash function to be applied. According to
            RFC5475, Section 6.2.4.1, 'BOB' must be used in order to
            be compliant with PSAMP.
            This parameter functionally corresponds to
            psampFiltHashFunction in the PSAMP MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:reference>
              <ncx:text>RFCyyyy, Section 6 (psampFiltHashFunction)</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="initializerValue" type="xs:unsignedLong"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>Initializer value to the hash function.
            If not configured by the user, the Monitoring Device
            arbitrarily chooses an initializer value.
            This parameter corresponds to the Information Element
            hashInitialiserValue and to psampFiltHashInitializerValue
            in the PSAMP MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:reference>
              <ncx:text>RFC5477, Section 8.3.9; RFCyyyy, Section 6
                (psampFiltHashInitializerValue).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="ipPayloadOffset" type="xs:unsignedLong"
        default="0" minOccurs="0">
        <xs:annotation>
          <xs:documentation>IP payload offset indicating the position of
            the first payload byte considered as input to the hash
            function.
            Default value 0 corresponds to the minimum offset that
            must be configurable according to RFC5476, Section
            6.2.5.6.
            This parameter corresponds to the Information Element
            hashIPPayloadOffset and to psampFiltHashIpPayloadOffset
            in the PSAMP MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:units>octets</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5477, Section 8.3.2; RFCyyyy, Section 6
                (psampFiltHashIpPayloadOffset).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="ipPayloadSize" type="xs:unsignedLong"
        default="8" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Number of IP payload bytes used as input to
            the hash function, counted from the payload offset.
            If the IP payload is shorter than the payload range,
            all available payload octets are used as input.
            Default value 8 corresponds to the minimum IP payload
            size that must be configurable according to RFC5476,
            Section 6.2.5.6.
            This parameter corresponds to the Information Element
            hashIPPayloadSize and to psampFiltHashIpPayloadSize
            in the PSAMP MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:units>octets</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5477, Section 8.3.3; RFCyyyy, Section 6
                (psampFiltHashIpPayloadSize).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="digestOutput" type="xs:boolean" default="false"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>If true, the output from this Selector is
            included in the Packet Report as a packet digest.
            Therefore, the configured Cache Layout needs to contain
            a digestHashValue field.
            This parameter corresponds to the Information Element
            hashDigestOutput.</xs:documentation>
          <xs:appinfo>
            <ncx:reference>
              <ncx:text>RFC5477, Section 8.3.8.</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="outputRangeMin" type="xs:unsignedLong"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>Beginning of the hash function's potential
            range.
            This parameter corresponds to the Information Element
            hashOutputRangeMin and to psampFiltHashOutputRangeMin
            in the PSAMP MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:reference>
              <ncx:text>RFC5477, Section 8.3.4; RFCyyyy, Section 6
                (psampFiltHashOutputRangeMin).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="outputRangeMax" type="xs:unsignedLong"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>End of the hash function's potential range.
            This parameter corresponds to the Information Element
            hashOutputRangeMax and to psampFiltHashOutputRangeMax
            in the PSAMP MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:reference>
              <ncx:text>RFC5477, Section 8.3.5; RFCyyyy, Section 6
                (psampFiltHashOutputRangeMax).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="selectedRange" minOccurs="1"
        maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>List of hash function return ranges for
            which packets are selected.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="name" type="nameType">
              <xs:annotation>
                <xs:documentation>Key of this list.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="min" type="xs:unsignedLong" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Beginning of the hash function's selected
                  range.
                  This parameter corresponds to the Information Element
                  hashSelectedRangeMin and to psampFiltHashSelectedRangeMin
                  in the PSAMP MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5477, Section 8.3.6; RFCyyyy, Section 6
                      (psampFiltHashSelectedRangeMin).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="max" type="xs:unsignedLong" minOccurs="0">
              <xs:annotation>
                <xs:documentation>End of the hash function's selected range.
                  This parameter corresponds to the Information Element
                  hashSelectedRangeMax and to psampFiltHashSelectedRangeMax
                  in the PSAMP MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5477, Section 8.3.7; RFCyyyy, Section 6
                      (psampFiltHashSelectedRangeMax).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
        <xs:key name="selectedRangekey64">
          <xs:selector xpath="."/>
          <xs:field xpath="name"/>
        </xs:key>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="selectorParameters">
    <xs:annotation>
      <xs:documentation>Configuration and state parameters of a Selector.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:choice>
        <xs:annotation>
          <xs:documentation>Packet selection method applied by the Selector.</xs:documentation>
          <xs:appinfo>
            <ncx:choice-name>Method</ncx:choice-name>
            <ncx:mandatory>true</ncx:mandatory>
          </xs:appinfo>
        </xs:annotation>
        <xs:sequence>
          <xs:annotation>
            <xs:appinfo>
              <ncx:case-name>selectAll</ncx:case-name>
            </xs:appinfo>
          </xs:annotation>
          <xs:element name="selectAll" minOccurs="0">
            <xs:annotation>
              <xs:documentation>Method which selects all packets.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:any minOccurs="0" maxOccurs="unbounded"
            namespace="##other" processContents="lax"/>
        </xs:sequence>
        <xs:sequence>
          <xs:annotation>
            <xs:appinfo>
              <ncx:case-name>sampCountBased</ncx:case-name>
            </xs:appinfo>
          </xs:annotation>
          <xs:element name="sampCountBased">
            <xs:annotation>
              <xs:documentation>Systematic count-based packet sampling.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
              <xs:sequence>
                <xs:element name="packetInterval" type="xs:unsignedInt">
                  <xs:annotation>
                    <xs:documentation>The number of packets that are consecutively
                      sampled between gaps of length packetSpace.
                      This parameter corresponds to the Information Element
                      samplingPacketInterval and to psampSampCountBasedInterval
                      in the PSAMP MIB module.</xs:documentation>
                    <xs:appinfo>
                      <ncx:units>packets</ncx:units>
                      <ncx:mandatory>true</ncx:mandatory>
                      <ncx:reference>
                        <ncx:text>RFC5477, Section 8.2.2; RFCyyyy, Section 6
                          (psampSampCountBasedInterval).</ncx:text>
                      </ncx:reference>
                    </xs:appinfo>
                  </xs:annotation>
                </xs:element>
                <xs:element name="packetSpace" type="xs:unsignedInt">
                  <xs:annotation>
                    <xs:documentation>The number of unsampled packets between two
                      sampling intervals.
                      This parameter corresponds to the Information Element
                      samplingPacketSpace and to psampSampCountBasedSpace
                      in the PSAMP MIB module.</xs:documentation>
                    <xs:appinfo>
                      <ncx:units>packets</ncx:units>
                      <ncx:mandatory>true</ncx:mandatory>
                      <ncx:reference>
                        <ncx:text>RFC5477, Section 8.2.3; RFCyyyy, Section 6
                          (psampSampCountBasedSpace).</ncx:text>
                      </ncx:reference>
                    </xs:appinfo>
                  </xs:annotation>
                </xs:element>
                <xs:any minOccurs="0" maxOccurs="unbounded"
                  namespace="##other" processContents="lax"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:any minOccurs="0" maxOccurs="unbounded"
            namespace="##other" processContents="lax"/>
        </xs:sequence>
        <xs:sequence>
          <xs:annotation>
            <xs:appinfo>
              <ncx:case-name>sampTimeBased</ncx:case-name>
            </xs:appinfo>
          </xs:annotation>
          <xs:element name="sampTimeBased">
            <xs:annotation>
              <xs:documentation>Systematic time-based packet sampling.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
              <xs:sequence>
                <xs:element name="timeInterval" type="xs:unsignedInt">
                  <xs:annotation>
                    <xs:documentation>The time interval in microseconds during
                      which all arriving packets are sampled between gaps
                      of length timeSpace.
                      This parameter corresponds to the Information Element
                      samplingTimeInterval and to psampSampTimeBasedInterval
                      in the PSAMP MIB module.</xs:documentation>
                    <xs:appinfo>
                      <ncx:units>microseconds</ncx:units>
                      <ncx:mandatory>true</ncx:mandatory>
                      <ncx:reference>
                        <ncx:text>RFC5477, Section 8.2.4; RFCyyyy, Section 6
                          (psampSampTimeBasedInterval).</ncx:text>
                      </ncx:reference>
                    </xs:appinfo>
                  </xs:annotation>
                </xs:element>
                <xs:element name="timeSpace" type="xs:unsignedInt">
                  <xs:annotation>
                    <xs:documentation>The time interval in microseconds during
                      which no packets are sampled between two sampling
                      intervals specified by timeInterval.
                      This parameter corresponds to the Information Element
                      samplingTimeInterval and to psampSampTimeBasedSpace
                      in the PSAMP MIB module.</xs:documentation>
                    <xs:appinfo>
                      <ncx:units>microseconds</ncx:units>
                      <ncx:mandatory>true</ncx:mandatory>
                      <ncx:reference>
                        <ncx:text>RFC5477, Section 8.2.5; RFCyyyy, Section 6
                          (psampSampTimeBasedSpace).</ncx:text>
                      </ncx:reference>
                    </xs:appinfo>
                  </xs:annotation>
                </xs:element>
                <xs:any minOccurs="0" maxOccurs="unbounded"
                  namespace="##other" processContents="lax"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:any minOccurs="0" maxOccurs="unbounded"
            namespace="##other" processContents="lax"/>
        </xs:sequence>
        <xs:sequence>
          <xs:annotation>
            <xs:appinfo>
              <ncx:case-name>sampRandOutOfN</ncx:case-name>
            </xs:appinfo>
          </xs:annotation>
          <xs:element name="sampRandOutOfN">
            <xs:annotation>
              <xs:documentation>n-out-of-N packet sampling.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
              <xs:sequence>
                <xs:element name="size" type="xs:unsignedInt">
                  <xs:annotation>
                    <xs:documentation>The number of elements taken from the parent
                      population.
                      This parameter corresponds to the Information Element
                      samplingSize and to psampSampRandOutOfNSize in the PSAMP
                      MIB module.</xs:documentation>
                    <xs:appinfo>
                      <ncx:units>packets</ncx:units>
                      <ncx:mandatory>true</ncx:mandatory>
                      <ncx:reference>
                        <ncx:text>RFC5477, Section 8.2.6; RFCyyyy, Section 6
                          (psampSampRandOutOfNSize).</ncx:text>
                      </ncx:reference>
                    </xs:appinfo>
                  </xs:annotation>
                </xs:element>
                <xs:element name="population" type="xs:unsignedInt">
                  <xs:annotation>
                    <xs:documentation>The number of elements in the parent
                      population.
                      This parameter corresponds to the Information Element
                      samplingPopulation and to psampSampRandOutOfNPopulation
                      in the PSAMP MIB module.</xs:documentation>
                    <xs:appinfo>
                      <ncx:units>packets</ncx:units>
                      <ncx:mandatory>true</ncx:mandatory>
                      <ncx:reference>
                        <ncx:text>RFC5477, Section 8.2.7; RFCyyyy, Section 6
                          (psampSampRandOutOfNPopulation).</ncx:text>
                      </ncx:reference>
                    </xs:appinfo>
                  </xs:annotation>
                </xs:element>
                <xs:any minOccurs="0" maxOccurs="unbounded"
                  namespace="##other" processContents="lax"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:any minOccurs="0" maxOccurs="unbounded"
            namespace="##other" processContents="lax"/>
        </xs:sequence>
        <xs:sequence>
          <xs:annotation>
            <xs:appinfo>
              <ncx:case-name>sampUniProb</ncx:case-name>
            </xs:appinfo>
          </xs:annotation>
          <xs:element name="sampUniProb">
            <xs:annotation>
              <xs:documentation>Uniform probabilistic packet sampling.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
              <xs:sequence>
                <xs:element name="probability">
                  <xs:annotation>
                    <xs:documentation>Probability that a packet is sampled,
                      expressed as a value between 0 and 1. The probability
                      is equal for every packet.
                      This parameter corresponds to the Information Element
                      samplingProbability and to psampSampUniProbProbability
                      in the PSAMP MIB module.</xs:documentation>
                    <xs:appinfo>
                      <ncx:mandatory>true</ncx:mandatory>
                      <ncx:reference>
                        <ncx:text>RFC5477, Section 8.2.8; RFCyyyy, Section 6
                          (psampSampUniProbProbability).</ncx:text>
                      </ncx:reference>
                    </xs:appinfo>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:long">
                      <xs:minInclusive value="0.0"/>
                      <xs:maxInclusive value="1.000000000000000000"/>
                    </xs:restriction>
                  </xs:simpleType>
                </xs:element>
                <xs:any minOccurs="0" maxOccurs="unbounded"
                  namespace="##other" processContents="lax"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:any minOccurs="0" maxOccurs="unbounded"
            namespace="##other" processContents="lax"/>
        </xs:sequence>
        <xs:sequence>
          <xs:annotation>
            <xs:appinfo>
              <ncx:case-name>filterMatch</ncx:case-name>
            </xs:appinfo>
          </xs:annotation>
          <xs:element name="filterMatch">
            <xs:annotation>
              <xs:documentation>Property match filtering.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
              <xs:sequence>
                <xs:choice>
                  <xs:annotation>
                    <xs:documentation>The field to be matched is specified by
                      either the name or the ID of the Information
                      Element.</xs:documentation>
                    <xs:appinfo>
                      <ncx:choice-name>nameOrId</ncx:choice-name>
                      <ncx:mandatory>true</ncx:mandatory>
                    </xs:appinfo>
                  </xs:annotation>
                  <xs:sequence>
                    <xs:annotation>
                      <xs:appinfo>
                        <ncx:case-name>ieName</ncx:case-name>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:element name="ieName" type="ieNameType"
                      minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>Name of the Information Element.</xs:documentation>
                      </xs:annotation>
                    </xs:element>
                    <xs:any minOccurs="0" maxOccurs="unbounded"
                      namespace="##other" processContents="lax"/>
                  </xs:sequence>
                  <xs:sequence>
                    <xs:annotation>
                      <xs:appinfo>
                        <ncx:case-name>ieId</ncx:case-name>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:element name="ieId" type="ieIdType"
                      minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>ID of the Information Element.</xs:documentation>
                      </xs:annotation>
                    </xs:element>
                    <xs:any minOccurs="0" maxOccurs="unbounded"
                      namespace="##other" processContents="lax"/>
                  </xs:sequence>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:choice>
                <xs:element name="ieEnterpriseNumber"
                  type="xs:unsignedInt" default="0" minOccurs="0">
                  <xs:annotation>
                    <xs:documentation>If this parameter is zero, the Information
                      Element is registered in the IANA registry of IPFIX
                      Information Elements.
                      If this parameter is configured with a non-zero private
                      enterprise number, the Information Element is
                      enterprise-specific.</xs:documentation>
                    <xs:appinfo>
                      <ncx:reference>
                        <ncx:text>RFC5102.</ncx:text>
                      </ncx:reference>
                    </xs:appinfo>
                  </xs:annotation>
                </xs:element>
                <xs:element name="value" type="xs:string">
                  <xs:annotation>
                    <xs:documentation>Matching value of the Information Element.</xs:documentation>
                    <xs:appinfo>
                      <ncx:mandatory>true</ncx:mandatory>
                    </xs:appinfo>
                  </xs:annotation>
                </xs:element>
                <xs:any minOccurs="0" maxOccurs="unbounded"
                  namespace="##other" processContents="lax"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:any minOccurs="0" maxOccurs="unbounded"
            namespace="##other" processContents="lax"/>
        </xs:sequence>
        <xs:sequence>
          <xs:annotation>
            <xs:appinfo>
              <ncx:case-name>filterHash</ncx:case-name>
            </xs:appinfo>
          </xs:annotation>
          <xs:element name="filterHash">
            <xs:annotation>
              <xs:documentation>Hash-based filtering.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
              <xs:sequence>
                <xs:element name="hashFunction" type="xs:QName"
                  default="BOB" minOccurs="0">
                  <xs:annotation>
                    <xs:documentation>Hash function to be applied. According to
                      RFC5475, Section 6.2.4.1, 'BOB' must be used in order to
                      be compliant with PSAMP.
                      This parameter functionally corresponds to
                      psampFiltHashFunction in the PSAMP MIB module.</xs:documentation>
                    <xs:appinfo>
                      <ncx:reference>
                        <ncx:text>RFCyyyy, Section 6 (psampFiltHashFunction)</ncx:text>
                      </ncx:reference>
                    </xs:appinfo>
                  </xs:annotation>
                </xs:element>
                <xs:element name="initializerValue"
                  type="xs:unsignedLong" minOccurs="0">
                  <xs:annotation>
                    <xs:documentation>Initializer value to the hash function.
                      If not configured by the user, the Monitoring Device
                      arbitrarily chooses an initializer value.
                      This parameter corresponds to the Information Element
                      hashInitialiserValue and to psampFiltHashInitializerValue
                      in the PSAMP MIB module.</xs:documentation>
                    <xs:appinfo>
                      <ncx:reference>
                        <ncx:text>RFC5477, Section 8.3.9; RFCyyyy, Section 6
                          (psampFiltHashInitializerValue).</ncx:text>
                      </ncx:reference>
                    </xs:appinfo>
                  </xs:annotation>
                </xs:element>
                <xs:element name="ipPayloadOffset"
                  type="xs:unsignedLong" default="0" minOccurs="0">
                  <xs:annotation>
                    <xs:documentation>IP payload offset indicating the position of
                      the first payload byte considered as input to the hash
                      function.
                      Default value 0 corresponds to the minimum offset that
                      must be configurable according to RFC5476, Section
                      6.2.5.6.
                      This parameter corresponds to the Information Element
                      hashIPPayloadOffset and to psampFiltHashIpPayloadOffset
                      in the PSAMP MIB module.</xs:documentation>
                    <xs:appinfo>
                      <ncx:units>octets</ncx:units>
                      <ncx:reference>
                        <ncx:text>RFC5477, Section 8.3.2; RFCyyyy, Section 6
                          (psampFiltHashIpPayloadOffset).</ncx:text>
                      </ncx:reference>
                    </xs:appinfo>
                  </xs:annotation>
                </xs:element>
                <xs:element name="ipPayloadSize" type="xs:unsignedLong"
                  default="8" minOccurs="0">
                  <xs:annotation>
                    <xs:documentation>Number of IP payload bytes used as input to
                      the hash function, counted from the payload offset.
                      If the IP payload is shorter than the payload range,
                      all available payload octets are used as input.
                      Default value 8 corresponds to the minimum IP payload
                      size that must be configurable according to RFC5476,
                      Section 6.2.5.6.
                      This parameter corresponds to the Information Element
                      hashIPPayloadSize and to psampFiltHashIpPayloadSize
                      in the PSAMP MIB module.</xs:documentation>
                    <xs:appinfo>
                      <ncx:units>octets</ncx:units>
                      <ncx:reference>
                        <ncx:text>RFC5477, Section 8.3.3; RFCyyyy, Section 6
                          (psampFiltHashIpPayloadSize).</ncx:text>
                      </ncx:reference>
                    </xs:appinfo>
                  </xs:annotation>
                </xs:element>
                <xs:element name="digestOutput" type="xs:boolean"
                  default="false" minOccurs="0">
                  <xs:annotation>
                    <xs:documentation>If true, the output from this Selector is
                      included in the Packet Report as a packet digest.
                      Therefore, the configured Cache Layout needs to contain
                      a digestHashValue field.
                      This parameter corresponds to the Information Element
                      hashDigestOutput.</xs:documentation>
                    <xs:appinfo>
                      <ncx:reference>
                        <ncx:text>RFC5477, Section 8.3.8.</ncx:text>
                      </ncx:reference>
                    </xs:appinfo>
                  </xs:annotation>
                </xs:element>
                <xs:element name="outputRangeMin"
                  type="xs:unsignedLong" minOccurs="0">
                  <xs:annotation>
                    <xs:documentation>Beginning of the hash function's potential
                      range.
                      This parameter corresponds to the Information Element
                      hashOutputRangeMin and to psampFiltHashOutputRangeMin
                      in the PSAMP MIB module.</xs:documentation>
                    <xs:appinfo>
                      <ncx:config>false</ncx:config>
                      <ncx:reference>
                        <ncx:text>RFC5477, Section 8.3.4; RFCyyyy, Section 6
                          (psampFiltHashOutputRangeMin).</ncx:text>
                      </ncx:reference>
                    </xs:appinfo>
                  </xs:annotation>
                </xs:element>
                <xs:element name="outputRangeMax"
                  type="xs:unsignedLong" minOccurs="0">
                  <xs:annotation>
                    <xs:documentation>End of the hash function's potential range.
                      This parameter corresponds to the Information Element
                      hashOutputRangeMax and to psampFiltHashOutputRangeMax
                      in the PSAMP MIB module.</xs:documentation>
                    <xs:appinfo>
                      <ncx:config>false</ncx:config>
                      <ncx:reference>
                        <ncx:text>RFC5477, Section 8.3.5; RFCyyyy, Section 6
                          (psampFiltHashOutputRangeMax).</ncx:text>
                      </ncx:reference>
                    </xs:appinfo>
                  </xs:annotation>
                </xs:element>
                <xs:element name="selectedRange" minOccurs="1"
                  maxOccurs="unbounded">
                  <xs:annotation>
                    <xs:documentation>List of hash function return ranges for
                      which packets are selected.</xs:documentation>
                    <xs:appinfo>
                      <ncx:ordered-by>system</ncx:ordered-by>
                    </xs:appinfo>
                  </xs:annotation>
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="name" type="nameType">
                        <xs:annotation>
                          <xs:documentation>Key of this list.</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="min" type="xs:unsignedLong"
                        minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>Beginning of the hash function's selected
                            range.
                            This parameter corresponds to the Information Element
                            hashSelectedRangeMin and to psampFiltHashSelectedRangeMin
                            in the PSAMP MIB module.</xs:documentation>
                          <xs:appinfo>
                            <ncx:reference>
                              <ncx:text>RFC5477, Section 8.3.6; RFCyyyy, Section 6
                                (psampFiltHashSelectedRangeMin).</ncx:text>
                            </ncx:reference>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="max" type="xs:unsignedLong"
                        minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>End of the hash function's selected range.
                            This parameter corresponds to the Information Element
                            hashSelectedRangeMax and to psampFiltHashSelectedRangeMax
                            in the PSAMP MIB module.</xs:documentation>
                          <xs:appinfo>
                            <ncx:reference>
                              <ncx:text>RFC5477, Section 8.3.7; RFCyyyy, Section 6
                                (psampFiltHashSelectedRangeMax).</ncx:text>
                            </ncx:reference>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:any minOccurs="0" maxOccurs="unbounded"
                        namespace="##other" processContents="lax"/>
                    </xs:sequence>
                  </xs:complexType>
                  <xs:key name="selectedRangekey65">
                    <xs:selector xpath="."/>
                    <xs:field xpath="name"/>
                  </xs:key>
                </xs:element>
                <xs:any minOccurs="0" maxOccurs="unbounded"
                  namespace="##other" processContents="lax"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:any minOccurs="0" maxOccurs="unbounded"
            namespace="##other" processContents="lax"/>
        </xs:sequence>
        <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"
          processContents="lax"/>
      </xs:choice>
      <xs:element name="packetsObserved" type="yang:counter64"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>The number of packets observed at the input of
            the Selector.
            If this is the first Selector in the Selection Process,
            this counter corresponds to the total number of packets in
            all Observed Packet Streams at the input of the Selection
            Process. Otherwise, the counter corresponds to the total
            number of packets at the output of the preceding Selector.
            Discontinuities in the value of this counter can occur at
            re-initialization of the management system, and at other
            times as indicated by the value of
            selectorDiscontinuityTime.
            Note that this parameter corresponds to
            ipfixSelectorStatsPacketsObserved in the IPFIX MIB
            module.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8
                (ipfixSelectorStatsPacketsObserved).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="packetsDropped" type="yang:counter64"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>The total number of packets discarded by the
            Selector.
            Discontinuities in the value of this counter can occur at
            re-initialization of the management system, and at other
            times as indicated by the value of
            selectorDiscontinuityTime.
            Note that this parameter corresponds to
            ipfixSelectorStatsPacketsDropped in the IPFIX MIB
            module.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8
                (ipfixSelectorStatsPacketsDropped).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="selectorDiscontinuityTime"
        type="yang:date-and-time" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Timestamp of the most recent occasion at which
            one or more of the Selector counters suffered a
            discontinuity.
            Note that this parameter functionally corresponds to
            ipfixSelectionProcessStatsDiscontinuityTime in the IPFIX
            MIB module. In contrast to
            ipfixSelectionProcessStatsDiscontinuityTime, the time is
            absolute and not relative to sysUpTime.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8
                (ipfixSelectionProcessStatsDiscontinuityTime).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="cacheLayoutParameters">
    <xs:annotation>
      <xs:documentation>Cache Layout parameters used by immediateCache,
        timeoutCache, naturalCache, and permanentCache.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="cacheLayout">
        <xs:annotation>
          <xs:documentation>Cache Layout parameters.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="cacheField" minOccurs="1"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Superset of fields that are included in the
                  Packet Reports or Flow Records generated by the Cache.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                </xs:appinfo>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="name" type="nameType">
                    <xs:annotation>
                      <xs:documentation>Key of this list.</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                  <xs:choice>
                    <xs:annotation>
                      <xs:documentation>Name or ID of the Information Element.</xs:documentation>
                      <xs:appinfo>
                        <ncx:choice-name>nameOrId</ncx:choice-name>
                        <ncx:mandatory>true</ncx:mandatory>
                        <ncx:reference>
                          <ncx:text>RFC5102.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:sequence>
                      <xs:annotation>
                        <xs:appinfo>
                          <ncx:case-name>ieName</ncx:case-name>
                        </xs:appinfo>
                      </xs:annotation>
                      <xs:element name="ieName" type="ieNameType"
                        minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>Name of the Information Element.</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:any minOccurs="0" maxOccurs="unbounded"
                        namespace="##other" processContents="lax"/>
                    </xs:sequence>
                    <xs:sequence>
                      <xs:annotation>
                        <xs:appinfo>
                          <ncx:case-name>ieId</ncx:case-name>
                        </xs:appinfo>
                      </xs:annotation>
                      <xs:element name="ieId" type="ieIdType"
                        minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>ID of the Information Element.</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:any minOccurs="0" maxOccurs="unbounded"
                        namespace="##other" processContents="lax"/>
                    </xs:sequence>
                    <xs:any minOccurs="0" maxOccurs="unbounded"
                      namespace="##other" processContents="lax"/>
                  </xs:choice>
                  <xs:element name="ieLength" type="xs:unsignedShort"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Length of the field in which the Information
                        Element is encoded. A value of 65535 specifies a
                        variable-length Information Element. For Information
                        Elements of integer and float type, the field length MAY
                        be set to a smaller value than the standard length of
                        the abstract data type if the rules of reduced size
                        encoding are fulfilled.
                        If not configured by the user, this parameter is set by
                        the Monitoring Device.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>octets</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5101, Section 6.2; RFC5102.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="ieEnterpriseNumber"
                    type="xs:unsignedInt" default="0" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>If this parameter is zero, the Information
                        Element is registered in the IANA registry of IPFIX
                        Information Elements.
                        If this parameter is configured with a non-zero private
                        enterprise number, the Information Element is
                        enterprise-specific.
                        If the enterprise number is set to 29305, this field
                        contains a Reverse Information Element. In this case,
                        the Cache MUST generate Data Records in accordance to
                        RFC5103.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5101; RFC5102; RFC5103.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="isFlowKey" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>If present, this is a flow key.</xs:documentation>
                      <xs:appinfo>
                        <ncx:when>(name(../../..) != 'immediateCache')
                          and
                          ((count(../ieEnterpriseNumber) = 0)
                          or
                          (../ieEnterpriseNumber != 29305))</ncx:when>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:sequence>
              </xs:complexType>
              <xs:key name="cacheFieldkey66">
                <xs:selector xpath="."/>
                <xs:field xpath="name"/>
              </xs:key>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="flowCacheParameters">
    <xs:annotation>
      <xs:documentation>Configuration and state parameters of a Cache
        generating Flow Records.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="maxFlows" type="xs:unsignedInt" minOccurs="0">
        <xs:annotation>
          <xs:documentation>This parameter configures the maximum number of
            Flows in the Cache, which is the maximum number of Flows
            that can be measured simultaneously.
            The Monitoring Device MUST ensure that sufficient resources
            are available to store the configured maximum number of
            Flows.
            If the maximum number of Flows is measured, no additional
            Flows can be measured before any of the existing entries is
            removed. However, traffic which pertains to existing Flows
            can continue to be measured.</xs:documentation>
          <xs:appinfo>
            <ncx:units>flows</ncx:units>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="activeTimeout" type="xs:unsignedInt"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>This parameter configures the time in
            seconds after which a Flow is expired even though packets
            matching this Flow are still received by the Cache.
            The parameter value zero indicates infinity, meaning that
            there is no active timeout.
            If not configured by the user, the Monitoring Device sets
            this parameter.
            Note that this parameter corresponds to
            ipfixMeteringProcessCacheActiveTimeout in the IPFIX
            MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:when>(name(..) = 'timeoutCache') or
              (name(..) = 'naturalCache')</ncx:when>
            <ncx:units>seconds</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8
                (ipfixMeteringProcessCacheActiveTimeout).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="inactiveTimeout" type="xs:unsignedInt"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>This parameter configures the time in
            seconds after which a Flow is expired if no more packets
            matching this Flow are received by the Cache.
            The parameter value zero indicates infinity, meaning that
            there is no inactive timeout.
            If not configured by the user, the Monitoring Device sets
            this parameter.
            Note that this parameter corresponds to
            ipfixMeteringProcessCacheInactiveTimeout in the IPFIX
            MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:when>(name(..) = 'timeoutCache') or
              (name(..) = 'naturalCache')</ncx:when>
            <ncx:units>seconds</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8
                (ipfixMeteringProcessCacheInactiveTimeout).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="exportInterval" type="xs:unsignedInt"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>This parameter configures the interval (in
            seconds) for periodical export of Flow Records.
            If not configured by the user, the Monitoring Device sets
            this parameter.</xs:documentation>
          <xs:appinfo>
            <ncx:when>name(..) = 'permanentCache'</ncx:when>
            <ncx:units>seconds</ncx:units>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="activeFlows" type="yang:gauge32" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The number of Flows currently active in this
            Cache.
            Note that this parameter corresponds to
            ipfixMeteringProcessCacheActiveFlows in the IPFIX MIB
            module.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:units>flows</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8
                (ipfixMeteringProcessCacheActiveFlows).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="unusedCacheEntries" type="yang:gauge32"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>The number of unused Cache entries in this
            Cache.
            Note that this parameter corresponds to
            ipfixMeteringProcessCacheUnusedCacheEntries in the IPFIX
            MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:units>flows</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8
                (ipfixMeteringProcessCacheUnusedCacheEntries).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="exportingProcessParameters">
    <xs:annotation>
      <xs:documentation>Parameters of an Exporting Process.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="exportMode" type="xs:QName" default="parallel"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>This parameter determines to which configured
            destination(s) the incoming Data Records are exported.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="destination" minOccurs="1"
        maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>List of export destinations.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="name" type="nameType">
              <xs:annotation>
                <xs:documentation>Key of this list.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:choice>
              <xs:annotation>
                <xs:documentation>Configuration parameters depend on whether
                  SCTP, UDP, or TCP are used as transport protocol, and
                  whether the destination is a file.</xs:documentation>
                <xs:appinfo>
                  <ncx:choice-name>DestinationParameters</ncx:choice-name>
                  <ncx:mandatory>true</ncx:mandatory>
                </xs:appinfo>
              </xs:annotation>
              <xs:sequence>
                <xs:annotation>
                  <xs:appinfo>
                    <ncx:case-name>sctpExporter</ncx:case-name>
                  </xs:appinfo>
                </xs:annotation>
                <xs:element name="sctpExporter">
                  <xs:annotation>
                    <xs:documentation>SCTP parameters.</xs:documentation>
                  </xs:annotation>
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="ipfixVersion"
                        type="xs:unsignedShort" default="10"
                        minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>IPFIX version number.</xs:documentation>
                          <xs:appinfo>
                            <ncx:reference>
                              <ncx:text>RFC 5101.</ncx:text>
                              <ncx:url>http://www.ietf.org/rfc/rfc5101.txt</ncx:url>
                            </ncx:reference>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="destinationPort"
                        type="inet:port-number" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>If not configured by the user, the Monitoring
                            Device uses the default port number for IPFIX, which is
                            4739 without transport layer security and 4740 if transport
                            layer security is activated.</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:choice>
                        <xs:annotation>
                          <xs:documentation>Index or name of the interface as stored in the
                            ifTable of IF-MIB.
                            If configured, the Exporting Process MUST use the given
                            interface to export IPFIX Messages to the export
                            destination.
                            If omitted, the Exporting Process selects the outgoing
                            interface based on local routing decision and accepts
                            return traffic, such as transport layer acknowledgments,
                            on all available interfaces.</xs:documentation>
                          <xs:appinfo>
                            <ncx:choice-name>indexOrName</ncx:choice-name>
                            <ncx:reference>
                              <ncx:text>RFC 1229.</ncx:text>
                              <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                            </ncx:reference>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:sequence>
                          <xs:annotation>
                            <xs:appinfo>
                              <ncx:case-name>ifIndex</ncx:case-name>
                            </xs:appinfo>
                          </xs:annotation>
                          <xs:element name="ifIndex"
                            type="xs:unsignedInt" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>Index of an interface as stored in the ifTable
                                of IF-MIB.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC 1229.</ncx:text>
                                  <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:any minOccurs="0" maxOccurs="unbounded"
                            namespace="##other" processContents="lax"/>
                        </xs:sequence>
                        <xs:sequence>
                          <xs:annotation>
                            <xs:appinfo>
                              <ncx:case-name>ifName</ncx:case-name>
                            </xs:appinfo>
                          </xs:annotation>
                          <xs:element name="ifName" type="xs:string"
                            minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>Name of an interface as stored in the ifTable
                                of IF-MIB.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC 1229.</ncx:text>
                                  <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:any minOccurs="0" maxOccurs="unbounded"
                            namespace="##other" processContents="lax"/>
                        </xs:sequence>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:choice>
                      <xs:element name="sendBufferSize"
                        type="xs:unsignedInt" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>Size of the socket send buffer.
                            If not configured by the user, this parameter is set by
                            the Monitoring Device.</xs:documentation>
                          <xs:appinfo>
                            <ncx:units>bytes</ncx:units>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="rateLimit"
                        type="xs:unsignedInt" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>Maximum number of bytes per second the Exporting
                            Process may export to the given destination. The number of
                            bytes is calculated from the lengths of the IPFIX Messages
                            exported. If not configured, no rate limiting is performed.</xs:documentation>
                          <xs:appinfo>
                            <ncx:units>bytes per second</ncx:units>
                            <ncx:reference>
                              <ncx:text>RFC5476, Section 6.3.</ncx:text>
                            </ncx:reference>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="transportLayerSecurity">
                        <xs:annotation>
                          <xs:documentation>Transport layer security configuration.</xs:documentation>
                          <xs:appinfo>
                            <ncx:presence>If transportLayerSecurity is present, DTLS is
                              enabled if the transport protocol is SCTP or UDP, and TLS
                              is enabled if the transport protocol is TCP.</ncx:presence>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:complexType>
                          <xs:sequence>
                            <xs:element
                              name="localCertificationAuthorityDN"
                              type="xs:string" minOccurs="0"
                              maxOccurs="unbounded">
                              <xs:annotation>
                                <xs:documentation>Distinguished names of certification authorities
                                  whose certificates may be used to identify the local
                                  endpoint.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:ordered-by>system</ncx:ordered-by>
                                  <ncx:reference>
                                    <ncx:text>RFC5280.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="localSubjectDN"
                              type="xs:string" minOccurs="0"
                              maxOccurs="unbounded">
                              <xs:annotation>
                                <xs:documentation>Distinguished names which may be used in the
                                  certificates to identify the local endpoint.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:ordered-by>system</ncx:ordered-by>
                                  <ncx:reference>
                                    <ncx:text>RFC5280.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="localSubjectFQDN"
                              type="inet:domain-name" minOccurs="0"
                              maxOccurs="unbounded">
                              <xs:annotation>
                                <xs:documentation>Fully qualified domain names which may be used to
                                  in the certificates to identify the local endpoint.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:ordered-by>system</ncx:ordered-by>
                                  <ncx:reference>
                                    <ncx:text>RFC5280.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element
                              name="remoteCertificationAuthorityDN"
                              type="xs:string" minOccurs="0"
                              maxOccurs="unbounded">
                              <xs:annotation>
                                <xs:documentation>Distinguished names of certification authorities
                                  whose certificates are accepted to authorize remote
                                  endpoints.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:ordered-by>system</ncx:ordered-by>
                                  <ncx:reference>
                                    <ncx:text>RFC5280.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="remoteSubjectDN"
                              type="xs:string" minOccurs="0"
                              maxOccurs="unbounded">
                              <xs:annotation>
                                <xs:documentation>Distinguished names which are accepted in
                                  certificates to authorize remote endpoints.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:ordered-by>system</ncx:ordered-by>
                                  <ncx:reference>
                                    <ncx:text>RFC5280.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="remoteSubjectFQDN"
                              type="inet:domain-name" minOccurs="0"
                              maxOccurs="unbounded">
                              <xs:annotation>
                                <xs:documentation>Fully qualified domain name which are accepted in
                                  certificates to authorize remote endpoints.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:ordered-by>system</ncx:ordered-by>
                                  <ncx:reference>
                                    <ncx:text>RFC5280.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:any minOccurs="0" maxOccurs="unbounded"
                              namespace="##other" processContents="lax"/>
                          </xs:sequence>
                        </xs:complexType>
                      </xs:element>
                      <xs:element name="transportSession">
                        <xs:annotation>
                          <xs:documentation>State parameters of the Transport Session
                            directed to the given destination.</xs:documentation>
                          <xs:appinfo>
                            <ncx:config>false</ncx:config>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:complexType>
                          <xs:sequence>
                            <xs:element name="ipfixVersion"
                              type="xs:unsignedShort" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>Used for Exporting Processes, this parameter
                                  contains the version number of the IPFIX protocol that the
                                  Exporter uses to export its data in this Transport Session.
                                  Hence, it is identical to the value of the configuration
                                  parameter ipfixVersion of the outer SctpExporter,
                                  UdpExporter, or TcpExporter node.
                                  Used for Collecting Processes, this parameter contains the
                                  version number of the IPFIX protocol it receives for
                                  this Transport Session. If IPFIX Messages of different
                                  IPFIX protocol versions are received, this parameter
                                  contains the maximum version number.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionIpfixVersion in the IPFIX MIB
                                  module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionIpfixVersion).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="sourceAddress"
                              type="inet:ip-address" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The source address of the Exporter of the
                                  IPFIX Transport Session.
                                  If the transport protocol is SCTP, this is one of the
                                  potentially many IP addresses of the Exporter.
                                  Preferably, the source IP address of the path which is
                                  usually selected by the Exporter to send IPFIX Messages to
                                  the Collector SHOULD be used.
                                  Note that this parameter functionally corresponds to
                                  ipfixTransportSessionSourceAddressType and
                                  ipfixTransportSessionSourceAddress in the IPFIX MIB
                                  module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionSourceAddressType,
                                      ipfixTransportSessionSourceAddress);
                                      RFC4960, Section 6.4.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                              <xs:simpleType>
                                <xs:union
                                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                              </xs:simpleType>
                            </xs:element>
                            <xs:element name="destinationAddress"
                              type="inet:ip-address" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The destination address of the Collector of
                                  the IPFIX Transport Session.
                                  If the transport protocol is SCTP, this is one of the
                                  potentially many IP addresses of the Collector.
                                  Preferably, the destination IP address of the path which is
                                  usually selected by the Exporter to send IPFIX Messages to
                                  the Collector SHOULD be used.
                                  Note that this parameter functionally corresponds to
                                  ipfixTransportSessionDestinationAddressType and
                                  ipfixTransportSessionDestinationAddress in the IPFIX MIB
                                  module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionDestinationAddressType,
                                      ipfixTransportSessionDestinationAddress);
                                      RFC4960, Section 6.4.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                              <xs:simpleType>
                                <xs:union
                                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                              </xs:simpleType>
                            </xs:element>
                            <xs:element name="sourcePort"
                              type="inet:port-number" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The transport protocol port number of the
                                  Exporter of the IPFIX Transport Session.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionSourcePort in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionSourcePort).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="destinationPort"
                              type="inet:port-number" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The transport protocol port number of the
                                  Collector of the IPFIX Transport Session.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionDestinationPort in the IPFIX MIB
                                  module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionDestinationPort).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="sctpAssocId"
                              type="xs:unsignedInt" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The association id used for the SCTP session
                                  between the Exporter and the Collector of the IPFIX
                                  Transport Session. It is equal to the sctpAssocId entry
                                  in the sctpAssocTable defined in the SCTP-MIB.
                                  This parameter is only available if the transport protocol
                                  is SCTP and if an SNMP agent on the same Monitoring Device
                                  enables access to the corresponding MIB objects in the
                                  sctpAssocTable.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionSctpAssocId in the IPFIX MIB
                                  module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionSctpAssocId);
                                      RFC3871</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="status"
                              type="transportSessionStatus"
                              minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>Status of the Transport Session.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionStatus in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionStatus).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="rate" type="yang:gauge32"
                              minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The number of bytes per second transmitted by the
                                  Exporting Process or received by the Collecting Process.
                                  This parameter is updated every second.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionRate in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:units>bytes per second</ncx:units>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionRate).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="bytes"
                              type="yang:counter64" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The number of bytes transmitted by the
                                  Exporting Process or received by the Collecting Process.
                                  Discontinuities in the value of this counter can occur at
                                  re-initialization of the management system, and at other
                                  times as indicated by the value of
                                  transportSessionDiscontinuityTime.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionBytes in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:units>bytes</ncx:units>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionBytes).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="messages"
                              type="yang:counter64" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The number of messages transmitted by the
                                  Exporting Process or received by the Collecting Process.
                                  Discontinuities in the value of this counter can occur at
                                  re-initialization of the management system, and at other
                                  times as indicated by the value of
                                  transportSessionDiscontinuityTime.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionMessages in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:units>IPFIX Messages</ncx:units>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionMessages).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="discardedMessages"
                              type="yang:counter64" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>Used for Exporting Processes, this parameter
                                  indicates the number of messages that could not be sent due
                                  to internal buffer overflows, network congestion, routing
                                  issues, etc. Used for Collecting Process, this parameter
                                  indicates the number of received IPFIX Message that are
                                  malformed, cannot be decoded, are received in the wrong
                                  order or are missing according to the sequence number.
                                  Discontinuities in the value of this counter can occur at
                                  re-initialization of the management system, and at other
                                  times as indicated by the value of
                                  transportSessionDiscontinuityTime.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionDiscardedMessages in the IPFIX MIB
                                  module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:units>IPFIX Messages</ncx:units>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionDiscardedMessages).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="records"
                              type="yang:counter64" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The number of Data Records transmitted by the
                                  Exporting Process or received by the Collecting Process.
                                  Discontinuities in the value of this counter can occur at
                                  re-initialization of the management system, and at other
                                  times as indicated by the value of
                                  transportSessionDiscontinuityTime.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionRecords in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:units>Data Records</ncx:units>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionRecords).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="templates"
                              type="yang:counter32" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The number of Templates transmitted by the
                                  Exporting Process or received by the Collecting Process.
                                  Discontinuities in the value of this counter can occur at
                                  re-initialization of the management system, and at other
                                  times as indicated by the value of
                                  transportSessionDiscontinuityTime.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionTemplates in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:units>Templates</ncx:units>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionTemplates).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="optionsTemplates"
                              type="yang:counter32" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The number of Option Templates transmitted by the
                                  Exporting Process or received by the Collecting Process.
                                  Discontinuities in the value of this counter can occur at
                                  re-initialization of the management system, and at other
                                  times as indicated by the value of
                                  transportSessionDiscontinuityTime.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionOptionsTemplates in the IPFIX MIB
                                  module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:units>Options Templates</ncx:units>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionOptionsTemplates).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element
                              name="transportSessionStartTime"
                              type="yang:date-and-time" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>Timestamp of the start of the given Transport
                                  Session.
                                  This state parameter does not correspond to any object in
                                  the IPFIX MIB module.</xs:documentation>
                              </xs:annotation>
                            </xs:element>
                            <xs:element
                              name="transportSessionDiscontinuityTime"
                              type="yang:date-and-time" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>Timestamp of the most recent occasion at which
                                  one or more of the Transport Session counters suffered a
                                  discontinuity.
                                  Note that this parameter functionally corresponds to
                                  ipfixTransportSessionDiscontinuityTime in the IPFIX MIB
                                  module. In contrast to
                                  ipfixTransportSessionDiscontinuityTime, the time is
                                  absolute and not relative to sysUpTime.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionDiscontinuityTime).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="template" minOccurs="0"
                              maxOccurs="unbounded">
                              <xs:annotation>
                                <xs:documentation>This list contains the Templates and Options
                                  Templates that are transmitted by the Exporting Process
                                  or received by the Collecting Process.
                                  Withdrawn or invalidated (Options) Template MUST be removed
                                  from this list.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:ordered-by>system</ncx:ordered-by>
                                </xs:appinfo>
                              </xs:annotation>
                              <xs:complexType>
                                <xs:sequence>
                                  <xs:element
                                    name="observationDomainId"
                                    type="xs:unsignedInt" minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>The ID of the Observation Domain for which this
                                        Template is defined.
                                        Note that this parameter corresponds to
                                        ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC5815, Section 8
                                            (ipfixTemplateObservationDomainId).</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:element name="templateId"
                                    minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>This number indicates the Template Id in the IPFIX
                                        message.
                                        Note that this parameter corresponds to ipfixTemplateId in
                                        the IPFIX MIB module.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                    <xs:simpleType>
                                      <xs:restriction
                                        base="xs:unsignedShort">
                                        <xs:minInclusive value="256">
                                          <xs:annotation>
                                            <xs:documentation>Valid range of Template IDs.</xs:documentation>
                                            <xs:appinfo>
                                              <ncx:reference>
                                                <ncx:text>RFC5101</ncx:text>
                                              </ncx:reference>
                                            </xs:appinfo>
                                          </xs:annotation>
                                        </xs:minInclusive>
                                      </xs:restriction>
                                    </xs:simpleType>
                                  </xs:element>
                                  <xs:element name="setId"
                                    type="xs:unsignedShort"
                                    minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>This number indicates the Set ID of the Template.
                                        Currently, there are two values defined. The value 2 is used
                                        for Sets containing Template definitions. The value 3 is
                                        used for Sets containing Options Template definitions.
                                        Note that this parameter corresponds to ipfixTemplateSetId
                                        in the IPFIX MIB module.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:element name="accessTime"
                                    type="yang:date-and-time"
                                    minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>Used for Exporting Processes, this parameter
                                        contains the time when this (Options) Template was last
                                        sent to the Collector(s) or written to the file.
                                        Used for Collecting Processes, this parameter contains the
                                        time when this (Options) Template was last received from the
                                        Exporter or read from the file.
                                        Note that this parameter corresponds to
                                        ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:element
                                    name="templateDataRecords"
                                    type="yang:counter64" minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>The number of transmitted or received Data
                                        Records defined by this (Options) Template.
                                        Discontinuities in the value of this counter can occur at
                                        re-initialization of the management system, and at other
                                        times as indicated by the value of
                                        templateDiscontinuityTime.
                                        Note that this parameter corresponds to
                                        ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:element
                                    name="templateDiscontinuityTime"
                                    type="yang:date-and-time"
                                    minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>Timestamp of the most recent occasion at which
                                        the counter templateDataRecords suffered a discontinuity.
                                        Note that this parameter functionally corresponds to
                                        ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                                        In contrast to ipfixTemplateDiscontinuityTime, the time
                                        is absolute and not relative to sysUpTime.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC5815, Section 8
                                            (ipfixTemplateDiscontinuityTime).</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:element name="field"
                                    minOccurs="0" maxOccurs="unbounded">
                                    <xs:annotation>
                                      <xs:documentation>This list contains the (Options) Template
                                        fields of which the (Options) Template is defined.
                                        The order of the list corresponds to the order of the fields
                                        in the (Option) Template Record.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:ordered-by>system</ncx:ordered-by>
                                      </xs:appinfo>
                                    </xs:annotation>
                                    <xs:complexType>
                                      <xs:sequence>
                                        <xs:element name="ieId"
                                          type="ieIdType" minOccurs="0">
                                          <xs:annotation>
                                            <xs:documentation>This parameter indicates the Information
                                              Element Id of the field.
                                              Note that this parameter corresponds to
                                              ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                                            <xs:appinfo>
                                              <ncx:reference>
                                                <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                                  RFC5102.</ncx:text>
                                              </ncx:reference>
                                            </xs:appinfo>
                                          </xs:annotation>
                                        </xs:element>
                                        <xs:element name="ieLength"
                                          type="xs:unsignedShort"
                                          minOccurs="0">
                                          <xs:annotation>
                                            <xs:documentation>This parameter indicates the length of the
                                              Information Element of the field.
                                              Note that this parameter corresponds to
                                              ipfixTemplateDefinitionIeLength in the IPFIX MIB
                                              module.</xs:documentation>
                                            <xs:appinfo>
                                              <ncx:units>octets</ncx:units>
                                              <ncx:reference>
                                                <ncx:text>RFC5815, Section 8
                                                  (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                                              </ncx:reference>
                                            </xs:appinfo>
                                          </xs:annotation>
                                        </xs:element>
                                        <xs:element
                                          name="ieEnterpriseNumber"
                                          type="xs:unsignedInt"
                                          minOccurs="0">
                                          <xs:annotation>
                                            <xs:documentation>This parameter indicates the IANA enterprise
                                              number of the authority defining the Information Element
                                              Id.
                                              If the Information Element is not enterprise-specific,
                                              this state parameter is zero.
                                              Note that this parameter corresponds to
                                              ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                                              MIB module.</xs:documentation>
                                            <xs:appinfo>
                                              <ncx:reference>
                                                <ncx:text>RFC5815, Section 8
                                                  (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                                              </ncx:reference>
                                            </xs:appinfo>
                                          </xs:annotation>
                                        </xs:element>
                                        <xs:element name="isFlowKey"
                                          minOccurs="0">
                                          <xs:annotation>
                                            <xs:documentation>If present, this is a Flow Key field.
                                              Note that this corresponds to flowKey(1) being set in
                                              ipfixTemplateDefinitionFlags.</xs:documentation>
                                            <xs:appinfo>
                                              <ncx:when>../../setId = 2</ncx:when>
                                              <ncx:reference>
                                                <ncx:text>RFC5815, Section 8
                                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                                              </ncx:reference>
                                            </xs:appinfo>
                                          </xs:annotation>
                                        </xs:element>
                                        <xs:element name="isScope"
                                          minOccurs="0">
                                          <xs:annotation>
                                            <xs:documentation>If present, this is a scope field.
                                              Note that this corresponds to scope(0) being set in
                                              ipfixTemplateDefinitionFlags.</xs:documentation>
                                            <xs:appinfo>
                                              <ncx:when>../../setId = 3</ncx:when>
                                              <ncx:reference>
                                                <ncx:text>RFC5815, Section 8
                                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                                              </ncx:reference>
                                            </xs:appinfo>
                                          </xs:annotation>
                                        </xs:element>
                                        <xs:any minOccurs="0"
                                          maxOccurs="unbounded"
                                          namespace="##other"
                                          processContents="lax"/>
                                      </xs:sequence>
                                    </xs:complexType>
                                  </xs:element>
                                  <xs:any minOccurs="0"
                                    maxOccurs="unbounded"
                                    namespace="##other"
                                    processContents="lax"/>
                                </xs:sequence>
                              </xs:complexType>
                            </xs:element>
                            <xs:any minOccurs="0" maxOccurs="unbounded"
                              namespace="##other" processContents="lax"/>
                          </xs:sequence>
                        </xs:complexType>
                      </xs:element>
                      <xs:element name="sourceIPAddress"
                        type="inet:ip-address" minOccurs="0"
                        maxOccurs="unbounded">
                        <xs:annotation>
                          <xs:documentation>List of source IP addresses used by the
                            Exporting Process.
                            If configured, the specified addresses are eligible local
                            IP addresses of the multi-homed SCTP endpoint.
                            If not configured, all locally assigned IP addresses are
                            eligible local IP addresses.</xs:documentation>
                          <xs:appinfo>
                            <ncx:ordered-by>system</ncx:ordered-by>
                            <ncx:reference>
                              <ncx:text>RFC 4960, Section 6.4.</ncx:text>
                              <ncx:url>http://www.ietf.org/rfc/rfc4960.txt</ncx:url>
                            </ncx:reference>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:simpleType>
                          <xs:union
                            memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                        </xs:simpleType>
                      </xs:element>
                      <xs:element name="destinationIPAddress"
                        type="inet:ip-address" minOccurs="1"
                        maxOccurs="unbounded">
                        <xs:annotation>
                          <xs:documentation>One or multiple IP addresses of the Collecting
                            Process to which IPFIX Messages are sent.
                            The user MUST ensure that all configured IP addresses
                            belong to the same Collecting Process.
                            The Exporting Process tries to establish an SCTP
                            association to any of the configured destination IP
                            addresses.</xs:documentation>
                          <xs:appinfo>
                            <ncx:ordered-by>system</ncx:ordered-by>
                            <ncx:reference>
                              <ncx:text>RFC 4960, Section 6.4.</ncx:text>
                              <ncx:url>http://www.ietf.org/rfc/rfc4960.txt</ncx:url>
                            </ncx:reference>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:simpleType>
                          <xs:union
                            memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                        </xs:simpleType>
                      </xs:element>
                      <xs:element name="timedReliability"
                        type="xs:unsignedInt" default="0" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>Lifetime in milliseconds until an IPFIX
                            Message containing Data Sets only is 'abandoned' due to
                            the timed reliability mechanism of PR-SCTP.
                            If this parameter is set to zero, reliable SCTP
                            transport is used for all Data Records.
                            Regardless of the value of this parameter, the Exporting
                            Process MAY use reliable SCTP transport for Data Sets
                            associated with Options Templates.</xs:documentation>
                          <xs:appinfo>
                            <ncx:units>milliseconds</ncx:units>
                            <ncx:reference>
                              <ncx:text>RFC 3758; RFC 4960.</ncx:text>
                              <ncx:url>http://www.ietf.org/rfc/rfc3758.txt</ncx:url>
                            </ncx:reference>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:any minOccurs="0" maxOccurs="unbounded"
                        namespace="##other" processContents="lax"/>
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>
                <xs:any minOccurs="0" maxOccurs="unbounded"
                  namespace="##other" processContents="lax"/>
              </xs:sequence>
              <xs:sequence>
                <xs:annotation>
                  <xs:appinfo>
                    <ncx:case-name>udpExporter</ncx:case-name>
                  </xs:appinfo>
                </xs:annotation>
                <xs:element name="udpExporter">
                  <xs:annotation>
                    <xs:documentation>UDP parameters.</xs:documentation>
                  </xs:annotation>
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="ipfixVersion"
                        type="xs:unsignedShort" default="10"
                        minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>IPFIX version number.</xs:documentation>
                          <xs:appinfo>
                            <ncx:reference>
                              <ncx:text>RFC 5101.</ncx:text>
                              <ncx:url>http://www.ietf.org/rfc/rfc5101.txt</ncx:url>
                            </ncx:reference>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="destinationPort"
                        type="inet:port-number" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>If not configured by the user, the Monitoring
                            Device uses the default port number for IPFIX, which is
                            4739 without transport layer security and 4740 if transport
                            layer security is activated.</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:choice>
                        <xs:annotation>
                          <xs:documentation>Index or name of the interface as stored in the
                            ifTable of IF-MIB.
                            If configured, the Exporting Process MUST use the given
                            interface to export IPFIX Messages to the export
                            destination.
                            If omitted, the Exporting Process selects the outgoing
                            interface based on local routing decision and accepts
                            return traffic, such as transport layer acknowledgments,
                            on all available interfaces.</xs:documentation>
                          <xs:appinfo>
                            <ncx:choice-name>indexOrName</ncx:choice-name>
                            <ncx:reference>
                              <ncx:text>RFC 1229.</ncx:text>
                              <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                            </ncx:reference>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:sequence>
                          <xs:annotation>
                            <xs:appinfo>
                              <ncx:case-name>ifIndex</ncx:case-name>
                            </xs:appinfo>
                          </xs:annotation>
                          <xs:element name="ifIndex"
                            type="xs:unsignedInt" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>Index of an interface as stored in the ifTable
                                of IF-MIB.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC 1229.</ncx:text>
                                  <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:any minOccurs="0" maxOccurs="unbounded"
                            namespace="##other" processContents="lax"/>
                        </xs:sequence>
                        <xs:sequence>
                          <xs:annotation>
                            <xs:appinfo>
                              <ncx:case-name>ifName</ncx:case-name>
                            </xs:appinfo>
                          </xs:annotation>
                          <xs:element name="ifName" type="xs:string"
                            minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>Name of an interface as stored in the ifTable
                                of IF-MIB.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC 1229.</ncx:text>
                                  <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:any minOccurs="0" maxOccurs="unbounded"
                            namespace="##other" processContents="lax"/>
                        </xs:sequence>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:choice>
                      <xs:element name="sendBufferSize"
                        type="xs:unsignedInt" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>Size of the socket send buffer.
                            If not configured by the user, this parameter is set by
                            the Monitoring Device.</xs:documentation>
                          <xs:appinfo>
                            <ncx:units>bytes</ncx:units>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="rateLimit"
                        type="xs:unsignedInt" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>Maximum number of bytes per second the Exporting
                            Process may export to the given destination. The number of
                            bytes is calculated from the lengths of the IPFIX Messages
                            exported. If not configured, no rate limiting is performed.</xs:documentation>
                          <xs:appinfo>
                            <ncx:units>bytes per second</ncx:units>
                            <ncx:reference>
                              <ncx:text>RFC5476, Section 6.3.</ncx:text>
                            </ncx:reference>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="transportLayerSecurity">
                        <xs:annotation>
                          <xs:documentation>Transport layer security configuration.</xs:documentation>
                          <xs:appinfo>
                            <ncx:presence>If transportLayerSecurity is present, DTLS is
                              enabled if the transport protocol is SCTP or UDP, and TLS
                              is enabled if the transport protocol is TCP.</ncx:presence>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:complexType>
                          <xs:sequence>
                            <xs:element
                              name="localCertificationAuthorityDN"
                              type="xs:string" minOccurs="0"
                              maxOccurs="unbounded">
                              <xs:annotation>
                                <xs:documentation>Distinguished names of certification authorities
                                  whose certificates may be used to identify the local
                                  endpoint.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:ordered-by>system</ncx:ordered-by>
                                  <ncx:reference>
                                    <ncx:text>RFC5280.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="localSubjectDN"
                              type="xs:string" minOccurs="0"
                              maxOccurs="unbounded">
                              <xs:annotation>
                                <xs:documentation>Distinguished names which may be used in the
                                  certificates to identify the local endpoint.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:ordered-by>system</ncx:ordered-by>
                                  <ncx:reference>
                                    <ncx:text>RFC5280.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="localSubjectFQDN"
                              type="inet:domain-name" minOccurs="0"
                              maxOccurs="unbounded">
                              <xs:annotation>
                                <xs:documentation>Fully qualified domain names which may be used to
                                  in the certificates to identify the local endpoint.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:ordered-by>system</ncx:ordered-by>
                                  <ncx:reference>
                                    <ncx:text>RFC5280.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element
                              name="remoteCertificationAuthorityDN"
                              type="xs:string" minOccurs="0"
                              maxOccurs="unbounded">
                              <xs:annotation>
                                <xs:documentation>Distinguished names of certification authorities
                                  whose certificates are accepted to authorize remote
                                  endpoints.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:ordered-by>system</ncx:ordered-by>
                                  <ncx:reference>
                                    <ncx:text>RFC5280.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="remoteSubjectDN"
                              type="xs:string" minOccurs="0"
                              maxOccurs="unbounded">
                              <xs:annotation>
                                <xs:documentation>Distinguished names which are accepted in
                                  certificates to authorize remote endpoints.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:ordered-by>system</ncx:ordered-by>
                                  <ncx:reference>
                                    <ncx:text>RFC5280.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="remoteSubjectFQDN"
                              type="inet:domain-name" minOccurs="0"
                              maxOccurs="unbounded">
                              <xs:annotation>
                                <xs:documentation>Fully qualified domain name which are accepted in
                                  certificates to authorize remote endpoints.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:ordered-by>system</ncx:ordered-by>
                                  <ncx:reference>
                                    <ncx:text>RFC5280.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:any minOccurs="0" maxOccurs="unbounded"
                              namespace="##other" processContents="lax"/>
                          </xs:sequence>
                        </xs:complexType>
                      </xs:element>
                      <xs:element name="transportSession">
                        <xs:annotation>
                          <xs:documentation>State parameters of the Transport Session
                            directed to the given destination.</xs:documentation>
                          <xs:appinfo>
                            <ncx:config>false</ncx:config>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:complexType>
                          <xs:sequence>
                            <xs:element name="ipfixVersion"
                              type="xs:unsignedShort" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>Used for Exporting Processes, this parameter
                                  contains the version number of the IPFIX protocol that the
                                  Exporter uses to export its data in this Transport Session.
                                  Hence, it is identical to the value of the configuration
                                  parameter ipfixVersion of the outer SctpExporter,
                                  UdpExporter, or TcpExporter node.
                                  Used for Collecting Processes, this parameter contains the
                                  version number of the IPFIX protocol it receives for
                                  this Transport Session. If IPFIX Messages of different
                                  IPFIX protocol versions are received, this parameter
                                  contains the maximum version number.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionIpfixVersion in the IPFIX MIB
                                  module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionIpfixVersion).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="sourceAddress"
                              type="inet:ip-address" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The source address of the Exporter of the
                                  IPFIX Transport Session.
                                  If the transport protocol is SCTP, this is one of the
                                  potentially many IP addresses of the Exporter.
                                  Preferably, the source IP address of the path which is
                                  usually selected by the Exporter to send IPFIX Messages to
                                  the Collector SHOULD be used.
                                  Note that this parameter functionally corresponds to
                                  ipfixTransportSessionSourceAddressType and
                                  ipfixTransportSessionSourceAddress in the IPFIX MIB
                                  module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionSourceAddressType,
                                      ipfixTransportSessionSourceAddress);
                                      RFC4960, Section 6.4.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                              <xs:simpleType>
                                <xs:union
                                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                              </xs:simpleType>
                            </xs:element>
                            <xs:element name="destinationAddress"
                              type="inet:ip-address" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The destination address of the Collector of
                                  the IPFIX Transport Session.
                                  If the transport protocol is SCTP, this is one of the
                                  potentially many IP addresses of the Collector.
                                  Preferably, the destination IP address of the path which is
                                  usually selected by the Exporter to send IPFIX Messages to
                                  the Collector SHOULD be used.
                                  Note that this parameter functionally corresponds to
                                  ipfixTransportSessionDestinationAddressType and
                                  ipfixTransportSessionDestinationAddress in the IPFIX MIB
                                  module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionDestinationAddressType,
                                      ipfixTransportSessionDestinationAddress);
                                      RFC4960, Section 6.4.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                              <xs:simpleType>
                                <xs:union
                                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                              </xs:simpleType>
                            </xs:element>
                            <xs:element name="sourcePort"
                              type="inet:port-number" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The transport protocol port number of the
                                  Exporter of the IPFIX Transport Session.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionSourcePort in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionSourcePort).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="destinationPort"
                              type="inet:port-number" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The transport protocol port number of the
                                  Collector of the IPFIX Transport Session.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionDestinationPort in the IPFIX MIB
                                  module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionDestinationPort).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="sctpAssocId"
                              type="xs:unsignedInt" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The association id used for the SCTP session
                                  between the Exporter and the Collector of the IPFIX
                                  Transport Session. It is equal to the sctpAssocId entry
                                  in the sctpAssocTable defined in the SCTP-MIB.
                                  This parameter is only available if the transport protocol
                                  is SCTP and if an SNMP agent on the same Monitoring Device
                                  enables access to the corresponding MIB objects in the
                                  sctpAssocTable.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionSctpAssocId in the IPFIX MIB
                                  module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionSctpAssocId);
                                      RFC3871</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="status"
                              type="transportSessionStatus"
                              minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>Status of the Transport Session.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionStatus in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionStatus).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="rate" type="yang:gauge32"
                              minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The number of bytes per second transmitted by the
                                  Exporting Process or received by the Collecting Process.
                                  This parameter is updated every second.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionRate in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:units>bytes per second</ncx:units>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionRate).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="bytes"
                              type="yang:counter64" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The number of bytes transmitted by the
                                  Exporting Process or received by the Collecting Process.
                                  Discontinuities in the value of this counter can occur at
                                  re-initialization of the management system, and at other
                                  times as indicated by the value of
                                  transportSessionDiscontinuityTime.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionBytes in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:units>bytes</ncx:units>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionBytes).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="messages"
                              type="yang:counter64" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The number of messages transmitted by the
                                  Exporting Process or received by the Collecting Process.
                                  Discontinuities in the value of this counter can occur at
                                  re-initialization of the management system, and at other
                                  times as indicated by the value of
                                  transportSessionDiscontinuityTime.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionMessages in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:units>IPFIX Messages</ncx:units>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionMessages).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="discardedMessages"
                              type="yang:counter64" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>Used for Exporting Processes, this parameter
                                  indicates the number of messages that could not be sent due
                                  to internal buffer overflows, network congestion, routing
                                  issues, etc. Used for Collecting Process, this parameter
                                  indicates the number of received IPFIX Message that are
                                  malformed, cannot be decoded, are received in the wrong
                                  order or are missing according to the sequence number.
                                  Discontinuities in the value of this counter can occur at
                                  re-initialization of the management system, and at other
                                  times as indicated by the value of
                                  transportSessionDiscontinuityTime.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionDiscardedMessages in the IPFIX MIB
                                  module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:units>IPFIX Messages</ncx:units>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionDiscardedMessages).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="records"
                              type="yang:counter64" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The number of Data Records transmitted by the
                                  Exporting Process or received by the Collecting Process.
                                  Discontinuities in the value of this counter can occur at
                                  re-initialization of the management system, and at other
                                  times as indicated by the value of
                                  transportSessionDiscontinuityTime.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionRecords in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:units>Data Records</ncx:units>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionRecords).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="templates"
                              type="yang:counter32" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The number of Templates transmitted by the
                                  Exporting Process or received by the Collecting Process.
                                  Discontinuities in the value of this counter can occur at
                                  re-initialization of the management system, and at other
                                  times as indicated by the value of
                                  transportSessionDiscontinuityTime.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionTemplates in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:units>Templates</ncx:units>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionTemplates).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="optionsTemplates"
                              type="yang:counter32" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The number of Option Templates transmitted by the
                                  Exporting Process or received by the Collecting Process.
                                  Discontinuities in the value of this counter can occur at
                                  re-initialization of the management system, and at other
                                  times as indicated by the value of
                                  transportSessionDiscontinuityTime.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionOptionsTemplates in the IPFIX MIB
                                  module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:units>Options Templates</ncx:units>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionOptionsTemplates).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element
                              name="transportSessionStartTime"
                              type="yang:date-and-time" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>Timestamp of the start of the given Transport
                                  Session.
                                  This state parameter does not correspond to any object in
                                  the IPFIX MIB module.</xs:documentation>
                              </xs:annotation>
                            </xs:element>
                            <xs:element
                              name="transportSessionDiscontinuityTime"
                              type="yang:date-and-time" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>Timestamp of the most recent occasion at which
                                  one or more of the Transport Session counters suffered a
                                  discontinuity.
                                  Note that this parameter functionally corresponds to
                                  ipfixTransportSessionDiscontinuityTime in the IPFIX MIB
                                  module. In contrast to
                                  ipfixTransportSessionDiscontinuityTime, the time is
                                  absolute and not relative to sysUpTime.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionDiscontinuityTime).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="template" minOccurs="0"
                              maxOccurs="unbounded">
                              <xs:annotation>
                                <xs:documentation>This list contains the Templates and Options
                                  Templates that are transmitted by the Exporting Process
                                  or received by the Collecting Process.
                                  Withdrawn or invalidated (Options) Template MUST be removed
                                  from this list.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:ordered-by>system</ncx:ordered-by>
                                </xs:appinfo>
                              </xs:annotation>
                              <xs:complexType>
                                <xs:sequence>
                                  <xs:element
                                    name="observationDomainId"
                                    type="xs:unsignedInt" minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>The ID of the Observation Domain for which this
                                        Template is defined.
                                        Note that this parameter corresponds to
                                        ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC5815, Section 8
                                            (ipfixTemplateObservationDomainId).</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:element name="templateId"
                                    minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>This number indicates the Template Id in the IPFIX
                                        message.
                                        Note that this parameter corresponds to ipfixTemplateId in
                                        the IPFIX MIB module.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                    <xs:simpleType>
                                      <xs:restriction
                                        base="xs:unsignedShort">
                                        <xs:minInclusive value="256">
                                          <xs:annotation>
                                            <xs:documentation>Valid range of Template IDs.</xs:documentation>
                                            <xs:appinfo>
                                              <ncx:reference>
                                                <ncx:text>RFC5101</ncx:text>
                                              </ncx:reference>
                                            </xs:appinfo>
                                          </xs:annotation>
                                        </xs:minInclusive>
                                      </xs:restriction>
                                    </xs:simpleType>
                                  </xs:element>
                                  <xs:element name="setId"
                                    type="xs:unsignedShort"
                                    minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>This number indicates the Set ID of the Template.
                                        Currently, there are two values defined. The value 2 is used
                                        for Sets containing Template definitions. The value 3 is
                                        used for Sets containing Options Template definitions.
                                        Note that this parameter corresponds to ipfixTemplateSetId
                                        in the IPFIX MIB module.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:element name="accessTime"
                                    type="yang:date-and-time"
                                    minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>Used for Exporting Processes, this parameter
                                        contains the time when this (Options) Template was last
                                        sent to the Collector(s) or written to the file.
                                        Used for Collecting Processes, this parameter contains the
                                        time when this (Options) Template was last received from the
                                        Exporter or read from the file.
                                        Note that this parameter corresponds to
                                        ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:element
                                    name="templateDataRecords"
                                    type="yang:counter64" minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>The number of transmitted or received Data
                                        Records defined by this (Options) Template.
                                        Discontinuities in the value of this counter can occur at
                                        re-initialization of the management system, and at other
                                        times as indicated by the value of
                                        templateDiscontinuityTime.
                                        Note that this parameter corresponds to
                                        ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:element
                                    name="templateDiscontinuityTime"
                                    type="yang:date-and-time"
                                    minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>Timestamp of the most recent occasion at which
                                        the counter templateDataRecords suffered a discontinuity.
                                        Note that this parameter functionally corresponds to
                                        ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                                        In contrast to ipfixTemplateDiscontinuityTime, the time
                                        is absolute and not relative to sysUpTime.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC5815, Section 8
                                            (ipfixTemplateDiscontinuityTime).</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:element name="field"
                                    minOccurs="0" maxOccurs="unbounded">
                                    <xs:annotation>
                                      <xs:documentation>This list contains the (Options) Template
                                        fields of which the (Options) Template is defined.
                                        The order of the list corresponds to the order of the fields
                                        in the (Option) Template Record.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:ordered-by>system</ncx:ordered-by>
                                      </xs:appinfo>
                                    </xs:annotation>
                                    <xs:complexType>
                                      <xs:sequence>
                                        <xs:element name="ieId"
                                          type="ieIdType" minOccurs="0">
                                          <xs:annotation>
                                            <xs:documentation>This parameter indicates the Information
                                              Element Id of the field.
                                              Note that this parameter corresponds to
                                              ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                                            <xs:appinfo>
                                              <ncx:reference>
                                                <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                                  RFC5102.</ncx:text>
                                              </ncx:reference>
                                            </xs:appinfo>
                                          </xs:annotation>
                                        </xs:element>
                                        <xs:element name="ieLength"
                                          type="xs:unsignedShort"
                                          minOccurs="0">
                                          <xs:annotation>
                                            <xs:documentation>This parameter indicates the length of the
                                              Information Element of the field.
                                              Note that this parameter corresponds to
                                              ipfixTemplateDefinitionIeLength in the IPFIX MIB
                                              module.</xs:documentation>
                                            <xs:appinfo>
                                              <ncx:units>octets</ncx:units>
                                              <ncx:reference>
                                                <ncx:text>RFC5815, Section 8
                                                  (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                                              </ncx:reference>
                                            </xs:appinfo>
                                          </xs:annotation>
                                        </xs:element>
                                        <xs:element
                                          name="ieEnterpriseNumber"
                                          type="xs:unsignedInt"
                                          minOccurs="0">
                                          <xs:annotation>
                                            <xs:documentation>This parameter indicates the IANA enterprise
                                              number of the authority defining the Information Element
                                              Id.
                                              If the Information Element is not enterprise-specific,
                                              this state parameter is zero.
                                              Note that this parameter corresponds to
                                              ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                                              MIB module.</xs:documentation>
                                            <xs:appinfo>
                                              <ncx:reference>
                                                <ncx:text>RFC5815, Section 8
                                                  (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                                              </ncx:reference>
                                            </xs:appinfo>
                                          </xs:annotation>
                                        </xs:element>
                                        <xs:element name="isFlowKey"
                                          minOccurs="0">
                                          <xs:annotation>
                                            <xs:documentation>If present, this is a Flow Key field.
                                              Note that this corresponds to flowKey(1) being set in
                                              ipfixTemplateDefinitionFlags.</xs:documentation>
                                            <xs:appinfo>
                                              <ncx:when>../../setId = 2</ncx:when>
                                              <ncx:reference>
                                                <ncx:text>RFC5815, Section 8
                                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                                              </ncx:reference>
                                            </xs:appinfo>
                                          </xs:annotation>
                                        </xs:element>
                                        <xs:element name="isScope"
                                          minOccurs="0">
                                          <xs:annotation>
                                            <xs:documentation>If present, this is a scope field.
                                              Note that this corresponds to scope(0) being set in
                                              ipfixTemplateDefinitionFlags.</xs:documentation>
                                            <xs:appinfo>
                                              <ncx:when>../../setId = 3</ncx:when>
                                              <ncx:reference>
                                                <ncx:text>RFC5815, Section 8
                                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                                              </ncx:reference>
                                            </xs:appinfo>
                                          </xs:annotation>
                                        </xs:element>
                                        <xs:any minOccurs="0"
                                          maxOccurs="unbounded"
                                          namespace="##other"
                                          processContents="lax"/>
                                      </xs:sequence>
                                    </xs:complexType>
                                  </xs:element>
                                  <xs:any minOccurs="0"
                                    maxOccurs="unbounded"
                                    namespace="##other"
                                    processContents="lax"/>
                                </xs:sequence>
                              </xs:complexType>
                            </xs:element>
                            <xs:any minOccurs="0" maxOccurs="unbounded"
                              namespace="##other" processContents="lax"/>
                          </xs:sequence>
                        </xs:complexType>
                      </xs:element>
                      <xs:element name="sourceIPAddress"
                        type="inet:ip-address" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>Source IP address used by the Exporting Process.
                            If not configured, the IP address assigned to the outgoing
                            interface is used as source IP address.</xs:documentation>
                        </xs:annotation>
                        <xs:simpleType>
                          <xs:union
                            memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                        </xs:simpleType>
                      </xs:element>
                      <xs:element name="destinationIPAddress"
                        type="inet:ip-address">
                        <xs:annotation>
                          <xs:documentation>IP address of the Collection Process to which
                            IPFIX Messages are sent.</xs:documentation>
                          <xs:appinfo>
                            <ncx:mandatory>true</ncx:mandatory>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:simpleType>
                          <xs:union
                            memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                        </xs:simpleType>
                      </xs:element>
                      <xs:element name="maxPacketSize"
                        type="xs:unsignedShort" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>This parameter specifies the maximum size of
                            IP packets sent to the Collector. If set to zero, the
                            Exporting Device MUST derive the maximum packet size
                            from path MTU discovery mechanisms.
                            If not configured by the user, this parameter is set by
                            the Monitoring Device.</xs:documentation>
                          <xs:appinfo>
                            <ncx:units>octets</ncx:units>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="templateRefreshTimeout"
                        type="xs:unsignedInt" default="600"
                        minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>Sets time after which Templates are resent in the
                            UDP Transport Session.
                            Note that the configured lifetime MUST be adapted to the
                            templateLifeTime parameter value at the receiving Collecting
                            Process.
                            Note that this parameter corresponds to
                            ipfixTransportSessionTemplateRefreshTimeout in the IPFIX
                            MIB module.</xs:documentation>
                          <xs:appinfo>
                            <ncx:units>seconds</ncx:units>
                            <ncx:reference>
                              <ncx:text>RFC5101, Section 10.3.6; RFC5815, Section 8
                                (ipfixTransportSessionTemplateRefreshTimeout).</ncx:text>
                            </ncx:reference>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="optionsTemplateRefreshTimeout"
                        type="xs:unsignedInt" default="600"
                        minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>Sets time after which Options Templates are
                            resent in the UDP Transport Session.
                            Note that the configured lifetime MUST be adapted to the
                            optionsTemplateLifeTime parameter value at the receiving
                            Collecting Process.
                            Note that this parameter corresponds to
                            ipfixTransportSessionOptionsTemplateRefreshTimeout in the
                            IPFIX MIB module.</xs:documentation>
                          <xs:appinfo>
                            <ncx:units>seconds</ncx:units>
                            <ncx:reference>
                              <ncx:text>RFC5101, Section 10.3.6; RFC5815, Section 8
                                (ipfixTransportSessionOptionsTemplateRefreshTimeout).</ncx:text>
                            </ncx:reference>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="templateRefreshPacket"
                        type="xs:unsignedInt" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>Sets number of IPFIX Messages after which
                            Templates are resent in the UDP Transport Session.
                            Note that this parameter corresponds to
                            ipfixTransportSessionTemplateRefreshPacket in the IPFIX
                            MIB module.
                            If omitted, Templates are only resent after timeout.</xs:documentation>
                          <xs:appinfo>
                            <ncx:units>IPFIX Messages</ncx:units>
                            <ncx:reference>
                              <ncx:text>RFC5101, Section 10.3.6; RFC5815, Section 8
                                (ipfixTransportSessionTemplateRefreshPacket).</ncx:text>
                            </ncx:reference>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="optionsTemplateRefreshPacket"
                        type="xs:unsignedInt" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>Sets number of IPFIX Messages after which
                            Options Templates are resent in the UDP Transport Session
                            protocol.
                            Note that this parameter corresponds to
                            ipfixTransportSessionOptionsTemplateRefreshPacket in the
                            IPFIX MIB module.
                            If omitted, Templates are only resent after timeout.</xs:documentation>
                          <xs:appinfo>
                            <ncx:units>IPFIX Messages</ncx:units>
                            <ncx:reference>
                              <ncx:text>RFC5101, Section 10.3.6; RFC5815, Section 8
                                (ipfixTransportSessionOptionsTemplateRefreshPacket).</ncx:text>
                            </ncx:reference>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:any minOccurs="0" maxOccurs="unbounded"
                        namespace="##other" processContents="lax"/>
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>
                <xs:any minOccurs="0" maxOccurs="unbounded"
                  namespace="##other" processContents="lax"/>
              </xs:sequence>
              <xs:sequence>
                <xs:annotation>
                  <xs:appinfo>
                    <ncx:case-name>tcpExporter</ncx:case-name>
                  </xs:appinfo>
                </xs:annotation>
                <xs:element name="tcpExporter">
                  <xs:annotation>
                    <xs:documentation>TCP parameters.</xs:documentation>
                  </xs:annotation>
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="ipfixVersion"
                        type="xs:unsignedShort" default="10"
                        minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>IPFIX version number.</xs:documentation>
                          <xs:appinfo>
                            <ncx:reference>
                              <ncx:text>RFC 5101.</ncx:text>
                              <ncx:url>http://www.ietf.org/rfc/rfc5101.txt</ncx:url>
                            </ncx:reference>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="destinationPort"
                        type="inet:port-number" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>If not configured by the user, the Monitoring
                            Device uses the default port number for IPFIX, which is
                            4739 without transport layer security and 4740 if transport
                            layer security is activated.</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:choice>
                        <xs:annotation>
                          <xs:documentation>Index or name of the interface as stored in the
                            ifTable of IF-MIB.
                            If configured, the Exporting Process MUST use the given
                            interface to export IPFIX Messages to the export
                            destination.
                            If omitted, the Exporting Process selects the outgoing
                            interface based on local routing decision and accepts
                            return traffic, such as transport layer acknowledgments,
                            on all available interfaces.</xs:documentation>
                          <xs:appinfo>
                            <ncx:choice-name>indexOrName</ncx:choice-name>
                            <ncx:reference>
                              <ncx:text>RFC 1229.</ncx:text>
                              <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                            </ncx:reference>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:sequence>
                          <xs:annotation>
                            <xs:appinfo>
                              <ncx:case-name>ifIndex</ncx:case-name>
                            </xs:appinfo>
                          </xs:annotation>
                          <xs:element name="ifIndex"
                            type="xs:unsignedInt" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>Index of an interface as stored in the ifTable
                                of IF-MIB.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC 1229.</ncx:text>
                                  <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:any minOccurs="0" maxOccurs="unbounded"
                            namespace="##other" processContents="lax"/>
                        </xs:sequence>
                        <xs:sequence>
                          <xs:annotation>
                            <xs:appinfo>
                              <ncx:case-name>ifName</ncx:case-name>
                            </xs:appinfo>
                          </xs:annotation>
                          <xs:element name="ifName" type="xs:string"
                            minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>Name of an interface as stored in the ifTable
                                of IF-MIB.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC 1229.</ncx:text>
                                  <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:any minOccurs="0" maxOccurs="unbounded"
                            namespace="##other" processContents="lax"/>
                        </xs:sequence>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:choice>
                      <xs:element name="sendBufferSize"
                        type="xs:unsignedInt" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>Size of the socket send buffer.
                            If not configured by the user, this parameter is set by
                            the Monitoring Device.</xs:documentation>
                          <xs:appinfo>
                            <ncx:units>bytes</ncx:units>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="rateLimit"
                        type="xs:unsignedInt" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>Maximum number of bytes per second the Exporting
                            Process may export to the given destination. The number of
                            bytes is calculated from the lengths of the IPFIX Messages
                            exported. If not configured, no rate limiting is performed.</xs:documentation>
                          <xs:appinfo>
                            <ncx:units>bytes per second</ncx:units>
                            <ncx:reference>
                              <ncx:text>RFC5476, Section 6.3.</ncx:text>
                            </ncx:reference>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="transportLayerSecurity">
                        <xs:annotation>
                          <xs:documentation>Transport layer security configuration.</xs:documentation>
                          <xs:appinfo>
                            <ncx:presence>If transportLayerSecurity is present, DTLS is
                              enabled if the transport protocol is SCTP or UDP, and TLS
                              is enabled if the transport protocol is TCP.</ncx:presence>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:complexType>
                          <xs:sequence>
                            <xs:element
                              name="localCertificationAuthorityDN"
                              type="xs:string" minOccurs="0"
                              maxOccurs="unbounded">
                              <xs:annotation>
                                <xs:documentation>Distinguished names of certification authorities
                                  whose certificates may be used to identify the local
                                  endpoint.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:ordered-by>system</ncx:ordered-by>
                                  <ncx:reference>
                                    <ncx:text>RFC5280.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="localSubjectDN"
                              type="xs:string" minOccurs="0"
                              maxOccurs="unbounded">
                              <xs:annotation>
                                <xs:documentation>Distinguished names which may be used in the
                                  certificates to identify the local endpoint.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:ordered-by>system</ncx:ordered-by>
                                  <ncx:reference>
                                    <ncx:text>RFC5280.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="localSubjectFQDN"
                              type="inet:domain-name" minOccurs="0"
                              maxOccurs="unbounded">
                              <xs:annotation>
                                <xs:documentation>Fully qualified domain names which may be used to
                                  in the certificates to identify the local endpoint.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:ordered-by>system</ncx:ordered-by>
                                  <ncx:reference>
                                    <ncx:text>RFC5280.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element
                              name="remoteCertificationAuthorityDN"
                              type="xs:string" minOccurs="0"
                              maxOccurs="unbounded">
                              <xs:annotation>
                                <xs:documentation>Distinguished names of certification authorities
                                  whose certificates are accepted to authorize remote
                                  endpoints.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:ordered-by>system</ncx:ordered-by>
                                  <ncx:reference>
                                    <ncx:text>RFC5280.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="remoteSubjectDN"
                              type="xs:string" minOccurs="0"
                              maxOccurs="unbounded">
                              <xs:annotation>
                                <xs:documentation>Distinguished names which are accepted in
                                  certificates to authorize remote endpoints.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:ordered-by>system</ncx:ordered-by>
                                  <ncx:reference>
                                    <ncx:text>RFC5280.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="remoteSubjectFQDN"
                              type="inet:domain-name" minOccurs="0"
                              maxOccurs="unbounded">
                              <xs:annotation>
                                <xs:documentation>Fully qualified domain name which are accepted in
                                  certificates to authorize remote endpoints.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:ordered-by>system</ncx:ordered-by>
                                  <ncx:reference>
                                    <ncx:text>RFC5280.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:any minOccurs="0" maxOccurs="unbounded"
                              namespace="##other" processContents="lax"/>
                          </xs:sequence>
                        </xs:complexType>
                      </xs:element>
                      <xs:element name="transportSession">
                        <xs:annotation>
                          <xs:documentation>State parameters of the Transport Session
                            directed to the given destination.</xs:documentation>
                          <xs:appinfo>
                            <ncx:config>false</ncx:config>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:complexType>
                          <xs:sequence>
                            <xs:element name="ipfixVersion"
                              type="xs:unsignedShort" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>Used for Exporting Processes, this parameter
                                  contains the version number of the IPFIX protocol that the
                                  Exporter uses to export its data in this Transport Session.
                                  Hence, it is identical to the value of the configuration
                                  parameter ipfixVersion of the outer SctpExporter,
                                  UdpExporter, or TcpExporter node.
                                  Used for Collecting Processes, this parameter contains the
                                  version number of the IPFIX protocol it receives for
                                  this Transport Session. If IPFIX Messages of different
                                  IPFIX protocol versions are received, this parameter
                                  contains the maximum version number.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionIpfixVersion in the IPFIX MIB
                                  module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionIpfixVersion).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="sourceAddress"
                              type="inet:ip-address" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The source address of the Exporter of the
                                  IPFIX Transport Session.
                                  If the transport protocol is SCTP, this is one of the
                                  potentially many IP addresses of the Exporter.
                                  Preferably, the source IP address of the path which is
                                  usually selected by the Exporter to send IPFIX Messages to
                                  the Collector SHOULD be used.
                                  Note that this parameter functionally corresponds to
                                  ipfixTransportSessionSourceAddressType and
                                  ipfixTransportSessionSourceAddress in the IPFIX MIB
                                  module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionSourceAddressType,
                                      ipfixTransportSessionSourceAddress);
                                      RFC4960, Section 6.4.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                              <xs:simpleType>
                                <xs:union
                                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                              </xs:simpleType>
                            </xs:element>
                            <xs:element name="destinationAddress"
                              type="inet:ip-address" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The destination address of the Collector of
                                  the IPFIX Transport Session.
                                  If the transport protocol is SCTP, this is one of the
                                  potentially many IP addresses of the Collector.
                                  Preferably, the destination IP address of the path which is
                                  usually selected by the Exporter to send IPFIX Messages to
                                  the Collector SHOULD be used.
                                  Note that this parameter functionally corresponds to
                                  ipfixTransportSessionDestinationAddressType and
                                  ipfixTransportSessionDestinationAddress in the IPFIX MIB
                                  module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionDestinationAddressType,
                                      ipfixTransportSessionDestinationAddress);
                                      RFC4960, Section 6.4.</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                              <xs:simpleType>
                                <xs:union
                                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                              </xs:simpleType>
                            </xs:element>
                            <xs:element name="sourcePort"
                              type="inet:port-number" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The transport protocol port number of the
                                  Exporter of the IPFIX Transport Session.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionSourcePort in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionSourcePort).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="destinationPort"
                              type="inet:port-number" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The transport protocol port number of the
                                  Collector of the IPFIX Transport Session.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionDestinationPort in the IPFIX MIB
                                  module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionDestinationPort).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="sctpAssocId"
                              type="xs:unsignedInt" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The association id used for the SCTP session
                                  between the Exporter and the Collector of the IPFIX
                                  Transport Session. It is equal to the sctpAssocId entry
                                  in the sctpAssocTable defined in the SCTP-MIB.
                                  This parameter is only available if the transport protocol
                                  is SCTP and if an SNMP agent on the same Monitoring Device
                                  enables access to the corresponding MIB objects in the
                                  sctpAssocTable.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionSctpAssocId in the IPFIX MIB
                                  module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionSctpAssocId);
                                      RFC3871</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="status"
                              type="transportSessionStatus"
                              minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>Status of the Transport Session.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionStatus in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionStatus).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="rate" type="yang:gauge32"
                              minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The number of bytes per second transmitted by the
                                  Exporting Process or received by the Collecting Process.
                                  This parameter is updated every second.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionRate in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:units>bytes per second</ncx:units>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionRate).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="bytes"
                              type="yang:counter64" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The number of bytes transmitted by the
                                  Exporting Process or received by the Collecting Process.
                                  Discontinuities in the value of this counter can occur at
                                  re-initialization of the management system, and at other
                                  times as indicated by the value of
                                  transportSessionDiscontinuityTime.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionBytes in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:units>bytes</ncx:units>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionBytes).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="messages"
                              type="yang:counter64" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The number of messages transmitted by the
                                  Exporting Process or received by the Collecting Process.
                                  Discontinuities in the value of this counter can occur at
                                  re-initialization of the management system, and at other
                                  times as indicated by the value of
                                  transportSessionDiscontinuityTime.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionMessages in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:units>IPFIX Messages</ncx:units>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionMessages).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="discardedMessages"
                              type="yang:counter64" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>Used for Exporting Processes, this parameter
                                  indicates the number of messages that could not be sent due
                                  to internal buffer overflows, network congestion, routing
                                  issues, etc. Used for Collecting Process, this parameter
                                  indicates the number of received IPFIX Message that are
                                  malformed, cannot be decoded, are received in the wrong
                                  order or are missing according to the sequence number.
                                  Discontinuities in the value of this counter can occur at
                                  re-initialization of the management system, and at other
                                  times as indicated by the value of
                                  transportSessionDiscontinuityTime.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionDiscardedMessages in the IPFIX MIB
                                  module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:units>IPFIX Messages</ncx:units>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionDiscardedMessages).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="records"
                              type="yang:counter64" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The number of Data Records transmitted by the
                                  Exporting Process or received by the Collecting Process.
                                  Discontinuities in the value of this counter can occur at
                                  re-initialization of the management system, and at other
                                  times as indicated by the value of
                                  transportSessionDiscontinuityTime.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionRecords in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:units>Data Records</ncx:units>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionRecords).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="templates"
                              type="yang:counter32" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The number of Templates transmitted by the
                                  Exporting Process or received by the Collecting Process.
                                  Discontinuities in the value of this counter can occur at
                                  re-initialization of the management system, and at other
                                  times as indicated by the value of
                                  transportSessionDiscontinuityTime.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionTemplates in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:units>Templates</ncx:units>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionTemplates).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="optionsTemplates"
                              type="yang:counter32" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The number of Option Templates transmitted by the
                                  Exporting Process or received by the Collecting Process.
                                  Discontinuities in the value of this counter can occur at
                                  re-initialization of the management system, and at other
                                  times as indicated by the value of
                                  transportSessionDiscontinuityTime.
                                  Note that this parameter corresponds to
                                  ipfixTransportSessionOptionsTemplates in the IPFIX MIB
                                  module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:units>Options Templates</ncx:units>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionOptionsTemplates).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element
                              name="transportSessionStartTime"
                              type="yang:date-and-time" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>Timestamp of the start of the given Transport
                                  Session.
                                  This state parameter does not correspond to any object in
                                  the IPFIX MIB module.</xs:documentation>
                              </xs:annotation>
                            </xs:element>
                            <xs:element
                              name="transportSessionDiscontinuityTime"
                              type="yang:date-and-time" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>Timestamp of the most recent occasion at which
                                  one or more of the Transport Session counters suffered a
                                  discontinuity.
                                  Note that this parameter functionally corresponds to
                                  ipfixTransportSessionDiscontinuityTime in the IPFIX MIB
                                  module. In contrast to
                                  ipfixTransportSessionDiscontinuityTime, the time is
                                  absolute and not relative to sysUpTime.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTransportSessionDiscontinuityTime).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="template" minOccurs="0"
                              maxOccurs="unbounded">
                              <xs:annotation>
                                <xs:documentation>This list contains the Templates and Options
                                  Templates that are transmitted by the Exporting Process
                                  or received by the Collecting Process.
                                  Withdrawn or invalidated (Options) Template MUST be removed
                                  from this list.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:ordered-by>system</ncx:ordered-by>
                                </xs:appinfo>
                              </xs:annotation>
                              <xs:complexType>
                                <xs:sequence>
                                  <xs:element
                                    name="observationDomainId"
                                    type="xs:unsignedInt" minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>The ID of the Observation Domain for which this
                                        Template is defined.
                                        Note that this parameter corresponds to
                                        ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC5815, Section 8
                                            (ipfixTemplateObservationDomainId).</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:element name="templateId"
                                    minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>This number indicates the Template Id in the IPFIX
                                        message.
                                        Note that this parameter corresponds to ipfixTemplateId in
                                        the IPFIX MIB module.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                    <xs:simpleType>
                                      <xs:restriction
                                        base="xs:unsignedShort">
                                        <xs:minInclusive value="256">
                                          <xs:annotation>
                                            <xs:documentation>Valid range of Template IDs.</xs:documentation>
                                            <xs:appinfo>
                                              <ncx:reference>
                                                <ncx:text>RFC5101</ncx:text>
                                              </ncx:reference>
                                            </xs:appinfo>
                                          </xs:annotation>
                                        </xs:minInclusive>
                                      </xs:restriction>
                                    </xs:simpleType>
                                  </xs:element>
                                  <xs:element name="setId"
                                    type="xs:unsignedShort"
                                    minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>This number indicates the Set ID of the Template.
                                        Currently, there are two values defined. The value 2 is used
                                        for Sets containing Template definitions. The value 3 is
                                        used for Sets containing Options Template definitions.
                                        Note that this parameter corresponds to ipfixTemplateSetId
                                        in the IPFIX MIB module.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:element name="accessTime"
                                    type="yang:date-and-time"
                                    minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>Used for Exporting Processes, this parameter
                                        contains the time when this (Options) Template was last
                                        sent to the Collector(s) or written to the file.
                                        Used for Collecting Processes, this parameter contains the
                                        time when this (Options) Template was last received from the
                                        Exporter or read from the file.
                                        Note that this parameter corresponds to
                                        ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:element
                                    name="templateDataRecords"
                                    type="yang:counter64" minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>The number of transmitted or received Data
                                        Records defined by this (Options) Template.
                                        Discontinuities in the value of this counter can occur at
                                        re-initialization of the management system, and at other
                                        times as indicated by the value of
                                        templateDiscontinuityTime.
                                        Note that this parameter corresponds to
                                        ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:element
                                    name="templateDiscontinuityTime"
                                    type="yang:date-and-time"
                                    minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>Timestamp of the most recent occasion at which
                                        the counter templateDataRecords suffered a discontinuity.
                                        Note that this parameter functionally corresponds to
                                        ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                                        In contrast to ipfixTemplateDiscontinuityTime, the time
                                        is absolute and not relative to sysUpTime.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC5815, Section 8
                                            (ipfixTemplateDiscontinuityTime).</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:element name="field"
                                    minOccurs="0" maxOccurs="unbounded">
                                    <xs:annotation>
                                      <xs:documentation>This list contains the (Options) Template
                                        fields of which the (Options) Template is defined.
                                        The order of the list corresponds to the order of the fields
                                        in the (Option) Template Record.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:ordered-by>system</ncx:ordered-by>
                                      </xs:appinfo>
                                    </xs:annotation>
                                    <xs:complexType>
                                      <xs:sequence>
                                        <xs:element name="ieId"
                                          type="ieIdType" minOccurs="0">
                                          <xs:annotation>
                                            <xs:documentation>This parameter indicates the Information
                                              Element Id of the field.
                                              Note that this parameter corresponds to
                                              ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                                            <xs:appinfo>
                                              <ncx:reference>
                                                <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                                  RFC5102.</ncx:text>
                                              </ncx:reference>
                                            </xs:appinfo>
                                          </xs:annotation>
                                        </xs:element>
                                        <xs:element name="ieLength"
                                          type="xs:unsignedShort"
                                          minOccurs="0">
                                          <xs:annotation>
                                            <xs:documentation>This parameter indicates the length of the
                                              Information Element of the field.
                                              Note that this parameter corresponds to
                                              ipfixTemplateDefinitionIeLength in the IPFIX MIB
                                              module.</xs:documentation>
                                            <xs:appinfo>
                                              <ncx:units>octets</ncx:units>
                                              <ncx:reference>
                                                <ncx:text>RFC5815, Section 8
                                                  (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                                              </ncx:reference>
                                            </xs:appinfo>
                                          </xs:annotation>
                                        </xs:element>
                                        <xs:element
                                          name="ieEnterpriseNumber"
                                          type="xs:unsignedInt"
                                          minOccurs="0">
                                          <xs:annotation>
                                            <xs:documentation>This parameter indicates the IANA enterprise
                                              number of the authority defining the Information Element
                                              Id.
                                              If the Information Element is not enterprise-specific,
                                              this state parameter is zero.
                                              Note that this parameter corresponds to
                                              ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                                              MIB module.</xs:documentation>
                                            <xs:appinfo>
                                              <ncx:reference>
                                                <ncx:text>RFC5815, Section 8
                                                  (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                                              </ncx:reference>
                                            </xs:appinfo>
                                          </xs:annotation>
                                        </xs:element>
                                        <xs:element name="isFlowKey"
                                          minOccurs="0">
                                          <xs:annotation>
                                            <xs:documentation>If present, this is a Flow Key field.
                                              Note that this corresponds to flowKey(1) being set in
                                              ipfixTemplateDefinitionFlags.</xs:documentation>
                                            <xs:appinfo>
                                              <ncx:when>../../setId = 2</ncx:when>
                                              <ncx:reference>
                                                <ncx:text>RFC5815, Section 8
                                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                                              </ncx:reference>
                                            </xs:appinfo>
                                          </xs:annotation>
                                        </xs:element>
                                        <xs:element name="isScope"
                                          minOccurs="0">
                                          <xs:annotation>
                                            <xs:documentation>If present, this is a scope field.
                                              Note that this corresponds to scope(0) being set in
                                              ipfixTemplateDefinitionFlags.</xs:documentation>
                                            <xs:appinfo>
                                              <ncx:when>../../setId = 3</ncx:when>
                                              <ncx:reference>
                                                <ncx:text>RFC5815, Section 8
                                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                                              </ncx:reference>
                                            </xs:appinfo>
                                          </xs:annotation>
                                        </xs:element>
                                        <xs:any minOccurs="0"
                                          maxOccurs="unbounded"
                                          namespace="##other"
                                          processContents="lax"/>
                                      </xs:sequence>
                                    </xs:complexType>
                                  </xs:element>
                                  <xs:any minOccurs="0"
                                    maxOccurs="unbounded"
                                    namespace="##other"
                                    processContents="lax"/>
                                </xs:sequence>
                              </xs:complexType>
                            </xs:element>
                            <xs:any minOccurs="0" maxOccurs="unbounded"
                              namespace="##other" processContents="lax"/>
                          </xs:sequence>
                        </xs:complexType>
                      </xs:element>
                      <xs:element name="sourceIPAddress"
                        type="inet:ip-address" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>Source IP address used by the Exporting Process.
                            If not configured by the user, this parameter is set by
                            the Monitoring Device to an IP address assigned to the
                            outgoing interface.</xs:documentation>
                        </xs:annotation>
                        <xs:simpleType>
                          <xs:union
                            memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                        </xs:simpleType>
                      </xs:element>
                      <xs:element name="destinationIPAddress"
                        type="inet:ip-address">
                        <xs:annotation>
                          <xs:documentation>IP address of the Collection Process to which
                            IPFIX Messages are sent.</xs:documentation>
                          <xs:appinfo>
                            <ncx:mandatory>true</ncx:mandatory>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:simpleType>
                          <xs:union
                            memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                        </xs:simpleType>
                      </xs:element>
                      <xs:any minOccurs="0" maxOccurs="unbounded"
                        namespace="##other" processContents="lax"/>
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>
                <xs:any minOccurs="0" maxOccurs="unbounded"
                  namespace="##other" processContents="lax"/>
              </xs:sequence>
              <xs:sequence>
                <xs:annotation>
                  <xs:appinfo>
                    <ncx:case-name>fileWriter</ncx:case-name>
                  </xs:appinfo>
                </xs:annotation>
                <xs:element name="fileWriter">
                  <xs:annotation>
                    <xs:documentation>File Writer parameters.</xs:documentation>
                  </xs:annotation>
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="ipfixVersion"
                        type="xs:unsignedShort" default="10"
                        minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>IPFIX version number.</xs:documentation>
                          <xs:appinfo>
                            <ncx:reference>
                              <ncx:text>RFC 5101.</ncx:text>
                              <ncx:url>http://www.ietf.org/rfc/rfc5101.txt</ncx:url>
                            </ncx:reference>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="file" type="inet:uri">
                        <xs:annotation>
                          <xs:documentation>URI specifying the location of the file.</xs:documentation>
                          <xs:appinfo>
                            <ncx:mandatory>true</ncx:mandatory>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="bytes" type="yang:counter64"
                        minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>The number of bytes written by the File Writer.
                            Discontinuities in the value of this counter can occur at
                            re-initialization of the management system, and at other
                            times as indicated by the value of
                            fileWriterDiscontinuityTime.</xs:documentation>
                          <xs:appinfo>
                            <ncx:config>false</ncx:config>
                            <ncx:units>octets</ncx:units>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="messages" type="yang:counter64"
                        minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>The number of IPFIX Messages written by the File
                            Writer.
                            Discontinuities in the value of this counter can occur at
                            re-initialization of the management system, and at other
                            times as indicated by the value of
                            fileWriterDiscontinuityTime.</xs:documentation>
                          <xs:appinfo>
                            <ncx:config>false</ncx:config>
                            <ncx:units>IPFIX Messages</ncx:units>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="discardedMessages"
                        type="yang:counter64" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>The number of IPFIX Messages that could not be
                            written by the File Writer due to internal buffer
                            overflows, limited storage capacity etc.
                            Discontinuities in the value of this counter can occur at
                            re-initialization of the management system, and at other
                            times as indicated by the value of
                            fileWriterDiscontinuityTime.</xs:documentation>
                          <xs:appinfo>
                            <ncx:config>false</ncx:config>
                            <ncx:units>IPFIX Messages</ncx:units>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="records" type="yang:counter64"
                        minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>The number of Data Records written by the File
                            Writer.
                            Discontinuities in the value of this counter can occur at
                            re-initialization of the management system, and at other
                            times as indicated by the value of
                            fileWriterDiscontinuityTime.</xs:documentation>
                          <xs:appinfo>
                            <ncx:config>false</ncx:config>
                            <ncx:units>Data Records</ncx:units>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="templates"
                        type="yang:counter32" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>The number of Template Records (excluding
                            Options Template Records) written by the File Writer.
                            Discontinuities in the value of this counter can occur at
                            re-initialization of the management system, and at other
                            times as indicated by the value of
                            fileWriterDiscontinuityTime.</xs:documentation>
                          <xs:appinfo>
                            <ncx:config>false</ncx:config>
                            <ncx:units>Templates</ncx:units>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="optionsTemplates"
                        type="yang:counter32" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>The number of Options Template Records written
                            by the File Writer.
                            Discontinuities in the value of this counter can occur at
                            re-initialization of the management system, and at other
                            times as indicated by the value of
                            fileWriterDiscontinuityTime.</xs:documentation>
                          <xs:appinfo>
                            <ncx:config>false</ncx:config>
                            <ncx:units>Options Templates</ncx:units>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="fileWriterDiscontinuityTime"
                        type="yang:date-and-time" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>Timestamp of the most recent occasion at which
                            one or more File Writer counters suffered a discontinuity.
                            In contrast to discontinuity times in the IPFIX MIB module,
                            the time is absolute and not relative to sysUpTime.</xs:documentation>
                          <xs:appinfo>
                            <ncx:config>false</ncx:config>
                          </xs:appinfo>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="template" minOccurs="0"
                        maxOccurs="unbounded">
                        <xs:annotation>
                          <xs:documentation>This list contains the Templates and Options
                            Templates that have been written by the File Reader.
                            Withdrawn or invalidated (Options) Template MUST be removed
                            from this list.</xs:documentation>
                          <xs:appinfo>
                            <ncx:config>false</ncx:config>
                            <ncx:ordered-by>system</ncx:ordered-by>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:complexType>
                          <xs:sequence>
                            <xs:element name="observationDomainId"
                              type="xs:unsignedInt" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The ID of the Observation Domain for which this
                                  Template is defined.
                                  Note that this parameter corresponds to
                                  ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTemplateObservationDomainId).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="templateId" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>This number indicates the Template Id in the IPFIX
                                  message.
                                  Note that this parameter corresponds to ipfixTemplateId in
                                  the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                              <xs:simpleType>
                                <xs:restriction base="xs:unsignedShort">
                                  <xs:minInclusive value="256">
                                    <xs:annotation>
                                      <xs:documentation>Valid range of Template IDs.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC5101</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:minInclusive>
                                </xs:restriction>
                              </xs:simpleType>
                            </xs:element>
                            <xs:element name="setId"
                              type="xs:unsignedShort" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>This number indicates the Set ID of the Template.
                                  Currently, there are two values defined. The value 2 is used
                                  for Sets containing Template definitions. The value 3 is
                                  used for Sets containing Options Template definitions.
                                  Note that this parameter corresponds to ipfixTemplateSetId
                                  in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="accessTime"
                              type="yang:date-and-time" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>Used for Exporting Processes, this parameter
                                  contains the time when this (Options) Template was last
                                  sent to the Collector(s) or written to the file.
                                  Used for Collecting Processes, this parameter contains the
                                  time when this (Options) Template was last received from the
                                  Exporter or read from the file.
                                  Note that this parameter corresponds to
                                  ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="templateDataRecords"
                              type="yang:counter64" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>The number of transmitted or received Data
                                  Records defined by this (Options) Template.
                                  Discontinuities in the value of this counter can occur at
                                  re-initialization of the management system, and at other
                                  times as indicated by the value of
                                  templateDiscontinuityTime.
                                  Note that this parameter corresponds to
                                  ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element
                              name="templateDiscontinuityTime"
                              type="yang:date-and-time" minOccurs="0">
                              <xs:annotation>
                                <xs:documentation>Timestamp of the most recent occasion at which
                                  the counter templateDataRecords suffered a discontinuity.
                                  Note that this parameter functionally corresponds to
                                  ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                                  In contrast to ipfixTemplateDiscontinuityTime, the time
                                  is absolute and not relative to sysUpTime.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:reference>
                                    <ncx:text>RFC5815, Section 8
                                      (ipfixTemplateDiscontinuityTime).</ncx:text>
                                  </ncx:reference>
                                </xs:appinfo>
                              </xs:annotation>
                            </xs:element>
                            <xs:element name="field" minOccurs="0"
                              maxOccurs="unbounded">
                              <xs:annotation>
                                <xs:documentation>This list contains the (Options) Template
                                  fields of which the (Options) Template is defined.
                                  The order of the list corresponds to the order of the fields
                                  in the (Option) Template Record.</xs:documentation>
                                <xs:appinfo>
                                  <ncx:ordered-by>system</ncx:ordered-by>
                                </xs:appinfo>
                              </xs:annotation>
                              <xs:complexType>
                                <xs:sequence>
                                  <xs:element name="ieId"
                                    type="ieIdType" minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>This parameter indicates the Information
                                        Element Id of the field.
                                        Note that this parameter corresponds to
                                        ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                            RFC5102.</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:element name="ieLength"
                                    type="xs:unsignedShort"
                                    minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>This parameter indicates the length of the
                                        Information Element of the field.
                                        Note that this parameter corresponds to
                                        ipfixTemplateDefinitionIeLength in the IPFIX MIB
                                        module.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:units>octets</ncx:units>
                                        <ncx:reference>
                                          <ncx:text>RFC5815, Section 8
                                            (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:element name="ieEnterpriseNumber"
                                    type="xs:unsignedInt" minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>This parameter indicates the IANA enterprise
                                        number of the authority defining the Information Element
                                        Id.
                                        If the Information Element is not enterprise-specific,
                                        this state parameter is zero.
                                        Note that this parameter corresponds to
                                        ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                                        MIB module.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC5815, Section 8
                                            (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:element name="isFlowKey"
                                    minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>If present, this is a Flow Key field.
                                        Note that this corresponds to flowKey(1) being set in
                                        ipfixTemplateDefinitionFlags.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:when>../../setId = 2</ncx:when>
                                        <ncx:reference>
                                          <ncx:text>RFC5815, Section 8
                                            (ipfixTemplateDefinitionFlags).</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:element name="isScope"
                                    minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>If present, this is a scope field.
                                        Note that this corresponds to scope(0) being set in
                                        ipfixTemplateDefinitionFlags.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:when>../../setId = 3</ncx:when>
                                        <ncx:reference>
                                          <ncx:text>RFC5815, Section 8
                                            (ipfixTemplateDefinitionFlags).</ncx:text>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:any minOccurs="0"
                                    maxOccurs="unbounded"
                                    namespace="##other"
                                    processContents="lax"/>
                                </xs:sequence>
                              </xs:complexType>
                            </xs:element>
                            <xs:any minOccurs="0" maxOccurs="unbounded"
                              namespace="##other" processContents="lax"/>
                          </xs:sequence>
                        </xs:complexType>
                      </xs:element>
                      <xs:any minOccurs="0" maxOccurs="unbounded"
                        namespace="##other" processContents="lax"/>
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>
                <xs:any minOccurs="0" maxOccurs="unbounded"
                  namespace="##other" processContents="lax"/>
              </xs:sequence>
              <xs:any minOccurs="0" maxOccurs="unbounded"
                namespace="##other" processContents="lax"/>
            </xs:choice>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
        <xs:key name="destinationkey67">
          <xs:selector xpath="."/>
          <xs:field xpath="name"/>
        </xs:key>
      </xs:element>
      <xs:element name="options" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>List of options reported by the Exporting
            Process.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="name" type="nameType">
              <xs:annotation>
                <xs:documentation>Key of this list.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="optionsType" type="xs:QName">
              <xs:annotation>
                <xs:documentation>Type of the exported options data.</xs:documentation>
                <xs:appinfo>
                  <ncx:mandatory>true</ncx:mandatory>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="optionsTimeout" type="xs:unsignedInt"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Time interval for periodic export of the options
                  data. If set to zero, the export is triggered when the
                  options data has changed.
                  If not configured by the user, this parameter is set by the
                  Monitoring Device.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>milliseconds</ncx:units>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
        <xs:key name="optionskey68">
          <xs:selector xpath="."/>
          <xs:field xpath="name"/>
        </xs:key>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="commonExporterParameters">
    <xs:annotation>
      <xs:documentation>Parameters of en export destination which are
        common to all transport protocols.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ipfixVersion" type="xs:unsignedShort"
        default="10" minOccurs="0">
        <xs:annotation>
          <xs:documentation>IPFIX version number.</xs:documentation>
          <xs:appinfo>
            <ncx:reference>
              <ncx:text>RFC 5101.</ncx:text>
              <ncx:url>http://www.ietf.org/rfc/rfc5101.txt</ncx:url>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="destinationPort" type="inet:port-number"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>If not configured by the user, the Monitoring
            Device uses the default port number for IPFIX, which is
            4739 without transport layer security and 4740 if transport
            layer security is activated.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:choice>
        <xs:annotation>
          <xs:documentation>Index or name of the interface as stored in the
            ifTable of IF-MIB.
            If configured, the Exporting Process MUST use the given
            interface to export IPFIX Messages to the export
            destination.
            If omitted, the Exporting Process selects the outgoing
            interface based on local routing decision and accepts
            return traffic, such as transport layer acknowledgments,
            on all available interfaces.</xs:documentation>
          <xs:appinfo>
            <ncx:choice-name>indexOrName</ncx:choice-name>
            <ncx:reference>
              <ncx:text>RFC 1229.</ncx:text>
              <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
        <xs:sequence>
          <xs:annotation>
            <xs:appinfo>
              <ncx:case-name>ifIndex</ncx:case-name>
            </xs:appinfo>
          </xs:annotation>
          <xs:element name="ifIndex" type="xs:unsignedInt"
            minOccurs="0">
            <xs:annotation>
              <xs:documentation>Index of an interface as stored in the ifTable
                of IF-MIB.</xs:documentation>
              <xs:appinfo>
                <ncx:reference>
                  <ncx:text>RFC 1229.</ncx:text>
                  <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                </ncx:reference>
              </xs:appinfo>
            </xs:annotation>
          </xs:element>
          <xs:any minOccurs="0" maxOccurs="unbounded"
            namespace="##other" processContents="lax"/>
        </xs:sequence>
        <xs:sequence>
          <xs:annotation>
            <xs:appinfo>
              <ncx:case-name>ifName</ncx:case-name>
            </xs:appinfo>
          </xs:annotation>
          <xs:element name="ifName" type="xs:string" minOccurs="0">
            <xs:annotation>
              <xs:documentation>Name of an interface as stored in the ifTable
                of IF-MIB.</xs:documentation>
              <xs:appinfo>
                <ncx:reference>
                  <ncx:text>RFC 1229.</ncx:text>
                  <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                </ncx:reference>
              </xs:appinfo>
            </xs:annotation>
          </xs:element>
          <xs:any minOccurs="0" maxOccurs="unbounded"
            namespace="##other" processContents="lax"/>
        </xs:sequence>
        <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"
          processContents="lax"/>
      </xs:choice>
      <xs:element name="sendBufferSize" type="xs:unsignedInt"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>Size of the socket send buffer.
            If not configured by the user, this parameter is set by
            the Monitoring Device.</xs:documentation>
          <xs:appinfo>
            <ncx:units>bytes</ncx:units>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="rateLimit" type="xs:unsignedInt" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Maximum number of bytes per second the Exporting
            Process may export to the given destination. The number of
            bytes is calculated from the lengths of the IPFIX Messages
            exported. If not configured, no rate limiting is performed.</xs:documentation>
          <xs:appinfo>
            <ncx:units>bytes per second</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5476, Section 6.3.</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="transportLayerSecurity">
        <xs:annotation>
          <xs:documentation>Transport layer security configuration.</xs:documentation>
          <xs:appinfo>
            <ncx:presence>If transportLayerSecurity is present, DTLS is
              enabled if the transport protocol is SCTP or UDP, and TLS
              is enabled if the transport protocol is TCP.</ncx:presence>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="localCertificationAuthorityDN"
              type="xs:string" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names of certification authorities
                  whose certificates may be used to identify the local
                  endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="localSubjectDN" type="xs:string"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names which may be used in the
                  certificates to identify the local endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="localSubjectFQDN" type="inet:domain-name"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Fully qualified domain names which may be used to
                  in the certificates to identify the local endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteCertificationAuthorityDN"
              type="xs:string" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names of certification authorities
                  whose certificates are accepted to authorize remote
                  endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteSubjectDN" type="xs:string"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names which are accepted in
                  certificates to authorize remote endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteSubjectFQDN"
              type="inet:domain-name" minOccurs="0"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Fully qualified domain name which are accepted in
                  certificates to authorize remote endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="transportSession">
        <xs:annotation>
          <xs:documentation>State parameters of the Transport Session
            directed to the given destination.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ipfixVersion" type="xs:unsignedShort"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Used for Exporting Processes, this parameter
                  contains the version number of the IPFIX protocol that the
                  Exporter uses to export its data in this Transport Session.
                  Hence, it is identical to the value of the configuration
                  parameter ipfixVersion of the outer SctpExporter,
                  UdpExporter, or TcpExporter node.
                  Used for Collecting Processes, this parameter contains the
                  version number of the IPFIX protocol it receives for
                  this Transport Session. If IPFIX Messages of different
                  IPFIX protocol versions are received, this parameter
                  contains the maximum version number.
                  Note that this parameter corresponds to
                  ipfixTransportSessionIpfixVersion in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionIpfixVersion).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="sourceAddress" type="inet:ip-address"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The source address of the Exporter of the
                  IPFIX Transport Session.
                  If the transport protocol is SCTP, this is one of the
                  potentially many IP addresses of the Exporter.
                  Preferably, the source IP address of the path which is
                  usually selected by the Exporter to send IPFIX Messages to
                  the Collector SHOULD be used.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionSourceAddressType and
                  ipfixTransportSessionSourceAddress in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSourceAddressType,
                      ipfixTransportSessionSourceAddress);
                      RFC4960, Section 6.4.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
              <xs:simpleType>
                <xs:union
                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="destinationAddress"
              type="inet:ip-address" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The destination address of the Collector of
                  the IPFIX Transport Session.
                  If the transport protocol is SCTP, this is one of the
                  potentially many IP addresses of the Collector.
                  Preferably, the destination IP address of the path which is
                  usually selected by the Exporter to send IPFIX Messages to
                  the Collector SHOULD be used.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionDestinationAddressType and
                  ipfixTransportSessionDestinationAddress in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDestinationAddressType,
                      ipfixTransportSessionDestinationAddress);
                      RFC4960, Section 6.4.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
              <xs:simpleType>
                <xs:union
                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="sourcePort" type="inet:port-number"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The transport protocol port number of the
                  Exporter of the IPFIX Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionSourcePort in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSourcePort).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="destinationPort" type="inet:port-number"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The transport protocol port number of the
                  Collector of the IPFIX Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionDestinationPort in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDestinationPort).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="sctpAssocId" type="xs:unsignedInt"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The association id used for the SCTP session
                  between the Exporter and the Collector of the IPFIX
                  Transport Session. It is equal to the sctpAssocId entry
                  in the sctpAssocTable defined in the SCTP-MIB.
                  This parameter is only available if the transport protocol
                  is SCTP and if an SNMP agent on the same Monitoring Device
                  enables access to the corresponding MIB objects in the
                  sctpAssocTable.
                  Note that this parameter corresponds to
                  ipfixTransportSessionSctpAssocId in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSctpAssocId);
                      RFC3871</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="status" type="transportSessionStatus"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Status of the Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionStatus in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionStatus).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="rate" type="yang:gauge32" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of bytes per second transmitted by the
                  Exporting Process or received by the Collecting Process.
                  This parameter is updated every second.
                  Note that this parameter corresponds to
                  ipfixTransportSessionRate in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>bytes per second</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionRate).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="bytes" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of bytes transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionBytes in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>bytes</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionBytes).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="messages" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of messages transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionMessages in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>IPFIX Messages</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionMessages).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="discardedMessages" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Used for Exporting Processes, this parameter
                  indicates the number of messages that could not be sent due
                  to internal buffer overflows, network congestion, routing
                  issues, etc. Used for Collecting Process, this parameter
                  indicates the number of received IPFIX Message that are
                  malformed, cannot be decoded, are received in the wrong
                  order or are missing according to the sequence number.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionDiscardedMessages in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>IPFIX Messages</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDiscardedMessages).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="records" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Data Records transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionRecords in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Data Records</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionRecords).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="templates" type="yang:counter32"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Templates transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionTemplates in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Templates</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionTemplates).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="optionsTemplates" type="yang:counter32"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Option Templates transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionOptionsTemplates in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Options Templates</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionOptionsTemplates).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="transportSessionStartTime"
              type="yang:date-and-time" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Timestamp of the start of the given Transport
                  Session.
                  This state parameter does not correspond to any object in
                  the IPFIX MIB module.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="transportSessionDiscontinuityTime"
              type="yang:date-and-time" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Timestamp of the most recent occasion at which
                  one or more of the Transport Session counters suffered a
                  discontinuity.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionDiscontinuityTime in the IPFIX MIB
                  module. In contrast to
                  ipfixTransportSessionDiscontinuityTime, the time is
                  absolute and not relative to sysUpTime.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDiscontinuityTime).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="template" minOccurs="0"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>This list contains the Templates and Options
                  Templates that are transmitted by the Exporting Process
                  or received by the Collecting Process.
                  Withdrawn or invalidated (Options) Template MUST be removed
                  from this list.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                </xs:appinfo>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="observationDomainId"
                    type="xs:unsignedInt" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The ID of the Observation Domain for which this
                        Template is defined.
                        Note that this parameter corresponds to
                        ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateObservationDomainId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateId" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This number indicates the Template Id in the IPFIX
                        message.
                        Note that this parameter corresponds to ipfixTemplateId in
                        the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:unsignedShort">
                        <xs:minInclusive value="256">
                          <xs:annotation>
                            <xs:documentation>Valid range of Template IDs.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5101</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:minInclusive>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:element>
                  <xs:element name="setId" type="xs:unsignedShort"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This number indicates the Set ID of the Template.
                        Currently, there are two values defined. The value 2 is used
                        for Sets containing Template definitions. The value 3 is
                        used for Sets containing Options Template definitions.
                        Note that this parameter corresponds to ipfixTemplateSetId
                        in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="accessTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Used for Exporting Processes, this parameter
                        contains the time when this (Options) Template was last
                        sent to the Collector(s) or written to the file.
                        Used for Collecting Processes, this parameter contains the
                        time when this (Options) Template was last received from the
                        Exporter or read from the file.
                        Note that this parameter corresponds to
                        ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateDataRecords"
                    type="yang:counter64" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of transmitted or received Data
                        Records defined by this (Options) Template.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        templateDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateDiscontinuityTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Timestamp of the most recent occasion at which
                        the counter templateDataRecords suffered a discontinuity.
                        Note that this parameter functionally corresponds to
                        ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                        In contrast to ipfixTemplateDiscontinuityTime, the time
                        is absolute and not relative to sysUpTime.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateDiscontinuityTime).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="field" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>This list contains the (Options) Template
                        fields of which the (Options) Template is defined.
                        The order of the list corresponds to the order of the fields
                        in the (Option) Template Record.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="ieId" type="ieIdType"
                          minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the Information
                              Element Id of the field.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                  RFC5102.</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="ieLength"
                          type="xs:unsignedShort" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the length of the
                              Information Element of the field.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeLength in the IPFIX MIB
                              module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:units>octets</ncx:units>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="ieEnterpriseNumber"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the IANA enterprise
                              number of the authority defining the Information Element
                              Id.
                              If the Information Element is not enterprise-specific,
                              this state parameter is zero.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                              MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="isFlowKey" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>If present, this is a Flow Key field.
                              Note that this corresponds to flowKey(1) being set in
                              ipfixTemplateDefinitionFlags.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>../../setId = 2</ncx:when>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="isScope" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>If present, this is a scope field.
                              Note that this corresponds to scope(0) being set in
                              ipfixTemplateDefinitionFlags.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>../../setId = 3</ncx:when>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="sctpExporterParameters">
    <xs:annotation>
      <xs:documentation>SCTP specific export destination parameters.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ipfixVersion" type="xs:unsignedShort"
        default="10" minOccurs="0">
        <xs:annotation>
          <xs:documentation>IPFIX version number.</xs:documentation>
          <xs:appinfo>
            <ncx:config>true</ncx:config>
            <ncx:reference>
              <ncx:text>RFC 5101.</ncx:text>
              <ncx:url>http://www.ietf.org/rfc/rfc5101.txt</ncx:url>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="destinationPort" type="inet:port-number"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>If not configured by the user, the Monitoring
            Device uses the default port number for IPFIX, which is
            4739 without transport layer security and 4740 if transport
            layer security is activated.</xs:documentation>
          <xs:appinfo>
            <ncx:config>true</ncx:config>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:choice>
        <xs:annotation>
          <xs:documentation>Index or name of the interface as stored in the
            ifTable of IF-MIB.
            If configured, the Exporting Process MUST use the given
            interface to export IPFIX Messages to the export
            destination.
            If omitted, the Exporting Process selects the outgoing
            interface based on local routing decision and accepts
            return traffic, such as transport layer acknowledgments,
            on all available interfaces.</xs:documentation>
          <xs:appinfo>
            <ncx:choice-name>indexOrName</ncx:choice-name>
            <ncx:config>true</ncx:config>
            <ncx:reference>
              <ncx:text>RFC 1229.</ncx:text>
              <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
        <xs:sequence>
          <xs:annotation>
            <xs:appinfo>
              <ncx:case-name>ifIndex</ncx:case-name>
            </xs:appinfo>
          </xs:annotation>
          <xs:element name="ifIndex" type="xs:unsignedInt"
            minOccurs="0">
            <xs:annotation>
              <xs:documentation>Index of an interface as stored in the ifTable
                of IF-MIB.</xs:documentation>
              <xs:appinfo>
                <ncx:reference>
                  <ncx:text>RFC 1229.</ncx:text>
                  <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                </ncx:reference>
              </xs:appinfo>
            </xs:annotation>
          </xs:element>
          <xs:any minOccurs="0" maxOccurs="unbounded"
            namespace="##other" processContents="lax"/>
        </xs:sequence>
        <xs:sequence>
          <xs:annotation>
            <xs:appinfo>
              <ncx:case-name>ifName</ncx:case-name>
            </xs:appinfo>
          </xs:annotation>
          <xs:element name="ifName" type="xs:string" minOccurs="0">
            <xs:annotation>
              <xs:documentation>Name of an interface as stored in the ifTable
                of IF-MIB.</xs:documentation>
              <xs:appinfo>
                <ncx:reference>
                  <ncx:text>RFC 1229.</ncx:text>
                  <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                </ncx:reference>
              </xs:appinfo>
            </xs:annotation>
          </xs:element>
          <xs:any minOccurs="0" maxOccurs="unbounded"
            namespace="##other" processContents="lax"/>
        </xs:sequence>
        <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"
          processContents="lax"/>
      </xs:choice>
      <xs:element name="sendBufferSize" type="xs:unsignedInt"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>Size of the socket send buffer.
            If not configured by the user, this parameter is set by
            the Monitoring Device.</xs:documentation>
          <xs:appinfo>
            <ncx:config>true</ncx:config>
            <ncx:units>bytes</ncx:units>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="rateLimit" type="xs:unsignedInt" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Maximum number of bytes per second the Exporting
            Process may export to the given destination. The number of
            bytes is calculated from the lengths of the IPFIX Messages
            exported. If not configured, no rate limiting is performed.</xs:documentation>
          <xs:appinfo>
            <ncx:config>true</ncx:config>
            <ncx:units>bytes per second</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5476, Section 6.3.</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="transportLayerSecurity">
        <xs:annotation>
          <xs:documentation>Transport layer security configuration.</xs:documentation>
          <xs:appinfo>
            <ncx:config>true</ncx:config>
            <ncx:presence>If transportLayerSecurity is present, DTLS is
              enabled if the transport protocol is SCTP or UDP, and TLS
              is enabled if the transport protocol is TCP.</ncx:presence>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="localCertificationAuthorityDN"
              type="xs:string" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names of certification authorities
                  whose certificates may be used to identify the local
                  endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="localSubjectDN" type="xs:string"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names which may be used in the
                  certificates to identify the local endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="localSubjectFQDN" type="inet:domain-name"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Fully qualified domain names which may be used to
                  in the certificates to identify the local endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteCertificationAuthorityDN"
              type="xs:string" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names of certification authorities
                  whose certificates are accepted to authorize remote
                  endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteSubjectDN" type="xs:string"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names which are accepted in
                  certificates to authorize remote endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteSubjectFQDN"
              type="inet:domain-name" minOccurs="0"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Fully qualified domain name which are accepted in
                  certificates to authorize remote endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="transportSession">
        <xs:annotation>
          <xs:documentation>State parameters of the Transport Session
            directed to the given destination.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ipfixVersion" type="xs:unsignedShort"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Used for Exporting Processes, this parameter
                  contains the version number of the IPFIX protocol that the
                  Exporter uses to export its data in this Transport Session.
                  Hence, it is identical to the value of the configuration
                  parameter ipfixVersion of the outer SctpExporter,
                  UdpExporter, or TcpExporter node.
                  Used for Collecting Processes, this parameter contains the
                  version number of the IPFIX protocol it receives for
                  this Transport Session. If IPFIX Messages of different
                  IPFIX protocol versions are received, this parameter
                  contains the maximum version number.
                  Note that this parameter corresponds to
                  ipfixTransportSessionIpfixVersion in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionIpfixVersion).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="sourceAddress" type="inet:ip-address"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The source address of the Exporter of the
                  IPFIX Transport Session.
                  If the transport protocol is SCTP, this is one of the
                  potentially many IP addresses of the Exporter.
                  Preferably, the source IP address of the path which is
                  usually selected by the Exporter to send IPFIX Messages to
                  the Collector SHOULD be used.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionSourceAddressType and
                  ipfixTransportSessionSourceAddress in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSourceAddressType,
                      ipfixTransportSessionSourceAddress);
                      RFC4960, Section 6.4.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
              <xs:simpleType>
                <xs:union
                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="destinationAddress"
              type="inet:ip-address" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The destination address of the Collector of
                  the IPFIX Transport Session.
                  If the transport protocol is SCTP, this is one of the
                  potentially many IP addresses of the Collector.
                  Preferably, the destination IP address of the path which is
                  usually selected by the Exporter to send IPFIX Messages to
                  the Collector SHOULD be used.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionDestinationAddressType and
                  ipfixTransportSessionDestinationAddress in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDestinationAddressType,
                      ipfixTransportSessionDestinationAddress);
                      RFC4960, Section 6.4.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
              <xs:simpleType>
                <xs:union
                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="sourcePort" type="inet:port-number"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The transport protocol port number of the
                  Exporter of the IPFIX Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionSourcePort in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSourcePort).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="destinationPort" type="inet:port-number"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The transport protocol port number of the
                  Collector of the IPFIX Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionDestinationPort in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDestinationPort).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="sctpAssocId" type="xs:unsignedInt"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The association id used for the SCTP session
                  between the Exporter and the Collector of the IPFIX
                  Transport Session. It is equal to the sctpAssocId entry
                  in the sctpAssocTable defined in the SCTP-MIB.
                  This parameter is only available if the transport protocol
                  is SCTP and if an SNMP agent on the same Monitoring Device
                  enables access to the corresponding MIB objects in the
                  sctpAssocTable.
                  Note that this parameter corresponds to
                  ipfixTransportSessionSctpAssocId in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSctpAssocId);
                      RFC3871</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="status" type="transportSessionStatus"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Status of the Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionStatus in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionStatus).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="rate" type="yang:gauge32" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of bytes per second transmitted by the
                  Exporting Process or received by the Collecting Process.
                  This parameter is updated every second.
                  Note that this parameter corresponds to
                  ipfixTransportSessionRate in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>bytes per second</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionRate).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="bytes" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of bytes transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionBytes in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>bytes</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionBytes).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="messages" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of messages transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionMessages in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>IPFIX Messages</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionMessages).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="discardedMessages" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Used for Exporting Processes, this parameter
                  indicates the number of messages that could not be sent due
                  to internal buffer overflows, network congestion, routing
                  issues, etc. Used for Collecting Process, this parameter
                  indicates the number of received IPFIX Message that are
                  malformed, cannot be decoded, are received in the wrong
                  order or are missing according to the sequence number.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionDiscardedMessages in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>IPFIX Messages</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDiscardedMessages).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="records" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Data Records transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionRecords in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Data Records</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionRecords).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="templates" type="yang:counter32"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Templates transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionTemplates in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Templates</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionTemplates).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="optionsTemplates" type="yang:counter32"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Option Templates transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionOptionsTemplates in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Options Templates</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionOptionsTemplates).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="transportSessionStartTime"
              type="yang:date-and-time" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Timestamp of the start of the given Transport
                  Session.
                  This state parameter does not correspond to any object in
                  the IPFIX MIB module.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="transportSessionDiscontinuityTime"
              type="yang:date-and-time" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Timestamp of the most recent occasion at which
                  one or more of the Transport Session counters suffered a
                  discontinuity.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionDiscontinuityTime in the IPFIX MIB
                  module. In contrast to
                  ipfixTransportSessionDiscontinuityTime, the time is
                  absolute and not relative to sysUpTime.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDiscontinuityTime).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="template" minOccurs="0"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>This list contains the Templates and Options
                  Templates that are transmitted by the Exporting Process
                  or received by the Collecting Process.
                  Withdrawn or invalidated (Options) Template MUST be removed
                  from this list.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                </xs:appinfo>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="observationDomainId"
                    type="xs:unsignedInt" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The ID of the Observation Domain for which this
                        Template is defined.
                        Note that this parameter corresponds to
                        ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateObservationDomainId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateId" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This number indicates the Template Id in the IPFIX
                        message.
                        Note that this parameter corresponds to ipfixTemplateId in
                        the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:unsignedShort">
                        <xs:minInclusive value="256">
                          <xs:annotation>
                            <xs:documentation>Valid range of Template IDs.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5101</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:minInclusive>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:element>
                  <xs:element name="setId" type="xs:unsignedShort"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This number indicates the Set ID of the Template.
                        Currently, there are two values defined. The value 2 is used
                        for Sets containing Template definitions. The value 3 is
                        used for Sets containing Options Template definitions.
                        Note that this parameter corresponds to ipfixTemplateSetId
                        in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="accessTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Used for Exporting Processes, this parameter
                        contains the time when this (Options) Template was last
                        sent to the Collector(s) or written to the file.
                        Used for Collecting Processes, this parameter contains the
                        time when this (Options) Template was last received from the
                        Exporter or read from the file.
                        Note that this parameter corresponds to
                        ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateDataRecords"
                    type="yang:counter64" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of transmitted or received Data
                        Records defined by this (Options) Template.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        templateDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateDiscontinuityTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Timestamp of the most recent occasion at which
                        the counter templateDataRecords suffered a discontinuity.
                        Note that this parameter functionally corresponds to
                        ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                        In contrast to ipfixTemplateDiscontinuityTime, the time
                        is absolute and not relative to sysUpTime.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateDiscontinuityTime).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="field" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>This list contains the (Options) Template
                        fields of which the (Options) Template is defined.
                        The order of the list corresponds to the order of the fields
                        in the (Option) Template Record.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="ieId" type="ieIdType"
                          minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the Information
                              Element Id of the field.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                  RFC5102.</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="ieLength"
                          type="xs:unsignedShort" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the length of the
                              Information Element of the field.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeLength in the IPFIX MIB
                              module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:units>octets</ncx:units>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="ieEnterpriseNumber"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the IANA enterprise
                              number of the authority defining the Information Element
                              Id.
                              If the Information Element is not enterprise-specific,
                              this state parameter is zero.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                              MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="isFlowKey" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>If present, this is a Flow Key field.
                              Note that this corresponds to flowKey(1) being set in
                              ipfixTemplateDefinitionFlags.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>../../setId = 2</ncx:when>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="isScope" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>If present, this is a scope field.
                              Note that this corresponds to scope(0) being set in
                              ipfixTemplateDefinitionFlags.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>../../setId = 3</ncx:when>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="sourceIPAddress" type="inet:ip-address"
        minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>List of source IP addresses used by the
            Exporting Process.
            If configured, the specified addresses are eligible local
            IP addresses of the multi-homed SCTP endpoint.
            If not configured, all locally assigned IP addresses are
            eligible local IP addresses.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
            <ncx:reference>
              <ncx:text>RFC 4960, Section 6.4.</ncx:text>
              <ncx:url>http://www.ietf.org/rfc/rfc4960.txt</ncx:url>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
        </xs:simpleType>
      </xs:element>
      <xs:element name="destinationIPAddress" type="inet:ip-address"
        minOccurs="1" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>One or multiple IP addresses of the Collecting
            Process to which IPFIX Messages are sent.
            The user MUST ensure that all configured IP addresses
            belong to the same Collecting Process.
            The Exporting Process tries to establish an SCTP
            association to any of the configured destination IP
            addresses.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
            <ncx:reference>
              <ncx:text>RFC 4960, Section 6.4.</ncx:text>
              <ncx:url>http://www.ietf.org/rfc/rfc4960.txt</ncx:url>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
        </xs:simpleType>
      </xs:element>
      <xs:element name="timedReliability" type="xs:unsignedInt"
        default="0" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Lifetime in milliseconds until an IPFIX
            Message containing Data Sets only is 'abandoned' due to
            the timed reliability mechanism of PR-SCTP.
            If this parameter is set to zero, reliable SCTP
            transport is used for all Data Records.
            Regardless of the value of this parameter, the Exporting
            Process MAY use reliable SCTP transport for Data Sets
            associated with Options Templates.</xs:documentation>
          <xs:appinfo>
            <ncx:units>milliseconds</ncx:units>
            <ncx:reference>
              <ncx:text>RFC 3758; RFC 4960.</ncx:text>
              <ncx:url>http://www.ietf.org/rfc/rfc3758.txt</ncx:url>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="udpExporterParameters">
    <xs:annotation>
      <xs:documentation>Parameters of a UDP export destination.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ipfixVersion" type="xs:unsignedShort"
        default="10" minOccurs="0">
        <xs:annotation>
          <xs:documentation>IPFIX version number.</xs:documentation>
          <xs:appinfo>
            <ncx:config>true</ncx:config>
            <ncx:reference>
              <ncx:text>RFC 5101.</ncx:text>
              <ncx:url>http://www.ietf.org/rfc/rfc5101.txt</ncx:url>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="destinationPort" type="inet:port-number"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>If not configured by the user, the Monitoring
            Device uses the default port number for IPFIX, which is
            4739 without transport layer security and 4740 if transport
            layer security is activated.</xs:documentation>
          <xs:appinfo>
            <ncx:config>true</ncx:config>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:choice>
        <xs:annotation>
          <xs:documentation>Index or name of the interface as stored in the
            ifTable of IF-MIB.
            If configured, the Exporting Process MUST use the given
            interface to export IPFIX Messages to the export
            destination.
            If omitted, the Exporting Process selects the outgoing
            interface based on local routing decision and accepts
            return traffic, such as transport layer acknowledgments,
            on all available interfaces.</xs:documentation>
          <xs:appinfo>
            <ncx:choice-name>indexOrName</ncx:choice-name>
            <ncx:config>true</ncx:config>
            <ncx:reference>
              <ncx:text>RFC 1229.</ncx:text>
              <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
        <xs:sequence>
          <xs:annotation>
            <xs:appinfo>
              <ncx:case-name>ifIndex</ncx:case-name>
            </xs:appinfo>
          </xs:annotation>
          <xs:element name="ifIndex" type="xs:unsignedInt"
            minOccurs="0">
            <xs:annotation>
              <xs:documentation>Index of an interface as stored in the ifTable
                of IF-MIB.</xs:documentation>
              <xs:appinfo>
                <ncx:reference>
                  <ncx:text>RFC 1229.</ncx:text>
                  <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                </ncx:reference>
              </xs:appinfo>
            </xs:annotation>
          </xs:element>
          <xs:any minOccurs="0" maxOccurs="unbounded"
            namespace="##other" processContents="lax"/>
        </xs:sequence>
        <xs:sequence>
          <xs:annotation>
            <xs:appinfo>
              <ncx:case-name>ifName</ncx:case-name>
            </xs:appinfo>
          </xs:annotation>
          <xs:element name="ifName" type="xs:string" minOccurs="0">
            <xs:annotation>
              <xs:documentation>Name of an interface as stored in the ifTable
                of IF-MIB.</xs:documentation>
              <xs:appinfo>
                <ncx:reference>
                  <ncx:text>RFC 1229.</ncx:text>
                  <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                </ncx:reference>
              </xs:appinfo>
            </xs:annotation>
          </xs:element>
          <xs:any minOccurs="0" maxOccurs="unbounded"
            namespace="##other" processContents="lax"/>
        </xs:sequence>
        <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"
          processContents="lax"/>
      </xs:choice>
      <xs:element name="sendBufferSize" type="xs:unsignedInt"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>Size of the socket send buffer.
            If not configured by the user, this parameter is set by
            the Monitoring Device.</xs:documentation>
          <xs:appinfo>
            <ncx:config>true</ncx:config>
            <ncx:units>bytes</ncx:units>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="rateLimit" type="xs:unsignedInt" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Maximum number of bytes per second the Exporting
            Process may export to the given destination. The number of
            bytes is calculated from the lengths of the IPFIX Messages
            exported. If not configured, no rate limiting is performed.</xs:documentation>
          <xs:appinfo>
            <ncx:config>true</ncx:config>
            <ncx:units>bytes per second</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5476, Section 6.3.</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="transportLayerSecurity">
        <xs:annotation>
          <xs:documentation>Transport layer security configuration.</xs:documentation>
          <xs:appinfo>
            <ncx:config>true</ncx:config>
            <ncx:presence>If transportLayerSecurity is present, DTLS is
              enabled if the transport protocol is SCTP or UDP, and TLS
              is enabled if the transport protocol is TCP.</ncx:presence>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="localCertificationAuthorityDN"
              type="xs:string" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names of certification authorities
                  whose certificates may be used to identify the local
                  endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="localSubjectDN" type="xs:string"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names which may be used in the
                  certificates to identify the local endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="localSubjectFQDN" type="inet:domain-name"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Fully qualified domain names which may be used to
                  in the certificates to identify the local endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteCertificationAuthorityDN"
              type="xs:string" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names of certification authorities
                  whose certificates are accepted to authorize remote
                  endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteSubjectDN" type="xs:string"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names which are accepted in
                  certificates to authorize remote endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteSubjectFQDN"
              type="inet:domain-name" minOccurs="0"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Fully qualified domain name which are accepted in
                  certificates to authorize remote endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="transportSession">
        <xs:annotation>
          <xs:documentation>State parameters of the Transport Session
            directed to the given destination.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ipfixVersion" type="xs:unsignedShort"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Used for Exporting Processes, this parameter
                  contains the version number of the IPFIX protocol that the
                  Exporter uses to export its data in this Transport Session.
                  Hence, it is identical to the value of the configuration
                  parameter ipfixVersion of the outer SctpExporter,
                  UdpExporter, or TcpExporter node.
                  Used for Collecting Processes, this parameter contains the
                  version number of the IPFIX protocol it receives for
                  this Transport Session. If IPFIX Messages of different
                  IPFIX protocol versions are received, this parameter
                  contains the maximum version number.
                  Note that this parameter corresponds to
                  ipfixTransportSessionIpfixVersion in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionIpfixVersion).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="sourceAddress" type="inet:ip-address"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The source address of the Exporter of the
                  IPFIX Transport Session.
                  If the transport protocol is SCTP, this is one of the
                  potentially many IP addresses of the Exporter.
                  Preferably, the source IP address of the path which is
                  usually selected by the Exporter to send IPFIX Messages to
                  the Collector SHOULD be used.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionSourceAddressType and
                  ipfixTransportSessionSourceAddress in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSourceAddressType,
                      ipfixTransportSessionSourceAddress);
                      RFC4960, Section 6.4.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
              <xs:simpleType>
                <xs:union
                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="destinationAddress"
              type="inet:ip-address" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The destination address of the Collector of
                  the IPFIX Transport Session.
                  If the transport protocol is SCTP, this is one of the
                  potentially many IP addresses of the Collector.
                  Preferably, the destination IP address of the path which is
                  usually selected by the Exporter to send IPFIX Messages to
                  the Collector SHOULD be used.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionDestinationAddressType and
                  ipfixTransportSessionDestinationAddress in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDestinationAddressType,
                      ipfixTransportSessionDestinationAddress);
                      RFC4960, Section 6.4.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
              <xs:simpleType>
                <xs:union
                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="sourcePort" type="inet:port-number"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The transport protocol port number of the
                  Exporter of the IPFIX Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionSourcePort in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSourcePort).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="destinationPort" type="inet:port-number"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The transport protocol port number of the
                  Collector of the IPFIX Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionDestinationPort in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDestinationPort).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="sctpAssocId" type="xs:unsignedInt"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The association id used for the SCTP session
                  between the Exporter and the Collector of the IPFIX
                  Transport Session. It is equal to the sctpAssocId entry
                  in the sctpAssocTable defined in the SCTP-MIB.
                  This parameter is only available if the transport protocol
                  is SCTP and if an SNMP agent on the same Monitoring Device
                  enables access to the corresponding MIB objects in the
                  sctpAssocTable.
                  Note that this parameter corresponds to
                  ipfixTransportSessionSctpAssocId in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSctpAssocId);
                      RFC3871</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="status" type="transportSessionStatus"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Status of the Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionStatus in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionStatus).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="rate" type="yang:gauge32" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of bytes per second transmitted by the
                  Exporting Process or received by the Collecting Process.
                  This parameter is updated every second.
                  Note that this parameter corresponds to
                  ipfixTransportSessionRate in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>bytes per second</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionRate).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="bytes" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of bytes transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionBytes in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>bytes</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionBytes).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="messages" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of messages transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionMessages in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>IPFIX Messages</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionMessages).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="discardedMessages" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Used for Exporting Processes, this parameter
                  indicates the number of messages that could not be sent due
                  to internal buffer overflows, network congestion, routing
                  issues, etc. Used for Collecting Process, this parameter
                  indicates the number of received IPFIX Message that are
                  malformed, cannot be decoded, are received in the wrong
                  order or are missing according to the sequence number.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionDiscardedMessages in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>IPFIX Messages</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDiscardedMessages).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="records" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Data Records transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionRecords in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Data Records</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionRecords).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="templates" type="yang:counter32"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Templates transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionTemplates in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Templates</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionTemplates).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="optionsTemplates" type="yang:counter32"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Option Templates transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionOptionsTemplates in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Options Templates</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionOptionsTemplates).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="transportSessionStartTime"
              type="yang:date-and-time" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Timestamp of the start of the given Transport
                  Session.
                  This state parameter does not correspond to any object in
                  the IPFIX MIB module.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="transportSessionDiscontinuityTime"
              type="yang:date-and-time" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Timestamp of the most recent occasion at which
                  one or more of the Transport Session counters suffered a
                  discontinuity.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionDiscontinuityTime in the IPFIX MIB
                  module. In contrast to
                  ipfixTransportSessionDiscontinuityTime, the time is
                  absolute and not relative to sysUpTime.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDiscontinuityTime).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="template" minOccurs="0"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>This list contains the Templates and Options
                  Templates that are transmitted by the Exporting Process
                  or received by the Collecting Process.
                  Withdrawn or invalidated (Options) Template MUST be removed
                  from this list.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                </xs:appinfo>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="observationDomainId"
                    type="xs:unsignedInt" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The ID of the Observation Domain for which this
                        Template is defined.
                        Note that this parameter corresponds to
                        ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateObservationDomainId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateId" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This number indicates the Template Id in the IPFIX
                        message.
                        Note that this parameter corresponds to ipfixTemplateId in
                        the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:unsignedShort">
                        <xs:minInclusive value="256">
                          <xs:annotation>
                            <xs:documentation>Valid range of Template IDs.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5101</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:minInclusive>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:element>
                  <xs:element name="setId" type="xs:unsignedShort"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This number indicates the Set ID of the Template.
                        Currently, there are two values defined. The value 2 is used
                        for Sets containing Template definitions. The value 3 is
                        used for Sets containing Options Template definitions.
                        Note that this parameter corresponds to ipfixTemplateSetId
                        in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="accessTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Used for Exporting Processes, this parameter
                        contains the time when this (Options) Template was last
                        sent to the Collector(s) or written to the file.
                        Used for Collecting Processes, this parameter contains the
                        time when this (Options) Template was last received from the
                        Exporter or read from the file.
                        Note that this parameter corresponds to
                        ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateDataRecords"
                    type="yang:counter64" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of transmitted or received Data
                        Records defined by this (Options) Template.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        templateDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateDiscontinuityTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Timestamp of the most recent occasion at which
                        the counter templateDataRecords suffered a discontinuity.
                        Note that this parameter functionally corresponds to
                        ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                        In contrast to ipfixTemplateDiscontinuityTime, the time
                        is absolute and not relative to sysUpTime.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateDiscontinuityTime).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="field" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>This list contains the (Options) Template
                        fields of which the (Options) Template is defined.
                        The order of the list corresponds to the order of the fields
                        in the (Option) Template Record.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="ieId" type="ieIdType"
                          minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the Information
                              Element Id of the field.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                  RFC5102.</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="ieLength"
                          type="xs:unsignedShort" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the length of the
                              Information Element of the field.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeLength in the IPFIX MIB
                              module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:units>octets</ncx:units>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="ieEnterpriseNumber"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the IANA enterprise
                              number of the authority defining the Information Element
                              Id.
                              If the Information Element is not enterprise-specific,
                              this state parameter is zero.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                              MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="isFlowKey" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>If present, this is a Flow Key field.
                              Note that this corresponds to flowKey(1) being set in
                              ipfixTemplateDefinitionFlags.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>../../setId = 2</ncx:when>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="isScope" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>If present, this is a scope field.
                              Note that this corresponds to scope(0) being set in
                              ipfixTemplateDefinitionFlags.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>../../setId = 3</ncx:when>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="sourceIPAddress" type="inet:ip-address"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>Source IP address used by the Exporting Process.
            If not configured, the IP address assigned to the outgoing
            interface is used as source IP address.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
        </xs:simpleType>
      </xs:element>
      <xs:element name="destinationIPAddress" type="inet:ip-address">
        <xs:annotation>
          <xs:documentation>IP address of the Collection Process to which
            IPFIX Messages are sent.</xs:documentation>
          <xs:appinfo>
            <ncx:mandatory>true</ncx:mandatory>
          </xs:appinfo>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
        </xs:simpleType>
      </xs:element>
      <xs:element name="maxPacketSize" type="xs:unsignedShort"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>This parameter specifies the maximum size of
            IP packets sent to the Collector. If set to zero, the
            Exporting Device MUST derive the maximum packet size
            from path MTU discovery mechanisms.
            If not configured by the user, this parameter is set by
            the Monitoring Device.</xs:documentation>
          <xs:appinfo>
            <ncx:units>octets</ncx:units>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="templateRefreshTimeout" type="xs:unsignedInt"
        default="600" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Sets time after which Templates are resent in the
            UDP Transport Session.
            Note that the configured lifetime MUST be adapted to the
            templateLifeTime parameter value at the receiving Collecting
            Process.
            Note that this parameter corresponds to
            ipfixTransportSessionTemplateRefreshTimeout in the IPFIX
            MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:units>seconds</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5101, Section 10.3.6; RFC5815, Section 8
                (ipfixTransportSessionTemplateRefreshTimeout).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="optionsTemplateRefreshTimeout"
        type="xs:unsignedInt" default="600" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Sets time after which Options Templates are
            resent in the UDP Transport Session.
            Note that the configured lifetime MUST be adapted to the
            optionsTemplateLifeTime parameter value at the receiving
            Collecting Process.
            Note that this parameter corresponds to
            ipfixTransportSessionOptionsTemplateRefreshTimeout in the
            IPFIX MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:units>seconds</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5101, Section 10.3.6; RFC5815, Section 8
                (ipfixTransportSessionOptionsTemplateRefreshTimeout).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="templateRefreshPacket" type="xs:unsignedInt"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>Sets number of IPFIX Messages after which
            Templates are resent in the UDP Transport Session.
            Note that this parameter corresponds to
            ipfixTransportSessionTemplateRefreshPacket in the IPFIX
            MIB module.
            If omitted, Templates are only resent after timeout.</xs:documentation>
          <xs:appinfo>
            <ncx:units>IPFIX Messages</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5101, Section 10.3.6; RFC5815, Section 8
                (ipfixTransportSessionTemplateRefreshPacket).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="optionsTemplateRefreshPacket"
        type="xs:unsignedInt" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Sets number of IPFIX Messages after which
            Options Templates are resent in the UDP Transport Session
            protocol.
            Note that this parameter corresponds to
            ipfixTransportSessionOptionsTemplateRefreshPacket in the
            IPFIX MIB module.
            If omitted, Templates are only resent after timeout.</xs:documentation>
          <xs:appinfo>
            <ncx:units>IPFIX Messages</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5101, Section 10.3.6; RFC5815, Section 8
                (ipfixTransportSessionOptionsTemplateRefreshPacket).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="tcpExporterParameters">
    <xs:annotation>
      <xs:documentation>Parameters of a TCP export destination.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ipfixVersion" type="xs:unsignedShort"
        default="10" minOccurs="0">
        <xs:annotation>
          <xs:documentation>IPFIX version number.</xs:documentation>
          <xs:appinfo>
            <ncx:config>true</ncx:config>
            <ncx:reference>
              <ncx:text>RFC 5101.</ncx:text>
              <ncx:url>http://www.ietf.org/rfc/rfc5101.txt</ncx:url>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="destinationPort" type="inet:port-number"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>If not configured by the user, the Monitoring
            Device uses the default port number for IPFIX, which is
            4739 without transport layer security and 4740 if transport
            layer security is activated.</xs:documentation>
          <xs:appinfo>
            <ncx:config>true</ncx:config>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:choice>
        <xs:annotation>
          <xs:documentation>Index or name of the interface as stored in the
            ifTable of IF-MIB.
            If configured, the Exporting Process MUST use the given
            interface to export IPFIX Messages to the export
            destination.
            If omitted, the Exporting Process selects the outgoing
            interface based on local routing decision and accepts
            return traffic, such as transport layer acknowledgments,
            on all available interfaces.</xs:documentation>
          <xs:appinfo>
            <ncx:choice-name>indexOrName</ncx:choice-name>
            <ncx:config>true</ncx:config>
            <ncx:reference>
              <ncx:text>RFC 1229.</ncx:text>
              <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
        <xs:sequence>
          <xs:annotation>
            <xs:appinfo>
              <ncx:case-name>ifIndex</ncx:case-name>
            </xs:appinfo>
          </xs:annotation>
          <xs:element name="ifIndex" type="xs:unsignedInt"
            minOccurs="0">
            <xs:annotation>
              <xs:documentation>Index of an interface as stored in the ifTable
                of IF-MIB.</xs:documentation>
              <xs:appinfo>
                <ncx:reference>
                  <ncx:text>RFC 1229.</ncx:text>
                  <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                </ncx:reference>
              </xs:appinfo>
            </xs:annotation>
          </xs:element>
          <xs:any minOccurs="0" maxOccurs="unbounded"
            namespace="##other" processContents="lax"/>
        </xs:sequence>
        <xs:sequence>
          <xs:annotation>
            <xs:appinfo>
              <ncx:case-name>ifName</ncx:case-name>
            </xs:appinfo>
          </xs:annotation>
          <xs:element name="ifName" type="xs:string" minOccurs="0">
            <xs:annotation>
              <xs:documentation>Name of an interface as stored in the ifTable
                of IF-MIB.</xs:documentation>
              <xs:appinfo>
                <ncx:reference>
                  <ncx:text>RFC 1229.</ncx:text>
                  <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                </ncx:reference>
              </xs:appinfo>
            </xs:annotation>
          </xs:element>
          <xs:any minOccurs="0" maxOccurs="unbounded"
            namespace="##other" processContents="lax"/>
        </xs:sequence>
        <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"
          processContents="lax"/>
      </xs:choice>
      <xs:element name="sendBufferSize" type="xs:unsignedInt"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>Size of the socket send buffer.
            If not configured by the user, this parameter is set by
            the Monitoring Device.</xs:documentation>
          <xs:appinfo>
            <ncx:config>true</ncx:config>
            <ncx:units>bytes</ncx:units>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="rateLimit" type="xs:unsignedInt" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Maximum number of bytes per second the Exporting
            Process may export to the given destination. The number of
            bytes is calculated from the lengths of the IPFIX Messages
            exported. If not configured, no rate limiting is performed.</xs:documentation>
          <xs:appinfo>
            <ncx:config>true</ncx:config>
            <ncx:units>bytes per second</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5476, Section 6.3.</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="transportLayerSecurity">
        <xs:annotation>
          <xs:documentation>Transport layer security configuration.</xs:documentation>
          <xs:appinfo>
            <ncx:config>true</ncx:config>
            <ncx:presence>If transportLayerSecurity is present, DTLS is
              enabled if the transport protocol is SCTP or UDP, and TLS
              is enabled if the transport protocol is TCP.</ncx:presence>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="localCertificationAuthorityDN"
              type="xs:string" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names of certification authorities
                  whose certificates may be used to identify the local
                  endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="localSubjectDN" type="xs:string"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names which may be used in the
                  certificates to identify the local endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="localSubjectFQDN" type="inet:domain-name"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Fully qualified domain names which may be used to
                  in the certificates to identify the local endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteCertificationAuthorityDN"
              type="xs:string" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names of certification authorities
                  whose certificates are accepted to authorize remote
                  endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteSubjectDN" type="xs:string"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names which are accepted in
                  certificates to authorize remote endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteSubjectFQDN"
              type="inet:domain-name" minOccurs="0"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Fully qualified domain name which are accepted in
                  certificates to authorize remote endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="transportSession">
        <xs:annotation>
          <xs:documentation>State parameters of the Transport Session
            directed to the given destination.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ipfixVersion" type="xs:unsignedShort"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Used for Exporting Processes, this parameter
                  contains the version number of the IPFIX protocol that the
                  Exporter uses to export its data in this Transport Session.
                  Hence, it is identical to the value of the configuration
                  parameter ipfixVersion of the outer SctpExporter,
                  UdpExporter, or TcpExporter node.
                  Used for Collecting Processes, this parameter contains the
                  version number of the IPFIX protocol it receives for
                  this Transport Session. If IPFIX Messages of different
                  IPFIX protocol versions are received, this parameter
                  contains the maximum version number.
                  Note that this parameter corresponds to
                  ipfixTransportSessionIpfixVersion in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionIpfixVersion).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="sourceAddress" type="inet:ip-address"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The source address of the Exporter of the
                  IPFIX Transport Session.
                  If the transport protocol is SCTP, this is one of the
                  potentially many IP addresses of the Exporter.
                  Preferably, the source IP address of the path which is
                  usually selected by the Exporter to send IPFIX Messages to
                  the Collector SHOULD be used.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionSourceAddressType and
                  ipfixTransportSessionSourceAddress in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSourceAddressType,
                      ipfixTransportSessionSourceAddress);
                      RFC4960, Section 6.4.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
              <xs:simpleType>
                <xs:union
                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="destinationAddress"
              type="inet:ip-address" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The destination address of the Collector of
                  the IPFIX Transport Session.
                  If the transport protocol is SCTP, this is one of the
                  potentially many IP addresses of the Collector.
                  Preferably, the destination IP address of the path which is
                  usually selected by the Exporter to send IPFIX Messages to
                  the Collector SHOULD be used.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionDestinationAddressType and
                  ipfixTransportSessionDestinationAddress in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDestinationAddressType,
                      ipfixTransportSessionDestinationAddress);
                      RFC4960, Section 6.4.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
              <xs:simpleType>
                <xs:union
                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="sourcePort" type="inet:port-number"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The transport protocol port number of the
                  Exporter of the IPFIX Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionSourcePort in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSourcePort).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="destinationPort" type="inet:port-number"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The transport protocol port number of the
                  Collector of the IPFIX Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionDestinationPort in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDestinationPort).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="sctpAssocId" type="xs:unsignedInt"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The association id used for the SCTP session
                  between the Exporter and the Collector of the IPFIX
                  Transport Session. It is equal to the sctpAssocId entry
                  in the sctpAssocTable defined in the SCTP-MIB.
                  This parameter is only available if the transport protocol
                  is SCTP and if an SNMP agent on the same Monitoring Device
                  enables access to the corresponding MIB objects in the
                  sctpAssocTable.
                  Note that this parameter corresponds to
                  ipfixTransportSessionSctpAssocId in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSctpAssocId);
                      RFC3871</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="status" type="transportSessionStatus"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Status of the Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionStatus in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionStatus).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="rate" type="yang:gauge32" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of bytes per second transmitted by the
                  Exporting Process or received by the Collecting Process.
                  This parameter is updated every second.
                  Note that this parameter corresponds to
                  ipfixTransportSessionRate in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>bytes per second</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionRate).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="bytes" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of bytes transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionBytes in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>bytes</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionBytes).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="messages" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of messages transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionMessages in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>IPFIX Messages</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionMessages).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="discardedMessages" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Used for Exporting Processes, this parameter
                  indicates the number of messages that could not be sent due
                  to internal buffer overflows, network congestion, routing
                  issues, etc. Used for Collecting Process, this parameter
                  indicates the number of received IPFIX Message that are
                  malformed, cannot be decoded, are received in the wrong
                  order or are missing according to the sequence number.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionDiscardedMessages in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>IPFIX Messages</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDiscardedMessages).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="records" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Data Records transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionRecords in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Data Records</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionRecords).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="templates" type="yang:counter32"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Templates transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionTemplates in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Templates</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionTemplates).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="optionsTemplates" type="yang:counter32"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Option Templates transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionOptionsTemplates in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Options Templates</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionOptionsTemplates).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="transportSessionStartTime"
              type="yang:date-and-time" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Timestamp of the start of the given Transport
                  Session.
                  This state parameter does not correspond to any object in
                  the IPFIX MIB module.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="transportSessionDiscontinuityTime"
              type="yang:date-and-time" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Timestamp of the most recent occasion at which
                  one or more of the Transport Session counters suffered a
                  discontinuity.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionDiscontinuityTime in the IPFIX MIB
                  module. In contrast to
                  ipfixTransportSessionDiscontinuityTime, the time is
                  absolute and not relative to sysUpTime.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDiscontinuityTime).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="template" minOccurs="0"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>This list contains the Templates and Options
                  Templates that are transmitted by the Exporting Process
                  or received by the Collecting Process.
                  Withdrawn or invalidated (Options) Template MUST be removed
                  from this list.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                </xs:appinfo>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="observationDomainId"
                    type="xs:unsignedInt" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The ID of the Observation Domain for which this
                        Template is defined.
                        Note that this parameter corresponds to
                        ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateObservationDomainId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateId" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This number indicates the Template Id in the IPFIX
                        message.
                        Note that this parameter corresponds to ipfixTemplateId in
                        the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:unsignedShort">
                        <xs:minInclusive value="256">
                          <xs:annotation>
                            <xs:documentation>Valid range of Template IDs.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5101</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:minInclusive>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:element>
                  <xs:element name="setId" type="xs:unsignedShort"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This number indicates the Set ID of the Template.
                        Currently, there are two values defined. The value 2 is used
                        for Sets containing Template definitions. The value 3 is
                        used for Sets containing Options Template definitions.
                        Note that this parameter corresponds to ipfixTemplateSetId
                        in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="accessTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Used for Exporting Processes, this parameter
                        contains the time when this (Options) Template was last
                        sent to the Collector(s) or written to the file.
                        Used for Collecting Processes, this parameter contains the
                        time when this (Options) Template was last received from the
                        Exporter or read from the file.
                        Note that this parameter corresponds to
                        ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateDataRecords"
                    type="yang:counter64" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of transmitted or received Data
                        Records defined by this (Options) Template.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        templateDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateDiscontinuityTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Timestamp of the most recent occasion at which
                        the counter templateDataRecords suffered a discontinuity.
                        Note that this parameter functionally corresponds to
                        ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                        In contrast to ipfixTemplateDiscontinuityTime, the time
                        is absolute and not relative to sysUpTime.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateDiscontinuityTime).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="field" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>This list contains the (Options) Template
                        fields of which the (Options) Template is defined.
                        The order of the list corresponds to the order of the fields
                        in the (Option) Template Record.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="ieId" type="ieIdType"
                          minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the Information
                              Element Id of the field.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                  RFC5102.</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="ieLength"
                          type="xs:unsignedShort" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the length of the
                              Information Element of the field.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeLength in the IPFIX MIB
                              module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:units>octets</ncx:units>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="ieEnterpriseNumber"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the IANA enterprise
                              number of the authority defining the Information Element
                              Id.
                              If the Information Element is not enterprise-specific,
                              this state parameter is zero.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                              MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="isFlowKey" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>If present, this is a Flow Key field.
                              Note that this corresponds to flowKey(1) being set in
                              ipfixTemplateDefinitionFlags.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>../../setId = 2</ncx:when>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="isScope" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>If present, this is a scope field.
                              Note that this corresponds to scope(0) being set in
                              ipfixTemplateDefinitionFlags.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>../../setId = 3</ncx:when>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="sourceIPAddress" type="inet:ip-address"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>Source IP address used by the Exporting Process.
            If not configured by the user, this parameter is set by
            the Monitoring Device to an IP address assigned to the
            outgoing interface.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
        </xs:simpleType>
      </xs:element>
      <xs:element name="destinationIPAddress" type="inet:ip-address">
        <xs:annotation>
          <xs:documentation>IP address of the Collection Process to which
            IPFIX Messages are sent.</xs:documentation>
          <xs:appinfo>
            <ncx:mandatory>true</ncx:mandatory>
          </xs:appinfo>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
        </xs:simpleType>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="fileWriterParameters">
    <xs:annotation>
      <xs:documentation>File Writer parameters.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ipfixVersion" type="xs:unsignedShort"
        default="10" minOccurs="0">
        <xs:annotation>
          <xs:documentation>IPFIX version number.</xs:documentation>
          <xs:appinfo>
            <ncx:reference>
              <ncx:text>RFC 5101.</ncx:text>
              <ncx:url>http://www.ietf.org/rfc/rfc5101.txt</ncx:url>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="file" type="inet:uri">
        <xs:annotation>
          <xs:documentation>URI specifying the location of the file.</xs:documentation>
          <xs:appinfo>
            <ncx:mandatory>true</ncx:mandatory>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="bytes" type="yang:counter64" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The number of bytes written by the File Writer.
            Discontinuities in the value of this counter can occur at
            re-initialization of the management system, and at other
            times as indicated by the value of
            fileWriterDiscontinuityTime.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:units>octets</ncx:units>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="messages" type="yang:counter64" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The number of IPFIX Messages written by the File
            Writer.
            Discontinuities in the value of this counter can occur at
            re-initialization of the management system, and at other
            times as indicated by the value of
            fileWriterDiscontinuityTime.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:units>IPFIX Messages</ncx:units>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="discardedMessages" type="yang:counter64"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>The number of IPFIX Messages that could not be
            written by the File Writer due to internal buffer
            overflows, limited storage capacity etc.
            Discontinuities in the value of this counter can occur at
            re-initialization of the management system, and at other
            times as indicated by the value of
            fileWriterDiscontinuityTime.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:units>IPFIX Messages</ncx:units>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="records" type="yang:counter64" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The number of Data Records written by the File
            Writer.
            Discontinuities in the value of this counter can occur at
            re-initialization of the management system, and at other
            times as indicated by the value of
            fileWriterDiscontinuityTime.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:units>Data Records</ncx:units>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="templates" type="yang:counter32" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The number of Template Records (excluding
            Options Template Records) written by the File Writer.
            Discontinuities in the value of this counter can occur at
            re-initialization of the management system, and at other
            times as indicated by the value of
            fileWriterDiscontinuityTime.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:units>Templates</ncx:units>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="optionsTemplates" type="yang:counter32"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>The number of Options Template Records written
            by the File Writer.
            Discontinuities in the value of this counter can occur at
            re-initialization of the management system, and at other
            times as indicated by the value of
            fileWriterDiscontinuityTime.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:units>Options Templates</ncx:units>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="fileWriterDiscontinuityTime"
        type="yang:date-and-time" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Timestamp of the most recent occasion at which
            one or more File Writer counters suffered a discontinuity.
            In contrast to discontinuity times in the IPFIX MIB module,
            the time is absolute and not relative to sysUpTime.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="template" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>This list contains the Templates and Options
            Templates that have been written by the File Reader.
            Withdrawn or invalidated (Options) Template MUST be removed
            from this list.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:ordered-by>system</ncx:ordered-by>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="observationDomainId"
              type="xs:unsignedInt" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The ID of the Observation Domain for which this
                  Template is defined.
                  Note that this parameter corresponds to
                  ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTemplateObservationDomainId).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="templateId" minOccurs="0">
              <xs:annotation>
                <xs:documentation>This number indicates the Template Id in the IPFIX
                  message.
                  Note that this parameter corresponds to ipfixTemplateId in
                  the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:unsignedShort">
                  <xs:minInclusive value="256">
                    <xs:annotation>
                      <xs:documentation>Valid range of Template IDs.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5101</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:minInclusive>
                </xs:restriction>
              </xs:simpleType>
            </xs:element>
            <xs:element name="setId" type="xs:unsignedShort"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>This number indicates the Set ID of the Template.
                  Currently, there are two values defined. The value 2 is used
                  for Sets containing Template definitions. The value 3 is
                  used for Sets containing Options Template definitions.
                  Note that this parameter corresponds to ipfixTemplateSetId
                  in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="accessTime" type="yang:date-and-time"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Used for Exporting Processes, this parameter
                  contains the time when this (Options) Template was last
                  sent to the Collector(s) or written to the file.
                  Used for Collecting Processes, this parameter contains the
                  time when this (Options) Template was last received from the
                  Exporter or read from the file.
                  Note that this parameter corresponds to
                  ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="templateDataRecords"
              type="yang:counter64" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of transmitted or received Data
                  Records defined by this (Options) Template.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  templateDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="templateDiscontinuityTime"
              type="yang:date-and-time" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Timestamp of the most recent occasion at which
                  the counter templateDataRecords suffered a discontinuity.
                  Note that this parameter functionally corresponds to
                  ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                  In contrast to ipfixTemplateDiscontinuityTime, the time
                  is absolute and not relative to sysUpTime.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTemplateDiscontinuityTime).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="field" minOccurs="0"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>This list contains the (Options) Template
                  fields of which the (Options) Template is defined.
                  The order of the list corresponds to the order of the fields
                  in the (Option) Template Record.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                </xs:appinfo>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="ieId" type="ieIdType" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This parameter indicates the Information
                        Element Id of the field.
                        Note that this parameter corresponds to
                        ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                            RFC5102.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="ieLength" type="xs:unsignedShort"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This parameter indicates the length of the
                        Information Element of the field.
                        Note that this parameter corresponds to
                        ipfixTemplateDefinitionIeLength in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>octets</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="ieEnterpriseNumber"
                    type="xs:unsignedInt" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This parameter indicates the IANA enterprise
                        number of the authority defining the Information Element
                        Id.
                        If the Information Element is not enterprise-specific,
                        this state parameter is zero.
                        Note that this parameter corresponds to
                        ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                        MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="isFlowKey" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>If present, this is a Flow Key field.
                        Note that this corresponds to flowKey(1) being set in
                        ipfixTemplateDefinitionFlags.</xs:documentation>
                      <xs:appinfo>
                        <ncx:when>../../setId = 2</ncx:when>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateDefinitionFlags).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="isScope" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>If present, this is a scope field.
                        Note that this corresponds to scope(0) being set in
                        ipfixTemplateDefinitionFlags.</xs:documentation>
                      <xs:appinfo>
                        <ncx:when>../../setId = 3</ncx:when>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateDefinitionFlags).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="optionsParameters">
    <xs:annotation>
      <xs:documentation>Parameters specifying the data export using an
        Options Template.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="optionsType" type="xs:QName">
        <xs:annotation>
          <xs:documentation>Type of the exported options data.</xs:documentation>
          <xs:appinfo>
            <ncx:mandatory>true</ncx:mandatory>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="optionsTimeout" type="xs:unsignedInt"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>Time interval for periodic export of the options
            data. If set to zero, the export is triggered when the
            options data has changed.
            If not configured by the user, this parameter is set by the
            Monitoring Device.</xs:documentation>
          <xs:appinfo>
            <ncx:units>milliseconds</ncx:units>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="collectingProcessParameters">
    <xs:annotation>
      <xs:documentation>Parameters of a Collecting Process.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="sctpCollector" minOccurs="0"
        maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>List of SCTP receivers (sockets) on which the
            Collecting Process receives IPFIX Messages.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="name" type="nameType">
              <xs:annotation>
                <xs:documentation>Key of this list.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="localPort" type="inet:port-number"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>If not configured, the Monitoring Device uses the
                  default port number for IPFIX, which is 4739 without
                  transport layer security and 4740 if transport layer
                  security is activated.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="transportLayerSecurity">
              <xs:annotation>
                <xs:documentation>Transport layer security configuration.</xs:documentation>
                <xs:appinfo>
                  <ncx:presence>If transportLayerSecurity is present, DTLS is enabled
                    if the transport protocol is SCTP or UDP, and TLS is enabled
                    if the transport protocol is TCP.</ncx:presence>
                </xs:appinfo>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="localCertificationAuthorityDN"
                    type="xs:string" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>Distinguished names of certification authorities
                        whose certificates may be used to identify the local
                        endpoint.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                        <ncx:reference>
                          <ncx:text>RFC5280.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="localSubjectDN" type="xs:string"
                    minOccurs="0" maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>Distinguished names which may be used in the
                        certificates to identify the local endpoint.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                        <ncx:reference>
                          <ncx:text>RFC5280.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="localSubjectFQDN"
                    type="inet:domain-name" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>Fully qualified domain names which may be used to
                        in the certificates to identify the local endpoint.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                        <ncx:reference>
                          <ncx:text>RFC5280.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="remoteCertificationAuthorityDN"
                    type="xs:string" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>Distinguished names of certification authorities
                        whose certificates are accepted to authorize remote
                        endpoints.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                        <ncx:reference>
                          <ncx:text>RFC5280.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="remoteSubjectDN" type="xs:string"
                    minOccurs="0" maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>Distinguished names which are accepted in
                        certificates to authorize remote endpoints.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                        <ncx:reference>
                          <ncx:text>RFC5280.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="remoteSubjectFQDN"
                    type="inet:domain-name" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>Fully qualified domain name which are accepted in
                        certificates to authorize remote endpoints.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                        <ncx:reference>
                          <ncx:text>RFC5280.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="transportSession" minOccurs="0"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>This list contains the currently established
                  Transport Sessions terminating at the given socket.</xs:documentation>
                <xs:appinfo>
                  <ncx:config>false</ncx:config>
                  <ncx:ordered-by>system</ncx:ordered-by>
                </xs:appinfo>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="ipfixVersion"
                    type="xs:unsignedShort" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Used for Exporting Processes, this parameter
                        contains the version number of the IPFIX protocol that the
                        Exporter uses to export its data in this Transport Session.
                        Hence, it is identical to the value of the configuration
                        parameter ipfixVersion of the outer SctpExporter,
                        UdpExporter, or TcpExporter node.
                        Used for Collecting Processes, this parameter contains the
                        version number of the IPFIX protocol it receives for
                        this Transport Session. If IPFIX Messages of different
                        IPFIX protocol versions are received, this parameter
                        contains the maximum version number.
                        Note that this parameter corresponds to
                        ipfixTransportSessionIpfixVersion in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionIpfixVersion).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="sourceAddress"
                    type="inet:ip-address" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The source address of the Exporter of the
                        IPFIX Transport Session.
                        If the transport protocol is SCTP, this is one of the
                        potentially many IP addresses of the Exporter.
                        Preferably, the source IP address of the path which is
                        usually selected by the Exporter to send IPFIX Messages to
                        the Collector SHOULD be used.
                        Note that this parameter functionally corresponds to
                        ipfixTransportSessionSourceAddressType and
                        ipfixTransportSessionSourceAddress in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionSourceAddressType,
                            ipfixTransportSessionSourceAddress);
                            RFC4960, Section 6.4.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:union
                        memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                    </xs:simpleType>
                  </xs:element>
                  <xs:element name="destinationAddress"
                    type="inet:ip-address" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The destination address of the Collector of
                        the IPFIX Transport Session.
                        If the transport protocol is SCTP, this is one of the
                        potentially many IP addresses of the Collector.
                        Preferably, the destination IP address of the path which is
                        usually selected by the Exporter to send IPFIX Messages to
                        the Collector SHOULD be used.
                        Note that this parameter functionally corresponds to
                        ipfixTransportSessionDestinationAddressType and
                        ipfixTransportSessionDestinationAddress in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionDestinationAddressType,
                            ipfixTransportSessionDestinationAddress);
                            RFC4960, Section 6.4.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:union
                        memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                    </xs:simpleType>
                  </xs:element>
                  <xs:element name="sourcePort" type="inet:port-number"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The transport protocol port number of the
                        Exporter of the IPFIX Transport Session.
                        Note that this parameter corresponds to
                        ipfixTransportSessionSourcePort in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionSourcePort).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="destinationPort"
                    type="inet:port-number" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The transport protocol port number of the
                        Collector of the IPFIX Transport Session.
                        Note that this parameter corresponds to
                        ipfixTransportSessionDestinationPort in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionDestinationPort).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="sctpAssocId" type="xs:unsignedInt"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The association id used for the SCTP session
                        between the Exporter and the Collector of the IPFIX
                        Transport Session. It is equal to the sctpAssocId entry
                        in the sctpAssocTable defined in the SCTP-MIB.
                        This parameter is only available if the transport protocol
                        is SCTP and if an SNMP agent on the same Monitoring Device
                        enables access to the corresponding MIB objects in the
                        sctpAssocTable.
                        Note that this parameter corresponds to
                        ipfixTransportSessionSctpAssocId in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionSctpAssocId);
                            RFC3871</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="status"
                    type="transportSessionStatus" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Status of the Transport Session.
                        Note that this parameter corresponds to
                        ipfixTransportSessionStatus in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTransportSessionStatus).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="rate" type="yang:gauge32"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of bytes per second transmitted by the
                        Exporting Process or received by the Collecting Process.
                        This parameter is updated every second.
                        Note that this parameter corresponds to
                        ipfixTransportSessionRate in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>bytes per second</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTransportSessionRate).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="bytes" type="yang:counter64"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of bytes transmitted by the
                        Exporting Process or received by the Collecting Process.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        transportSessionDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTransportSessionBytes in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>bytes</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTransportSessionBytes).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="messages" type="yang:counter64"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of messages transmitted by the
                        Exporting Process or received by the Collecting Process.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        transportSessionDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTransportSessionMessages in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>IPFIX Messages</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionMessages).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="discardedMessages"
                    type="yang:counter64" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Used for Exporting Processes, this parameter
                        indicates the number of messages that could not be sent due
                        to internal buffer overflows, network congestion, routing
                        issues, etc. Used for Collecting Process, this parameter
                        indicates the number of received IPFIX Message that are
                        malformed, cannot be decoded, are received in the wrong
                        order or are missing according to the sequence number.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        transportSessionDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTransportSessionDiscardedMessages in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>IPFIX Messages</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionDiscardedMessages).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="records" type="yang:counter64"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of Data Records transmitted by the
                        Exporting Process or received by the Collecting Process.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        transportSessionDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTransportSessionRecords in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>Data Records</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionRecords).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templates" type="yang:counter32"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of Templates transmitted by the
                        Exporting Process or received by the Collecting Process.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        transportSessionDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTransportSessionTemplates in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>Templates</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionTemplates).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="optionsTemplates"
                    type="yang:counter32" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of Option Templates transmitted by the
                        Exporting Process or received by the Collecting Process.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        transportSessionDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTransportSessionOptionsTemplates in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>Options Templates</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionOptionsTemplates).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="transportSessionStartTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Timestamp of the start of the given Transport
                        Session.
                        This state parameter does not correspond to any object in
                        the IPFIX MIB module.</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="transportSessionDiscontinuityTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Timestamp of the most recent occasion at which
                        one or more of the Transport Session counters suffered a
                        discontinuity.
                        Note that this parameter functionally corresponds to
                        ipfixTransportSessionDiscontinuityTime in the IPFIX MIB
                        module. In contrast to
                        ipfixTransportSessionDiscontinuityTime, the time is
                        absolute and not relative to sysUpTime.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionDiscontinuityTime).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="template" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>This list contains the Templates and Options
                        Templates that are transmitted by the Exporting Process
                        or received by the Collecting Process.
                        Withdrawn or invalidated (Options) Template MUST be removed
                        from this list.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="observationDomainId"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>The ID of the Observation Domain for which this
                              Template is defined.
                              Note that this parameter corresponds to
                              ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateObservationDomainId).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="templateId" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This number indicates the Template Id in the IPFIX
                              message.
                              Note that this parameter corresponds to ipfixTemplateId in
                              the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                          <xs:simpleType>
                            <xs:restriction base="xs:unsignedShort">
                              <xs:minInclusive value="256">
                                <xs:annotation>
                                  <xs:documentation>Valid range of Template IDs.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:reference>
                                      <ncx:text>RFC5101</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:minInclusive>
                            </xs:restriction>
                          </xs:simpleType>
                        </xs:element>
                        <xs:element name="setId"
                          type="xs:unsignedShort" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This number indicates the Set ID of the Template.
                              Currently, there are two values defined. The value 2 is used
                              for Sets containing Template definitions. The value 3 is
                              used for Sets containing Options Template definitions.
                              Note that this parameter corresponds to ipfixTemplateSetId
                              in the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="accessTime"
                          type="yang:date-and-time" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>Used for Exporting Processes, this parameter
                              contains the time when this (Options) Template was last
                              sent to the Collector(s) or written to the file.
                              Used for Collecting Processes, this parameter contains the
                              time when this (Options) Template was last received from the
                              Exporter or read from the file.
                              Note that this parameter corresponds to
                              ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="templateDataRecords"
                          type="yang:counter64" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>The number of transmitted or received Data
                              Records defined by this (Options) Template.
                              Discontinuities in the value of this counter can occur at
                              re-initialization of the management system, and at other
                              times as indicated by the value of
                              templateDiscontinuityTime.
                              Note that this parameter corresponds to
                              ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="templateDiscontinuityTime"
                          type="yang:date-and-time" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>Timestamp of the most recent occasion at which
                              the counter templateDataRecords suffered a discontinuity.
                              Note that this parameter functionally corresponds to
                              ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                              In contrast to ipfixTemplateDiscontinuityTime, the time
                              is absolute and not relative to sysUpTime.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDiscontinuityTime).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="field" minOccurs="0"
                          maxOccurs="unbounded">
                          <xs:annotation>
                            <xs:documentation>This list contains the (Options) Template
                              fields of which the (Options) Template is defined.
                              The order of the list corresponds to the order of the fields
                              in the (Option) Template Record.</xs:documentation>
                            <xs:appinfo>
                              <ncx:ordered-by>system</ncx:ordered-by>
                            </xs:appinfo>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="ieId" type="ieIdType"
                                minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>This parameter indicates the Information
                                    Element Id of the field.
                                    Note that this parameter corresponds to
                                    ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:reference>
                                      <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                        RFC5102.</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="ieLength"
                                type="xs:unsignedShort" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>This parameter indicates the length of the
                                    Information Element of the field.
                                    Note that this parameter corresponds to
                                    ipfixTemplateDefinitionIeLength in the IPFIX MIB
                                    module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:units>octets</ncx:units>
                                    <ncx:reference>
                                      <ncx:text>RFC5815, Section 8
                                        (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="ieEnterpriseNumber"
                                type="xs:unsignedInt" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>This parameter indicates the IANA enterprise
                                    number of the authority defining the Information Element
                                    Id.
                                    If the Information Element is not enterprise-specific,
                                    this state parameter is zero.
                                    Note that this parameter corresponds to
                                    ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                                    MIB module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:reference>
                                      <ncx:text>RFC5815, Section 8
                                        (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="isFlowKey"
                                minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>If present, this is a Flow Key field.
                                    Note that this corresponds to flowKey(1) being set in
                                    ipfixTemplateDefinitionFlags.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:when>../../setId = 2</ncx:when>
                                    <ncx:reference>
                                      <ncx:text>RFC5815, Section 8
                                        (ipfixTemplateDefinitionFlags).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="isScope" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>If present, this is a scope field.
                                    Note that this corresponds to scope(0) being set in
                                    ipfixTemplateDefinitionFlags.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:when>../../setId = 3</ncx:when>
                                    <ncx:reference>
                                      <ncx:text>RFC5815, Section 8
                                        (ipfixTemplateDefinitionFlags).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:any minOccurs="0"
                                maxOccurs="unbounded"
                                namespace="##other"
                                processContents="lax"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="localIPAddress" type="inet:ip-address"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>List of local IP addresses on which the
                  Collecting Process listens for IPFIX Messages. The IP
                  addresses are used as eligible local IP addresses of the
                  multi-homed SCTP endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC 4960, Section 6.4.</ncx:text>
                    <ncx:url>http://www.ietf.org/rfc/rfc4960.txt</ncx:url>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
              <xs:simpleType>
                <xs:union
                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
              </xs:simpleType>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
        <xs:key name="sctpCollectorkey69">
          <xs:selector xpath="."/>
          <xs:field xpath="name"/>
        </xs:key>
      </xs:element>
      <xs:element name="udpCollector" minOccurs="0"
        maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>List of UDP receivers (sockets) on which the
            Collecting Process receives IPFIX Messages.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="name" type="nameType">
              <xs:annotation>
                <xs:documentation>Key of this list.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="localPort" type="inet:port-number"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>If not configured, the Monitoring Device uses the
                  default port number for IPFIX, which is 4739 without
                  transport layer security and 4740 if transport layer
                  security is activated.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="transportLayerSecurity">
              <xs:annotation>
                <xs:documentation>Transport layer security configuration.</xs:documentation>
                <xs:appinfo>
                  <ncx:presence>If transportLayerSecurity is present, DTLS is enabled
                    if the transport protocol is SCTP or UDP, and TLS is enabled
                    if the transport protocol is TCP.</ncx:presence>
                </xs:appinfo>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="localCertificationAuthorityDN"
                    type="xs:string" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>Distinguished names of certification authorities
                        whose certificates may be used to identify the local
                        endpoint.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                        <ncx:reference>
                          <ncx:text>RFC5280.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="localSubjectDN" type="xs:string"
                    minOccurs="0" maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>Distinguished names which may be used in the
                        certificates to identify the local endpoint.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                        <ncx:reference>
                          <ncx:text>RFC5280.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="localSubjectFQDN"
                    type="inet:domain-name" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>Fully qualified domain names which may be used to
                        in the certificates to identify the local endpoint.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                        <ncx:reference>
                          <ncx:text>RFC5280.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="remoteCertificationAuthorityDN"
                    type="xs:string" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>Distinguished names of certification authorities
                        whose certificates are accepted to authorize remote
                        endpoints.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                        <ncx:reference>
                          <ncx:text>RFC5280.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="remoteSubjectDN" type="xs:string"
                    minOccurs="0" maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>Distinguished names which are accepted in
                        certificates to authorize remote endpoints.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                        <ncx:reference>
                          <ncx:text>RFC5280.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="remoteSubjectFQDN"
                    type="inet:domain-name" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>Fully qualified domain name which are accepted in
                        certificates to authorize remote endpoints.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                        <ncx:reference>
                          <ncx:text>RFC5280.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="transportSession" minOccurs="0"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>This list contains the currently established
                  Transport Sessions terminating at the given socket.</xs:documentation>
                <xs:appinfo>
                  <ncx:config>false</ncx:config>
                  <ncx:ordered-by>system</ncx:ordered-by>
                </xs:appinfo>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="ipfixVersion"
                    type="xs:unsignedShort" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Used for Exporting Processes, this parameter
                        contains the version number of the IPFIX protocol that the
                        Exporter uses to export its data in this Transport Session.
                        Hence, it is identical to the value of the configuration
                        parameter ipfixVersion of the outer SctpExporter,
                        UdpExporter, or TcpExporter node.
                        Used for Collecting Processes, this parameter contains the
                        version number of the IPFIX protocol it receives for
                        this Transport Session. If IPFIX Messages of different
                        IPFIX protocol versions are received, this parameter
                        contains the maximum version number.
                        Note that this parameter corresponds to
                        ipfixTransportSessionIpfixVersion in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionIpfixVersion).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="sourceAddress"
                    type="inet:ip-address" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The source address of the Exporter of the
                        IPFIX Transport Session.
                        If the transport protocol is SCTP, this is one of the
                        potentially many IP addresses of the Exporter.
                        Preferably, the source IP address of the path which is
                        usually selected by the Exporter to send IPFIX Messages to
                        the Collector SHOULD be used.
                        Note that this parameter functionally corresponds to
                        ipfixTransportSessionSourceAddressType and
                        ipfixTransportSessionSourceAddress in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionSourceAddressType,
                            ipfixTransportSessionSourceAddress);
                            RFC4960, Section 6.4.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:union
                        memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                    </xs:simpleType>
                  </xs:element>
                  <xs:element name="destinationAddress"
                    type="inet:ip-address" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The destination address of the Collector of
                        the IPFIX Transport Session.
                        If the transport protocol is SCTP, this is one of the
                        potentially many IP addresses of the Collector.
                        Preferably, the destination IP address of the path which is
                        usually selected by the Exporter to send IPFIX Messages to
                        the Collector SHOULD be used.
                        Note that this parameter functionally corresponds to
                        ipfixTransportSessionDestinationAddressType and
                        ipfixTransportSessionDestinationAddress in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionDestinationAddressType,
                            ipfixTransportSessionDestinationAddress);
                            RFC4960, Section 6.4.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:union
                        memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                    </xs:simpleType>
                  </xs:element>
                  <xs:element name="sourcePort" type="inet:port-number"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The transport protocol port number of the
                        Exporter of the IPFIX Transport Session.
                        Note that this parameter corresponds to
                        ipfixTransportSessionSourcePort in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionSourcePort).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="destinationPort"
                    type="inet:port-number" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The transport protocol port number of the
                        Collector of the IPFIX Transport Session.
                        Note that this parameter corresponds to
                        ipfixTransportSessionDestinationPort in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionDestinationPort).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="sctpAssocId" type="xs:unsignedInt"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The association id used for the SCTP session
                        between the Exporter and the Collector of the IPFIX
                        Transport Session. It is equal to the sctpAssocId entry
                        in the sctpAssocTable defined in the SCTP-MIB.
                        This parameter is only available if the transport protocol
                        is SCTP and if an SNMP agent on the same Monitoring Device
                        enables access to the corresponding MIB objects in the
                        sctpAssocTable.
                        Note that this parameter corresponds to
                        ipfixTransportSessionSctpAssocId in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionSctpAssocId);
                            RFC3871</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="status"
                    type="transportSessionStatus" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Status of the Transport Session.
                        Note that this parameter corresponds to
                        ipfixTransportSessionStatus in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTransportSessionStatus).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="rate" type="yang:gauge32"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of bytes per second transmitted by the
                        Exporting Process or received by the Collecting Process.
                        This parameter is updated every second.
                        Note that this parameter corresponds to
                        ipfixTransportSessionRate in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>bytes per second</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTransportSessionRate).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="bytes" type="yang:counter64"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of bytes transmitted by the
                        Exporting Process or received by the Collecting Process.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        transportSessionDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTransportSessionBytes in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>bytes</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTransportSessionBytes).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="messages" type="yang:counter64"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of messages transmitted by the
                        Exporting Process or received by the Collecting Process.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        transportSessionDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTransportSessionMessages in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>IPFIX Messages</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionMessages).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="discardedMessages"
                    type="yang:counter64" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Used for Exporting Processes, this parameter
                        indicates the number of messages that could not be sent due
                        to internal buffer overflows, network congestion, routing
                        issues, etc. Used for Collecting Process, this parameter
                        indicates the number of received IPFIX Message that are
                        malformed, cannot be decoded, are received in the wrong
                        order or are missing according to the sequence number.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        transportSessionDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTransportSessionDiscardedMessages in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>IPFIX Messages</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionDiscardedMessages).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="records" type="yang:counter64"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of Data Records transmitted by the
                        Exporting Process or received by the Collecting Process.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        transportSessionDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTransportSessionRecords in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>Data Records</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionRecords).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templates" type="yang:counter32"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of Templates transmitted by the
                        Exporting Process or received by the Collecting Process.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        transportSessionDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTransportSessionTemplates in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>Templates</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionTemplates).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="optionsTemplates"
                    type="yang:counter32" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of Option Templates transmitted by the
                        Exporting Process or received by the Collecting Process.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        transportSessionDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTransportSessionOptionsTemplates in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>Options Templates</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionOptionsTemplates).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="transportSessionStartTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Timestamp of the start of the given Transport
                        Session.
                        This state parameter does not correspond to any object in
                        the IPFIX MIB module.</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="transportSessionDiscontinuityTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Timestamp of the most recent occasion at which
                        one or more of the Transport Session counters suffered a
                        discontinuity.
                        Note that this parameter functionally corresponds to
                        ipfixTransportSessionDiscontinuityTime in the IPFIX MIB
                        module. In contrast to
                        ipfixTransportSessionDiscontinuityTime, the time is
                        absolute and not relative to sysUpTime.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionDiscontinuityTime).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="template" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>This list contains the Templates and Options
                        Templates that are transmitted by the Exporting Process
                        or received by the Collecting Process.
                        Withdrawn or invalidated (Options) Template MUST be removed
                        from this list.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="observationDomainId"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>The ID of the Observation Domain for which this
                              Template is defined.
                              Note that this parameter corresponds to
                              ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateObservationDomainId).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="templateId" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This number indicates the Template Id in the IPFIX
                              message.
                              Note that this parameter corresponds to ipfixTemplateId in
                              the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                          <xs:simpleType>
                            <xs:restriction base="xs:unsignedShort">
                              <xs:minInclusive value="256">
                                <xs:annotation>
                                  <xs:documentation>Valid range of Template IDs.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:reference>
                                      <ncx:text>RFC5101</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:minInclusive>
                            </xs:restriction>
                          </xs:simpleType>
                        </xs:element>
                        <xs:element name="setId"
                          type="xs:unsignedShort" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This number indicates the Set ID of the Template.
                              Currently, there are two values defined. The value 2 is used
                              for Sets containing Template definitions. The value 3 is
                              used for Sets containing Options Template definitions.
                              Note that this parameter corresponds to ipfixTemplateSetId
                              in the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="accessTime"
                          type="yang:date-and-time" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>Used for Exporting Processes, this parameter
                              contains the time when this (Options) Template was last
                              sent to the Collector(s) or written to the file.
                              Used for Collecting Processes, this parameter contains the
                              time when this (Options) Template was last received from the
                              Exporter or read from the file.
                              Note that this parameter corresponds to
                              ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="templateDataRecords"
                          type="yang:counter64" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>The number of transmitted or received Data
                              Records defined by this (Options) Template.
                              Discontinuities in the value of this counter can occur at
                              re-initialization of the management system, and at other
                              times as indicated by the value of
                              templateDiscontinuityTime.
                              Note that this parameter corresponds to
                              ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="templateDiscontinuityTime"
                          type="yang:date-and-time" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>Timestamp of the most recent occasion at which
                              the counter templateDataRecords suffered a discontinuity.
                              Note that this parameter functionally corresponds to
                              ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                              In contrast to ipfixTemplateDiscontinuityTime, the time
                              is absolute and not relative to sysUpTime.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDiscontinuityTime).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="field" minOccurs="0"
                          maxOccurs="unbounded">
                          <xs:annotation>
                            <xs:documentation>This list contains the (Options) Template
                              fields of which the (Options) Template is defined.
                              The order of the list corresponds to the order of the fields
                              in the (Option) Template Record.</xs:documentation>
                            <xs:appinfo>
                              <ncx:ordered-by>system</ncx:ordered-by>
                            </xs:appinfo>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="ieId" type="ieIdType"
                                minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>This parameter indicates the Information
                                    Element Id of the field.
                                    Note that this parameter corresponds to
                                    ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:reference>
                                      <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                        RFC5102.</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="ieLength"
                                type="xs:unsignedShort" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>This parameter indicates the length of the
                                    Information Element of the field.
                                    Note that this parameter corresponds to
                                    ipfixTemplateDefinitionIeLength in the IPFIX MIB
                                    module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:units>octets</ncx:units>
                                    <ncx:reference>
                                      <ncx:text>RFC5815, Section 8
                                        (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="ieEnterpriseNumber"
                                type="xs:unsignedInt" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>This parameter indicates the IANA enterprise
                                    number of the authority defining the Information Element
                                    Id.
                                    If the Information Element is not enterprise-specific,
                                    this state parameter is zero.
                                    Note that this parameter corresponds to
                                    ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                                    MIB module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:reference>
                                      <ncx:text>RFC5815, Section 8
                                        (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="isFlowKey"
                                minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>If present, this is a Flow Key field.
                                    Note that this corresponds to flowKey(1) being set in
                                    ipfixTemplateDefinitionFlags.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:when>../../setId = 2</ncx:when>
                                    <ncx:reference>
                                      <ncx:text>RFC5815, Section 8
                                        (ipfixTemplateDefinitionFlags).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="isScope" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>If present, this is a scope field.
                                    Note that this corresponds to scope(0) being set in
                                    ipfixTemplateDefinitionFlags.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:when>../../setId = 3</ncx:when>
                                    <ncx:reference>
                                      <ncx:text>RFC5815, Section 8
                                        (ipfixTemplateDefinitionFlags).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:any minOccurs="0"
                                maxOccurs="unbounded"
                                namespace="##other"
                                processContents="lax"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="localIPAddress" type="inet:ip-address"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>List of local IP addresses on which the Collecting
                  Process listens for IPFIX Messages.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                </xs:appinfo>
              </xs:annotation>
              <xs:simpleType>
                <xs:union
                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="templateLifeTime" type="xs:unsignedInt"
              default="1800" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Sets the lifetime of Templates for all UDP
                  Transport Sessions terminating at this UDP socket.
                  Templates which are not received again within the configured
                  lifetime become invalid at the Collecting Process.
                  As specified in RFC5101, the Template lifetime MUST be at
                  least three times higher than the templateRefreshTimeout
                  parameter value configured on the corresponding Exporting
                  Processes.
                  Note that this parameter corresponds to
                  ipfixTransportSessionTemplateRefreshTimeout in the IPFIX
                  MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>seconds</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5101, Section 10.3.7; RFC5815, Section 8
                      (ipfixTransportSessionTemplateRefreshTimeout).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="optionsTemplateLifeTime"
              type="xs:unsignedInt" default="1800" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Sets the lifetime of Options Templates for all
                  UDP Transport Sessions terminating at this UDP socket.
                  Options Templates which are not received again within the
                  configured lifetime become invalid at the Collecting
                  Process.
                  As specified in RFC5101, the Options Template lifetime MUST
                  be at least three times higher than the
                  optionsTemplateRefreshTimeout parameter value configured on
                  the corresponding Exporting Processes.
                  Note that this parameter corresponds to
                  ipfixTransportSessionOptionsTemplateRefreshTimeout in the
                  IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>seconds</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5101, Section 10.3.7; RFC5815, Section 8
                      (ipfixTransportSessionOptionsTemplateRefreshTimeout).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="templateLifePacket" type="xs:unsignedInt"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>If this parameter is configured, Templates
                  defined in a UDP Transport Session become invalid if they
                  are neither included in a sequence of more than this number
                  of IPFIX Messages nor received again within the period of
                  time specified by templateLifeTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionTemplateRefreshPacket in the IPFIX
                  MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>IPFIX Messages</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5101, Section 10.3.7; RFC5815, Section 8
                      (ipfixTransportSessionTemplateRefreshPacket).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="optionsTemplateLifePacket"
              type="xs:unsignedInt" minOccurs="0">
              <xs:annotation>
                <xs:documentation>If this parameter is configured, Options
                  Templates defined in a UDP Transport Session become
                  invalid if they are neither included in a sequence of more
                  than this number of IPFIX Messages nor received again
                  within the period of time specified by
                  optionsTemplateLifeTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionOptionsTemplateRefreshPacket in the
                  IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>IPFIX Messages</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5101, Section 10.3.7; RFC5815, Section 8
                      (ipfixTransportSessionOptionsTemplateRefreshPacket).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
        <xs:key name="udpCollectorkey70">
          <xs:selector xpath="."/>
          <xs:field xpath="name"/>
        </xs:key>
      </xs:element>
      <xs:element name="tcpCollector" minOccurs="0"
        maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>List of TCP receivers (sockets) on which the
            Collecting Process receives IPFIX Messages.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="name" type="nameType">
              <xs:annotation>
                <xs:documentation>Key of this list.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="localPort" type="inet:port-number"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>If not configured, the Monitoring Device uses the
                  default port number for IPFIX, which is 4739 without
                  transport layer security and 4740 if transport layer
                  security is activated.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="transportLayerSecurity">
              <xs:annotation>
                <xs:documentation>Transport layer security configuration.</xs:documentation>
                <xs:appinfo>
                  <ncx:presence>If transportLayerSecurity is present, DTLS is enabled
                    if the transport protocol is SCTP or UDP, and TLS is enabled
                    if the transport protocol is TCP.</ncx:presence>
                </xs:appinfo>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="localCertificationAuthorityDN"
                    type="xs:string" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>Distinguished names of certification authorities
                        whose certificates may be used to identify the local
                        endpoint.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                        <ncx:reference>
                          <ncx:text>RFC5280.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="localSubjectDN" type="xs:string"
                    minOccurs="0" maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>Distinguished names which may be used in the
                        certificates to identify the local endpoint.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                        <ncx:reference>
                          <ncx:text>RFC5280.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="localSubjectFQDN"
                    type="inet:domain-name" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>Fully qualified domain names which may be used to
                        in the certificates to identify the local endpoint.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                        <ncx:reference>
                          <ncx:text>RFC5280.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="remoteCertificationAuthorityDN"
                    type="xs:string" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>Distinguished names of certification authorities
                        whose certificates are accepted to authorize remote
                        endpoints.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                        <ncx:reference>
                          <ncx:text>RFC5280.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="remoteSubjectDN" type="xs:string"
                    minOccurs="0" maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>Distinguished names which are accepted in
                        certificates to authorize remote endpoints.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                        <ncx:reference>
                          <ncx:text>RFC5280.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="remoteSubjectFQDN"
                    type="inet:domain-name" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>Fully qualified domain name which are accepted in
                        certificates to authorize remote endpoints.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                        <ncx:reference>
                          <ncx:text>RFC5280.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="transportSession" minOccurs="0"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>This list contains the currently established
                  Transport Sessions terminating at the given socket.</xs:documentation>
                <xs:appinfo>
                  <ncx:config>false</ncx:config>
                  <ncx:ordered-by>system</ncx:ordered-by>
                </xs:appinfo>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="ipfixVersion"
                    type="xs:unsignedShort" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Used for Exporting Processes, this parameter
                        contains the version number of the IPFIX protocol that the
                        Exporter uses to export its data in this Transport Session.
                        Hence, it is identical to the value of the configuration
                        parameter ipfixVersion of the outer SctpExporter,
                        UdpExporter, or TcpExporter node.
                        Used for Collecting Processes, this parameter contains the
                        version number of the IPFIX protocol it receives for
                        this Transport Session. If IPFIX Messages of different
                        IPFIX protocol versions are received, this parameter
                        contains the maximum version number.
                        Note that this parameter corresponds to
                        ipfixTransportSessionIpfixVersion in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionIpfixVersion).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="sourceAddress"
                    type="inet:ip-address" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The source address of the Exporter of the
                        IPFIX Transport Session.
                        If the transport protocol is SCTP, this is one of the
                        potentially many IP addresses of the Exporter.
                        Preferably, the source IP address of the path which is
                        usually selected by the Exporter to send IPFIX Messages to
                        the Collector SHOULD be used.
                        Note that this parameter functionally corresponds to
                        ipfixTransportSessionSourceAddressType and
                        ipfixTransportSessionSourceAddress in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionSourceAddressType,
                            ipfixTransportSessionSourceAddress);
                            RFC4960, Section 6.4.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:union
                        memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                    </xs:simpleType>
                  </xs:element>
                  <xs:element name="destinationAddress"
                    type="inet:ip-address" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The destination address of the Collector of
                        the IPFIX Transport Session.
                        If the transport protocol is SCTP, this is one of the
                        potentially many IP addresses of the Collector.
                        Preferably, the destination IP address of the path which is
                        usually selected by the Exporter to send IPFIX Messages to
                        the Collector SHOULD be used.
                        Note that this parameter functionally corresponds to
                        ipfixTransportSessionDestinationAddressType and
                        ipfixTransportSessionDestinationAddress in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionDestinationAddressType,
                            ipfixTransportSessionDestinationAddress);
                            RFC4960, Section 6.4.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:union
                        memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                    </xs:simpleType>
                  </xs:element>
                  <xs:element name="sourcePort" type="inet:port-number"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The transport protocol port number of the
                        Exporter of the IPFIX Transport Session.
                        Note that this parameter corresponds to
                        ipfixTransportSessionSourcePort in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionSourcePort).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="destinationPort"
                    type="inet:port-number" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The transport protocol port number of the
                        Collector of the IPFIX Transport Session.
                        Note that this parameter corresponds to
                        ipfixTransportSessionDestinationPort in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionDestinationPort).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="sctpAssocId" type="xs:unsignedInt"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The association id used for the SCTP session
                        between the Exporter and the Collector of the IPFIX
                        Transport Session. It is equal to the sctpAssocId entry
                        in the sctpAssocTable defined in the SCTP-MIB.
                        This parameter is only available if the transport protocol
                        is SCTP and if an SNMP agent on the same Monitoring Device
                        enables access to the corresponding MIB objects in the
                        sctpAssocTable.
                        Note that this parameter corresponds to
                        ipfixTransportSessionSctpAssocId in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionSctpAssocId);
                            RFC3871</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="status"
                    type="transportSessionStatus" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Status of the Transport Session.
                        Note that this parameter corresponds to
                        ipfixTransportSessionStatus in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTransportSessionStatus).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="rate" type="yang:gauge32"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of bytes per second transmitted by the
                        Exporting Process or received by the Collecting Process.
                        This parameter is updated every second.
                        Note that this parameter corresponds to
                        ipfixTransportSessionRate in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>bytes per second</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTransportSessionRate).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="bytes" type="yang:counter64"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of bytes transmitted by the
                        Exporting Process or received by the Collecting Process.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        transportSessionDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTransportSessionBytes in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>bytes</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTransportSessionBytes).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="messages" type="yang:counter64"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of messages transmitted by the
                        Exporting Process or received by the Collecting Process.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        transportSessionDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTransportSessionMessages in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>IPFIX Messages</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionMessages).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="discardedMessages"
                    type="yang:counter64" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Used for Exporting Processes, this parameter
                        indicates the number of messages that could not be sent due
                        to internal buffer overflows, network congestion, routing
                        issues, etc. Used for Collecting Process, this parameter
                        indicates the number of received IPFIX Message that are
                        malformed, cannot be decoded, are received in the wrong
                        order or are missing according to the sequence number.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        transportSessionDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTransportSessionDiscardedMessages in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>IPFIX Messages</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionDiscardedMessages).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="records" type="yang:counter64"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of Data Records transmitted by the
                        Exporting Process or received by the Collecting Process.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        transportSessionDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTransportSessionRecords in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>Data Records</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionRecords).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templates" type="yang:counter32"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of Templates transmitted by the
                        Exporting Process or received by the Collecting Process.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        transportSessionDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTransportSessionTemplates in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>Templates</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionTemplates).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="optionsTemplates"
                    type="yang:counter32" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of Option Templates transmitted by the
                        Exporting Process or received by the Collecting Process.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        transportSessionDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTransportSessionOptionsTemplates in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>Options Templates</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionOptionsTemplates).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="transportSessionStartTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Timestamp of the start of the given Transport
                        Session.
                        This state parameter does not correspond to any object in
                        the IPFIX MIB module.</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="transportSessionDiscontinuityTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Timestamp of the most recent occasion at which
                        one or more of the Transport Session counters suffered a
                        discontinuity.
                        Note that this parameter functionally corresponds to
                        ipfixTransportSessionDiscontinuityTime in the IPFIX MIB
                        module. In contrast to
                        ipfixTransportSessionDiscontinuityTime, the time is
                        absolute and not relative to sysUpTime.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTransportSessionDiscontinuityTime).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="template" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>This list contains the Templates and Options
                        Templates that are transmitted by the Exporting Process
                        or received by the Collecting Process.
                        Withdrawn or invalidated (Options) Template MUST be removed
                        from this list.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="observationDomainId"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>The ID of the Observation Domain for which this
                              Template is defined.
                              Note that this parameter corresponds to
                              ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateObservationDomainId).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="templateId" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This number indicates the Template Id in the IPFIX
                              message.
                              Note that this parameter corresponds to ipfixTemplateId in
                              the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                          <xs:simpleType>
                            <xs:restriction base="xs:unsignedShort">
                              <xs:minInclusive value="256">
                                <xs:annotation>
                                  <xs:documentation>Valid range of Template IDs.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:reference>
                                      <ncx:text>RFC5101</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:minInclusive>
                            </xs:restriction>
                          </xs:simpleType>
                        </xs:element>
                        <xs:element name="setId"
                          type="xs:unsignedShort" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This number indicates the Set ID of the Template.
                              Currently, there are two values defined. The value 2 is used
                              for Sets containing Template definitions. The value 3 is
                              used for Sets containing Options Template definitions.
                              Note that this parameter corresponds to ipfixTemplateSetId
                              in the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="accessTime"
                          type="yang:date-and-time" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>Used for Exporting Processes, this parameter
                              contains the time when this (Options) Template was last
                              sent to the Collector(s) or written to the file.
                              Used for Collecting Processes, this parameter contains the
                              time when this (Options) Template was last received from the
                              Exporter or read from the file.
                              Note that this parameter corresponds to
                              ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="templateDataRecords"
                          type="yang:counter64" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>The number of transmitted or received Data
                              Records defined by this (Options) Template.
                              Discontinuities in the value of this counter can occur at
                              re-initialization of the management system, and at other
                              times as indicated by the value of
                              templateDiscontinuityTime.
                              Note that this parameter corresponds to
                              ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="templateDiscontinuityTime"
                          type="yang:date-and-time" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>Timestamp of the most recent occasion at which
                              the counter templateDataRecords suffered a discontinuity.
                              Note that this parameter functionally corresponds to
                              ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                              In contrast to ipfixTemplateDiscontinuityTime, the time
                              is absolute and not relative to sysUpTime.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDiscontinuityTime).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="field" minOccurs="0"
                          maxOccurs="unbounded">
                          <xs:annotation>
                            <xs:documentation>This list contains the (Options) Template
                              fields of which the (Options) Template is defined.
                              The order of the list corresponds to the order of the fields
                              in the (Option) Template Record.</xs:documentation>
                            <xs:appinfo>
                              <ncx:ordered-by>system</ncx:ordered-by>
                            </xs:appinfo>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="ieId" type="ieIdType"
                                minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>This parameter indicates the Information
                                    Element Id of the field.
                                    Note that this parameter corresponds to
                                    ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:reference>
                                      <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                        RFC5102.</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="ieLength"
                                type="xs:unsignedShort" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>This parameter indicates the length of the
                                    Information Element of the field.
                                    Note that this parameter corresponds to
                                    ipfixTemplateDefinitionIeLength in the IPFIX MIB
                                    module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:units>octets</ncx:units>
                                    <ncx:reference>
                                      <ncx:text>RFC5815, Section 8
                                        (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="ieEnterpriseNumber"
                                type="xs:unsignedInt" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>This parameter indicates the IANA enterprise
                                    number of the authority defining the Information Element
                                    Id.
                                    If the Information Element is not enterprise-specific,
                                    this state parameter is zero.
                                    Note that this parameter corresponds to
                                    ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                                    MIB module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:reference>
                                      <ncx:text>RFC5815, Section 8
                                        (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="isFlowKey"
                                minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>If present, this is a Flow Key field.
                                    Note that this corresponds to flowKey(1) being set in
                                    ipfixTemplateDefinitionFlags.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:when>../../setId = 2</ncx:when>
                                    <ncx:reference>
                                      <ncx:text>RFC5815, Section 8
                                        (ipfixTemplateDefinitionFlags).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="isScope" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>If present, this is a scope field.
                                    Note that this corresponds to scope(0) being set in
                                    ipfixTemplateDefinitionFlags.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:when>../../setId = 3</ncx:when>
                                    <ncx:reference>
                                      <ncx:text>RFC5815, Section 8
                                        (ipfixTemplateDefinitionFlags).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:any minOccurs="0"
                                maxOccurs="unbounded"
                                namespace="##other"
                                processContents="lax"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="localIPAddress" type="inet:ip-address"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>List of local IP addresses on which the Collecting
                  Process listens for IPFIX Messages.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                </xs:appinfo>
              </xs:annotation>
              <xs:simpleType>
                <xs:union
                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
              </xs:simpleType>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
        <xs:key name="tcpCollectorkey71">
          <xs:selector xpath="."/>
          <xs:field xpath="name"/>
        </xs:key>
      </xs:element>
      <xs:element name="fileReader" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>List of File Readers from which the Collecting
            Process reads IPFIX Messages.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="name" type="nameType">
              <xs:annotation>
                <xs:documentation>Key of this list.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="file" type="inet:uri">
              <xs:annotation>
                <xs:documentation>URI specifying the location of the file.</xs:documentation>
                <xs:appinfo>
                  <ncx:mandatory>true</ncx:mandatory>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="bytes" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of bytes read by the File Reader.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  fileReaderDiscontinuityTime.</xs:documentation>
                <xs:appinfo>
                  <ncx:config>false</ncx:config>
                  <ncx:units>octets</ncx:units>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="messages" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of IPFIX Messages read by the File
                  Reader.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  fileReaderDiscontinuityTime.</xs:documentation>
                <xs:appinfo>
                  <ncx:config>false</ncx:config>
                  <ncx:units>IPFIX Messages</ncx:units>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="records" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Data Records read by the File
                  Reader.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  fileReaderDiscontinuityTime.</xs:documentation>
                <xs:appinfo>
                  <ncx:config>false</ncx:config>
                  <ncx:units>Data Records</ncx:units>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="templates" type="yang:counter32"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Template Records (excluding
                  Options Template Records) read by the File Reader.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  fileReaderDiscontinuityTime.</xs:documentation>
                <xs:appinfo>
                  <ncx:config>false</ncx:config>
                  <ncx:units>Templates</ncx:units>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="optionsTemplates" type="yang:counter32"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Options Template Records read by
                  the File Reader.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  fileReaderDiscontinuityTime.</xs:documentation>
                <xs:appinfo>
                  <ncx:config>false</ncx:config>
                  <ncx:units>Options Templates</ncx:units>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="fileReaderDiscontinuityTime"
              type="yang:date-and-time" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Timestamp of the most recent occasion at which
                  one or more File Reader counters suffered a discontinuity.
                  In contrast to discontinuity times in the IPFIX MIB module,
                  the time is absolute and not relative to sysUpTime.</xs:documentation>
                <xs:appinfo>
                  <ncx:config>false</ncx:config>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="template" minOccurs="0"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>This list contains the Templates and Options
                  Templates that have been read by the File Reader.
                  Withdrawn or invalidated (Options) Template MUST be removed
                  from this list.</xs:documentation>
                <xs:appinfo>
                  <ncx:config>false</ncx:config>
                  <ncx:ordered-by>system</ncx:ordered-by>
                </xs:appinfo>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="observationDomainId"
                    type="xs:unsignedInt" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The ID of the Observation Domain for which this
                        Template is defined.
                        Note that this parameter corresponds to
                        ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateObservationDomainId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateId" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This number indicates the Template Id in the IPFIX
                        message.
                        Note that this parameter corresponds to ipfixTemplateId in
                        the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:unsignedShort">
                        <xs:minInclusive value="256">
                          <xs:annotation>
                            <xs:documentation>Valid range of Template IDs.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5101</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:minInclusive>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:element>
                  <xs:element name="setId" type="xs:unsignedShort"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This number indicates the Set ID of the Template.
                        Currently, there are two values defined. The value 2 is used
                        for Sets containing Template definitions. The value 3 is
                        used for Sets containing Options Template definitions.
                        Note that this parameter corresponds to ipfixTemplateSetId
                        in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="accessTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Used for Exporting Processes, this parameter
                        contains the time when this (Options) Template was last
                        sent to the Collector(s) or written to the file.
                        Used for Collecting Processes, this parameter contains the
                        time when this (Options) Template was last received from the
                        Exporter or read from the file.
                        Note that this parameter corresponds to
                        ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateDataRecords"
                    type="yang:counter64" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of transmitted or received Data
                        Records defined by this (Options) Template.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        templateDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateDiscontinuityTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Timestamp of the most recent occasion at which
                        the counter templateDataRecords suffered a discontinuity.
                        Note that this parameter functionally corresponds to
                        ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                        In contrast to ipfixTemplateDiscontinuityTime, the time
                        is absolute and not relative to sysUpTime.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateDiscontinuityTime).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="field" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>This list contains the (Options) Template
                        fields of which the (Options) Template is defined.
                        The order of the list corresponds to the order of the fields
                        in the (Option) Template Record.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="ieId" type="ieIdType"
                          minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the Information
                              Element Id of the field.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                  RFC5102.</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="ieLength"
                          type="xs:unsignedShort" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the length of the
                              Information Element of the field.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeLength in the IPFIX MIB
                              module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:units>octets</ncx:units>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="ieEnterpriseNumber"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the IANA enterprise
                              number of the authority defining the Information Element
                              Id.
                              If the Information Element is not enterprise-specific,
                              this state parameter is zero.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                              MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="isFlowKey" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>If present, this is a Flow Key field.
                              Note that this corresponds to flowKey(1) being set in
                              ipfixTemplateDefinitionFlags.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>../../setId = 2</ncx:when>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="isScope" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>If present, this is a scope field.
                              Note that this corresponds to scope(0) being set in
                              ipfixTemplateDefinitionFlags.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>../../setId = 3</ncx:when>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
        <xs:key name="fileReaderkey72">
          <xs:selector xpath="."/>
          <xs:field xpath="name"/>
        </xs:key>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="commonCollectorParameters">
    <xs:annotation>
      <xs:documentation>Parameters of a Collecting Process which are
        common to all transport protocols.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="localPort" type="inet:port-number"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>If not configured, the Monitoring Device uses the
            default port number for IPFIX, which is 4739 without
            transport layer security and 4740 if transport layer
            security is activated.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="transportLayerSecurity">
        <xs:annotation>
          <xs:documentation>Transport layer security configuration.</xs:documentation>
          <xs:appinfo>
            <ncx:presence>If transportLayerSecurity is present, DTLS is enabled
              if the transport protocol is SCTP or UDP, and TLS is enabled
              if the transport protocol is TCP.</ncx:presence>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="localCertificationAuthorityDN"
              type="xs:string" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names of certification authorities
                  whose certificates may be used to identify the local
                  endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="localSubjectDN" type="xs:string"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names which may be used in the
                  certificates to identify the local endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="localSubjectFQDN" type="inet:domain-name"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Fully qualified domain names which may be used to
                  in the certificates to identify the local endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteCertificationAuthorityDN"
              type="xs:string" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names of certification authorities
                  whose certificates are accepted to authorize remote
                  endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteSubjectDN" type="xs:string"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names which are accepted in
                  certificates to authorize remote endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteSubjectFQDN"
              type="inet:domain-name" minOccurs="0"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Fully qualified domain name which are accepted in
                  certificates to authorize remote endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="transportSession" minOccurs="0"
        maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>This list contains the currently established
            Transport Sessions terminating at the given socket.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:ordered-by>system</ncx:ordered-by>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ipfixVersion" type="xs:unsignedShort"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Used for Exporting Processes, this parameter
                  contains the version number of the IPFIX protocol that the
                  Exporter uses to export its data in this Transport Session.
                  Hence, it is identical to the value of the configuration
                  parameter ipfixVersion of the outer SctpExporter,
                  UdpExporter, or TcpExporter node.
                  Used for Collecting Processes, this parameter contains the
                  version number of the IPFIX protocol it receives for
                  this Transport Session. If IPFIX Messages of different
                  IPFIX protocol versions are received, this parameter
                  contains the maximum version number.
                  Note that this parameter corresponds to
                  ipfixTransportSessionIpfixVersion in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionIpfixVersion).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="sourceAddress" type="inet:ip-address"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The source address of the Exporter of the
                  IPFIX Transport Session.
                  If the transport protocol is SCTP, this is one of the
                  potentially many IP addresses of the Exporter.
                  Preferably, the source IP address of the path which is
                  usually selected by the Exporter to send IPFIX Messages to
                  the Collector SHOULD be used.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionSourceAddressType and
                  ipfixTransportSessionSourceAddress in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSourceAddressType,
                      ipfixTransportSessionSourceAddress);
                      RFC4960, Section 6.4.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
              <xs:simpleType>
                <xs:union
                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="destinationAddress"
              type="inet:ip-address" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The destination address of the Collector of
                  the IPFIX Transport Session.
                  If the transport protocol is SCTP, this is one of the
                  potentially many IP addresses of the Collector.
                  Preferably, the destination IP address of the path which is
                  usually selected by the Exporter to send IPFIX Messages to
                  the Collector SHOULD be used.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionDestinationAddressType and
                  ipfixTransportSessionDestinationAddress in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDestinationAddressType,
                      ipfixTransportSessionDestinationAddress);
                      RFC4960, Section 6.4.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
              <xs:simpleType>
                <xs:union
                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="sourcePort" type="inet:port-number"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The transport protocol port number of the
                  Exporter of the IPFIX Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionSourcePort in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSourcePort).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="destinationPort" type="inet:port-number"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The transport protocol port number of the
                  Collector of the IPFIX Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionDestinationPort in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDestinationPort).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="sctpAssocId" type="xs:unsignedInt"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The association id used for the SCTP session
                  between the Exporter and the Collector of the IPFIX
                  Transport Session. It is equal to the sctpAssocId entry
                  in the sctpAssocTable defined in the SCTP-MIB.
                  This parameter is only available if the transport protocol
                  is SCTP and if an SNMP agent on the same Monitoring Device
                  enables access to the corresponding MIB objects in the
                  sctpAssocTable.
                  Note that this parameter corresponds to
                  ipfixTransportSessionSctpAssocId in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSctpAssocId);
                      RFC3871</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="status" type="transportSessionStatus"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Status of the Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionStatus in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionStatus).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="rate" type="yang:gauge32" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of bytes per second transmitted by the
                  Exporting Process or received by the Collecting Process.
                  This parameter is updated every second.
                  Note that this parameter corresponds to
                  ipfixTransportSessionRate in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>bytes per second</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionRate).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="bytes" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of bytes transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionBytes in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>bytes</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionBytes).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="messages" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of messages transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionMessages in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>IPFIX Messages</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionMessages).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="discardedMessages" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Used for Exporting Processes, this parameter
                  indicates the number of messages that could not be sent due
                  to internal buffer overflows, network congestion, routing
                  issues, etc. Used for Collecting Process, this parameter
                  indicates the number of received IPFIX Message that are
                  malformed, cannot be decoded, are received in the wrong
                  order or are missing according to the sequence number.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionDiscardedMessages in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>IPFIX Messages</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDiscardedMessages).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="records" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Data Records transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionRecords in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Data Records</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionRecords).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="templates" type="yang:counter32"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Templates transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionTemplates in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Templates</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionTemplates).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="optionsTemplates" type="yang:counter32"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Option Templates transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionOptionsTemplates in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Options Templates</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionOptionsTemplates).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="transportSessionStartTime"
              type="yang:date-and-time" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Timestamp of the start of the given Transport
                  Session.
                  This state parameter does not correspond to any object in
                  the IPFIX MIB module.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="transportSessionDiscontinuityTime"
              type="yang:date-and-time" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Timestamp of the most recent occasion at which
                  one or more of the Transport Session counters suffered a
                  discontinuity.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionDiscontinuityTime in the IPFIX MIB
                  module. In contrast to
                  ipfixTransportSessionDiscontinuityTime, the time is
                  absolute and not relative to sysUpTime.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDiscontinuityTime).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="template" minOccurs="0"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>This list contains the Templates and Options
                  Templates that are transmitted by the Exporting Process
                  or received by the Collecting Process.
                  Withdrawn or invalidated (Options) Template MUST be removed
                  from this list.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                </xs:appinfo>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="observationDomainId"
                    type="xs:unsignedInt" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The ID of the Observation Domain for which this
                        Template is defined.
                        Note that this parameter corresponds to
                        ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateObservationDomainId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateId" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This number indicates the Template Id in the IPFIX
                        message.
                        Note that this parameter corresponds to ipfixTemplateId in
                        the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:unsignedShort">
                        <xs:minInclusive value="256">
                          <xs:annotation>
                            <xs:documentation>Valid range of Template IDs.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5101</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:minInclusive>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:element>
                  <xs:element name="setId" type="xs:unsignedShort"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This number indicates the Set ID of the Template.
                        Currently, there are two values defined. The value 2 is used
                        for Sets containing Template definitions. The value 3 is
                        used for Sets containing Options Template definitions.
                        Note that this parameter corresponds to ipfixTemplateSetId
                        in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="accessTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Used for Exporting Processes, this parameter
                        contains the time when this (Options) Template was last
                        sent to the Collector(s) or written to the file.
                        Used for Collecting Processes, this parameter contains the
                        time when this (Options) Template was last received from the
                        Exporter or read from the file.
                        Note that this parameter corresponds to
                        ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateDataRecords"
                    type="yang:counter64" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of transmitted or received Data
                        Records defined by this (Options) Template.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        templateDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateDiscontinuityTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Timestamp of the most recent occasion at which
                        the counter templateDataRecords suffered a discontinuity.
                        Note that this parameter functionally corresponds to
                        ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                        In contrast to ipfixTemplateDiscontinuityTime, the time
                        is absolute and not relative to sysUpTime.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateDiscontinuityTime).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="field" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>This list contains the (Options) Template
                        fields of which the (Options) Template is defined.
                        The order of the list corresponds to the order of the fields
                        in the (Option) Template Record.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="ieId" type="ieIdType"
                          minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the Information
                              Element Id of the field.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                  RFC5102.</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="ieLength"
                          type="xs:unsignedShort" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the length of the
                              Information Element of the field.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeLength in the IPFIX MIB
                              module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:units>octets</ncx:units>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="ieEnterpriseNumber"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the IANA enterprise
                              number of the authority defining the Information Element
                              Id.
                              If the Information Element is not enterprise-specific,
                              this state parameter is zero.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                              MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="isFlowKey" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>If present, this is a Flow Key field.
                              Note that this corresponds to flowKey(1) being set in
                              ipfixTemplateDefinitionFlags.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>../../setId = 2</ncx:when>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="isScope" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>If present, this is a scope field.
                              Note that this corresponds to scope(0) being set in
                              ipfixTemplateDefinitionFlags.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>../../setId = 3</ncx:when>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="sctpCollectorParameters">
    <xs:annotation>
      <xs:documentation>Parameters of a listening SCTP socket at a
        Collecting Process.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="localPort" type="inet:port-number"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>If not configured, the Monitoring Device uses the
            default port number for IPFIX, which is 4739 without
            transport layer security and 4740 if transport layer
            security is activated.</xs:documentation>
          <xs:appinfo>
            <ncx:config>true</ncx:config>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="transportLayerSecurity">
        <xs:annotation>
          <xs:documentation>Transport layer security configuration.</xs:documentation>
          <xs:appinfo>
            <ncx:config>true</ncx:config>
            <ncx:presence>If transportLayerSecurity is present, DTLS is enabled
              if the transport protocol is SCTP or UDP, and TLS is enabled
              if the transport protocol is TCP.</ncx:presence>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="localCertificationAuthorityDN"
              type="xs:string" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names of certification authorities
                  whose certificates may be used to identify the local
                  endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="localSubjectDN" type="xs:string"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names which may be used in the
                  certificates to identify the local endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="localSubjectFQDN" type="inet:domain-name"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Fully qualified domain names which may be used to
                  in the certificates to identify the local endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteCertificationAuthorityDN"
              type="xs:string" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names of certification authorities
                  whose certificates are accepted to authorize remote
                  endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteSubjectDN" type="xs:string"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names which are accepted in
                  certificates to authorize remote endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteSubjectFQDN"
              type="inet:domain-name" minOccurs="0"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Fully qualified domain name which are accepted in
                  certificates to authorize remote endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="transportSession" minOccurs="0"
        maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>This list contains the currently established
            Transport Sessions terminating at the given socket.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:ordered-by>system</ncx:ordered-by>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ipfixVersion" type="xs:unsignedShort"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Used for Exporting Processes, this parameter
                  contains the version number of the IPFIX protocol that the
                  Exporter uses to export its data in this Transport Session.
                  Hence, it is identical to the value of the configuration
                  parameter ipfixVersion of the outer SctpExporter,
                  UdpExporter, or TcpExporter node.
                  Used for Collecting Processes, this parameter contains the
                  version number of the IPFIX protocol it receives for
                  this Transport Session. If IPFIX Messages of different
                  IPFIX protocol versions are received, this parameter
                  contains the maximum version number.
                  Note that this parameter corresponds to
                  ipfixTransportSessionIpfixVersion in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionIpfixVersion).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="sourceAddress" type="inet:ip-address"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The source address of the Exporter of the
                  IPFIX Transport Session.
                  If the transport protocol is SCTP, this is one of the
                  potentially many IP addresses of the Exporter.
                  Preferably, the source IP address of the path which is
                  usually selected by the Exporter to send IPFIX Messages to
                  the Collector SHOULD be used.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionSourceAddressType and
                  ipfixTransportSessionSourceAddress in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSourceAddressType,
                      ipfixTransportSessionSourceAddress);
                      RFC4960, Section 6.4.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
              <xs:simpleType>
                <xs:union
                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="destinationAddress"
              type="inet:ip-address" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The destination address of the Collector of
                  the IPFIX Transport Session.
                  If the transport protocol is SCTP, this is one of the
                  potentially many IP addresses of the Collector.
                  Preferably, the destination IP address of the path which is
                  usually selected by the Exporter to send IPFIX Messages to
                  the Collector SHOULD be used.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionDestinationAddressType and
                  ipfixTransportSessionDestinationAddress in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDestinationAddressType,
                      ipfixTransportSessionDestinationAddress);
                      RFC4960, Section 6.4.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
              <xs:simpleType>
                <xs:union
                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="sourcePort" type="inet:port-number"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The transport protocol port number of the
                  Exporter of the IPFIX Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionSourcePort in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSourcePort).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="destinationPort" type="inet:port-number"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The transport protocol port number of the
                  Collector of the IPFIX Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionDestinationPort in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDestinationPort).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="sctpAssocId" type="xs:unsignedInt"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The association id used for the SCTP session
                  between the Exporter and the Collector of the IPFIX
                  Transport Session. It is equal to the sctpAssocId entry
                  in the sctpAssocTable defined in the SCTP-MIB.
                  This parameter is only available if the transport protocol
                  is SCTP and if an SNMP agent on the same Monitoring Device
                  enables access to the corresponding MIB objects in the
                  sctpAssocTable.
                  Note that this parameter corresponds to
                  ipfixTransportSessionSctpAssocId in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSctpAssocId);
                      RFC3871</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="status" type="transportSessionStatus"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Status of the Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionStatus in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionStatus).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="rate" type="yang:gauge32" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of bytes per second transmitted by the
                  Exporting Process or received by the Collecting Process.
                  This parameter is updated every second.
                  Note that this parameter corresponds to
                  ipfixTransportSessionRate in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>bytes per second</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionRate).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="bytes" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of bytes transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionBytes in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>bytes</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionBytes).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="messages" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of messages transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionMessages in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>IPFIX Messages</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionMessages).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="discardedMessages" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Used for Exporting Processes, this parameter
                  indicates the number of messages that could not be sent due
                  to internal buffer overflows, network congestion, routing
                  issues, etc. Used for Collecting Process, this parameter
                  indicates the number of received IPFIX Message that are
                  malformed, cannot be decoded, are received in the wrong
                  order or are missing according to the sequence number.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionDiscardedMessages in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>IPFIX Messages</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDiscardedMessages).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="records" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Data Records transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionRecords in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Data Records</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionRecords).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="templates" type="yang:counter32"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Templates transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionTemplates in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Templates</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionTemplates).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="optionsTemplates" type="yang:counter32"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Option Templates transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionOptionsTemplates in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Options Templates</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionOptionsTemplates).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="transportSessionStartTime"
              type="yang:date-and-time" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Timestamp of the start of the given Transport
                  Session.
                  This state parameter does not correspond to any object in
                  the IPFIX MIB module.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="transportSessionDiscontinuityTime"
              type="yang:date-and-time" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Timestamp of the most recent occasion at which
                  one or more of the Transport Session counters suffered a
                  discontinuity.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionDiscontinuityTime in the IPFIX MIB
                  module. In contrast to
                  ipfixTransportSessionDiscontinuityTime, the time is
                  absolute and not relative to sysUpTime.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDiscontinuityTime).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="template" minOccurs="0"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>This list contains the Templates and Options
                  Templates that are transmitted by the Exporting Process
                  or received by the Collecting Process.
                  Withdrawn or invalidated (Options) Template MUST be removed
                  from this list.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                </xs:appinfo>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="observationDomainId"
                    type="xs:unsignedInt" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The ID of the Observation Domain for which this
                        Template is defined.
                        Note that this parameter corresponds to
                        ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateObservationDomainId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateId" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This number indicates the Template Id in the IPFIX
                        message.
                        Note that this parameter corresponds to ipfixTemplateId in
                        the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:unsignedShort">
                        <xs:minInclusive value="256">
                          <xs:annotation>
                            <xs:documentation>Valid range of Template IDs.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5101</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:minInclusive>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:element>
                  <xs:element name="setId" type="xs:unsignedShort"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This number indicates the Set ID of the Template.
                        Currently, there are two values defined. The value 2 is used
                        for Sets containing Template definitions. The value 3 is
                        used for Sets containing Options Template definitions.
                        Note that this parameter corresponds to ipfixTemplateSetId
                        in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="accessTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Used for Exporting Processes, this parameter
                        contains the time when this (Options) Template was last
                        sent to the Collector(s) or written to the file.
                        Used for Collecting Processes, this parameter contains the
                        time when this (Options) Template was last received from the
                        Exporter or read from the file.
                        Note that this parameter corresponds to
                        ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateDataRecords"
                    type="yang:counter64" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of transmitted or received Data
                        Records defined by this (Options) Template.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        templateDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateDiscontinuityTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Timestamp of the most recent occasion at which
                        the counter templateDataRecords suffered a discontinuity.
                        Note that this parameter functionally corresponds to
                        ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                        In contrast to ipfixTemplateDiscontinuityTime, the time
                        is absolute and not relative to sysUpTime.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateDiscontinuityTime).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="field" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>This list contains the (Options) Template
                        fields of which the (Options) Template is defined.
                        The order of the list corresponds to the order of the fields
                        in the (Option) Template Record.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="ieId" type="ieIdType"
                          minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the Information
                              Element Id of the field.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                  RFC5102.</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="ieLength"
                          type="xs:unsignedShort" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the length of the
                              Information Element of the field.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeLength in the IPFIX MIB
                              module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:units>octets</ncx:units>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="ieEnterpriseNumber"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the IANA enterprise
                              number of the authority defining the Information Element
                              Id.
                              If the Information Element is not enterprise-specific,
                              this state parameter is zero.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                              MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="isFlowKey" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>If present, this is a Flow Key field.
                              Note that this corresponds to flowKey(1) being set in
                              ipfixTemplateDefinitionFlags.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>../../setId = 2</ncx:when>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="isScope" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>If present, this is a scope field.
                              Note that this corresponds to scope(0) being set in
                              ipfixTemplateDefinitionFlags.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>../../setId = 3</ncx:when>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="localIPAddress" type="inet:ip-address"
        minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>List of local IP addresses on which the
            Collecting Process listens for IPFIX Messages. The IP
            addresses are used as eligible local IP addresses of the
            multi-homed SCTP endpoint.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
            <ncx:reference>
              <ncx:text>RFC 4960, Section 6.4.</ncx:text>
              <ncx:url>http://www.ietf.org/rfc/rfc4960.txt</ncx:url>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
        </xs:simpleType>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="udpCollectorParameters">
    <xs:annotation>
      <xs:documentation>Parameters of a listening UDP socket at a
        Collecting Process.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="localPort" type="inet:port-number"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>If not configured, the Monitoring Device uses the
            default port number for IPFIX, which is 4739 without
            transport layer security and 4740 if transport layer
            security is activated.</xs:documentation>
          <xs:appinfo>
            <ncx:config>true</ncx:config>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="transportLayerSecurity">
        <xs:annotation>
          <xs:documentation>Transport layer security configuration.</xs:documentation>
          <xs:appinfo>
            <ncx:config>true</ncx:config>
            <ncx:presence>If transportLayerSecurity is present, DTLS is enabled
              if the transport protocol is SCTP or UDP, and TLS is enabled
              if the transport protocol is TCP.</ncx:presence>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="localCertificationAuthorityDN"
              type="xs:string" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names of certification authorities
                  whose certificates may be used to identify the local
                  endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="localSubjectDN" type="xs:string"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names which may be used in the
                  certificates to identify the local endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="localSubjectFQDN" type="inet:domain-name"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Fully qualified domain names which may be used to
                  in the certificates to identify the local endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteCertificationAuthorityDN"
              type="xs:string" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names of certification authorities
                  whose certificates are accepted to authorize remote
                  endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteSubjectDN" type="xs:string"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names which are accepted in
                  certificates to authorize remote endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteSubjectFQDN"
              type="inet:domain-name" minOccurs="0"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Fully qualified domain name which are accepted in
                  certificates to authorize remote endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="transportSession" minOccurs="0"
        maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>This list contains the currently established
            Transport Sessions terminating at the given socket.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:ordered-by>system</ncx:ordered-by>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ipfixVersion" type="xs:unsignedShort"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Used for Exporting Processes, this parameter
                  contains the version number of the IPFIX protocol that the
                  Exporter uses to export its data in this Transport Session.
                  Hence, it is identical to the value of the configuration
                  parameter ipfixVersion of the outer SctpExporter,
                  UdpExporter, or TcpExporter node.
                  Used for Collecting Processes, this parameter contains the
                  version number of the IPFIX protocol it receives for
                  this Transport Session. If IPFIX Messages of different
                  IPFIX protocol versions are received, this parameter
                  contains the maximum version number.
                  Note that this parameter corresponds to
                  ipfixTransportSessionIpfixVersion in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionIpfixVersion).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="sourceAddress" type="inet:ip-address"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The source address of the Exporter of the
                  IPFIX Transport Session.
                  If the transport protocol is SCTP, this is one of the
                  potentially many IP addresses of the Exporter.
                  Preferably, the source IP address of the path which is
                  usually selected by the Exporter to send IPFIX Messages to
                  the Collector SHOULD be used.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionSourceAddressType and
                  ipfixTransportSessionSourceAddress in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSourceAddressType,
                      ipfixTransportSessionSourceAddress);
                      RFC4960, Section 6.4.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
              <xs:simpleType>
                <xs:union
                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="destinationAddress"
              type="inet:ip-address" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The destination address of the Collector of
                  the IPFIX Transport Session.
                  If the transport protocol is SCTP, this is one of the
                  potentially many IP addresses of the Collector.
                  Preferably, the destination IP address of the path which is
                  usually selected by the Exporter to send IPFIX Messages to
                  the Collector SHOULD be used.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionDestinationAddressType and
                  ipfixTransportSessionDestinationAddress in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDestinationAddressType,
                      ipfixTransportSessionDestinationAddress);
                      RFC4960, Section 6.4.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
              <xs:simpleType>
                <xs:union
                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="sourcePort" type="inet:port-number"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The transport protocol port number of the
                  Exporter of the IPFIX Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionSourcePort in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSourcePort).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="destinationPort" type="inet:port-number"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The transport protocol port number of the
                  Collector of the IPFIX Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionDestinationPort in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDestinationPort).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="sctpAssocId" type="xs:unsignedInt"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The association id used for the SCTP session
                  between the Exporter and the Collector of the IPFIX
                  Transport Session. It is equal to the sctpAssocId entry
                  in the sctpAssocTable defined in the SCTP-MIB.
                  This parameter is only available if the transport protocol
                  is SCTP and if an SNMP agent on the same Monitoring Device
                  enables access to the corresponding MIB objects in the
                  sctpAssocTable.
                  Note that this parameter corresponds to
                  ipfixTransportSessionSctpAssocId in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSctpAssocId);
                      RFC3871</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="status" type="transportSessionStatus"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Status of the Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionStatus in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionStatus).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="rate" type="yang:gauge32" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of bytes per second transmitted by the
                  Exporting Process or received by the Collecting Process.
                  This parameter is updated every second.
                  Note that this parameter corresponds to
                  ipfixTransportSessionRate in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>bytes per second</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionRate).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="bytes" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of bytes transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionBytes in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>bytes</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionBytes).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="messages" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of messages transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionMessages in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>IPFIX Messages</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionMessages).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="discardedMessages" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Used for Exporting Processes, this parameter
                  indicates the number of messages that could not be sent due
                  to internal buffer overflows, network congestion, routing
                  issues, etc. Used for Collecting Process, this parameter
                  indicates the number of received IPFIX Message that are
                  malformed, cannot be decoded, are received in the wrong
                  order or are missing according to the sequence number.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionDiscardedMessages in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>IPFIX Messages</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDiscardedMessages).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="records" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Data Records transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionRecords in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Data Records</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionRecords).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="templates" type="yang:counter32"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Templates transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionTemplates in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Templates</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionTemplates).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="optionsTemplates" type="yang:counter32"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Option Templates transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionOptionsTemplates in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Options Templates</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionOptionsTemplates).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="transportSessionStartTime"
              type="yang:date-and-time" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Timestamp of the start of the given Transport
                  Session.
                  This state parameter does not correspond to any object in
                  the IPFIX MIB module.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="transportSessionDiscontinuityTime"
              type="yang:date-and-time" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Timestamp of the most recent occasion at which
                  one or more of the Transport Session counters suffered a
                  discontinuity.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionDiscontinuityTime in the IPFIX MIB
                  module. In contrast to
                  ipfixTransportSessionDiscontinuityTime, the time is
                  absolute and not relative to sysUpTime.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDiscontinuityTime).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="template" minOccurs="0"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>This list contains the Templates and Options
                  Templates that are transmitted by the Exporting Process
                  or received by the Collecting Process.
                  Withdrawn or invalidated (Options) Template MUST be removed
                  from this list.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                </xs:appinfo>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="observationDomainId"
                    type="xs:unsignedInt" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The ID of the Observation Domain for which this
                        Template is defined.
                        Note that this parameter corresponds to
                        ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateObservationDomainId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateId" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This number indicates the Template Id in the IPFIX
                        message.
                        Note that this parameter corresponds to ipfixTemplateId in
                        the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:unsignedShort">
                        <xs:minInclusive value="256">
                          <xs:annotation>
                            <xs:documentation>Valid range of Template IDs.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5101</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:minInclusive>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:element>
                  <xs:element name="setId" type="xs:unsignedShort"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This number indicates the Set ID of the Template.
                        Currently, there are two values defined. The value 2 is used
                        for Sets containing Template definitions. The value 3 is
                        used for Sets containing Options Template definitions.
                        Note that this parameter corresponds to ipfixTemplateSetId
                        in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="accessTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Used for Exporting Processes, this parameter
                        contains the time when this (Options) Template was last
                        sent to the Collector(s) or written to the file.
                        Used for Collecting Processes, this parameter contains the
                        time when this (Options) Template was last received from the
                        Exporter or read from the file.
                        Note that this parameter corresponds to
                        ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateDataRecords"
                    type="yang:counter64" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of transmitted or received Data
                        Records defined by this (Options) Template.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        templateDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateDiscontinuityTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Timestamp of the most recent occasion at which
                        the counter templateDataRecords suffered a discontinuity.
                        Note that this parameter functionally corresponds to
                        ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                        In contrast to ipfixTemplateDiscontinuityTime, the time
                        is absolute and not relative to sysUpTime.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateDiscontinuityTime).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="field" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>This list contains the (Options) Template
                        fields of which the (Options) Template is defined.
                        The order of the list corresponds to the order of the fields
                        in the (Option) Template Record.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="ieId" type="ieIdType"
                          minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the Information
                              Element Id of the field.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                  RFC5102.</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="ieLength"
                          type="xs:unsignedShort" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the length of the
                              Information Element of the field.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeLength in the IPFIX MIB
                              module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:units>octets</ncx:units>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="ieEnterpriseNumber"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the IANA enterprise
                              number of the authority defining the Information Element
                              Id.
                              If the Information Element is not enterprise-specific,
                              this state parameter is zero.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                              MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="isFlowKey" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>If present, this is a Flow Key field.
                              Note that this corresponds to flowKey(1) being set in
                              ipfixTemplateDefinitionFlags.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>../../setId = 2</ncx:when>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="isScope" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>If present, this is a scope field.
                              Note that this corresponds to scope(0) being set in
                              ipfixTemplateDefinitionFlags.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>../../setId = 3</ncx:when>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="localIPAddress" type="inet:ip-address"
        minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>List of local IP addresses on which the Collecting
            Process listens for IPFIX Messages.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
          </xs:appinfo>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
        </xs:simpleType>
      </xs:element>
      <xs:element name="templateLifeTime" type="xs:unsignedInt"
        default="1800" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Sets the lifetime of Templates for all UDP
            Transport Sessions terminating at this UDP socket.
            Templates which are not received again within the configured
            lifetime become invalid at the Collecting Process.
            As specified in RFC5101, the Template lifetime MUST be at
            least three times higher than the templateRefreshTimeout
            parameter value configured on the corresponding Exporting
            Processes.
            Note that this parameter corresponds to
            ipfixTransportSessionTemplateRefreshTimeout in the IPFIX
            MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:units>seconds</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5101, Section 10.3.7; RFC5815, Section 8
                (ipfixTransportSessionTemplateRefreshTimeout).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="optionsTemplateLifeTime" type="xs:unsignedInt"
        default="1800" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Sets the lifetime of Options Templates for all
            UDP Transport Sessions terminating at this UDP socket.
            Options Templates which are not received again within the
            configured lifetime become invalid at the Collecting
            Process.
            As specified in RFC5101, the Options Template lifetime MUST
            be at least three times higher than the
            optionsTemplateRefreshTimeout parameter value configured on
            the corresponding Exporting Processes.
            Note that this parameter corresponds to
            ipfixTransportSessionOptionsTemplateRefreshTimeout in the
            IPFIX MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:units>seconds</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5101, Section 10.3.7; RFC5815, Section 8
                (ipfixTransportSessionOptionsTemplateRefreshTimeout).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="templateLifePacket" type="xs:unsignedInt"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>If this parameter is configured, Templates
            defined in a UDP Transport Session become invalid if they
            are neither included in a sequence of more than this number
            of IPFIX Messages nor received again within the period of
            time specified by templateLifeTime.
            Note that this parameter corresponds to
            ipfixTransportSessionTemplateRefreshPacket in the IPFIX
            MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:units>IPFIX Messages</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5101, Section 10.3.7; RFC5815, Section 8
                (ipfixTransportSessionTemplateRefreshPacket).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="optionsTemplateLifePacket"
        type="xs:unsignedInt" minOccurs="0">
        <xs:annotation>
          <xs:documentation>If this parameter is configured, Options
            Templates defined in a UDP Transport Session become
            invalid if they are neither included in a sequence of more
            than this number of IPFIX Messages nor received again
            within the period of time specified by
            optionsTemplateLifeTime.
            Note that this parameter corresponds to
            ipfixTransportSessionOptionsTemplateRefreshPacket in the
            IPFIX MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:units>IPFIX Messages</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5101, Section 10.3.7; RFC5815, Section 8
                (ipfixTransportSessionOptionsTemplateRefreshPacket).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="tcpCollectorParameters">
    <xs:annotation>
      <xs:documentation>Parameters of a listening TCP socket at a
        Collecting Process.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="localPort" type="inet:port-number"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>If not configured, the Monitoring Device uses the
            default port number for IPFIX, which is 4739 without
            transport layer security and 4740 if transport layer
            security is activated.</xs:documentation>
          <xs:appinfo>
            <ncx:config>true</ncx:config>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="transportLayerSecurity">
        <xs:annotation>
          <xs:documentation>Transport layer security configuration.</xs:documentation>
          <xs:appinfo>
            <ncx:config>true</ncx:config>
            <ncx:presence>If transportLayerSecurity is present, DTLS is enabled
              if the transport protocol is SCTP or UDP, and TLS is enabled
              if the transport protocol is TCP.</ncx:presence>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="localCertificationAuthorityDN"
              type="xs:string" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names of certification authorities
                  whose certificates may be used to identify the local
                  endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="localSubjectDN" type="xs:string"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names which may be used in the
                  certificates to identify the local endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="localSubjectFQDN" type="inet:domain-name"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Fully qualified domain names which may be used to
                  in the certificates to identify the local endpoint.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteCertificationAuthorityDN"
              type="xs:string" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names of certification authorities
                  whose certificates are accepted to authorize remote
                  endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteSubjectDN" type="xs:string"
              minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Distinguished names which are accepted in
                  certificates to authorize remote endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="remoteSubjectFQDN"
              type="inet:domain-name" minOccurs="0"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Fully qualified domain name which are accepted in
                  certificates to authorize remote endpoints.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                  <ncx:reference>
                    <ncx:text>RFC5280.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="transportSession" minOccurs="0"
        maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>This list contains the currently established
            Transport Sessions terminating at the given socket.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:ordered-by>system</ncx:ordered-by>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ipfixVersion" type="xs:unsignedShort"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Used for Exporting Processes, this parameter
                  contains the version number of the IPFIX protocol that the
                  Exporter uses to export its data in this Transport Session.
                  Hence, it is identical to the value of the configuration
                  parameter ipfixVersion of the outer SctpExporter,
                  UdpExporter, or TcpExporter node.
                  Used for Collecting Processes, this parameter contains the
                  version number of the IPFIX protocol it receives for
                  this Transport Session. If IPFIX Messages of different
                  IPFIX protocol versions are received, this parameter
                  contains the maximum version number.
                  Note that this parameter corresponds to
                  ipfixTransportSessionIpfixVersion in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionIpfixVersion).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="sourceAddress" type="inet:ip-address"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The source address of the Exporter of the
                  IPFIX Transport Session.
                  If the transport protocol is SCTP, this is one of the
                  potentially many IP addresses of the Exporter.
                  Preferably, the source IP address of the path which is
                  usually selected by the Exporter to send IPFIX Messages to
                  the Collector SHOULD be used.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionSourceAddressType and
                  ipfixTransportSessionSourceAddress in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSourceAddressType,
                      ipfixTransportSessionSourceAddress);
                      RFC4960, Section 6.4.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
              <xs:simpleType>
                <xs:union
                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="destinationAddress"
              type="inet:ip-address" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The destination address of the Collector of
                  the IPFIX Transport Session.
                  If the transport protocol is SCTP, this is one of the
                  potentially many IP addresses of the Collector.
                  Preferably, the destination IP address of the path which is
                  usually selected by the Exporter to send IPFIX Messages to
                  the Collector SHOULD be used.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionDestinationAddressType and
                  ipfixTransportSessionDestinationAddress in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDestinationAddressType,
                      ipfixTransportSessionDestinationAddress);
                      RFC4960, Section 6.4.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
              <xs:simpleType>
                <xs:union
                  memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="sourcePort" type="inet:port-number"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The transport protocol port number of the
                  Exporter of the IPFIX Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionSourcePort in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSourcePort).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="destinationPort" type="inet:port-number"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The transport protocol port number of the
                  Collector of the IPFIX Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionDestinationPort in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDestinationPort).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="sctpAssocId" type="xs:unsignedInt"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The association id used for the SCTP session
                  between the Exporter and the Collector of the IPFIX
                  Transport Session. It is equal to the sctpAssocId entry
                  in the sctpAssocTable defined in the SCTP-MIB.
                  This parameter is only available if the transport protocol
                  is SCTP and if an SNMP agent on the same Monitoring Device
                  enables access to the corresponding MIB objects in the
                  sctpAssocTable.
                  Note that this parameter corresponds to
                  ipfixTransportSessionSctpAssocId in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionSctpAssocId);
                      RFC3871</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="status" type="transportSessionStatus"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Status of the Transport Session.
                  Note that this parameter corresponds to
                  ipfixTransportSessionStatus in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionStatus).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="rate" type="yang:gauge32" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of bytes per second transmitted by the
                  Exporting Process or received by the Collecting Process.
                  This parameter is updated every second.
                  Note that this parameter corresponds to
                  ipfixTransportSessionRate in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>bytes per second</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionRate).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="bytes" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of bytes transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionBytes in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>bytes</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTransportSessionBytes).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="messages" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of messages transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionMessages in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>IPFIX Messages</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionMessages).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="discardedMessages" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Used for Exporting Processes, this parameter
                  indicates the number of messages that could not be sent due
                  to internal buffer overflows, network congestion, routing
                  issues, etc. Used for Collecting Process, this parameter
                  indicates the number of received IPFIX Message that are
                  malformed, cannot be decoded, are received in the wrong
                  order or are missing according to the sequence number.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionDiscardedMessages in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>IPFIX Messages</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDiscardedMessages).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="records" type="yang:counter64"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Data Records transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionRecords in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Data Records</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionRecords).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="templates" type="yang:counter32"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Templates transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionTemplates in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Templates</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionTemplates).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="optionsTemplates" type="yang:counter32"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of Option Templates transmitted by the
                  Exporting Process or received by the Collecting Process.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  transportSessionDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTransportSessionOptionsTemplates in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>Options Templates</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionOptionsTemplates).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="transportSessionStartTime"
              type="yang:date-and-time" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Timestamp of the start of the given Transport
                  Session.
                  This state parameter does not correspond to any object in
                  the IPFIX MIB module.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="transportSessionDiscontinuityTime"
              type="yang:date-and-time" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Timestamp of the most recent occasion at which
                  one or more of the Transport Session counters suffered a
                  discontinuity.
                  Note that this parameter functionally corresponds to
                  ipfixTransportSessionDiscontinuityTime in the IPFIX MIB
                  module. In contrast to
                  ipfixTransportSessionDiscontinuityTime, the time is
                  absolute and not relative to sysUpTime.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTransportSessionDiscontinuityTime).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="template" minOccurs="0"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>This list contains the Templates and Options
                  Templates that are transmitted by the Exporting Process
                  or received by the Collecting Process.
                  Withdrawn or invalidated (Options) Template MUST be removed
                  from this list.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                </xs:appinfo>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="observationDomainId"
                    type="xs:unsignedInt" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The ID of the Observation Domain for which this
                        Template is defined.
                        Note that this parameter corresponds to
                        ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateObservationDomainId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateId" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This number indicates the Template Id in the IPFIX
                        message.
                        Note that this parameter corresponds to ipfixTemplateId in
                        the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:unsignedShort">
                        <xs:minInclusive value="256">
                          <xs:annotation>
                            <xs:documentation>Valid range of Template IDs.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5101</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:minInclusive>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:element>
                  <xs:element name="setId" type="xs:unsignedShort"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This number indicates the Set ID of the Template.
                        Currently, there are two values defined. The value 2 is used
                        for Sets containing Template definitions. The value 3 is
                        used for Sets containing Options Template definitions.
                        Note that this parameter corresponds to ipfixTemplateSetId
                        in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="accessTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Used for Exporting Processes, this parameter
                        contains the time when this (Options) Template was last
                        sent to the Collector(s) or written to the file.
                        Used for Collecting Processes, this parameter contains the
                        time when this (Options) Template was last received from the
                        Exporter or read from the file.
                        Note that this parameter corresponds to
                        ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateDataRecords"
                    type="yang:counter64" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>The number of transmitted or received Data
                        Records defined by this (Options) Template.
                        Discontinuities in the value of this counter can occur at
                        re-initialization of the management system, and at other
                        times as indicated by the value of
                        templateDiscontinuityTime.
                        Note that this parameter corresponds to
                        ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="templateDiscontinuityTime"
                    type="yang:date-and-time" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Timestamp of the most recent occasion at which
                        the counter templateDataRecords suffered a discontinuity.
                        Note that this parameter functionally corresponds to
                        ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                        In contrast to ipfixTemplateDiscontinuityTime, the time
                        is absolute and not relative to sysUpTime.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateDiscontinuityTime).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="field" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>This list contains the (Options) Template
                        fields of which the (Options) Template is defined.
                        The order of the list corresponds to the order of the fields
                        in the (Option) Template Record.</xs:documentation>
                      <xs:appinfo>
                        <ncx:ordered-by>system</ncx:ordered-by>
                      </xs:appinfo>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="ieId" type="ieIdType"
                          minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the Information
                              Element Id of the field.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                  RFC5102.</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="ieLength"
                          type="xs:unsignedShort" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the length of the
                              Information Element of the field.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeLength in the IPFIX MIB
                              module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:units>octets</ncx:units>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="ieEnterpriseNumber"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter indicates the IANA enterprise
                              number of the authority defining the Information Element
                              Id.
                              If the Information Element is not enterprise-specific,
                              this state parameter is zero.
                              Note that this parameter corresponds to
                              ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                              MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="isFlowKey" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>If present, this is a Flow Key field.
                              Note that this corresponds to flowKey(1) being set in
                              ipfixTemplateDefinitionFlags.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>../../setId = 2</ncx:when>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="isScope" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>If present, this is a scope field.
                              Note that this corresponds to scope(0) being set in
                              ipfixTemplateDefinitionFlags.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>../../setId = 3</ncx:when>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixTemplateDefinitionFlags).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="localIPAddress" type="inet:ip-address"
        minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>List of local IP addresses on which the Collecting
            Process listens for IPFIX Messages.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
          </xs:appinfo>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
        </xs:simpleType>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="fileReaderParameters">
    <xs:annotation>
      <xs:documentation>File Reader parameters.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="file" type="inet:uri">
        <xs:annotation>
          <xs:documentation>URI specifying the location of the file.</xs:documentation>
          <xs:appinfo>
            <ncx:mandatory>true</ncx:mandatory>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="bytes" type="yang:counter64" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The number of bytes read by the File Reader.
            Discontinuities in the value of this counter can occur at
            re-initialization of the management system, and at other
            times as indicated by the value of
            fileReaderDiscontinuityTime.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:units>octets</ncx:units>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="messages" type="yang:counter64" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The number of IPFIX Messages read by the File
            Reader.
            Discontinuities in the value of this counter can occur at
            re-initialization of the management system, and at other
            times as indicated by the value of
            fileReaderDiscontinuityTime.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:units>IPFIX Messages</ncx:units>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="records" type="yang:counter64" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The number of Data Records read by the File
            Reader.
            Discontinuities in the value of this counter can occur at
            re-initialization of the management system, and at other
            times as indicated by the value of
            fileReaderDiscontinuityTime.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:units>Data Records</ncx:units>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="templates" type="yang:counter32" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The number of Template Records (excluding
            Options Template Records) read by the File Reader.
            Discontinuities in the value of this counter can occur at
            re-initialization of the management system, and at other
            times as indicated by the value of
            fileReaderDiscontinuityTime.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:units>Templates</ncx:units>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="optionsTemplates" type="yang:counter32"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>The number of Options Template Records read by
            the File Reader.
            Discontinuities in the value of this counter can occur at
            re-initialization of the management system, and at other
            times as indicated by the value of
            fileReaderDiscontinuityTime.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:units>Options Templates</ncx:units>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="fileReaderDiscontinuityTime"
        type="yang:date-and-time" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Timestamp of the most recent occasion at which
            one or more File Reader counters suffered a discontinuity.
            In contrast to discontinuity times in the IPFIX MIB module,
            the time is absolute and not relative to sysUpTime.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="template" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>This list contains the Templates and Options
            Templates that have been read by the File Reader.
            Withdrawn or invalidated (Options) Template MUST be removed
            from this list.</xs:documentation>
          <xs:appinfo>
            <ncx:config>false</ncx:config>
            <ncx:ordered-by>system</ncx:ordered-by>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="observationDomainId"
              type="xs:unsignedInt" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The ID of the Observation Domain for which this
                  Template is defined.
                  Note that this parameter corresponds to
                  ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTemplateObservationDomainId).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="templateId" minOccurs="0">
              <xs:annotation>
                <xs:documentation>This number indicates the Template Id in the IPFIX
                  message.
                  Note that this parameter corresponds to ipfixTemplateId in
                  the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:unsignedShort">
                  <xs:minInclusive value="256">
                    <xs:annotation>
                      <xs:documentation>Valid range of Template IDs.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5101</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:minInclusive>
                </xs:restriction>
              </xs:simpleType>
            </xs:element>
            <xs:element name="setId" type="xs:unsignedShort"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>This number indicates the Set ID of the Template.
                  Currently, there are two values defined. The value 2 is used
                  for Sets containing Template definitions. The value 3 is
                  used for Sets containing Options Template definitions.
                  Note that this parameter corresponds to ipfixTemplateSetId
                  in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="accessTime" type="yang:date-and-time"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Used for Exporting Processes, this parameter
                  contains the time when this (Options) Template was last
                  sent to the Collector(s) or written to the file.
                  Used for Collecting Processes, this parameter contains the
                  time when this (Options) Template was last received from the
                  Exporter or read from the file.
                  Note that this parameter corresponds to
                  ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="templateDataRecords"
              type="yang:counter64" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of transmitted or received Data
                  Records defined by this (Options) Template.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  templateDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="templateDiscontinuityTime"
              type="yang:date-and-time" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Timestamp of the most recent occasion at which
                  the counter templateDataRecords suffered a discontinuity.
                  Note that this parameter functionally corresponds to
                  ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                  In contrast to ipfixTemplateDiscontinuityTime, the time
                  is absolute and not relative to sysUpTime.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTemplateDiscontinuityTime).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="field" minOccurs="0"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>This list contains the (Options) Template
                  fields of which the (Options) Template is defined.
                  The order of the list corresponds to the order of the fields
                  in the (Option) Template Record.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                </xs:appinfo>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="ieId" type="ieIdType" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This parameter indicates the Information
                        Element Id of the field.
                        Note that this parameter corresponds to
                        ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                            RFC5102.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="ieLength" type="xs:unsignedShort"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This parameter indicates the length of the
                        Information Element of the field.
                        Note that this parameter corresponds to
                        ipfixTemplateDefinitionIeLength in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>octets</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="ieEnterpriseNumber"
                    type="xs:unsignedInt" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This parameter indicates the IANA enterprise
                        number of the authority defining the Information Element
                        Id.
                        If the Information Element is not enterprise-specific,
                        this state parameter is zero.
                        Note that this parameter corresponds to
                        ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                        MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="isFlowKey" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>If present, this is a Flow Key field.
                        Note that this corresponds to flowKey(1) being set in
                        ipfixTemplateDefinitionFlags.</xs:documentation>
                      <xs:appinfo>
                        <ncx:when>../../setId = 2</ncx:when>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateDefinitionFlags).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="isScope" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>If present, this is a scope field.
                        Note that this corresponds to scope(0) being set in
                        ipfixTemplateDefinitionFlags.</xs:documentation>
                      <xs:appinfo>
                        <ncx:when>../../setId = 3</ncx:when>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateDefinitionFlags).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="transportLayerSecurityParameters">
    <xs:annotation>
      <xs:documentation>Transport layer security parameters.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="localCertificationAuthorityDN" type="xs:string"
        minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Distinguished names of certification authorities
            whose certificates may be used to identify the local
            endpoint.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
            <ncx:reference>
              <ncx:text>RFC5280.</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="localSubjectDN" type="xs:string" minOccurs="0"
        maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Distinguished names which may be used in the
            certificates to identify the local endpoint.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
            <ncx:reference>
              <ncx:text>RFC5280.</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="localSubjectFQDN" type="inet:domain-name"
        minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Fully qualified domain names which may be used to
            in the certificates to identify the local endpoint.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
            <ncx:reference>
              <ncx:text>RFC5280.</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="remoteCertificationAuthorityDN"
        type="xs:string" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Distinguished names of certification authorities
            whose certificates are accepted to authorize remote
            endpoints.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
            <ncx:reference>
              <ncx:text>RFC5280.</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="remoteSubjectDN" type="xs:string" minOccurs="0"
        maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Distinguished names which are accepted in
            certificates to authorize remote endpoints.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
            <ncx:reference>
              <ncx:text>RFC5280.</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="remoteSubjectFQDN" type="inet:domain-name"
        minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Fully qualified domain name which are accepted in
            certificates to authorize remote endpoints.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
            <ncx:reference>
              <ncx:text>RFC5280.</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="templateParameters">
    <xs:annotation>
      <xs:documentation>State parameters of a Template used by an Exporting
        Process or received by a Collecting Process in a specific
        Transport Session. Parameter names and semantics correspond to
        the managed objects in IPFIX-MIB</xs:documentation>
      <xs:appinfo>
        <ncx:reference>
          <ncx:text>RFC5101; RFC5815, Section 8 (ipfixTemplateEntry,
            ipfixTemplateDefinitionEntry, ipfixTemplateStatsEntry)</ncx:text>
        </ncx:reference>
      </xs:appinfo>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="observationDomainId" type="xs:unsignedInt"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>The ID of the Observation Domain for which this
            Template is defined.
            Note that this parameter corresponds to
            ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8
                (ipfixTemplateObservationDomainId).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="templateId" minOccurs="0">
        <xs:annotation>
          <xs:documentation>This number indicates the Template Id in the IPFIX
            message.
            Note that this parameter corresponds to ipfixTemplateId in
            the IPFIX MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:unsignedShort">
            <xs:minInclusive value="256">
              <xs:annotation>
                <xs:documentation>Valid range of Template IDs.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5101</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:minInclusive>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="setId" type="xs:unsignedShort" minOccurs="0">
        <xs:annotation>
          <xs:documentation>This number indicates the Set ID of the Template.
            Currently, there are two values defined. The value 2 is used
            for Sets containing Template definitions. The value 3 is
            used for Sets containing Options Template definitions.
            Note that this parameter corresponds to ipfixTemplateSetId
            in the IPFIX MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="accessTime" type="yang:date-and-time"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>Used for Exporting Processes, this parameter
            contains the time when this (Options) Template was last
            sent to the Collector(s) or written to the file.
            Used for Collecting Processes, this parameter contains the
            time when this (Options) Template was last received from the
            Exporter or read from the file.
            Note that this parameter corresponds to
            ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="templateDataRecords" type="yang:counter64"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>The number of transmitted or received Data
            Records defined by this (Options) Template.
            Discontinuities in the value of this counter can occur at
            re-initialization of the management system, and at other
            times as indicated by the value of
            templateDiscontinuityTime.
            Note that this parameter corresponds to
            ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="templateDiscontinuityTime"
        type="yang:date-and-time" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Timestamp of the most recent occasion at which
            the counter templateDataRecords suffered a discontinuity.
            Note that this parameter functionally corresponds to
            ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
            In contrast to ipfixTemplateDiscontinuityTime, the time
            is absolute and not relative to sysUpTime.</xs:documentation>
          <xs:appinfo>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8
                (ipfixTemplateDiscontinuityTime).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="field" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>This list contains the (Options) Template
            fields of which the (Options) Template is defined.
            The order of the list corresponds to the order of the fields
            in the (Option) Template Record.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ieId" type="ieIdType" minOccurs="0">
              <xs:annotation>
                <xs:documentation>This parameter indicates the Information
                  Element Id of the field.
                  Note that this parameter corresponds to
                  ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                      RFC5102.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="ieLength" type="xs:unsignedShort"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>This parameter indicates the length of the
                  Information Element of the field.
                  Note that this parameter corresponds to
                  ipfixTemplateDefinitionIeLength in the IPFIX MIB
                  module.</xs:documentation>
                <xs:appinfo>
                  <ncx:units>octets</ncx:units>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="ieEnterpriseNumber" type="xs:unsignedInt"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>This parameter indicates the IANA enterprise
                  number of the authority defining the Information Element
                  Id.
                  If the Information Element is not enterprise-specific,
                  this state parameter is zero.
                  Note that this parameter corresponds to
                  ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                  MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="isFlowKey" minOccurs="0">
              <xs:annotation>
                <xs:documentation>If present, this is a Flow Key field.
                  Note that this corresponds to flowKey(1) being set in
                  ipfixTemplateDefinitionFlags.</xs:documentation>
                <xs:appinfo>
                  <ncx:when>../../setId = 2</ncx:when>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTemplateDefinitionFlags).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="isScope" minOccurs="0">
              <xs:annotation>
                <xs:documentation>If present, this is a scope field.
                  Note that this corresponds to scope(0) being set in
                  ipfixTemplateDefinitionFlags.</xs:documentation>
                <xs:appinfo>
                  <ncx:when>../../setId = 3</ncx:when>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTemplateDefinitionFlags).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:group name="transportSessionParameters">
    <xs:annotation>
      <xs:documentation>State parameters of a Transport Session originating
        from an Exporting or terminating at a Collecting Process.
        Parameter names and semantics correspond to the managed
        objects in IPFIX-MIB.</xs:documentation>
      <xs:appinfo>
        <ncx:reference>
          <ncx:text>RFC5101; RFC5815, Section 8
            (ipfixTransportSessionEntry,
            ipfixTransportSessionStatsEntry).</ncx:text>
        </ncx:reference>
      </xs:appinfo>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ipfixVersion" type="xs:unsignedShort"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>Used for Exporting Processes, this parameter
            contains the version number of the IPFIX protocol that the
            Exporter uses to export its data in this Transport Session.
            Hence, it is identical to the value of the configuration
            parameter ipfixVersion of the outer SctpExporter,
            UdpExporter, or TcpExporter node.
            Used for Collecting Processes, this parameter contains the
            version number of the IPFIX protocol it receives for
            this Transport Session. If IPFIX Messages of different
            IPFIX protocol versions are received, this parameter
            contains the maximum version number.
            Note that this parameter corresponds to
            ipfixTransportSessionIpfixVersion in the IPFIX MIB
            module.</xs:documentation>
          <xs:appinfo>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8
                (ipfixTransportSessionIpfixVersion).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="sourceAddress" type="inet:ip-address"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>The source address of the Exporter of the
            IPFIX Transport Session.
            If the transport protocol is SCTP, this is one of the
            potentially many IP addresses of the Exporter.
            Preferably, the source IP address of the path which is
            usually selected by the Exporter to send IPFIX Messages to
            the Collector SHOULD be used.
            Note that this parameter functionally corresponds to
            ipfixTransportSessionSourceAddressType and
            ipfixTransportSessionSourceAddress in the IPFIX MIB
            module.</xs:documentation>
          <xs:appinfo>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8
                (ipfixTransportSessionSourceAddressType,
                ipfixTransportSessionSourceAddress);
                RFC4960, Section 6.4.</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
        </xs:simpleType>
      </xs:element>
      <xs:element name="destinationAddress" type="inet:ip-address"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>The destination address of the Collector of
            the IPFIX Transport Session.
            If the transport protocol is SCTP, this is one of the
            potentially many IP addresses of the Collector.
            Preferably, the destination IP address of the path which is
            usually selected by the Exporter to send IPFIX Messages to
            the Collector SHOULD be used.
            Note that this parameter functionally corresponds to
            ipfixTransportSessionDestinationAddressType and
            ipfixTransportSessionDestinationAddress in the IPFIX MIB
            module.</xs:documentation>
          <xs:appinfo>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8
                (ipfixTransportSessionDestinationAddressType,
                ipfixTransportSessionDestinationAddress);
                RFC4960, Section 6.4.</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
        </xs:simpleType>
      </xs:element>
      <xs:element name="sourcePort" type="inet:port-number"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>The transport protocol port number of the
            Exporter of the IPFIX Transport Session.
            Note that this parameter corresponds to
            ipfixTransportSessionSourcePort in the IPFIX MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8
                (ipfixTransportSessionSourcePort).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="destinationPort" type="inet:port-number"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>The transport protocol port number of the
            Collector of the IPFIX Transport Session.
            Note that this parameter corresponds to
            ipfixTransportSessionDestinationPort in the IPFIX MIB
            module.</xs:documentation>
          <xs:appinfo>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8
                (ipfixTransportSessionDestinationPort).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="sctpAssocId" type="xs:unsignedInt"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>The association id used for the SCTP session
            between the Exporter and the Collector of the IPFIX
            Transport Session. It is equal to the sctpAssocId entry
            in the sctpAssocTable defined in the SCTP-MIB.
            This parameter is only available if the transport protocol
            is SCTP and if an SNMP agent on the same Monitoring Device
            enables access to the corresponding MIB objects in the
            sctpAssocTable.
            Note that this parameter corresponds to
            ipfixTransportSessionSctpAssocId in the IPFIX MIB
            module.</xs:documentation>
          <xs:appinfo>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8
                (ipfixTransportSessionSctpAssocId);
                RFC3871</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="status" type="transportSessionStatus"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>Status of the Transport Session.
            Note that this parameter corresponds to
            ipfixTransportSessionStatus in the IPFIX MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8 (ipfixTransportSessionStatus).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="rate" type="yang:gauge32" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The number of bytes per second transmitted by the
            Exporting Process or received by the Collecting Process.
            This parameter is updated every second.
            Note that this parameter corresponds to
            ipfixTransportSessionRate in the IPFIX MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:units>bytes per second</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8 (ipfixTransportSessionRate).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="bytes" type="yang:counter64" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The number of bytes transmitted by the
            Exporting Process or received by the Collecting Process.
            Discontinuities in the value of this counter can occur at
            re-initialization of the management system, and at other
            times as indicated by the value of
            transportSessionDiscontinuityTime.
            Note that this parameter corresponds to
            ipfixTransportSessionBytes in the IPFIX MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:units>bytes</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8 (ipfixTransportSessionBytes).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="messages" type="yang:counter64" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The number of messages transmitted by the
            Exporting Process or received by the Collecting Process.
            Discontinuities in the value of this counter can occur at
            re-initialization of the management system, and at other
            times as indicated by the value of
            transportSessionDiscontinuityTime.
            Note that this parameter corresponds to
            ipfixTransportSessionMessages in the IPFIX MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:units>IPFIX Messages</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8
                (ipfixTransportSessionMessages).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="discardedMessages" type="yang:counter64"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>Used for Exporting Processes, this parameter
            indicates the number of messages that could not be sent due
            to internal buffer overflows, network congestion, routing
            issues, etc. Used for Collecting Process, this parameter
            indicates the number of received IPFIX Message that are
            malformed, cannot be decoded, are received in the wrong
            order or are missing according to the sequence number.
            Discontinuities in the value of this counter can occur at
            re-initialization of the management system, and at other
            times as indicated by the value of
            transportSessionDiscontinuityTime.
            Note that this parameter corresponds to
            ipfixTransportSessionDiscardedMessages in the IPFIX MIB
            module.</xs:documentation>
          <xs:appinfo>
            <ncx:units>IPFIX Messages</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8
                (ipfixTransportSessionDiscardedMessages).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="records" type="yang:counter64" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The number of Data Records transmitted by the
            Exporting Process or received by the Collecting Process.
            Discontinuities in the value of this counter can occur at
            re-initialization of the management system, and at other
            times as indicated by the value of
            transportSessionDiscontinuityTime.
            Note that this parameter corresponds to
            ipfixTransportSessionRecords in the IPFIX MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:units>Data Records</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8
                (ipfixTransportSessionRecords).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="templates" type="yang:counter32" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The number of Templates transmitted by the
            Exporting Process or received by the Collecting Process.
            Discontinuities in the value of this counter can occur at
            re-initialization of the management system, and at other
            times as indicated by the value of
            transportSessionDiscontinuityTime.
            Note that this parameter corresponds to
            ipfixTransportSessionTemplates in the IPFIX MIB module.</xs:documentation>
          <xs:appinfo>
            <ncx:units>Templates</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8
                (ipfixTransportSessionTemplates).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="optionsTemplates" type="yang:counter32"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>The number of Option Templates transmitted by the
            Exporting Process or received by the Collecting Process.
            Discontinuities in the value of this counter can occur at
            re-initialization of the management system, and at other
            times as indicated by the value of
            transportSessionDiscontinuityTime.
            Note that this parameter corresponds to
            ipfixTransportSessionOptionsTemplates in the IPFIX MIB
            module.</xs:documentation>
          <xs:appinfo>
            <ncx:units>Options Templates</ncx:units>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8
                (ipfixTransportSessionOptionsTemplates).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="transportSessionStartTime"
        type="yang:date-and-time" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Timestamp of the start of the given Transport
            Session.
            This state parameter does not correspond to any object in
            the IPFIX MIB module.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="transportSessionDiscontinuityTime"
        type="yang:date-and-time" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Timestamp of the most recent occasion at which
            one or more of the Transport Session counters suffered a
            discontinuity.
            Note that this parameter functionally corresponds to
            ipfixTransportSessionDiscontinuityTime in the IPFIX MIB
            module. In contrast to
            ipfixTransportSessionDiscontinuityTime, the time is
            absolute and not relative to sysUpTime.</xs:documentation>
          <xs:appinfo>
            <ncx:reference>
              <ncx:text>RFC5815, Section 8
                (ipfixTransportSessionDiscontinuityTime).</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="template" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>This list contains the Templates and Options
            Templates that are transmitted by the Exporting Process
            or received by the Collecting Process.
            Withdrawn or invalidated (Options) Template MUST be removed
            from this list.</xs:documentation>
          <xs:appinfo>
            <ncx:ordered-by>system</ncx:ordered-by>
          </xs:appinfo>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="observationDomainId"
              type="xs:unsignedInt" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The ID of the Observation Domain for which this
                  Template is defined.
                  Note that this parameter corresponds to
                  ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTemplateObservationDomainId).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="templateId" minOccurs="0">
              <xs:annotation>
                <xs:documentation>This number indicates the Template Id in the IPFIX
                  message.
                  Note that this parameter corresponds to ipfixTemplateId in
                  the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:unsignedShort">
                  <xs:minInclusive value="256">
                    <xs:annotation>
                      <xs:documentation>Valid range of Template IDs.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5101</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:minInclusive>
                </xs:restriction>
              </xs:simpleType>
            </xs:element>
            <xs:element name="setId" type="xs:unsignedShort"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>This number indicates the Set ID of the Template.
                  Currently, there are two values defined. The value 2 is used
                  for Sets containing Template definitions. The value 3 is
                  used for Sets containing Options Template definitions.
                  Note that this parameter corresponds to ipfixTemplateSetId
                  in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="accessTime" type="yang:date-and-time"
              minOccurs="0">
              <xs:annotation>
                <xs:documentation>Used for Exporting Processes, this parameter
                  contains the time when this (Options) Template was last
                  sent to the Collector(s) or written to the file.
                  Used for Collecting Processes, this parameter contains the
                  time when this (Options) Template was last received from the
                  Exporter or read from the file.
                  Note that this parameter corresponds to
                  ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="templateDataRecords"
              type="yang:counter64" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The number of transmitted or received Data
                  Records defined by this (Options) Template.
                  Discontinuities in the value of this counter can occur at
                  re-initialization of the management system, and at other
                  times as indicated by the value of
                  templateDiscontinuityTime.
                  Note that this parameter corresponds to
                  ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="templateDiscontinuityTime"
              type="yang:date-and-time" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Timestamp of the most recent occasion at which
                  the counter templateDataRecords suffered a discontinuity.
                  Note that this parameter functionally corresponds to
                  ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                  In contrast to ipfixTemplateDiscontinuityTime, the time
                  is absolute and not relative to sysUpTime.</xs:documentation>
                <xs:appinfo>
                  <ncx:reference>
                    <ncx:text>RFC5815, Section 8
                      (ipfixTemplateDiscontinuityTime).</ncx:text>
                  </ncx:reference>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name="field" minOccurs="0"
              maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>This list contains the (Options) Template
                  fields of which the (Options) Template is defined.
                  The order of the list corresponds to the order of the fields
                  in the (Option) Template Record.</xs:documentation>
                <xs:appinfo>
                  <ncx:ordered-by>system</ncx:ordered-by>
                </xs:appinfo>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="ieId" type="ieIdType" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This parameter indicates the Information
                        Element Id of the field.
                        Note that this parameter corresponds to
                        ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                            RFC5102.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="ieLength" type="xs:unsignedShort"
                    minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This parameter indicates the length of the
                        Information Element of the field.
                        Note that this parameter corresponds to
                        ipfixTemplateDefinitionIeLength in the IPFIX MIB
                        module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:units>octets</ncx:units>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="ieEnterpriseNumber"
                    type="xs:unsignedInt" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>This parameter indicates the IANA enterprise
                        number of the authority defining the Information Element
                        Id.
                        If the Information Element is not enterprise-specific,
                        this state parameter is zero.
                        Note that this parameter corresponds to
                        ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                        MIB module.</xs:documentation>
                      <xs:appinfo>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="isFlowKey" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>If present, this is a Flow Key field.
                        Note that this corresponds to flowKey(1) being set in
                        ipfixTemplateDefinitionFlags.</xs:documentation>
                      <xs:appinfo>
                        <ncx:when>../../setId = 2</ncx:when>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateDefinitionFlags).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="isScope" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>If present, this is a scope field.
                        Note that this corresponds to scope(0) being set in
                        ipfixTemplateDefinitionFlags.</xs:documentation>
                      <xs:appinfo>
                        <ncx:when>../../setId = 3</ncx:when>
                        <ncx:reference>
                          <ncx:text>RFC5815, Section 8
                            (ipfixTemplateDefinitionFlags).</ncx:text>
                        </ncx:reference>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:element name="ipfix">
    <xs:annotation>
      <xs:documentation>Top-level node of the IPFIX/PSAMP configuration
        data model.</xs:documentation>
      <xs:appinfo>
        <ncx:config>true</ncx:config>
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="collectingProcess" minOccurs="0"
          maxOccurs="unbounded">
          <xs:annotation>
            <xs:documentation>Collecting Process of the Monitoring Device.</xs:documentation>
            <xs:appinfo>
              <ncx:ordered-by>system</ncx:ordered-by>
            </xs:appinfo>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="name" type="nameType">
                <xs:annotation>
                  <xs:documentation>Key of this list.</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="sctpCollector" minOccurs="0"
                maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation>List of SCTP receivers (sockets) on which the
                    Collecting Process receives IPFIX Messages.</xs:documentation>
                  <xs:appinfo>
                    <ncx:ordered-by>system</ncx:ordered-by>
                  </xs:appinfo>
                </xs:annotation>
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="name" type="nameType">
                      <xs:annotation>
                        <xs:documentation>Key of this list.</xs:documentation>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="localPort"
                      type="inet:port-number" minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>If not configured, the Monitoring Device uses the
                          default port number for IPFIX, which is 4739 without
                          transport layer security and 4740 if transport layer
                          security is activated.</xs:documentation>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="transportLayerSecurity">
                      <xs:annotation>
                        <xs:documentation>Transport layer security configuration.</xs:documentation>
                        <xs:appinfo>
                          <ncx:presence>If transportLayerSecurity is present, DTLS is enabled
                            if the transport protocol is SCTP or UDP, and TLS is enabled
                            if the transport protocol is TCP.</ncx:presence>
                        </xs:appinfo>
                      </xs:annotation>
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element
                            name="localCertificationAuthorityDN"
                            type="xs:string" minOccurs="0"
                            maxOccurs="unbounded">
                            <xs:annotation>
                              <xs:documentation>Distinguished names of certification authorities
                                whose certificates may be used to identify the local
                                endpoint.</xs:documentation>
                              <xs:appinfo>
                                <ncx:ordered-by>system</ncx:ordered-by>
                                <ncx:reference>
                                  <ncx:text>RFC5280.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="localSubjectDN"
                            type="xs:string" minOccurs="0"
                            maxOccurs="unbounded">
                            <xs:annotation>
                              <xs:documentation>Distinguished names which may be used in the
                                certificates to identify the local endpoint.</xs:documentation>
                              <xs:appinfo>
                                <ncx:ordered-by>system</ncx:ordered-by>
                                <ncx:reference>
                                  <ncx:text>RFC5280.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="localSubjectFQDN"
                            type="inet:domain-name" minOccurs="0"
                            maxOccurs="unbounded">
                            <xs:annotation>
                              <xs:documentation>Fully qualified domain names which may be used to
                                in the certificates to identify the local endpoint.</xs:documentation>
                              <xs:appinfo>
                                <ncx:ordered-by>system</ncx:ordered-by>
                                <ncx:reference>
                                  <ncx:text>RFC5280.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element
                            name="remoteCertificationAuthorityDN"
                            type="xs:string" minOccurs="0"
                            maxOccurs="unbounded">
                            <xs:annotation>
                              <xs:documentation>Distinguished names of certification authorities
                                whose certificates are accepted to authorize remote
                                endpoints.</xs:documentation>
                              <xs:appinfo>
                                <ncx:ordered-by>system</ncx:ordered-by>
                                <ncx:reference>
                                  <ncx:text>RFC5280.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="remoteSubjectDN"
                            type="xs:string" minOccurs="0"
                            maxOccurs="unbounded">
                            <xs:annotation>
                              <xs:documentation>Distinguished names which are accepted in
                                certificates to authorize remote endpoints.</xs:documentation>
                              <xs:appinfo>
                                <ncx:ordered-by>system</ncx:ordered-by>
                                <ncx:reference>
                                  <ncx:text>RFC5280.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="remoteSubjectFQDN"
                            type="inet:domain-name" minOccurs="0"
                            maxOccurs="unbounded">
                            <xs:annotation>
                              <xs:documentation>Fully qualified domain name which are accepted in
                                certificates to authorize remote endpoints.</xs:documentation>
                              <xs:appinfo>
                                <ncx:ordered-by>system</ncx:ordered-by>
                                <ncx:reference>
                                  <ncx:text>RFC5280.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:any minOccurs="0" maxOccurs="unbounded"
                            namespace="##other" processContents="lax"/>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="transportSession" minOccurs="0"
                      maxOccurs="unbounded">
                      <xs:annotation>
                        <xs:documentation>This list contains the currently established
                          Transport Sessions terminating at the given socket.</xs:documentation>
                        <xs:appinfo>
                          <ncx:config>false</ncx:config>
                          <ncx:ordered-by>system</ncx:ordered-by>
                        </xs:appinfo>
                      </xs:annotation>
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="ipfixVersion"
                            type="xs:unsignedShort" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>Used for Exporting Processes, this parameter
                                contains the version number of the IPFIX protocol that the
                                Exporter uses to export its data in this Transport Session.
                                Hence, it is identical to the value of the configuration
                                parameter ipfixVersion of the outer SctpExporter,
                                UdpExporter, or TcpExporter node.
                                Used for Collecting Processes, this parameter contains the
                                version number of the IPFIX protocol it receives for
                                this Transport Session. If IPFIX Messages of different
                                IPFIX protocol versions are received, this parameter
                                contains the maximum version number.
                                Note that this parameter corresponds to
                                ipfixTransportSessionIpfixVersion in the IPFIX MIB
                                module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionIpfixVersion).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="sourceAddress"
                            type="inet:ip-address" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The source address of the Exporter of the
                                IPFIX Transport Session.
                                If the transport protocol is SCTP, this is one of the
                                potentially many IP addresses of the Exporter.
                                Preferably, the source IP address of the path which is
                                usually selected by the Exporter to send IPFIX Messages to
                                the Collector SHOULD be used.
                                Note that this parameter functionally corresponds to
                                ipfixTransportSessionSourceAddressType and
                                ipfixTransportSessionSourceAddress in the IPFIX MIB
                                module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionSourceAddressType,
                                    ipfixTransportSessionSourceAddress);
                                    RFC4960, Section 6.4.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                            <xs:simpleType>
                              <xs:union
                                memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="destinationAddress"
                            type="inet:ip-address" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The destination address of the Collector of
                                the IPFIX Transport Session.
                                If the transport protocol is SCTP, this is one of the
                                potentially many IP addresses of the Collector.
                                Preferably, the destination IP address of the path which is
                                usually selected by the Exporter to send IPFIX Messages to
                                the Collector SHOULD be used.
                                Note that this parameter functionally corresponds to
                                ipfixTransportSessionDestinationAddressType and
                                ipfixTransportSessionDestinationAddress in the IPFIX MIB
                                module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionDestinationAddressType,
                                    ipfixTransportSessionDestinationAddress);
                                    RFC4960, Section 6.4.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                            <xs:simpleType>
                              <xs:union
                                memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="sourcePort"
                            type="inet:port-number" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The transport protocol port number of the
                                Exporter of the IPFIX Transport Session.
                                Note that this parameter corresponds to
                                ipfixTransportSessionSourcePort in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionSourcePort).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="destinationPort"
                            type="inet:port-number" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The transport protocol port number of the
                                Collector of the IPFIX Transport Session.
                                Note that this parameter corresponds to
                                ipfixTransportSessionDestinationPort in the IPFIX MIB
                                module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionDestinationPort).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="sctpAssocId"
                            type="xs:unsignedInt" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The association id used for the SCTP session
                                between the Exporter and the Collector of the IPFIX
                                Transport Session. It is equal to the sctpAssocId entry
                                in the sctpAssocTable defined in the SCTP-MIB.
                                This parameter is only available if the transport protocol
                                is SCTP and if an SNMP agent on the same Monitoring Device
                                enables access to the corresponding MIB objects in the
                                sctpAssocTable.
                                Note that this parameter corresponds to
                                ipfixTransportSessionSctpAssocId in the IPFIX MIB
                                module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionSctpAssocId);
                                    RFC3871</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="status"
                            type="transportSessionStatus" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>Status of the Transport Session.
                                Note that this parameter corresponds to
                                ipfixTransportSessionStatus in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8 (ipfixTransportSessionStatus).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="rate" type="yang:gauge32"
                            minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The number of bytes per second transmitted by the
                                Exporting Process or received by the Collecting Process.
                                This parameter is updated every second.
                                Note that this parameter corresponds to
                                ipfixTransportSessionRate in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:units>bytes per second</ncx:units>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8 (ipfixTransportSessionRate).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="bytes"
                            type="yang:counter64" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The number of bytes transmitted by the
                                Exporting Process or received by the Collecting Process.
                                Discontinuities in the value of this counter can occur at
                                re-initialization of the management system, and at other
                                times as indicated by the value of
                                transportSessionDiscontinuityTime.
                                Note that this parameter corresponds to
                                ipfixTransportSessionBytes in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:units>bytes</ncx:units>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8 (ipfixTransportSessionBytes).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="messages"
                            type="yang:counter64" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The number of messages transmitted by the
                                Exporting Process or received by the Collecting Process.
                                Discontinuities in the value of this counter can occur at
                                re-initialization of the management system, and at other
                                times as indicated by the value of
                                transportSessionDiscontinuityTime.
                                Note that this parameter corresponds to
                                ipfixTransportSessionMessages in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:units>IPFIX Messages</ncx:units>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionMessages).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="discardedMessages"
                            type="yang:counter64" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>Used for Exporting Processes, this parameter
                                indicates the number of messages that could not be sent due
                                to internal buffer overflows, network congestion, routing
                                issues, etc. Used for Collecting Process, this parameter
                                indicates the number of received IPFIX Message that are
                                malformed, cannot be decoded, are received in the wrong
                                order or are missing according to the sequence number.
                                Discontinuities in the value of this counter can occur at
                                re-initialization of the management system, and at other
                                times as indicated by the value of
                                transportSessionDiscontinuityTime.
                                Note that this parameter corresponds to
                                ipfixTransportSessionDiscardedMessages in the IPFIX MIB
                                module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:units>IPFIX Messages</ncx:units>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionDiscardedMessages).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="records"
                            type="yang:counter64" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The number of Data Records transmitted by the
                                Exporting Process or received by the Collecting Process.
                                Discontinuities in the value of this counter can occur at
                                re-initialization of the management system, and at other
                                times as indicated by the value of
                                transportSessionDiscontinuityTime.
                                Note that this parameter corresponds to
                                ipfixTransportSessionRecords in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:units>Data Records</ncx:units>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionRecords).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="templates"
                            type="yang:counter32" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The number of Templates transmitted by the
                                Exporting Process or received by the Collecting Process.
                                Discontinuities in the value of this counter can occur at
                                re-initialization of the management system, and at other
                                times as indicated by the value of
                                transportSessionDiscontinuityTime.
                                Note that this parameter corresponds to
                                ipfixTransportSessionTemplates in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:units>Templates</ncx:units>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionTemplates).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="optionsTemplates"
                            type="yang:counter32" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The number of Option Templates transmitted by the
                                Exporting Process or received by the Collecting Process.
                                Discontinuities in the value of this counter can occur at
                                re-initialization of the management system, and at other
                                times as indicated by the value of
                                transportSessionDiscontinuityTime.
                                Note that this parameter corresponds to
                                ipfixTransportSessionOptionsTemplates in the IPFIX MIB
                                module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:units>Options Templates</ncx:units>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionOptionsTemplates).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="transportSessionStartTime"
                            type="yang:date-and-time" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>Timestamp of the start of the given Transport
                                Session.
                                This state parameter does not correspond to any object in
                                the IPFIX MIB module.</xs:documentation>
                            </xs:annotation>
                          </xs:element>
                          <xs:element
                            name="transportSessionDiscontinuityTime"
                            type="yang:date-and-time" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>Timestamp of the most recent occasion at which
                                one or more of the Transport Session counters suffered a
                                discontinuity.
                                Note that this parameter functionally corresponds to
                                ipfixTransportSessionDiscontinuityTime in the IPFIX MIB
                                module. In contrast to
                                ipfixTransportSessionDiscontinuityTime, the time is
                                absolute and not relative to sysUpTime.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionDiscontinuityTime).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="template" minOccurs="0"
                            maxOccurs="unbounded">
                            <xs:annotation>
                              <xs:documentation>This list contains the Templates and Options
                                Templates that are transmitted by the Exporting Process
                                or received by the Collecting Process.
                                Withdrawn or invalidated (Options) Template MUST be removed
                                from this list.</xs:documentation>
                              <xs:appinfo>
                                <ncx:ordered-by>system</ncx:ordered-by>
                              </xs:appinfo>
                            </xs:annotation>
                            <xs:complexType>
                              <xs:sequence>
                                <xs:element name="observationDomainId"
                                  type="xs:unsignedInt" minOccurs="0">
                                  <xs:annotation>
                                    <xs:documentation>The ID of the Observation Domain for which this
                                      Template is defined.
                                      Note that this parameter corresponds to
                                      ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:reference>
                                        <ncx:text>RFC5815, Section 8
                                          (ipfixTemplateObservationDomainId).</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                </xs:element>
                                <xs:element name="templateId"
                                  minOccurs="0">
                                  <xs:annotation>
                                    <xs:documentation>This number indicates the Template Id in the IPFIX
                                      message.
                                      Note that this parameter corresponds to ipfixTemplateId in
                                      the IPFIX MIB module.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:reference>
                                        <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                  <xs:simpleType>
                                    <xs:restriction
                                      base="xs:unsignedShort">
                                      <xs:minInclusive value="256">
                                        <xs:annotation>
                                          <xs:documentation>Valid range of Template IDs.</xs:documentation>
                                          <xs:appinfo>
                                            <ncx:reference>
                                              <ncx:text>RFC5101</ncx:text>
                                            </ncx:reference>
                                          </xs:appinfo>
                                        </xs:annotation>
                                      </xs:minInclusive>
                                    </xs:restriction>
                                  </xs:simpleType>
                                </xs:element>
                                <xs:element name="setId"
                                  type="xs:unsignedShort" minOccurs="0">
                                  <xs:annotation>
                                    <xs:documentation>This number indicates the Set ID of the Template.
                                      Currently, there are two values defined. The value 2 is used
                                      for Sets containing Template definitions. The value 3 is
                                      used for Sets containing Options Template definitions.
                                      Note that this parameter corresponds to ipfixTemplateSetId
                                      in the IPFIX MIB module.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:reference>
                                        <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                </xs:element>
                                <xs:element name="accessTime"
                                  type="yang:date-and-time"
                                  minOccurs="0">
                                  <xs:annotation>
                                    <xs:documentation>Used for Exporting Processes, this parameter
                                      contains the time when this (Options) Template was last
                                      sent to the Collector(s) or written to the file.
                                      Used for Collecting Processes, this parameter contains the
                                      time when this (Options) Template was last received from the
                                      Exporter or read from the file.
                                      Note that this parameter corresponds to
                                      ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:reference>
                                        <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                </xs:element>
                                <xs:element name="templateDataRecords"
                                  type="yang:counter64" minOccurs="0">
                                  <xs:annotation>
                                    <xs:documentation>The number of transmitted or received Data
                                      Records defined by this (Options) Template.
                                      Discontinuities in the value of this counter can occur at
                                      re-initialization of the management system, and at other
                                      times as indicated by the value of
                                      templateDiscontinuityTime.
                                      Note that this parameter corresponds to
                                      ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:reference>
                                        <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                </xs:element>
                                <xs:element
                                  name="templateDiscontinuityTime"
                                  type="yang:date-and-time"
                                  minOccurs="0">
                                  <xs:annotation>
                                    <xs:documentation>Timestamp of the most recent occasion at which
                                      the counter templateDataRecords suffered a discontinuity.
                                      Note that this parameter functionally corresponds to
                                      ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                                      In contrast to ipfixTemplateDiscontinuityTime, the time
                                      is absolute and not relative to sysUpTime.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:reference>
                                        <ncx:text>RFC5815, Section 8
                                          (ipfixTemplateDiscontinuityTime).</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                </xs:element>
                                <xs:element name="field" minOccurs="0"
                                  maxOccurs="unbounded">
                                  <xs:annotation>
                                    <xs:documentation>This list contains the (Options) Template
                                      fields of which the (Options) Template is defined.
                                      The order of the list corresponds to the order of the fields
                                      in the (Option) Template Record.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:ordered-by>system</ncx:ordered-by>
                                    </xs:appinfo>
                                  </xs:annotation>
                                  <xs:complexType>
                                    <xs:sequence>
                                      <xs:element name="ieId"
                                        type="ieIdType" minOccurs="0">
                                        <xs:annotation>
                                          <xs:documentation>This parameter indicates the Information
                                            Element Id of the field.
                                            Note that this parameter corresponds to
                                            ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                                          <xs:appinfo>
                                            <ncx:reference>
                                              <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                                RFC5102.</ncx:text>
                                            </ncx:reference>
                                          </xs:appinfo>
                                        </xs:annotation>
                                      </xs:element>
                                      <xs:element name="ieLength"
                                        type="xs:unsignedShort"
                                        minOccurs="0">
                                        <xs:annotation>
                                          <xs:documentation>This parameter indicates the length of the
                                            Information Element of the field.
                                            Note that this parameter corresponds to
                                            ipfixTemplateDefinitionIeLength in the IPFIX MIB
                                            module.</xs:documentation>
                                          <xs:appinfo>
                                            <ncx:units>octets</ncx:units>
                                            <ncx:reference>
                                              <ncx:text>RFC5815, Section 8
                                                (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                                            </ncx:reference>
                                          </xs:appinfo>
                                        </xs:annotation>
                                      </xs:element>
                                      <xs:element
                                        name="ieEnterpriseNumber"
                                        type="xs:unsignedInt"
                                        minOccurs="0">
                                        <xs:annotation>
                                          <xs:documentation>This parameter indicates the IANA enterprise
                                            number of the authority defining the Information Element
                                            Id.
                                            If the Information Element is not enterprise-specific,
                                            this state parameter is zero.
                                            Note that this parameter corresponds to
                                            ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                                            MIB module.</xs:documentation>
                                          <xs:appinfo>
                                            <ncx:reference>
                                              <ncx:text>RFC5815, Section 8
                                                (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                                            </ncx:reference>
                                          </xs:appinfo>
                                        </xs:annotation>
                                      </xs:element>
                                      <xs:element name="isFlowKey"
                                        minOccurs="0">
                                        <xs:annotation>
                                          <xs:documentation>If present, this is a Flow Key field.
                                            Note that this corresponds to flowKey(1) being set in
                                            ipfixTemplateDefinitionFlags.</xs:documentation>
                                          <xs:appinfo>
                                            <ncx:when>../../setId = 2</ncx:when>
                                            <ncx:reference>
                                              <ncx:text>RFC5815, Section 8
                                                (ipfixTemplateDefinitionFlags).</ncx:text>
                                            </ncx:reference>
                                          </xs:appinfo>
                                        </xs:annotation>
                                      </xs:element>
                                      <xs:element name="isScope"
                                        minOccurs="0">
                                        <xs:annotation>
                                          <xs:documentation>If present, this is a scope field.
                                            Note that this corresponds to scope(0) being set in
                                            ipfixTemplateDefinitionFlags.</xs:documentation>
                                          <xs:appinfo>
                                            <ncx:when>../../setId = 3</ncx:when>
                                            <ncx:reference>
                                              <ncx:text>RFC5815, Section 8
                                                (ipfixTemplateDefinitionFlags).</ncx:text>
                                            </ncx:reference>
                                          </xs:appinfo>
                                        </xs:annotation>
                                      </xs:element>
                                      <xs:any minOccurs="0"
                                        maxOccurs="unbounded"
                                        namespace="##other"
                                        processContents="lax"/>
                                    </xs:sequence>
                                  </xs:complexType>
                                </xs:element>
                                <xs:any minOccurs="0"
                                  maxOccurs="unbounded"
                                  namespace="##other"
                                  processContents="lax"/>
                              </xs:sequence>
                            </xs:complexType>
                          </xs:element>
                          <xs:any minOccurs="0" maxOccurs="unbounded"
                            namespace="##other" processContents="lax"/>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="localIPAddress"
                      type="inet:ip-address" minOccurs="0"
                      maxOccurs="unbounded">
                      <xs:annotation>
                        <xs:documentation>List of local IP addresses on which the
                          Collecting Process listens for IPFIX Messages. The IP
                          addresses are used as eligible local IP addresses of the
                          multi-homed SCTP endpoint.</xs:documentation>
                        <xs:appinfo>
                          <ncx:ordered-by>system</ncx:ordered-by>
                          <ncx:reference>
                            <ncx:text>RFC 4960, Section 6.4.</ncx:text>
                            <ncx:url>http://www.ietf.org/rfc/rfc4960.txt</ncx:url>
                          </ncx:reference>
                        </xs:appinfo>
                      </xs:annotation>
                      <xs:simpleType>
                        <xs:union
                          memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                      </xs:simpleType>
                    </xs:element>
                    <xs:any minOccurs="0" maxOccurs="unbounded"
                      namespace="##other" processContents="lax"/>
                  </xs:sequence>
                </xs:complexType>
                <xs:key name="sctpCollectorkey73">
                  <xs:selector xpath="."/>
                  <xs:field xpath="name"/>
                </xs:key>
              </xs:element>
              <xs:element name="udpCollector" minOccurs="0"
                maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation>List of UDP receivers (sockets) on which the
                    Collecting Process receives IPFIX Messages.</xs:documentation>
                  <xs:appinfo>
                    <ncx:ordered-by>system</ncx:ordered-by>
                  </xs:appinfo>
                </xs:annotation>
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="name" type="nameType">
                      <xs:annotation>
                        <xs:documentation>Key of this list.</xs:documentation>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="localPort"
                      type="inet:port-number" minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>If not configured, the Monitoring Device uses the
                          default port number for IPFIX, which is 4739 without
                          transport layer security and 4740 if transport layer
                          security is activated.</xs:documentation>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="transportLayerSecurity">
                      <xs:annotation>
                        <xs:documentation>Transport layer security configuration.</xs:documentation>
                        <xs:appinfo>
                          <ncx:presence>If transportLayerSecurity is present, DTLS is enabled
                            if the transport protocol is SCTP or UDP, and TLS is enabled
                            if the transport protocol is TCP.</ncx:presence>
                        </xs:appinfo>
                      </xs:annotation>
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element
                            name="localCertificationAuthorityDN"
                            type="xs:string" minOccurs="0"
                            maxOccurs="unbounded">
                            <xs:annotation>
                              <xs:documentation>Distinguished names of certification authorities
                                whose certificates may be used to identify the local
                                endpoint.</xs:documentation>
                              <xs:appinfo>
                                <ncx:ordered-by>system</ncx:ordered-by>
                                <ncx:reference>
                                  <ncx:text>RFC5280.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="localSubjectDN"
                            type="xs:string" minOccurs="0"
                            maxOccurs="unbounded">
                            <xs:annotation>
                              <xs:documentation>Distinguished names which may be used in the
                                certificates to identify the local endpoint.</xs:documentation>
                              <xs:appinfo>
                                <ncx:ordered-by>system</ncx:ordered-by>
                                <ncx:reference>
                                  <ncx:text>RFC5280.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="localSubjectFQDN"
                            type="inet:domain-name" minOccurs="0"
                            maxOccurs="unbounded">
                            <xs:annotation>
                              <xs:documentation>Fully qualified domain names which may be used to
                                in the certificates to identify the local endpoint.</xs:documentation>
                              <xs:appinfo>
                                <ncx:ordered-by>system</ncx:ordered-by>
                                <ncx:reference>
                                  <ncx:text>RFC5280.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element
                            name="remoteCertificationAuthorityDN"
                            type="xs:string" minOccurs="0"
                            maxOccurs="unbounded">
                            <xs:annotation>
                              <xs:documentation>Distinguished names of certification authorities
                                whose certificates are accepted to authorize remote
                                endpoints.</xs:documentation>
                              <xs:appinfo>
                                <ncx:ordered-by>system</ncx:ordered-by>
                                <ncx:reference>
                                  <ncx:text>RFC5280.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="remoteSubjectDN"
                            type="xs:string" minOccurs="0"
                            maxOccurs="unbounded">
                            <xs:annotation>
                              <xs:documentation>Distinguished names which are accepted in
                                certificates to authorize remote endpoints.</xs:documentation>
                              <xs:appinfo>
                                <ncx:ordered-by>system</ncx:ordered-by>
                                <ncx:reference>
                                  <ncx:text>RFC5280.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="remoteSubjectFQDN"
                            type="inet:domain-name" minOccurs="0"
                            maxOccurs="unbounded">
                            <xs:annotation>
                              <xs:documentation>Fully qualified domain name which are accepted in
                                certificates to authorize remote endpoints.</xs:documentation>
                              <xs:appinfo>
                                <ncx:ordered-by>system</ncx:ordered-by>
                                <ncx:reference>
                                  <ncx:text>RFC5280.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:any minOccurs="0" maxOccurs="unbounded"
                            namespace="##other" processContents="lax"/>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="transportSession" minOccurs="0"
                      maxOccurs="unbounded">
                      <xs:annotation>
                        <xs:documentation>This list contains the currently established
                          Transport Sessions terminating at the given socket.</xs:documentation>
                        <xs:appinfo>
                          <ncx:config>false</ncx:config>
                          <ncx:ordered-by>system</ncx:ordered-by>
                        </xs:appinfo>
                      </xs:annotation>
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="ipfixVersion"
                            type="xs:unsignedShort" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>Used for Exporting Processes, this parameter
                                contains the version number of the IPFIX protocol that the
                                Exporter uses to export its data in this Transport Session.
                                Hence, it is identical to the value of the configuration
                                parameter ipfixVersion of the outer SctpExporter,
                                UdpExporter, or TcpExporter node.
                                Used for Collecting Processes, this parameter contains the
                                version number of the IPFIX protocol it receives for
                                this Transport Session. If IPFIX Messages of different
                                IPFIX protocol versions are received, this parameter
                                contains the maximum version number.
                                Note that this parameter corresponds to
                                ipfixTransportSessionIpfixVersion in the IPFIX MIB
                                module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionIpfixVersion).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="sourceAddress"
                            type="inet:ip-address" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The source address of the Exporter of the
                                IPFIX Transport Session.
                                If the transport protocol is SCTP, this is one of the
                                potentially many IP addresses of the Exporter.
                                Preferably, the source IP address of the path which is
                                usually selected by the Exporter to send IPFIX Messages to
                                the Collector SHOULD be used.
                                Note that this parameter functionally corresponds to
                                ipfixTransportSessionSourceAddressType and
                                ipfixTransportSessionSourceAddress in the IPFIX MIB
                                module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionSourceAddressType,
                                    ipfixTransportSessionSourceAddress);
                                    RFC4960, Section 6.4.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                            <xs:simpleType>
                              <xs:union
                                memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="destinationAddress"
                            type="inet:ip-address" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The destination address of the Collector of
                                the IPFIX Transport Session.
                                If the transport protocol is SCTP, this is one of the
                                potentially many IP addresses of the Collector.
                                Preferably, the destination IP address of the path which is
                                usually selected by the Exporter to send IPFIX Messages to
                                the Collector SHOULD be used.
                                Note that this parameter functionally corresponds to
                                ipfixTransportSessionDestinationAddressType and
                                ipfixTransportSessionDestinationAddress in the IPFIX MIB
                                module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionDestinationAddressType,
                                    ipfixTransportSessionDestinationAddress);
                                    RFC4960, Section 6.4.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                            <xs:simpleType>
                              <xs:union
                                memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="sourcePort"
                            type="inet:port-number" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The transport protocol port number of the
                                Exporter of the IPFIX Transport Session.
                                Note that this parameter corresponds to
                                ipfixTransportSessionSourcePort in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionSourcePort).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="destinationPort"
                            type="inet:port-number" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The transport protocol port number of the
                                Collector of the IPFIX Transport Session.
                                Note that this parameter corresponds to
                                ipfixTransportSessionDestinationPort in the IPFIX MIB
                                module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionDestinationPort).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="sctpAssocId"
                            type="xs:unsignedInt" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The association id used for the SCTP session
                                between the Exporter and the Collector of the IPFIX
                                Transport Session. It is equal to the sctpAssocId entry
                                in the sctpAssocTable defined in the SCTP-MIB.
                                This parameter is only available if the transport protocol
                                is SCTP and if an SNMP agent on the same Monitoring Device
                                enables access to the corresponding MIB objects in the
                                sctpAssocTable.
                                Note that this parameter corresponds to
                                ipfixTransportSessionSctpAssocId in the IPFIX MIB
                                module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionSctpAssocId);
                                    RFC3871</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="status"
                            type="transportSessionStatus" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>Status of the Transport Session.
                                Note that this parameter corresponds to
                                ipfixTransportSessionStatus in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8 (ipfixTransportSessionStatus).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="rate" type="yang:gauge32"
                            minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The number of bytes per second transmitted by the
                                Exporting Process or received by the Collecting Process.
                                This parameter is updated every second.
                                Note that this parameter corresponds to
                                ipfixTransportSessionRate in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:units>bytes per second</ncx:units>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8 (ipfixTransportSessionRate).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="bytes"
                            type="yang:counter64" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The number of bytes transmitted by the
                                Exporting Process or received by the Collecting Process.
                                Discontinuities in the value of this counter can occur at
                                re-initialization of the management system, and at other
                                times as indicated by the value of
                                transportSessionDiscontinuityTime.
                                Note that this parameter corresponds to
                                ipfixTransportSessionBytes in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:units>bytes</ncx:units>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8 (ipfixTransportSessionBytes).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="messages"
                            type="yang:counter64" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The number of messages transmitted by the
                                Exporting Process or received by the Collecting Process.
                                Discontinuities in the value of this counter can occur at
                                re-initialization of the management system, and at other
                                times as indicated by the value of
                                transportSessionDiscontinuityTime.
                                Note that this parameter corresponds to
                                ipfixTransportSessionMessages in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:units>IPFIX Messages</ncx:units>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionMessages).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="discardedMessages"
                            type="yang:counter64" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>Used for Exporting Processes, this parameter
                                indicates the number of messages that could not be sent due
                                to internal buffer overflows, network congestion, routing
                                issues, etc. Used for Collecting Process, this parameter
                                indicates the number of received IPFIX Message that are
                                malformed, cannot be decoded, are received in the wrong
                                order or are missing according to the sequence number.
                                Discontinuities in the value of this counter can occur at
                                re-initialization of the management system, and at other
                                times as indicated by the value of
                                transportSessionDiscontinuityTime.
                                Note that this parameter corresponds to
                                ipfixTransportSessionDiscardedMessages in the IPFIX MIB
                                module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:units>IPFIX Messages</ncx:units>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionDiscardedMessages).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="records"
                            type="yang:counter64" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The number of Data Records transmitted by the
                                Exporting Process or received by the Collecting Process.
                                Discontinuities in the value of this counter can occur at
                                re-initialization of the management system, and at other
                                times as indicated by the value of
                                transportSessionDiscontinuityTime.
                                Note that this parameter corresponds to
                                ipfixTransportSessionRecords in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:units>Data Records</ncx:units>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionRecords).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="templates"
                            type="yang:counter32" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The number of Templates transmitted by the
                                Exporting Process or received by the Collecting Process.
                                Discontinuities in the value of this counter can occur at
                                re-initialization of the management system, and at other
                                times as indicated by the value of
                                transportSessionDiscontinuityTime.
                                Note that this parameter corresponds to
                                ipfixTransportSessionTemplates in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:units>Templates</ncx:units>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionTemplates).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="optionsTemplates"
                            type="yang:counter32" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The number of Option Templates transmitted by the
                                Exporting Process or received by the Collecting Process.
                                Discontinuities in the value of this counter can occur at
                                re-initialization of the management system, and at other
                                times as indicated by the value of
                                transportSessionDiscontinuityTime.
                                Note that this parameter corresponds to
                                ipfixTransportSessionOptionsTemplates in the IPFIX MIB
                                module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:units>Options Templates</ncx:units>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionOptionsTemplates).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="transportSessionStartTime"
                            type="yang:date-and-time" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>Timestamp of the start of the given Transport
                                Session.
                                This state parameter does not correspond to any object in
                                the IPFIX MIB module.</xs:documentation>
                            </xs:annotation>
                          </xs:element>
                          <xs:element
                            name="transportSessionDiscontinuityTime"
                            type="yang:date-and-time" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>Timestamp of the most recent occasion at which
                                one or more of the Transport Session counters suffered a
                                discontinuity.
                                Note that this parameter functionally corresponds to
                                ipfixTransportSessionDiscontinuityTime in the IPFIX MIB
                                module. In contrast to
                                ipfixTransportSessionDiscontinuityTime, the time is
                                absolute and not relative to sysUpTime.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionDiscontinuityTime).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="template" minOccurs="0"
                            maxOccurs="unbounded">
                            <xs:annotation>
                              <xs:documentation>This list contains the Templates and Options
                                Templates that are transmitted by the Exporting Process
                                or received by the Collecting Process.
                                Withdrawn or invalidated (Options) Template MUST be removed
                                from this list.</xs:documentation>
                              <xs:appinfo>
                                <ncx:ordered-by>system</ncx:ordered-by>
                              </xs:appinfo>
                            </xs:annotation>
                            <xs:complexType>
                              <xs:sequence>
                                <xs:element name="observationDomainId"
                                  type="xs:unsignedInt" minOccurs="0">
                                  <xs:annotation>
                                    <xs:documentation>The ID of the Observation Domain for which this
                                      Template is defined.
                                      Note that this parameter corresponds to
                                      ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:reference>
                                        <ncx:text>RFC5815, Section 8
                                          (ipfixTemplateObservationDomainId).</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                </xs:element>
                                <xs:element name="templateId"
                                  minOccurs="0">
                                  <xs:annotation>
                                    <xs:documentation>This number indicates the Template Id in the IPFIX
                                      message.
                                      Note that this parameter corresponds to ipfixTemplateId in
                                      the IPFIX MIB module.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:reference>
                                        <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                  <xs:simpleType>
                                    <xs:restriction
                                      base="xs:unsignedShort">
                                      <xs:minInclusive value="256">
                                        <xs:annotation>
                                          <xs:documentation>Valid range of Template IDs.</xs:documentation>
                                          <xs:appinfo>
                                            <ncx:reference>
                                              <ncx:text>RFC5101</ncx:text>
                                            </ncx:reference>
                                          </xs:appinfo>
                                        </xs:annotation>
                                      </xs:minInclusive>
                                    </xs:restriction>
                                  </xs:simpleType>
                                </xs:element>
                                <xs:element name="setId"
                                  type="xs:unsignedShort" minOccurs="0">
                                  <xs:annotation>
                                    <xs:documentation>This number indicates the Set ID of the Template.
                                      Currently, there are two values defined. The value 2 is used
                                      for Sets containing Template definitions. The value 3 is
                                      used for Sets containing Options Template definitions.
                                      Note that this parameter corresponds to ipfixTemplateSetId
                                      in the IPFIX MIB module.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:reference>
                                        <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                </xs:element>
                                <xs:element name="accessTime"
                                  type="yang:date-and-time"
                                  minOccurs="0">
                                  <xs:annotation>
                                    <xs:documentation>Used for Exporting Processes, this parameter
                                      contains the time when this (Options) Template was last
                                      sent to the Collector(s) or written to the file.
                                      Used for Collecting Processes, this parameter contains the
                                      time when this (Options) Template was last received from the
                                      Exporter or read from the file.
                                      Note that this parameter corresponds to
                                      ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:reference>
                                        <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                </xs:element>
                                <xs:element name="templateDataRecords"
                                  type="yang:counter64" minOccurs="0">
                                  <xs:annotation>
                                    <xs:documentation>The number of transmitted or received Data
                                      Records defined by this (Options) Template.
                                      Discontinuities in the value of this counter can occur at
                                      re-initialization of the management system, and at other
                                      times as indicated by the value of
                                      templateDiscontinuityTime.
                                      Note that this parameter corresponds to
                                      ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:reference>
                                        <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                </xs:element>
                                <xs:element
                                  name="templateDiscontinuityTime"
                                  type="yang:date-and-time"
                                  minOccurs="0">
                                  <xs:annotation>
                                    <xs:documentation>Timestamp of the most recent occasion at which
                                      the counter templateDataRecords suffered a discontinuity.
                                      Note that this parameter functionally corresponds to
                                      ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                                      In contrast to ipfixTemplateDiscontinuityTime, the time
                                      is absolute and not relative to sysUpTime.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:reference>
                                        <ncx:text>RFC5815, Section 8
                                          (ipfixTemplateDiscontinuityTime).</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                </xs:element>
                                <xs:element name="field" minOccurs="0"
                                  maxOccurs="unbounded">
                                  <xs:annotation>
                                    <xs:documentation>This list contains the (Options) Template
                                      fields of which the (Options) Template is defined.
                                      The order of the list corresponds to the order of the fields
                                      in the (Option) Template Record.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:ordered-by>system</ncx:ordered-by>
                                    </xs:appinfo>
                                  </xs:annotation>
                                  <xs:complexType>
                                    <xs:sequence>
                                      <xs:element name="ieId"
                                        type="ieIdType" minOccurs="0">
                                        <xs:annotation>
                                          <xs:documentation>This parameter indicates the Information
                                            Element Id of the field.
                                            Note that this parameter corresponds to
                                            ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                                          <xs:appinfo>
                                            <ncx:reference>
                                              <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                                RFC5102.</ncx:text>
                                            </ncx:reference>
                                          </xs:appinfo>
                                        </xs:annotation>
                                      </xs:element>
                                      <xs:element name="ieLength"
                                        type="xs:unsignedShort"
                                        minOccurs="0">
                                        <xs:annotation>
                                          <xs:documentation>This parameter indicates the length of the
                                            Information Element of the field.
                                            Note that this parameter corresponds to
                                            ipfixTemplateDefinitionIeLength in the IPFIX MIB
                                            module.</xs:documentation>
                                          <xs:appinfo>
                                            <ncx:units>octets</ncx:units>
                                            <ncx:reference>
                                              <ncx:text>RFC5815, Section 8
                                                (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                                            </ncx:reference>
                                          </xs:appinfo>
                                        </xs:annotation>
                                      </xs:element>
                                      <xs:element
                                        name="ieEnterpriseNumber"
                                        type="xs:unsignedInt"
                                        minOccurs="0">
                                        <xs:annotation>
                                          <xs:documentation>This parameter indicates the IANA enterprise
                                            number of the authority defining the Information Element
                                            Id.
                                            If the Information Element is not enterprise-specific,
                                            this state parameter is zero.
                                            Note that this parameter corresponds to
                                            ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                                            MIB module.</xs:documentation>
                                          <xs:appinfo>
                                            <ncx:reference>
                                              <ncx:text>RFC5815, Section 8
                                                (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                                            </ncx:reference>
                                          </xs:appinfo>
                                        </xs:annotation>
                                      </xs:element>
                                      <xs:element name="isFlowKey"
                                        minOccurs="0">
                                        <xs:annotation>
                                          <xs:documentation>If present, this is a Flow Key field.
                                            Note that this corresponds to flowKey(1) being set in
                                            ipfixTemplateDefinitionFlags.</xs:documentation>
                                          <xs:appinfo>
                                            <ncx:when>../../setId = 2</ncx:when>
                                            <ncx:reference>
                                              <ncx:text>RFC5815, Section 8
                                                (ipfixTemplateDefinitionFlags).</ncx:text>
                                            </ncx:reference>
                                          </xs:appinfo>
                                        </xs:annotation>
                                      </xs:element>
                                      <xs:element name="isScope"
                                        minOccurs="0">
                                        <xs:annotation>
                                          <xs:documentation>If present, this is a scope field.
                                            Note that this corresponds to scope(0) being set in
                                            ipfixTemplateDefinitionFlags.</xs:documentation>
                                          <xs:appinfo>
                                            <ncx:when>../../setId = 3</ncx:when>
                                            <ncx:reference>
                                              <ncx:text>RFC5815, Section 8
                                                (ipfixTemplateDefinitionFlags).</ncx:text>
                                            </ncx:reference>
                                          </xs:appinfo>
                                        </xs:annotation>
                                      </xs:element>
                                      <xs:any minOccurs="0"
                                        maxOccurs="unbounded"
                                        namespace="##other"
                                        processContents="lax"/>
                                    </xs:sequence>
                                  </xs:complexType>
                                </xs:element>
                                <xs:any minOccurs="0"
                                  maxOccurs="unbounded"
                                  namespace="##other"
                                  processContents="lax"/>
                              </xs:sequence>
                            </xs:complexType>
                          </xs:element>
                          <xs:any minOccurs="0" maxOccurs="unbounded"
                            namespace="##other" processContents="lax"/>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="localIPAddress"
                      type="inet:ip-address" minOccurs="0"
                      maxOccurs="unbounded">
                      <xs:annotation>
                        <xs:documentation>List of local IP addresses on which the Collecting
                          Process listens for IPFIX Messages.</xs:documentation>
                        <xs:appinfo>
                          <ncx:ordered-by>system</ncx:ordered-by>
                        </xs:appinfo>
                      </xs:annotation>
                      <xs:simpleType>
                        <xs:union
                          memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="templateLifeTime"
                      type="xs:unsignedInt" default="1800"
                      minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>Sets the lifetime of Templates for all UDP
                          Transport Sessions terminating at this UDP socket.
                          Templates which are not received again within the configured
                          lifetime become invalid at the Collecting Process.
                          As specified in RFC5101, the Template lifetime MUST be at
                          least three times higher than the templateRefreshTimeout
                          parameter value configured on the corresponding Exporting
                          Processes.
                          Note that this parameter corresponds to
                          ipfixTransportSessionTemplateRefreshTimeout in the IPFIX
                          MIB module.</xs:documentation>
                        <xs:appinfo>
                          <ncx:units>seconds</ncx:units>
                          <ncx:reference>
                            <ncx:text>RFC5101, Section 10.3.7; RFC5815, Section 8
                              (ipfixTransportSessionTemplateRefreshTimeout).</ncx:text>
                          </ncx:reference>
                        </xs:appinfo>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="optionsTemplateLifeTime"
                      type="xs:unsignedInt" default="1800"
                      minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>Sets the lifetime of Options Templates for all
                          UDP Transport Sessions terminating at this UDP socket.
                          Options Templates which are not received again within the
                          configured lifetime become invalid at the Collecting
                          Process.
                          As specified in RFC5101, the Options Template lifetime MUST
                          be at least three times higher than the
                          optionsTemplateRefreshTimeout parameter value configured on
                          the corresponding Exporting Processes.
                          Note that this parameter corresponds to
                          ipfixTransportSessionOptionsTemplateRefreshTimeout in the
                          IPFIX MIB module.</xs:documentation>
                        <xs:appinfo>
                          <ncx:units>seconds</ncx:units>
                          <ncx:reference>
                            <ncx:text>RFC5101, Section 10.3.7; RFC5815, Section 8
                              (ipfixTransportSessionOptionsTemplateRefreshTimeout).</ncx:text>
                          </ncx:reference>
                        </xs:appinfo>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="templateLifePacket"
                      type="xs:unsignedInt" minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>If this parameter is configured, Templates
                          defined in a UDP Transport Session become invalid if they
                          are neither included in a sequence of more than this number
                          of IPFIX Messages nor received again within the period of
                          time specified by templateLifeTime.
                          Note that this parameter corresponds to
                          ipfixTransportSessionTemplateRefreshPacket in the IPFIX
                          MIB module.</xs:documentation>
                        <xs:appinfo>
                          <ncx:units>IPFIX Messages</ncx:units>
                          <ncx:reference>
                            <ncx:text>RFC5101, Section 10.3.7; RFC5815, Section 8
                              (ipfixTransportSessionTemplateRefreshPacket).</ncx:text>
                          </ncx:reference>
                        </xs:appinfo>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="optionsTemplateLifePacket"
                      type="xs:unsignedInt" minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>If this parameter is configured, Options
                          Templates defined in a UDP Transport Session become
                          invalid if they are neither included in a sequence of more
                          than this number of IPFIX Messages nor received again
                          within the period of time specified by
                          optionsTemplateLifeTime.
                          Note that this parameter corresponds to
                          ipfixTransportSessionOptionsTemplateRefreshPacket in the
                          IPFIX MIB module.</xs:documentation>
                        <xs:appinfo>
                          <ncx:units>IPFIX Messages</ncx:units>
                          <ncx:reference>
                            <ncx:text>RFC5101, Section 10.3.7; RFC5815, Section 8
                              (ipfixTransportSessionOptionsTemplateRefreshPacket).</ncx:text>
                          </ncx:reference>
                        </xs:appinfo>
                      </xs:annotation>
                    </xs:element>
                    <xs:any minOccurs="0" maxOccurs="unbounded"
                      namespace="##other" processContents="lax"/>
                  </xs:sequence>
                </xs:complexType>
                <xs:key name="udpCollectorkey74">
                  <xs:selector xpath="."/>
                  <xs:field xpath="name"/>
                </xs:key>
              </xs:element>
              <xs:element name="tcpCollector" minOccurs="0"
                maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation>List of TCP receivers (sockets) on which the
                    Collecting Process receives IPFIX Messages.</xs:documentation>
                  <xs:appinfo>
                    <ncx:ordered-by>system</ncx:ordered-by>
                  </xs:appinfo>
                </xs:annotation>
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="name" type="nameType">
                      <xs:annotation>
                        <xs:documentation>Key of this list.</xs:documentation>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="localPort"
                      type="inet:port-number" minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>If not configured, the Monitoring Device uses the
                          default port number for IPFIX, which is 4739 without
                          transport layer security and 4740 if transport layer
                          security is activated.</xs:documentation>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="transportLayerSecurity">
                      <xs:annotation>
                        <xs:documentation>Transport layer security configuration.</xs:documentation>
                        <xs:appinfo>
                          <ncx:presence>If transportLayerSecurity is present, DTLS is enabled
                            if the transport protocol is SCTP or UDP, and TLS is enabled
                            if the transport protocol is TCP.</ncx:presence>
                        </xs:appinfo>
                      </xs:annotation>
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element
                            name="localCertificationAuthorityDN"
                            type="xs:string" minOccurs="0"
                            maxOccurs="unbounded">
                            <xs:annotation>
                              <xs:documentation>Distinguished names of certification authorities
                                whose certificates may be used to identify the local
                                endpoint.</xs:documentation>
                              <xs:appinfo>
                                <ncx:ordered-by>system</ncx:ordered-by>
                                <ncx:reference>
                                  <ncx:text>RFC5280.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="localSubjectDN"
                            type="xs:string" minOccurs="0"
                            maxOccurs="unbounded">
                            <xs:annotation>
                              <xs:documentation>Distinguished names which may be used in the
                                certificates to identify the local endpoint.</xs:documentation>
                              <xs:appinfo>
                                <ncx:ordered-by>system</ncx:ordered-by>
                                <ncx:reference>
                                  <ncx:text>RFC5280.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="localSubjectFQDN"
                            type="inet:domain-name" minOccurs="0"
                            maxOccurs="unbounded">
                            <xs:annotation>
                              <xs:documentation>Fully qualified domain names which may be used to
                                in the certificates to identify the local endpoint.</xs:documentation>
                              <xs:appinfo>
                                <ncx:ordered-by>system</ncx:ordered-by>
                                <ncx:reference>
                                  <ncx:text>RFC5280.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element
                            name="remoteCertificationAuthorityDN"
                            type="xs:string" minOccurs="0"
                            maxOccurs="unbounded">
                            <xs:annotation>
                              <xs:documentation>Distinguished names of certification authorities
                                whose certificates are accepted to authorize remote
                                endpoints.</xs:documentation>
                              <xs:appinfo>
                                <ncx:ordered-by>system</ncx:ordered-by>
                                <ncx:reference>
                                  <ncx:text>RFC5280.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="remoteSubjectDN"
                            type="xs:string" minOccurs="0"
                            maxOccurs="unbounded">
                            <xs:annotation>
                              <xs:documentation>Distinguished names which are accepted in
                                certificates to authorize remote endpoints.</xs:documentation>
                              <xs:appinfo>
                                <ncx:ordered-by>system</ncx:ordered-by>
                                <ncx:reference>
                                  <ncx:text>RFC5280.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="remoteSubjectFQDN"
                            type="inet:domain-name" minOccurs="0"
                            maxOccurs="unbounded">
                            <xs:annotation>
                              <xs:documentation>Fully qualified domain name which are accepted in
                                certificates to authorize remote endpoints.</xs:documentation>
                              <xs:appinfo>
                                <ncx:ordered-by>system</ncx:ordered-by>
                                <ncx:reference>
                                  <ncx:text>RFC5280.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:any minOccurs="0" maxOccurs="unbounded"
                            namespace="##other" processContents="lax"/>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="transportSession" minOccurs="0"
                      maxOccurs="unbounded">
                      <xs:annotation>
                        <xs:documentation>This list contains the currently established
                          Transport Sessions terminating at the given socket.</xs:documentation>
                        <xs:appinfo>
                          <ncx:config>false</ncx:config>
                          <ncx:ordered-by>system</ncx:ordered-by>
                        </xs:appinfo>
                      </xs:annotation>
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="ipfixVersion"
                            type="xs:unsignedShort" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>Used for Exporting Processes, this parameter
                                contains the version number of the IPFIX protocol that the
                                Exporter uses to export its data in this Transport Session.
                                Hence, it is identical to the value of the configuration
                                parameter ipfixVersion of the outer SctpExporter,
                                UdpExporter, or TcpExporter node.
                                Used for Collecting Processes, this parameter contains the
                                version number of the IPFIX protocol it receives for
                                this Transport Session. If IPFIX Messages of different
                                IPFIX protocol versions are received, this parameter
                                contains the maximum version number.
                                Note that this parameter corresponds to
                                ipfixTransportSessionIpfixVersion in the IPFIX MIB
                                module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionIpfixVersion).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="sourceAddress"
                            type="inet:ip-address" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The source address of the Exporter of the
                                IPFIX Transport Session.
                                If the transport protocol is SCTP, this is one of the
                                potentially many IP addresses of the Exporter.
                                Preferably, the source IP address of the path which is
                                usually selected by the Exporter to send IPFIX Messages to
                                the Collector SHOULD be used.
                                Note that this parameter functionally corresponds to
                                ipfixTransportSessionSourceAddressType and
                                ipfixTransportSessionSourceAddress in the IPFIX MIB
                                module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionSourceAddressType,
                                    ipfixTransportSessionSourceAddress);
                                    RFC4960, Section 6.4.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                            <xs:simpleType>
                              <xs:union
                                memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="destinationAddress"
                            type="inet:ip-address" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The destination address of the Collector of
                                the IPFIX Transport Session.
                                If the transport protocol is SCTP, this is one of the
                                potentially many IP addresses of the Collector.
                                Preferably, the destination IP address of the path which is
                                usually selected by the Exporter to send IPFIX Messages to
                                the Collector SHOULD be used.
                                Note that this parameter functionally corresponds to
                                ipfixTransportSessionDestinationAddressType and
                                ipfixTransportSessionDestinationAddress in the IPFIX MIB
                                module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionDestinationAddressType,
                                    ipfixTransportSessionDestinationAddress);
                                    RFC4960, Section 6.4.</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                            <xs:simpleType>
                              <xs:union
                                memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="sourcePort"
                            type="inet:port-number" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The transport protocol port number of the
                                Exporter of the IPFIX Transport Session.
                                Note that this parameter corresponds to
                                ipfixTransportSessionSourcePort in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionSourcePort).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="destinationPort"
                            type="inet:port-number" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The transport protocol port number of the
                                Collector of the IPFIX Transport Session.
                                Note that this parameter corresponds to
                                ipfixTransportSessionDestinationPort in the IPFIX MIB
                                module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionDestinationPort).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="sctpAssocId"
                            type="xs:unsignedInt" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The association id used for the SCTP session
                                between the Exporter and the Collector of the IPFIX
                                Transport Session. It is equal to the sctpAssocId entry
                                in the sctpAssocTable defined in the SCTP-MIB.
                                This parameter is only available if the transport protocol
                                is SCTP and if an SNMP agent on the same Monitoring Device
                                enables access to the corresponding MIB objects in the
                                sctpAssocTable.
                                Note that this parameter corresponds to
                                ipfixTransportSessionSctpAssocId in the IPFIX MIB
                                module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionSctpAssocId);
                                    RFC3871</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="status"
                            type="transportSessionStatus" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>Status of the Transport Session.
                                Note that this parameter corresponds to
                                ipfixTransportSessionStatus in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8 (ipfixTransportSessionStatus).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="rate" type="yang:gauge32"
                            minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The number of bytes per second transmitted by the
                                Exporting Process or received by the Collecting Process.
                                This parameter is updated every second.
                                Note that this parameter corresponds to
                                ipfixTransportSessionRate in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:units>bytes per second</ncx:units>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8 (ipfixTransportSessionRate).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="bytes"
                            type="yang:counter64" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The number of bytes transmitted by the
                                Exporting Process or received by the Collecting Process.
                                Discontinuities in the value of this counter can occur at
                                re-initialization of the management system, and at other
                                times as indicated by the value of
                                transportSessionDiscontinuityTime.
                                Note that this parameter corresponds to
                                ipfixTransportSessionBytes in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:units>bytes</ncx:units>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8 (ipfixTransportSessionBytes).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="messages"
                            type="yang:counter64" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The number of messages transmitted by the
                                Exporting Process or received by the Collecting Process.
                                Discontinuities in the value of this counter can occur at
                                re-initialization of the management system, and at other
                                times as indicated by the value of
                                transportSessionDiscontinuityTime.
                                Note that this parameter corresponds to
                                ipfixTransportSessionMessages in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:units>IPFIX Messages</ncx:units>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionMessages).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="discardedMessages"
                            type="yang:counter64" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>Used for Exporting Processes, this parameter
                                indicates the number of messages that could not be sent due
                                to internal buffer overflows, network congestion, routing
                                issues, etc. Used for Collecting Process, this parameter
                                indicates the number of received IPFIX Message that are
                                malformed, cannot be decoded, are received in the wrong
                                order or are missing according to the sequence number.
                                Discontinuities in the value of this counter can occur at
                                re-initialization of the management system, and at other
                                times as indicated by the value of
                                transportSessionDiscontinuityTime.
                                Note that this parameter corresponds to
                                ipfixTransportSessionDiscardedMessages in the IPFIX MIB
                                module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:units>IPFIX Messages</ncx:units>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionDiscardedMessages).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="records"
                            type="yang:counter64" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The number of Data Records transmitted by the
                                Exporting Process or received by the Collecting Process.
                                Discontinuities in the value of this counter can occur at
                                re-initialization of the management system, and at other
                                times as indicated by the value of
                                transportSessionDiscontinuityTime.
                                Note that this parameter corresponds to
                                ipfixTransportSessionRecords in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:units>Data Records</ncx:units>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionRecords).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="templates"
                            type="yang:counter32" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The number of Templates transmitted by the
                                Exporting Process or received by the Collecting Process.
                                Discontinuities in the value of this counter can occur at
                                re-initialization of the management system, and at other
                                times as indicated by the value of
                                transportSessionDiscontinuityTime.
                                Note that this parameter corresponds to
                                ipfixTransportSessionTemplates in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:units>Templates</ncx:units>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionTemplates).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="optionsTemplates"
                            type="yang:counter32" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The number of Option Templates transmitted by the
                                Exporting Process or received by the Collecting Process.
                                Discontinuities in the value of this counter can occur at
                                re-initialization of the management system, and at other
                                times as indicated by the value of
                                transportSessionDiscontinuityTime.
                                Note that this parameter corresponds to
                                ipfixTransportSessionOptionsTemplates in the IPFIX MIB
                                module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:units>Options Templates</ncx:units>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionOptionsTemplates).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="transportSessionStartTime"
                            type="yang:date-and-time" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>Timestamp of the start of the given Transport
                                Session.
                                This state parameter does not correspond to any object in
                                the IPFIX MIB module.</xs:documentation>
                            </xs:annotation>
                          </xs:element>
                          <xs:element
                            name="transportSessionDiscontinuityTime"
                            type="yang:date-and-time" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>Timestamp of the most recent occasion at which
                                one or more of the Transport Session counters suffered a
                                discontinuity.
                                Note that this parameter functionally corresponds to
                                ipfixTransportSessionDiscontinuityTime in the IPFIX MIB
                                module. In contrast to
                                ipfixTransportSessionDiscontinuityTime, the time is
                                absolute and not relative to sysUpTime.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTransportSessionDiscontinuityTime).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="template" minOccurs="0"
                            maxOccurs="unbounded">
                            <xs:annotation>
                              <xs:documentation>This list contains the Templates and Options
                                Templates that are transmitted by the Exporting Process
                                or received by the Collecting Process.
                                Withdrawn or invalidated (Options) Template MUST be removed
                                from this list.</xs:documentation>
                              <xs:appinfo>
                                <ncx:ordered-by>system</ncx:ordered-by>
                              </xs:appinfo>
                            </xs:annotation>
                            <xs:complexType>
                              <xs:sequence>
                                <xs:element name="observationDomainId"
                                  type="xs:unsignedInt" minOccurs="0">
                                  <xs:annotation>
                                    <xs:documentation>The ID of the Observation Domain for which this
                                      Template is defined.
                                      Note that this parameter corresponds to
                                      ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:reference>
                                        <ncx:text>RFC5815, Section 8
                                          (ipfixTemplateObservationDomainId).</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                </xs:element>
                                <xs:element name="templateId"
                                  minOccurs="0">
                                  <xs:annotation>
                                    <xs:documentation>This number indicates the Template Id in the IPFIX
                                      message.
                                      Note that this parameter corresponds to ipfixTemplateId in
                                      the IPFIX MIB module.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:reference>
                                        <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                  <xs:simpleType>
                                    <xs:restriction
                                      base="xs:unsignedShort">
                                      <xs:minInclusive value="256">
                                        <xs:annotation>
                                          <xs:documentation>Valid range of Template IDs.</xs:documentation>
                                          <xs:appinfo>
                                            <ncx:reference>
                                              <ncx:text>RFC5101</ncx:text>
                                            </ncx:reference>
                                          </xs:appinfo>
                                        </xs:annotation>
                                      </xs:minInclusive>
                                    </xs:restriction>
                                  </xs:simpleType>
                                </xs:element>
                                <xs:element name="setId"
                                  type="xs:unsignedShort" minOccurs="0">
                                  <xs:annotation>
                                    <xs:documentation>This number indicates the Set ID of the Template.
                                      Currently, there are two values defined. The value 2 is used
                                      for Sets containing Template definitions. The value 3 is
                                      used for Sets containing Options Template definitions.
                                      Note that this parameter corresponds to ipfixTemplateSetId
                                      in the IPFIX MIB module.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:reference>
                                        <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                </xs:element>
                                <xs:element name="accessTime"
                                  type="yang:date-and-time"
                                  minOccurs="0">
                                  <xs:annotation>
                                    <xs:documentation>Used for Exporting Processes, this parameter
                                      contains the time when this (Options) Template was last
                                      sent to the Collector(s) or written to the file.
                                      Used for Collecting Processes, this parameter contains the
                                      time when this (Options) Template was last received from the
                                      Exporter or read from the file.
                                      Note that this parameter corresponds to
                                      ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:reference>
                                        <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                </xs:element>
                                <xs:element name="templateDataRecords"
                                  type="yang:counter64" minOccurs="0">
                                  <xs:annotation>
                                    <xs:documentation>The number of transmitted or received Data
                                      Records defined by this (Options) Template.
                                      Discontinuities in the value of this counter can occur at
                                      re-initialization of the management system, and at other
                                      times as indicated by the value of
                                      templateDiscontinuityTime.
                                      Note that this parameter corresponds to
                                      ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:reference>
                                        <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                </xs:element>
                                <xs:element
                                  name="templateDiscontinuityTime"
                                  type="yang:date-and-time"
                                  minOccurs="0">
                                  <xs:annotation>
                                    <xs:documentation>Timestamp of the most recent occasion at which
                                      the counter templateDataRecords suffered a discontinuity.
                                      Note that this parameter functionally corresponds to
                                      ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                                      In contrast to ipfixTemplateDiscontinuityTime, the time
                                      is absolute and not relative to sysUpTime.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:reference>
                                        <ncx:text>RFC5815, Section 8
                                          (ipfixTemplateDiscontinuityTime).</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                </xs:element>
                                <xs:element name="field" minOccurs="0"
                                  maxOccurs="unbounded">
                                  <xs:annotation>
                                    <xs:documentation>This list contains the (Options) Template
                                      fields of which the (Options) Template is defined.
                                      The order of the list corresponds to the order of the fields
                                      in the (Option) Template Record.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:ordered-by>system</ncx:ordered-by>
                                    </xs:appinfo>
                                  </xs:annotation>
                                  <xs:complexType>
                                    <xs:sequence>
                                      <xs:element name="ieId"
                                        type="ieIdType" minOccurs="0">
                                        <xs:annotation>
                                          <xs:documentation>This parameter indicates the Information
                                            Element Id of the field.
                                            Note that this parameter corresponds to
                                            ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                                          <xs:appinfo>
                                            <ncx:reference>
                                              <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                                RFC5102.</ncx:text>
                                            </ncx:reference>
                                          </xs:appinfo>
                                        </xs:annotation>
                                      </xs:element>
                                      <xs:element name="ieLength"
                                        type="xs:unsignedShort"
                                        minOccurs="0">
                                        <xs:annotation>
                                          <xs:documentation>This parameter indicates the length of the
                                            Information Element of the field.
                                            Note that this parameter corresponds to
                                            ipfixTemplateDefinitionIeLength in the IPFIX MIB
                                            module.</xs:documentation>
                                          <xs:appinfo>
                                            <ncx:units>octets</ncx:units>
                                            <ncx:reference>
                                              <ncx:text>RFC5815, Section 8
                                                (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                                            </ncx:reference>
                                          </xs:appinfo>
                                        </xs:annotation>
                                      </xs:element>
                                      <xs:element
                                        name="ieEnterpriseNumber"
                                        type="xs:unsignedInt"
                                        minOccurs="0">
                                        <xs:annotation>
                                          <xs:documentation>This parameter indicates the IANA enterprise
                                            number of the authority defining the Information Element
                                            Id.
                                            If the Information Element is not enterprise-specific,
                                            this state parameter is zero.
                                            Note that this parameter corresponds to
                                            ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                                            MIB module.</xs:documentation>
                                          <xs:appinfo>
                                            <ncx:reference>
                                              <ncx:text>RFC5815, Section 8
                                                (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                                            </ncx:reference>
                                          </xs:appinfo>
                                        </xs:annotation>
                                      </xs:element>
                                      <xs:element name="isFlowKey"
                                        minOccurs="0">
                                        <xs:annotation>
                                          <xs:documentation>If present, this is a Flow Key field.
                                            Note that this corresponds to flowKey(1) being set in
                                            ipfixTemplateDefinitionFlags.</xs:documentation>
                                          <xs:appinfo>
                                            <ncx:when>../../setId = 2</ncx:when>
                                            <ncx:reference>
                                              <ncx:text>RFC5815, Section 8
                                                (ipfixTemplateDefinitionFlags).</ncx:text>
                                            </ncx:reference>
                                          </xs:appinfo>
                                        </xs:annotation>
                                      </xs:element>
                                      <xs:element name="isScope"
                                        minOccurs="0">
                                        <xs:annotation>
                                          <xs:documentation>If present, this is a scope field.
                                            Note that this corresponds to scope(0) being set in
                                            ipfixTemplateDefinitionFlags.</xs:documentation>
                                          <xs:appinfo>
                                            <ncx:when>../../setId = 3</ncx:when>
                                            <ncx:reference>
                                              <ncx:text>RFC5815, Section 8
                                                (ipfixTemplateDefinitionFlags).</ncx:text>
                                            </ncx:reference>
                                          </xs:appinfo>
                                        </xs:annotation>
                                      </xs:element>
                                      <xs:any minOccurs="0"
                                        maxOccurs="unbounded"
                                        namespace="##other"
                                        processContents="lax"/>
                                    </xs:sequence>
                                  </xs:complexType>
                                </xs:element>
                                <xs:any minOccurs="0"
                                  maxOccurs="unbounded"
                                  namespace="##other"
                                  processContents="lax"/>
                              </xs:sequence>
                            </xs:complexType>
                          </xs:element>
                          <xs:any minOccurs="0" maxOccurs="unbounded"
                            namespace="##other" processContents="lax"/>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="localIPAddress"
                      type="inet:ip-address" minOccurs="0"
                      maxOccurs="unbounded">
                      <xs:annotation>
                        <xs:documentation>List of local IP addresses on which the Collecting
                          Process listens for IPFIX Messages.</xs:documentation>
                        <xs:appinfo>
                          <ncx:ordered-by>system</ncx:ordered-by>
                        </xs:appinfo>
                      </xs:annotation>
                      <xs:simpleType>
                        <xs:union
                          memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                      </xs:simpleType>
                    </xs:element>
                    <xs:any minOccurs="0" maxOccurs="unbounded"
                      namespace="##other" processContents="lax"/>
                  </xs:sequence>
                </xs:complexType>
                <xs:key name="tcpCollectorkey75">
                  <xs:selector xpath="."/>
                  <xs:field xpath="name"/>
                </xs:key>
              </xs:element>
              <xs:element name="fileReader" minOccurs="0"
                maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation>List of File Readers from which the Collecting
                    Process reads IPFIX Messages.</xs:documentation>
                  <xs:appinfo>
                    <ncx:ordered-by>system</ncx:ordered-by>
                  </xs:appinfo>
                </xs:annotation>
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="name" type="nameType">
                      <xs:annotation>
                        <xs:documentation>Key of this list.</xs:documentation>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="file" type="inet:uri">
                      <xs:annotation>
                        <xs:documentation>URI specifying the location of the file.</xs:documentation>
                        <xs:appinfo>
                          <ncx:mandatory>true</ncx:mandatory>
                        </xs:appinfo>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="bytes" type="yang:counter64"
                      minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>The number of bytes read by the File Reader.
                          Discontinuities in the value of this counter can occur at
                          re-initialization of the management system, and at other
                          times as indicated by the value of
                          fileReaderDiscontinuityTime.</xs:documentation>
                        <xs:appinfo>
                          <ncx:config>false</ncx:config>
                          <ncx:units>octets</ncx:units>
                        </xs:appinfo>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="messages" type="yang:counter64"
                      minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>The number of IPFIX Messages read by the File
                          Reader.
                          Discontinuities in the value of this counter can occur at
                          re-initialization of the management system, and at other
                          times as indicated by the value of
                          fileReaderDiscontinuityTime.</xs:documentation>
                        <xs:appinfo>
                          <ncx:config>false</ncx:config>
                          <ncx:units>IPFIX Messages</ncx:units>
                        </xs:appinfo>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="records" type="yang:counter64"
                      minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>The number of Data Records read by the File
                          Reader.
                          Discontinuities in the value of this counter can occur at
                          re-initialization of the management system, and at other
                          times as indicated by the value of
                          fileReaderDiscontinuityTime.</xs:documentation>
                        <xs:appinfo>
                          <ncx:config>false</ncx:config>
                          <ncx:units>Data Records</ncx:units>
                        </xs:appinfo>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="templates" type="yang:counter32"
                      minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>The number of Template Records (excluding
                          Options Template Records) read by the File Reader.
                          Discontinuities in the value of this counter can occur at
                          re-initialization of the management system, and at other
                          times as indicated by the value of
                          fileReaderDiscontinuityTime.</xs:documentation>
                        <xs:appinfo>
                          <ncx:config>false</ncx:config>
                          <ncx:units>Templates</ncx:units>
                        </xs:appinfo>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="optionsTemplates"
                      type="yang:counter32" minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>The number of Options Template Records read by
                          the File Reader.
                          Discontinuities in the value of this counter can occur at
                          re-initialization of the management system, and at other
                          times as indicated by the value of
                          fileReaderDiscontinuityTime.</xs:documentation>
                        <xs:appinfo>
                          <ncx:config>false</ncx:config>
                          <ncx:units>Options Templates</ncx:units>
                        </xs:appinfo>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="fileReaderDiscontinuityTime"
                      type="yang:date-and-time" minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>Timestamp of the most recent occasion at which
                          one or more File Reader counters suffered a discontinuity.
                          In contrast to discontinuity times in the IPFIX MIB module,
                          the time is absolute and not relative to sysUpTime.</xs:documentation>
                        <xs:appinfo>
                          <ncx:config>false</ncx:config>
                        </xs:appinfo>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="template" minOccurs="0"
                      maxOccurs="unbounded">
                      <xs:annotation>
                        <xs:documentation>This list contains the Templates and Options
                          Templates that have been read by the File Reader.
                          Withdrawn or invalidated (Options) Template MUST be removed
                          from this list.</xs:documentation>
                        <xs:appinfo>
                          <ncx:config>false</ncx:config>
                          <ncx:ordered-by>system</ncx:ordered-by>
                        </xs:appinfo>
                      </xs:annotation>
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="observationDomainId"
                            type="xs:unsignedInt" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The ID of the Observation Domain for which this
                                Template is defined.
                                Note that this parameter corresponds to
                                ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTemplateObservationDomainId).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="templateId" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>This number indicates the Template Id in the IPFIX
                                message.
                                Note that this parameter corresponds to ipfixTemplateId in
                                the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                            <xs:simpleType>
                              <xs:restriction base="xs:unsignedShort">
                                <xs:minInclusive value="256">
                                  <xs:annotation>
                                    <xs:documentation>Valid range of Template IDs.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:reference>
                                        <ncx:text>RFC5101</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                </xs:minInclusive>
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="setId"
                            type="xs:unsignedShort" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>This number indicates the Set ID of the Template.
                                Currently, there are two values defined. The value 2 is used
                                for Sets containing Template definitions. The value 3 is
                                used for Sets containing Options Template definitions.
                                Note that this parameter corresponds to ipfixTemplateSetId
                                in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="accessTime"
                            type="yang:date-and-time" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>Used for Exporting Processes, this parameter
                                contains the time when this (Options) Template was last
                                sent to the Collector(s) or written to the file.
                                Used for Collecting Processes, this parameter contains the
                                time when this (Options) Template was last received from the
                                Exporter or read from the file.
                                Note that this parameter corresponds to
                                ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="templateDataRecords"
                            type="yang:counter64" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>The number of transmitted or received Data
                                Records defined by this (Options) Template.
                                Discontinuities in the value of this counter can occur at
                                re-initialization of the management system, and at other
                                times as indicated by the value of
                                templateDiscontinuityTime.
                                Note that this parameter corresponds to
                                ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="templateDiscontinuityTime"
                            type="yang:date-and-time" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>Timestamp of the most recent occasion at which
                                the counter templateDataRecords suffered a discontinuity.
                                Note that this parameter functionally corresponds to
                                ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                                In contrast to ipfixTemplateDiscontinuityTime, the time
                                is absolute and not relative to sysUpTime.</xs:documentation>
                              <xs:appinfo>
                                <ncx:reference>
                                  <ncx:text>RFC5815, Section 8
                                    (ipfixTemplateDiscontinuityTime).</ncx:text>
                                </ncx:reference>
                              </xs:appinfo>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="field" minOccurs="0"
                            maxOccurs="unbounded">
                            <xs:annotation>
                              <xs:documentation>This list contains the (Options) Template
                                fields of which the (Options) Template is defined.
                                The order of the list corresponds to the order of the fields
                                in the (Option) Template Record.</xs:documentation>
                              <xs:appinfo>
                                <ncx:ordered-by>system</ncx:ordered-by>
                              </xs:appinfo>
                            </xs:annotation>
                            <xs:complexType>
                              <xs:sequence>
                                <xs:element name="ieId" type="ieIdType"
                                  minOccurs="0">
                                  <xs:annotation>
                                    <xs:documentation>This parameter indicates the Information
                                      Element Id of the field.
                                      Note that this parameter corresponds to
                                      ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:reference>
                                        <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                          RFC5102.</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                </xs:element>
                                <xs:element name="ieLength"
                                  type="xs:unsignedShort" minOccurs="0">
                                  <xs:annotation>
                                    <xs:documentation>This parameter indicates the length of the
                                      Information Element of the field.
                                      Note that this parameter corresponds to
                                      ipfixTemplateDefinitionIeLength in the IPFIX MIB
                                      module.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:units>octets</ncx:units>
                                      <ncx:reference>
                                        <ncx:text>RFC5815, Section 8
                                          (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                </xs:element>
                                <xs:element name="ieEnterpriseNumber"
                                  type="xs:unsignedInt" minOccurs="0">
                                  <xs:annotation>
                                    <xs:documentation>This parameter indicates the IANA enterprise
                                      number of the authority defining the Information Element
                                      Id.
                                      If the Information Element is not enterprise-specific,
                                      this state parameter is zero.
                                      Note that this parameter corresponds to
                                      ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                                      MIB module.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:reference>
                                        <ncx:text>RFC5815, Section 8
                                          (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                </xs:element>
                                <xs:element name="isFlowKey"
                                  minOccurs="0">
                                  <xs:annotation>
                                    <xs:documentation>If present, this is a Flow Key field.
                                      Note that this corresponds to flowKey(1) being set in
                                      ipfixTemplateDefinitionFlags.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:when>../../setId = 2</ncx:when>
                                      <ncx:reference>
                                        <ncx:text>RFC5815, Section 8
                                          (ipfixTemplateDefinitionFlags).</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                </xs:element>
                                <xs:element name="isScope"
                                  minOccurs="0">
                                  <xs:annotation>
                                    <xs:documentation>If present, this is a scope field.
                                      Note that this corresponds to scope(0) being set in
                                      ipfixTemplateDefinitionFlags.</xs:documentation>
                                    <xs:appinfo>
                                      <ncx:when>../../setId = 3</ncx:when>
                                      <ncx:reference>
                                        <ncx:text>RFC5815, Section 8
                                          (ipfixTemplateDefinitionFlags).</ncx:text>
                                      </ncx:reference>
                                    </xs:appinfo>
                                  </xs:annotation>
                                </xs:element>
                                <xs:any minOccurs="0"
                                  maxOccurs="unbounded"
                                  namespace="##other"
                                  processContents="lax"/>
                              </xs:sequence>
                            </xs:complexType>
                          </xs:element>
                          <xs:any minOccurs="0" maxOccurs="unbounded"
                            namespace="##other" processContents="lax"/>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                    <xs:any minOccurs="0" maxOccurs="unbounded"
                      namespace="##other" processContents="lax"/>
                  </xs:sequence>
                </xs:complexType>
                <xs:key name="fileReaderkey76">
                  <xs:selector xpath="."/>
                  <xs:field xpath="name"/>
                </xs:key>
              </xs:element>
              <xs:element name="exportingProcess" type="xs:string"
                minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation>Export of received records without any
                    modifications. Records are processed by all Exporting
                    Processes in the list.</xs:documentation>
                  <xs:appinfo>
                    <ncx:ordered-by>system</ncx:ordered-by>
                  </xs:appinfo>
                </xs:annotation>
              </xs:element>
              <xs:any minOccurs="0" maxOccurs="unbounded"
                namespace="##other" processContents="lax"/>
            </xs:sequence>
          </xs:complexType>
          <xs:key name="collectingProcesskey77">
            <xs:selector xpath="."/>
            <xs:field xpath="name"/>
          </xs:key>
        </xs:element>
        <xs:element name="observationPoint" minOccurs="0"
          maxOccurs="unbounded">
          <xs:annotation>
            <xs:documentation>Observation Point of the Monitoring Device.</xs:documentation>
            <xs:appinfo>
              <ncx:ordered-by>system</ncx:ordered-by>
            </xs:appinfo>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="name" type="nameType">
                <xs:annotation>
                  <xs:documentation>Key of this list.</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="observationPointId"
                type="xs:unsignedInt" minOccurs="0">
                <xs:annotation>
                  <xs:documentation>Observation Point ID (i.e., the value of the
                    Information Element observationPointId) assigned by the
                    Monitoring Device.</xs:documentation>
                  <xs:appinfo>
                    <ncx:config>false</ncx:config>
                    <ncx:reference>
                      <ncx:text>RFC5102, Section 5.1.10.</ncx:text>
                    </ncx:reference>
                  </xs:appinfo>
                </xs:annotation>
              </xs:element>
              <xs:element name="observationDomainId"
                type="xs:unsignedInt">
                <xs:annotation>
                  <xs:documentation>The Observation Domain ID associates the
                    Observation Point to an Observation Domain. Observation
                    Points with identical Observation Domain ID belong to the
                    same Observation Domain.
                    Note that this parameter corresponds to
                    ipfixObservationPointObservationDomainId in the IPFIX MIB
                    module.</xs:documentation>
                  <xs:appinfo>
                    <ncx:mandatory>true</ncx:mandatory>
                    <ncx:reference>
                      <ncx:text>RFC5101; RFC5815, Section 8
                        (ipfixObservationPointObservationDomainId).</ncx:text>
                    </ncx:reference>
                  </xs:appinfo>
                </xs:annotation>
              </xs:element>
              <xs:element name="ifName" type="ifNameType" minOccurs="0"
                maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation>List of names identifying interfaces of the
                    Monitoring Device. The Observation Point observes packets at
                    the specified interfaces.</xs:documentation>
                  <xs:appinfo>
                    <ncx:ordered-by>system</ncx:ordered-by>
                  </xs:appinfo>
                </xs:annotation>
              </xs:element>
              <xs:element name="ifIndex" type="xs:unsignedInt"
                minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation>List of ifIndex values pointing to entries in the
                    ifTable of the IF-MIB module maintained by the Monitoring
                    Device. The Observation Point observes packets at the
                    specified interfaces.
                    This parameter SHOULD only be used if an SNMP agent enables
                    access to the ifTable.
                    Note that this parameter corresponds to
                    ipfixObservationPointPhysicalInterface in the IPFIX MIB
                    module.</xs:documentation>
                  <xs:appinfo>
                    <ncx:ordered-by>system</ncx:ordered-by>
                    <ncx:reference>
                      <ncx:text>RFC 1229; RFC5815, Section 8
                        (ipfixObservationPointPhysicalInterface).</ncx:text>
                      <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                    </ncx:reference>
                  </xs:appinfo>
                </xs:annotation>
              </xs:element>
              <xs:element name="entPhysicalName" type="xs:string"
                minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation>List of names identifying physical entities of the
                    Monitoring Device. The Observation Point observes packets at
                    the specified entities.</xs:documentation>
                  <xs:appinfo>
                    <ncx:ordered-by>system</ncx:ordered-by>
                  </xs:appinfo>
                </xs:annotation>
              </xs:element>
              <xs:element name="entPhysicalIndex" type="xs:unsignedInt"
                minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation>List of entPhysicalIndex values pointing to
                    entries in the entPhysicalTable of the ENTITY-MIB module
                    maintained by the Monitoring Device. The Observation Point
                    observes packets at the specified entities.
                    This parameter SHOULD only be used if an SNMP agent enables
                    access to the entPhysicalTable.
                    Note that this parameter corresponds to
                    ipfixObservationPointPhysicalEntity in the IPFIX MIB
                    module.</xs:documentation>
                  <xs:appinfo>
                    <ncx:ordered-by>system</ncx:ordered-by>
                    <ncx:reference>
                      <ncx:text>RFC 4133; RFC5815, Section 8
                        (ipfixObservationPointPhysicalInterface).</ncx:text>
                      <ncx:url>http://www.ietf.org/rfc/rfc4133.txt</ncx:url>
                    </ncx:reference>
                  </xs:appinfo>
                </xs:annotation>
              </xs:element>
              <xs:element name="direction" type="direction"
                default="both" minOccurs="0">
                <xs:annotation>
                  <xs:documentation>Direction of packets. If not applicable (e.g., in
                    the case of a sniffing interface in promiscuous mode), this
                    parameter is ignored.</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="selectionProcess" type="xs:string"
                minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation>Selection Processes in this list process
                    packets in parallel.</xs:documentation>
                  <xs:appinfo>
                    <ncx:ordered-by>system</ncx:ordered-by>
                  </xs:appinfo>
                </xs:annotation>
              </xs:element>
              <xs:any minOccurs="0" maxOccurs="unbounded"
                namespace="##other" processContents="lax"/>
            </xs:sequence>
          </xs:complexType>
          <xs:key name="observationPointkey78">
            <xs:selector xpath="."/>
            <xs:field xpath="name"/>
          </xs:key>
        </xs:element>
        <xs:element name="selectionProcess" minOccurs="0"
          maxOccurs="unbounded">
          <xs:annotation>
            <xs:documentation>Selection Process of the Monitoring Device.</xs:documentation>
            <xs:appinfo>
              <ncx:ordered-by>system</ncx:ordered-by>
            </xs:appinfo>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="name" type="nameType">
                <xs:annotation>
                  <xs:documentation>Key of this list.</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="selector" minOccurs="1"
                maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation>List of Selectors that define the action of the
                    Selection Process on a single packet. The Selectors are
                    serially invoked in the same order as they appear in this
                    list.</xs:documentation>
                  <xs:appinfo>
                    <ncx:ordered-by>user</ncx:ordered-by>
                  </xs:appinfo>
                </xs:annotation>
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="name" type="nameType">
                      <xs:annotation>
                        <xs:documentation>Key of this list.</xs:documentation>
                      </xs:annotation>
                    </xs:element>
                    <xs:choice>
                      <xs:annotation>
                        <xs:documentation>Packet selection method applied by the Selector.</xs:documentation>
                        <xs:appinfo>
                          <ncx:choice-name>Method</ncx:choice-name>
                          <ncx:mandatory>true</ncx:mandatory>
                        </xs:appinfo>
                      </xs:annotation>
                      <xs:sequence>
                        <xs:annotation>
                          <xs:appinfo>
                            <ncx:case-name>selectAll</ncx:case-name>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:element name="selectAll" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>Method which selects all packets.</xs:documentation>
                          </xs:annotation>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                      <xs:sequence>
                        <xs:annotation>
                          <xs:appinfo>
                            <ncx:case-name>sampCountBased</ncx:case-name>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:element name="sampCountBased">
                          <xs:annotation>
                            <xs:documentation>Systematic count-based packet sampling.</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="packetInterval"
                                type="xs:unsignedInt">
                                <xs:annotation>
                                  <xs:documentation>The number of packets that are consecutively
                                    sampled between gaps of length packetSpace.
                                    This parameter corresponds to the Information Element
                                    samplingPacketInterval and to psampSampCountBasedInterval
                                    in the PSAMP MIB module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:units>packets</ncx:units>
                                    <ncx:mandatory>true</ncx:mandatory>
                                    <ncx:reference>
                                      <ncx:text>RFC5477, Section 8.2.2; RFCyyyy, Section 6
                                        (psampSampCountBasedInterval).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="packetSpace"
                                type="xs:unsignedInt">
                                <xs:annotation>
                                  <xs:documentation>The number of unsampled packets between two
                                    sampling intervals.
                                    This parameter corresponds to the Information Element
                                    samplingPacketSpace and to psampSampCountBasedSpace
                                    in the PSAMP MIB module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:units>packets</ncx:units>
                                    <ncx:mandatory>true</ncx:mandatory>
                                    <ncx:reference>
                                      <ncx:text>RFC5477, Section 8.2.3; RFCyyyy, Section 6
                                        (psampSampCountBasedSpace).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:any minOccurs="0"
                                maxOccurs="unbounded"
                                namespace="##other"
                                processContents="lax"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                      <xs:sequence>
                        <xs:annotation>
                          <xs:appinfo>
                            <ncx:case-name>sampTimeBased</ncx:case-name>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:element name="sampTimeBased">
                          <xs:annotation>
                            <xs:documentation>Systematic time-based packet sampling.</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="timeInterval"
                                type="xs:unsignedInt">
                                <xs:annotation>
                                  <xs:documentation>The time interval in microseconds during
                                    which all arriving packets are sampled between gaps
                                    of length timeSpace.
                                    This parameter corresponds to the Information Element
                                    samplingTimeInterval and to psampSampTimeBasedInterval
                                    in the PSAMP MIB module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:units>microseconds</ncx:units>
                                    <ncx:mandatory>true</ncx:mandatory>
                                    <ncx:reference>
                                      <ncx:text>RFC5477, Section 8.2.4; RFCyyyy, Section 6
                                        (psampSampTimeBasedInterval).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="timeSpace"
                                type="xs:unsignedInt">
                                <xs:annotation>
                                  <xs:documentation>The time interval in microseconds during
                                    which no packets are sampled between two sampling
                                    intervals specified by timeInterval.
                                    This parameter corresponds to the Information Element
                                    samplingTimeInterval and to psampSampTimeBasedSpace
                                    in the PSAMP MIB module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:units>microseconds</ncx:units>
                                    <ncx:mandatory>true</ncx:mandatory>
                                    <ncx:reference>
                                      <ncx:text>RFC5477, Section 8.2.5; RFCyyyy, Section 6
                                        (psampSampTimeBasedSpace).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:any minOccurs="0"
                                maxOccurs="unbounded"
                                namespace="##other"
                                processContents="lax"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                      <xs:sequence>
                        <xs:annotation>
                          <xs:appinfo>
                            <ncx:case-name>sampRandOutOfN</ncx:case-name>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:element name="sampRandOutOfN">
                          <xs:annotation>
                            <xs:documentation>n-out-of-N packet sampling.</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="size"
                                type="xs:unsignedInt">
                                <xs:annotation>
                                  <xs:documentation>The number of elements taken from the parent
                                    population.
                                    This parameter corresponds to the Information Element
                                    samplingSize and to psampSampRandOutOfNSize in the PSAMP
                                    MIB module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:units>packets</ncx:units>
                                    <ncx:mandatory>true</ncx:mandatory>
                                    <ncx:reference>
                                      <ncx:text>RFC5477, Section 8.2.6; RFCyyyy, Section 6
                                        (psampSampRandOutOfNSize).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="population"
                                type="xs:unsignedInt">
                                <xs:annotation>
                                  <xs:documentation>The number of elements in the parent
                                    population.
                                    This parameter corresponds to the Information Element
                                    samplingPopulation and to psampSampRandOutOfNPopulation
                                    in the PSAMP MIB module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:units>packets</ncx:units>
                                    <ncx:mandatory>true</ncx:mandatory>
                                    <ncx:reference>
                                      <ncx:text>RFC5477, Section 8.2.7; RFCyyyy, Section 6
                                        (psampSampRandOutOfNPopulation).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:any minOccurs="0"
                                maxOccurs="unbounded"
                                namespace="##other"
                                processContents="lax"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                      <xs:sequence>
                        <xs:annotation>
                          <xs:appinfo>
                            <ncx:case-name>sampUniProb</ncx:case-name>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:element name="sampUniProb">
                          <xs:annotation>
                            <xs:documentation>Uniform probabilistic packet sampling.</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="probability">
                                <xs:annotation>
                                  <xs:documentation>Probability that a packet is sampled,
                                    expressed as a value between 0 and 1. The probability
                                    is equal for every packet.
                                    This parameter corresponds to the Information Element
                                    samplingProbability and to psampSampUniProbProbability
                                    in the PSAMP MIB module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:mandatory>true</ncx:mandatory>
                                    <ncx:reference>
                                      <ncx:text>RFC5477, Section 8.2.8; RFCyyyy, Section 6
                                        (psampSampUniProbProbability).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                                <xs:simpleType>
                                  <xs:restriction base="xs:long">
                                    <xs:minInclusive value="0.0"/>
                                    <xs:maxInclusive
                                      value="1.000000000000000000"/>
                                  </xs:restriction>
                                </xs:simpleType>
                              </xs:element>
                              <xs:any minOccurs="0"
                                maxOccurs="unbounded"
                                namespace="##other"
                                processContents="lax"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                      <xs:sequence>
                        <xs:annotation>
                          <xs:appinfo>
                            <ncx:case-name>filterMatch</ncx:case-name>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:element name="filterMatch">
                          <xs:annotation>
                            <xs:documentation>Property match filtering.</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:sequence>
                              <xs:choice>
                                <xs:annotation>
                                  <xs:documentation>The field to be matched is specified by
                                    either the name or the ID of the Information
                                    Element.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:choice-name>nameOrId</ncx:choice-name>
                                    <ncx:mandatory>true</ncx:mandatory>
                                  </xs:appinfo>
                                </xs:annotation>
                                <xs:sequence>
                                  <xs:annotation>
                                    <xs:appinfo>
                                      <ncx:case-name>ieName</ncx:case-name>
                                    </xs:appinfo>
                                  </xs:annotation>
                                  <xs:element name="ieName"
                                    type="ieNameType" minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>Name of the Information Element.</xs:documentation>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:any minOccurs="0"
                                    maxOccurs="unbounded"
                                    namespace="##other"
                                    processContents="lax"/>
                                </xs:sequence>
                                <xs:sequence>
                                  <xs:annotation>
                                    <xs:appinfo>
                                      <ncx:case-name>ieId</ncx:case-name>
                                    </xs:appinfo>
                                  </xs:annotation>
                                  <xs:element name="ieId"
                                    type="ieIdType" minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>ID of the Information Element.</xs:documentation>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:any minOccurs="0"
                                    maxOccurs="unbounded"
                                    namespace="##other"
                                    processContents="lax"/>
                                </xs:sequence>
                                <xs:any minOccurs="0"
                                  maxOccurs="unbounded"
                                  namespace="##other"
                                  processContents="lax"/>
                              </xs:choice>
                              <xs:element name="ieEnterpriseNumber"
                                type="xs:unsignedInt" default="0"
                                minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>If this parameter is zero, the Information
                                    Element is registered in the IANA registry of IPFIX
                                    Information Elements.
                                    If this parameter is configured with a non-zero private
                                    enterprise number, the Information Element is
                                    enterprise-specific.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:reference>
                                      <ncx:text>RFC5102.</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="value" type="xs:string">
                                <xs:annotation>
                                  <xs:documentation>Matching value of the Information Element.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:mandatory>true</ncx:mandatory>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:any minOccurs="0"
                                maxOccurs="unbounded"
                                namespace="##other"
                                processContents="lax"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                      <xs:sequence>
                        <xs:annotation>
                          <xs:appinfo>
                            <ncx:case-name>filterHash</ncx:case-name>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:element name="filterHash">
                          <xs:annotation>
                            <xs:documentation>Hash-based filtering.</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="hashFunction"
                                type="xs:QName" default="BOB"
                                minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>Hash function to be applied. According to
                                    RFC5475, Section 6.2.4.1, 'BOB' must be used in order to
                                    be compliant with PSAMP.
                                    This parameter functionally corresponds to
                                    psampFiltHashFunction in the PSAMP MIB module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:reference>
                                      <ncx:text>RFCyyyy, Section 6 (psampFiltHashFunction)</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="initializerValue"
                                type="xs:unsignedLong" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>Initializer value to the hash function.
                                    If not configured by the user, the Monitoring Device
                                    arbitrarily chooses an initializer value.
                                    This parameter corresponds to the Information Element
                                    hashInitialiserValue and to psampFiltHashInitializerValue
                                    in the PSAMP MIB module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:reference>
                                      <ncx:text>RFC5477, Section 8.3.9; RFCyyyy, Section 6
                                        (psampFiltHashInitializerValue).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="ipPayloadOffset"
                                type="xs:unsignedLong" default="0"
                                minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>IP payload offset indicating the position of
                                    the first payload byte considered as input to the hash
                                    function.
                                    Default value 0 corresponds to the minimum offset that
                                    must be configurable according to RFC5476, Section
                                    6.2.5.6.
                                    This parameter corresponds to the Information Element
                                    hashIPPayloadOffset and to psampFiltHashIpPayloadOffset
                                    in the PSAMP MIB module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:units>octets</ncx:units>
                                    <ncx:reference>
                                      <ncx:text>RFC5477, Section 8.3.2; RFCyyyy, Section 6
                                        (psampFiltHashIpPayloadOffset).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="ipPayloadSize"
                                type="xs:unsignedLong" default="8"
                                minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>Number of IP payload bytes used as input to
                                    the hash function, counted from the payload offset.
                                    If the IP payload is shorter than the payload range,
                                    all available payload octets are used as input.
                                    Default value 8 corresponds to the minimum IP payload
                                    size that must be configurable according to RFC5476,
                                    Section 6.2.5.6.
                                    This parameter corresponds to the Information Element
                                    hashIPPayloadSize and to psampFiltHashIpPayloadSize
                                    in the PSAMP MIB module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:units>octets</ncx:units>
                                    <ncx:reference>
                                      <ncx:text>RFC5477, Section 8.3.3; RFCyyyy, Section 6
                                        (psampFiltHashIpPayloadSize).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="digestOutput"
                                type="xs:boolean" default="false"
                                minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>If true, the output from this Selector is
                                    included in the Packet Report as a packet digest.
                                    Therefore, the configured Cache Layout needs to contain
                                    a digestHashValue field.
                                    This parameter corresponds to the Information Element
                                    hashDigestOutput.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:reference>
                                      <ncx:text>RFC5477, Section 8.3.8.</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="outputRangeMin"
                                type="xs:unsignedLong" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>Beginning of the hash function's potential
                                    range.
                                    This parameter corresponds to the Information Element
                                    hashOutputRangeMin and to psampFiltHashOutputRangeMin
                                    in the PSAMP MIB module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:config>false</ncx:config>
                                    <ncx:reference>
                                      <ncx:text>RFC5477, Section 8.3.4; RFCyyyy, Section 6
                                        (psampFiltHashOutputRangeMin).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="outputRangeMax"
                                type="xs:unsignedLong" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>End of the hash function's potential range.
                                    This parameter corresponds to the Information Element
                                    hashOutputRangeMax and to psampFiltHashOutputRangeMax
                                    in the PSAMP MIB module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:config>false</ncx:config>
                                    <ncx:reference>
                                      <ncx:text>RFC5477, Section 8.3.5; RFCyyyy, Section 6
                                        (psampFiltHashOutputRangeMax).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="selectedRange"
                                minOccurs="1" maxOccurs="unbounded">
                                <xs:annotation>
                                  <xs:documentation>List of hash function return ranges for
                                    which packets are selected.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:ordered-by>system</ncx:ordered-by>
                                  </xs:appinfo>
                                </xs:annotation>
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element name="name"
                                      type="nameType">
                                      <xs:annotation>
                                        <xs:documentation>Key of this list.</xs:documentation>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="min"
                                      type="xs:unsignedLong"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>Beginning of the hash function's selected
                                          range.
                                          This parameter corresponds to the Information Element
                                          hashSelectedRangeMin and to psampFiltHashSelectedRangeMin
                                          in the PSAMP MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5477, Section 8.3.6; RFCyyyy, Section 6
                                              (psampFiltHashSelectedRangeMin).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="max"
                                      type="xs:unsignedLong"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>End of the hash function's selected range.
                                          This parameter corresponds to the Information Element
                                          hashSelectedRangeMax and to psampFiltHashSelectedRangeMax
                                          in the PSAMP MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5477, Section 8.3.7; RFCyyyy, Section 6
                                              (psampFiltHashSelectedRangeMax).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:any minOccurs="0"
                                      maxOccurs="unbounded"
                                      namespace="##other"
                                      processContents="lax"/>
                                  </xs:sequence>
                                </xs:complexType>
                                <xs:key name="selectedRangekey79">
                                  <xs:selector xpath="."/>
                                  <xs:field xpath="name"/>
                                </xs:key>
                              </xs:element>
                              <xs:any minOccurs="0"
                                maxOccurs="unbounded"
                                namespace="##other"
                                processContents="lax"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                      <xs:any minOccurs="0" maxOccurs="unbounded"
                        namespace="##other" processContents="lax"/>
                    </xs:choice>
                    <xs:element name="packetsObserved"
                      type="yang:counter64" minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>The number of packets observed at the input of
                          the Selector.
                          If this is the first Selector in the Selection Process,
                          this counter corresponds to the total number of packets in
                          all Observed Packet Streams at the input of the Selection
                          Process. Otherwise, the counter corresponds to the total
                          number of packets at the output of the preceding Selector.
                          Discontinuities in the value of this counter can occur at
                          re-initialization of the management system, and at other
                          times as indicated by the value of
                          selectorDiscontinuityTime.
                          Note that this parameter corresponds to
                          ipfixSelectorStatsPacketsObserved in the IPFIX MIB
                          module.</xs:documentation>
                        <xs:appinfo>
                          <ncx:config>false</ncx:config>
                          <ncx:reference>
                            <ncx:text>RFC5815, Section 8
                              (ipfixSelectorStatsPacketsObserved).</ncx:text>
                          </ncx:reference>
                        </xs:appinfo>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="packetsDropped"
                      type="yang:counter64" minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>The total number of packets discarded by the
                          Selector.
                          Discontinuities in the value of this counter can occur at
                          re-initialization of the management system, and at other
                          times as indicated by the value of
                          selectorDiscontinuityTime.
                          Note that this parameter corresponds to
                          ipfixSelectorStatsPacketsDropped in the IPFIX MIB
                          module.</xs:documentation>
                        <xs:appinfo>
                          <ncx:config>false</ncx:config>
                          <ncx:reference>
                            <ncx:text>RFC5815, Section 8
                              (ipfixSelectorStatsPacketsDropped).</ncx:text>
                          </ncx:reference>
                        </xs:appinfo>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="selectorDiscontinuityTime"
                      type="yang:date-and-time" minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>Timestamp of the most recent occasion at which
                          one or more of the Selector counters suffered a
                          discontinuity.
                          Note that this parameter functionally corresponds to
                          ipfixSelectionProcessStatsDiscontinuityTime in the IPFIX
                          MIB module. In contrast to
                          ipfixSelectionProcessStatsDiscontinuityTime, the time is
                          absolute and not relative to sysUpTime.</xs:documentation>
                        <xs:appinfo>
                          <ncx:config>false</ncx:config>
                          <ncx:reference>
                            <ncx:text>RFC5815, Section 8
                              (ipfixSelectionProcessStatsDiscontinuityTime).</ncx:text>
                          </ncx:reference>
                        </xs:appinfo>
                      </xs:annotation>
                    </xs:element>
                    <xs:any minOccurs="0" maxOccurs="unbounded"
                      namespace="##other" processContents="lax"/>
                  </xs:sequence>
                </xs:complexType>
                <xs:key name="selectorkey80">
                  <xs:selector xpath="."/>
                  <xs:field xpath="name"/>
                </xs:key>
              </xs:element>
              <xs:element name="selectionSequence" minOccurs="0"
                maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation>This list contains the Selection Sequence IDs
                    which are assigned by the Monitoring Device to distinguish
                    different Selection Sequences passing through the
                    Selection Process.
                    As Selection Sequence IDs are unique per Observation
                    Domain, the corresponding Observation Domain IDs are
                    included as well.
                    With this information, it is possible to associate
                    Selection Sequence (Statistics) Report Interpretations
                    exported according to the PSAMP protocol with a Selection
                    Process in the configuration data.</xs:documentation>
                  <xs:appinfo>
                    <ncx:config>false</ncx:config>
                    <ncx:ordered-by>system</ncx:ordered-by>
                    <ncx:reference>
                      <ncx:text>RFC5476.</ncx:text>
                    </ncx:reference>
                  </xs:appinfo>
                </xs:annotation>
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="observationDomainId"
                      type="xs:unsignedInt" minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>Observation Domain ID for which the
                          Selection Sequence ID is assigned.</xs:documentation>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="selectionSequenceId"
                      type="xs:unsignedLong" minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>Selection Sequence ID used in the Selection
                          Sequence (Statistics) Report Interpretation.</xs:documentation>
                      </xs:annotation>
                    </xs:element>
                    <xs:any minOccurs="0" maxOccurs="unbounded"
                      namespace="##other" processContents="lax"/>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element name="cache" type="xs:string" minOccurs="0">
                <xs:annotation>
                  <xs:documentation>Cache which receives the output of the
                    Selection Process.</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:any minOccurs="0" maxOccurs="unbounded"
                namespace="##other" processContents="lax"/>
            </xs:sequence>
          </xs:complexType>
          <xs:key name="selectionProcesskey81">
            <xs:selector xpath="."/>
            <xs:field xpath="name"/>
          </xs:key>
        </xs:element>
        <xs:element name="cache" minOccurs="0" maxOccurs="unbounded">
          <xs:annotation>
            <xs:documentation>Cache of the Monitoring Device.</xs:documentation>
            <xs:appinfo>
              <ncx:ordered-by>system</ncx:ordered-by>
            </xs:appinfo>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="name" type="nameType">
                <xs:annotation>
                  <xs:documentation>Key of this list.</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="dataRecords" type="yang:counter64"
                minOccurs="0">
                <xs:annotation>
                  <xs:documentation>The number of Data Records generated by this
                    Cache.
                    Discontinuities in the value of this counter can occur at
                    re-initialization of the management system, and at other
                    times as indicated by the value of
                    cacheDiscontinuityTime.
                    Note that this parameter corresponds to
                    ipfixMeteringProcessDataRecords in the IPFIX MIB
                    module.</xs:documentation>
                  <xs:appinfo>
                    <ncx:config>false</ncx:config>
                    <ncx:units>Data Records</ncx:units>
                    <ncx:reference>
                      <ncx:text>RFC5815, Section 8
                        (ipfixMeteringProcessDataRecords).</ncx:text>
                    </ncx:reference>
                  </xs:appinfo>
                </xs:annotation>
              </xs:element>
              <xs:element name="cacheDiscontinuityTime"
                type="yang:date-and-time" minOccurs="0">
                <xs:annotation>
                  <xs:documentation>Timestamp of the most recent occasion at which
                    the counter dataRecords suffered a discontinuity.
                    Note that this parameter functionally corresponds to
                    ipfixMeteringProcessDiscontinuityTime in the IPFIX MIB
                    module. In contrast to
                    ipfixMeteringProcessDiscontinuityTime, the time is
                    absolute and not relative to sysUpTime.</xs:documentation>
                  <xs:appinfo>
                    <ncx:config>false</ncx:config>
                    <ncx:reference>
                      <ncx:text>RFC5815, Section 8
                        (ipfixMeteringProcessDiscontinuityTime).</ncx:text>
                    </ncx:reference>
                  </xs:appinfo>
                </xs:annotation>
              </xs:element>
              <xs:choice>
                <xs:annotation>
                  <xs:documentation>Type of Cache and specific parameters.</xs:documentation>
                  <xs:appinfo>
                    <ncx:choice-name>CacheType</ncx:choice-name>
                    <ncx:mandatory>true</ncx:mandatory>
                  </xs:appinfo>
                </xs:annotation>
                <xs:sequence>
                  <xs:annotation>
                    <xs:appinfo>
                      <ncx:case-name>immediateCache</ncx:case-name>
                    </xs:appinfo>
                  </xs:annotation>
                  <xs:element name="immediateCache">
                    <xs:annotation>
                      <xs:documentation>Flow expiration after the first packet;
                        generation of Packet Records.</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="cacheLayout">
                          <xs:annotation>
                            <xs:documentation>Cache Layout parameters.</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="cacheField"
                                minOccurs="1" maxOccurs="unbounded">
                                <xs:annotation>
                                  <xs:documentation>Superset of fields that are included in the
                                    Packet Reports or Flow Records generated by the Cache.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:ordered-by>system</ncx:ordered-by>
                                  </xs:appinfo>
                                </xs:annotation>
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element name="name"
                                      type="nameType">
                                      <xs:annotation>
                                        <xs:documentation>Key of this list.</xs:documentation>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:choice>
                                      <xs:annotation>
                                        <xs:documentation>Name or ID of the Information Element.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:choice-name>nameOrId</ncx:choice-name>
                                          <ncx:mandatory>true</ncx:mandatory>
                                          <ncx:reference>
                                            <ncx:text>RFC5102.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                      <xs:sequence>
                                        <xs:annotation>
                                          <xs:appinfo>
                                            <ncx:case-name>ieName</ncx:case-name>
                                          </xs:appinfo>
                                        </xs:annotation>
                                        <xs:element name="ieName"
                                          type="ieNameType"
                                          minOccurs="0">
                                          <xs:annotation>
                                            <xs:documentation>Name of the Information Element.</xs:documentation>
                                          </xs:annotation>
                                        </xs:element>
                                        <xs:any minOccurs="0"
                                          maxOccurs="unbounded"
                                          namespace="##other"
                                          processContents="lax"/>
                                      </xs:sequence>
                                      <xs:sequence>
                                        <xs:annotation>
                                          <xs:appinfo>
                                            <ncx:case-name>ieId</ncx:case-name>
                                          </xs:appinfo>
                                        </xs:annotation>
                                        <xs:element name="ieId"
                                          type="ieIdType" minOccurs="0">
                                          <xs:annotation>
                                            <xs:documentation>ID of the Information Element.</xs:documentation>
                                          </xs:annotation>
                                        </xs:element>
                                        <xs:any minOccurs="0"
                                          maxOccurs="unbounded"
                                          namespace="##other"
                                          processContents="lax"/>
                                      </xs:sequence>
                                      <xs:any minOccurs="0"
                                        maxOccurs="unbounded"
                                        namespace="##other"
                                        processContents="lax"/>
                                    </xs:choice>
                                    <xs:element name="ieLength"
                                      type="xs:unsignedShort"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>Length of the field in which the Information
                                          Element is encoded. A value of 65535 specifies a
                                          variable-length Information Element. For Information
                                          Elements of integer and float type, the field length MAY
                                          be set to a smaller value than the standard length of
                                          the abstract data type if the rules of reduced size
                                          encoding are fulfilled.
                                          If not configured by the user, this parameter is set by
                                          the Monitoring Device.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>octets</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5101, Section 6.2; RFC5102.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element
                                      name="ieEnterpriseNumber"
                                      type="xs:unsignedInt" default="0"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>If this parameter is zero, the Information
                                          Element is registered in the IANA registry of IPFIX
                                          Information Elements.
                                          If this parameter is configured with a non-zero private
                                          enterprise number, the Information Element is
                                          enterprise-specific.
                                          If the enterprise number is set to 29305, this field
                                          contains a Reverse Information Element. In this case,
                                          the Cache MUST generate Data Records in accordance to
                                          RFC5103.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5101; RFC5102; RFC5103.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="isFlowKey"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>If present, this is a flow key.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:when>(name(../../..) != 'immediateCache')
                                            and
                                            ((count(../ieEnterpriseNumber) = 0)
                                            or
                                            (../ieEnterpriseNumber != 29305))</ncx:when>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:any minOccurs="0"
                                      maxOccurs="unbounded"
                                      namespace="##other"
                                      processContents="lax"/>
                                  </xs:sequence>
                                </xs:complexType>
                                <xs:key name="cacheFieldkey82">
                                  <xs:selector xpath="."/>
                                  <xs:field xpath="name"/>
                                </xs:key>
                              </xs:element>
                              <xs:any minOccurs="0"
                                maxOccurs="unbounded"
                                namespace="##other"
                                processContents="lax"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:sequence>
                <xs:sequence>
                  <xs:annotation>
                    <xs:appinfo>
                      <ncx:case-name>timeoutCache</ncx:case-name>
                    </xs:appinfo>
                  </xs:annotation>
                  <xs:element name="timeoutCache">
                    <xs:annotation>
                      <xs:documentation>Flow expiration after active and inactive
                        timeout; generation of Flow Records.</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="maxFlows"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter configures the maximum number of
                              Flows in the Cache, which is the maximum number of Flows
                              that can be measured simultaneously.
                              The Monitoring Device MUST ensure that sufficient resources
                              are available to store the configured maximum number of
                              Flows.
                              If the maximum number of Flows is measured, no additional
                              Flows can be measured before any of the existing entries is
                              removed. However, traffic which pertains to existing Flows
                              can continue to be measured.</xs:documentation>
                            <xs:appinfo>
                              <ncx:units>flows</ncx:units>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="activeTimeout"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter configures the time in
                              seconds after which a Flow is expired even though packets
                              matching this Flow are still received by the Cache.
                              The parameter value zero indicates infinity, meaning that
                              there is no active timeout.
                              If not configured by the user, the Monitoring Device sets
                              this parameter.
                              Note that this parameter corresponds to
                              ipfixMeteringProcessCacheActiveTimeout in the IPFIX
                              MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>(name(..) = 'timeoutCache') or
                                (name(..) = 'naturalCache')</ncx:when>
                              <ncx:units>seconds</ncx:units>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixMeteringProcessCacheActiveTimeout).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="inactiveTimeout"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter configures the time in
                              seconds after which a Flow is expired if no more packets
                              matching this Flow are received by the Cache.
                              The parameter value zero indicates infinity, meaning that
                              there is no inactive timeout.
                              If not configured by the user, the Monitoring Device sets
                              this parameter.
                              Note that this parameter corresponds to
                              ipfixMeteringProcessCacheInactiveTimeout in the IPFIX
                              MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>(name(..) = 'timeoutCache') or
                                (name(..) = 'naturalCache')</ncx:when>
                              <ncx:units>seconds</ncx:units>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixMeteringProcessCacheInactiveTimeout).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="exportInterval"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter configures the interval (in
                              seconds) for periodical export of Flow Records.
                              If not configured by the user, the Monitoring Device sets
                              this parameter.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>name(..) = 'permanentCache'</ncx:when>
                              <ncx:units>seconds</ncx:units>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="activeFlows"
                          type="yang:gauge32" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>The number of Flows currently active in this
                              Cache.
                              Note that this parameter corresponds to
                              ipfixMeteringProcessCacheActiveFlows in the IPFIX MIB
                              module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:config>false</ncx:config>
                              <ncx:units>flows</ncx:units>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixMeteringProcessCacheActiveFlows).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="unusedCacheEntries"
                          type="yang:gauge32" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>The number of unused Cache entries in this
                              Cache.
                              Note that this parameter corresponds to
                              ipfixMeteringProcessCacheUnusedCacheEntries in the IPFIX
                              MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:config>false</ncx:config>
                              <ncx:units>flows</ncx:units>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixMeteringProcessCacheUnusedCacheEntries).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="cacheLayout">
                          <xs:annotation>
                            <xs:documentation>Cache Layout parameters.</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="cacheField"
                                minOccurs="1" maxOccurs="unbounded">
                                <xs:annotation>
                                  <xs:documentation>Superset of fields that are included in the
                                    Packet Reports or Flow Records generated by the Cache.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:ordered-by>system</ncx:ordered-by>
                                  </xs:appinfo>
                                </xs:annotation>
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element name="name"
                                      type="nameType">
                                      <xs:annotation>
                                        <xs:documentation>Key of this list.</xs:documentation>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:choice>
                                      <xs:annotation>
                                        <xs:documentation>Name or ID of the Information Element.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:choice-name>nameOrId</ncx:choice-name>
                                          <ncx:mandatory>true</ncx:mandatory>
                                          <ncx:reference>
                                            <ncx:text>RFC5102.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                      <xs:sequence>
                                        <xs:annotation>
                                          <xs:appinfo>
                                            <ncx:case-name>ieName</ncx:case-name>
                                          </xs:appinfo>
                                        </xs:annotation>
                                        <xs:element name="ieName"
                                          type="ieNameType"
                                          minOccurs="0">
                                          <xs:annotation>
                                            <xs:documentation>Name of the Information Element.</xs:documentation>
                                          </xs:annotation>
                                        </xs:element>
                                        <xs:any minOccurs="0"
                                          maxOccurs="unbounded"
                                          namespace="##other"
                                          processContents="lax"/>
                                      </xs:sequence>
                                      <xs:sequence>
                                        <xs:annotation>
                                          <xs:appinfo>
                                            <ncx:case-name>ieId</ncx:case-name>
                                          </xs:appinfo>
                                        </xs:annotation>
                                        <xs:element name="ieId"
                                          type="ieIdType" minOccurs="0">
                                          <xs:annotation>
                                            <xs:documentation>ID of the Information Element.</xs:documentation>
                                          </xs:annotation>
                                        </xs:element>
                                        <xs:any minOccurs="0"
                                          maxOccurs="unbounded"
                                          namespace="##other"
                                          processContents="lax"/>
                                      </xs:sequence>
                                      <xs:any minOccurs="0"
                                        maxOccurs="unbounded"
                                        namespace="##other"
                                        processContents="lax"/>
                                    </xs:choice>
                                    <xs:element name="ieLength"
                                      type="xs:unsignedShort"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>Length of the field in which the Information
                                          Element is encoded. A value of 65535 specifies a
                                          variable-length Information Element. For Information
                                          Elements of integer and float type, the field length MAY
                                          be set to a smaller value than the standard length of
                                          the abstract data type if the rules of reduced size
                                          encoding are fulfilled.
                                          If not configured by the user, this parameter is set by
                                          the Monitoring Device.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>octets</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5101, Section 6.2; RFC5102.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element
                                      name="ieEnterpriseNumber"
                                      type="xs:unsignedInt" default="0"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>If this parameter is zero, the Information
                                          Element is registered in the IANA registry of IPFIX
                                          Information Elements.
                                          If this parameter is configured with a non-zero private
                                          enterprise number, the Information Element is
                                          enterprise-specific.
                                          If the enterprise number is set to 29305, this field
                                          contains a Reverse Information Element. In this case,
                                          the Cache MUST generate Data Records in accordance to
                                          RFC5103.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5101; RFC5102; RFC5103.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="isFlowKey"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>If present, this is a flow key.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:when>(name(../../..) != 'immediateCache')
                                            and
                                            ((count(../ieEnterpriseNumber) = 0)
                                            or
                                            (../ieEnterpriseNumber != 29305))</ncx:when>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:any minOccurs="0"
                                      maxOccurs="unbounded"
                                      namespace="##other"
                                      processContents="lax"/>
                                  </xs:sequence>
                                </xs:complexType>
                                <xs:key name="cacheFieldkey83">
                                  <xs:selector xpath="."/>
                                  <xs:field xpath="name"/>
                                </xs:key>
                              </xs:element>
                              <xs:any minOccurs="0"
                                maxOccurs="unbounded"
                                namespace="##other"
                                processContents="lax"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:sequence>
                <xs:sequence>
                  <xs:annotation>
                    <xs:appinfo>
                      <ncx:case-name>naturalCache</ncx:case-name>
                    </xs:appinfo>
                  </xs:annotation>
                  <xs:element name="naturalCache">
                    <xs:annotation>
                      <xs:documentation>Flow expiration after active and inactive
                        timeout, or on natural termination (e.g. TCP FIN, or
                        TCP RST) of the Flow; generation of Flow Records.</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="maxFlows"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter configures the maximum number of
                              Flows in the Cache, which is the maximum number of Flows
                              that can be measured simultaneously.
                              The Monitoring Device MUST ensure that sufficient resources
                              are available to store the configured maximum number of
                              Flows.
                              If the maximum number of Flows is measured, no additional
                              Flows can be measured before any of the existing entries is
                              removed. However, traffic which pertains to existing Flows
                              can continue to be measured.</xs:documentation>
                            <xs:appinfo>
                              <ncx:units>flows</ncx:units>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="activeTimeout"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter configures the time in
                              seconds after which a Flow is expired even though packets
                              matching this Flow are still received by the Cache.
                              The parameter value zero indicates infinity, meaning that
                              there is no active timeout.
                              If not configured by the user, the Monitoring Device sets
                              this parameter.
                              Note that this parameter corresponds to
                              ipfixMeteringProcessCacheActiveTimeout in the IPFIX
                              MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>(name(..) = 'timeoutCache') or
                                (name(..) = 'naturalCache')</ncx:when>
                              <ncx:units>seconds</ncx:units>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixMeteringProcessCacheActiveTimeout).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="inactiveTimeout"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter configures the time in
                              seconds after which a Flow is expired if no more packets
                              matching this Flow are received by the Cache.
                              The parameter value zero indicates infinity, meaning that
                              there is no inactive timeout.
                              If not configured by the user, the Monitoring Device sets
                              this parameter.
                              Note that this parameter corresponds to
                              ipfixMeteringProcessCacheInactiveTimeout in the IPFIX
                              MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>(name(..) = 'timeoutCache') or
                                (name(..) = 'naturalCache')</ncx:when>
                              <ncx:units>seconds</ncx:units>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixMeteringProcessCacheInactiveTimeout).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="exportInterval"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter configures the interval (in
                              seconds) for periodical export of Flow Records.
                              If not configured by the user, the Monitoring Device sets
                              this parameter.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>name(..) = 'permanentCache'</ncx:when>
                              <ncx:units>seconds</ncx:units>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="activeFlows"
                          type="yang:gauge32" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>The number of Flows currently active in this
                              Cache.
                              Note that this parameter corresponds to
                              ipfixMeteringProcessCacheActiveFlows in the IPFIX MIB
                              module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:config>false</ncx:config>
                              <ncx:units>flows</ncx:units>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixMeteringProcessCacheActiveFlows).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="unusedCacheEntries"
                          type="yang:gauge32" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>The number of unused Cache entries in this
                              Cache.
                              Note that this parameter corresponds to
                              ipfixMeteringProcessCacheUnusedCacheEntries in the IPFIX
                              MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:config>false</ncx:config>
                              <ncx:units>flows</ncx:units>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixMeteringProcessCacheUnusedCacheEntries).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="cacheLayout">
                          <xs:annotation>
                            <xs:documentation>Cache Layout parameters.</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="cacheField"
                                minOccurs="1" maxOccurs="unbounded">
                                <xs:annotation>
                                  <xs:documentation>Superset of fields that are included in the
                                    Packet Reports or Flow Records generated by the Cache.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:ordered-by>system</ncx:ordered-by>
                                  </xs:appinfo>
                                </xs:annotation>
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element name="name"
                                      type="nameType">
                                      <xs:annotation>
                                        <xs:documentation>Key of this list.</xs:documentation>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:choice>
                                      <xs:annotation>
                                        <xs:documentation>Name or ID of the Information Element.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:choice-name>nameOrId</ncx:choice-name>
                                          <ncx:mandatory>true</ncx:mandatory>
                                          <ncx:reference>
                                            <ncx:text>RFC5102.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                      <xs:sequence>
                                        <xs:annotation>
                                          <xs:appinfo>
                                            <ncx:case-name>ieName</ncx:case-name>
                                          </xs:appinfo>
                                        </xs:annotation>
                                        <xs:element name="ieName"
                                          type="ieNameType"
                                          minOccurs="0">
                                          <xs:annotation>
                                            <xs:documentation>Name of the Information Element.</xs:documentation>
                                          </xs:annotation>
                                        </xs:element>
                                        <xs:any minOccurs="0"
                                          maxOccurs="unbounded"
                                          namespace="##other"
                                          processContents="lax"/>
                                      </xs:sequence>
                                      <xs:sequence>
                                        <xs:annotation>
                                          <xs:appinfo>
                                            <ncx:case-name>ieId</ncx:case-name>
                                          </xs:appinfo>
                                        </xs:annotation>
                                        <xs:element name="ieId"
                                          type="ieIdType" minOccurs="0">
                                          <xs:annotation>
                                            <xs:documentation>ID of the Information Element.</xs:documentation>
                                          </xs:annotation>
                                        </xs:element>
                                        <xs:any minOccurs="0"
                                          maxOccurs="unbounded"
                                          namespace="##other"
                                          processContents="lax"/>
                                      </xs:sequence>
                                      <xs:any minOccurs="0"
                                        maxOccurs="unbounded"
                                        namespace="##other"
                                        processContents="lax"/>
                                    </xs:choice>
                                    <xs:element name="ieLength"
                                      type="xs:unsignedShort"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>Length of the field in which the Information
                                          Element is encoded. A value of 65535 specifies a
                                          variable-length Information Element. For Information
                                          Elements of integer and float type, the field length MAY
                                          be set to a smaller value than the standard length of
                                          the abstract data type if the rules of reduced size
                                          encoding are fulfilled.
                                          If not configured by the user, this parameter is set by
                                          the Monitoring Device.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>octets</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5101, Section 6.2; RFC5102.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element
                                      name="ieEnterpriseNumber"
                                      type="xs:unsignedInt" default="0"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>If this parameter is zero, the Information
                                          Element is registered in the IANA registry of IPFIX
                                          Information Elements.
                                          If this parameter is configured with a non-zero private
                                          enterprise number, the Information Element is
                                          enterprise-specific.
                                          If the enterprise number is set to 29305, this field
                                          contains a Reverse Information Element. In this case,
                                          the Cache MUST generate Data Records in accordance to
                                          RFC5103.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5101; RFC5102; RFC5103.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="isFlowKey"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>If present, this is a flow key.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:when>(name(../../..) != 'immediateCache')
                                            and
                                            ((count(../ieEnterpriseNumber) = 0)
                                            or
                                            (../ieEnterpriseNumber != 29305))</ncx:when>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:any minOccurs="0"
                                      maxOccurs="unbounded"
                                      namespace="##other"
                                      processContents="lax"/>
                                  </xs:sequence>
                                </xs:complexType>
                                <xs:key name="cacheFieldkey84">
                                  <xs:selector xpath="."/>
                                  <xs:field xpath="name"/>
                                </xs:key>
                              </xs:element>
                              <xs:any minOccurs="0"
                                maxOccurs="unbounded"
                                namespace="##other"
                                processContents="lax"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:sequence>
                <xs:sequence>
                  <xs:annotation>
                    <xs:appinfo>
                      <ncx:case-name>permanentCache</ncx:case-name>
                    </xs:appinfo>
                  </xs:annotation>
                  <xs:element name="permanentCache">
                    <xs:annotation>
                      <xs:documentation>No flow expiration, periodical export with
                        time interval exportInterval; generation of Flow
                        Records.</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="maxFlows"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter configures the maximum number of
                              Flows in the Cache, which is the maximum number of Flows
                              that can be measured simultaneously.
                              The Monitoring Device MUST ensure that sufficient resources
                              are available to store the configured maximum number of
                              Flows.
                              If the maximum number of Flows is measured, no additional
                              Flows can be measured before any of the existing entries is
                              removed. However, traffic which pertains to existing Flows
                              can continue to be measured.</xs:documentation>
                            <xs:appinfo>
                              <ncx:units>flows</ncx:units>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="activeTimeout"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter configures the time in
                              seconds after which a Flow is expired even though packets
                              matching this Flow are still received by the Cache.
                              The parameter value zero indicates infinity, meaning that
                              there is no active timeout.
                              If not configured by the user, the Monitoring Device sets
                              this parameter.
                              Note that this parameter corresponds to
                              ipfixMeteringProcessCacheActiveTimeout in the IPFIX
                              MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>(name(..) = 'timeoutCache') or
                                (name(..) = 'naturalCache')</ncx:when>
                              <ncx:units>seconds</ncx:units>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixMeteringProcessCacheActiveTimeout).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="inactiveTimeout"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter configures the time in
                              seconds after which a Flow is expired if no more packets
                              matching this Flow are received by the Cache.
                              The parameter value zero indicates infinity, meaning that
                              there is no inactive timeout.
                              If not configured by the user, the Monitoring Device sets
                              this parameter.
                              Note that this parameter corresponds to
                              ipfixMeteringProcessCacheInactiveTimeout in the IPFIX
                              MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>(name(..) = 'timeoutCache') or
                                (name(..) = 'naturalCache')</ncx:when>
                              <ncx:units>seconds</ncx:units>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixMeteringProcessCacheInactiveTimeout).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="exportInterval"
                          type="xs:unsignedInt" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>This parameter configures the interval (in
                              seconds) for periodical export of Flow Records.
                              If not configured by the user, the Monitoring Device sets
                              this parameter.</xs:documentation>
                            <xs:appinfo>
                              <ncx:when>name(..) = 'permanentCache'</ncx:when>
                              <ncx:units>seconds</ncx:units>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="activeFlows"
                          type="yang:gauge32" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>The number of Flows currently active in this
                              Cache.
                              Note that this parameter corresponds to
                              ipfixMeteringProcessCacheActiveFlows in the IPFIX MIB
                              module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:config>false</ncx:config>
                              <ncx:units>flows</ncx:units>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixMeteringProcessCacheActiveFlows).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="unusedCacheEntries"
                          type="yang:gauge32" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>The number of unused Cache entries in this
                              Cache.
                              Note that this parameter corresponds to
                              ipfixMeteringProcessCacheUnusedCacheEntries in the IPFIX
                              MIB module.</xs:documentation>
                            <xs:appinfo>
                              <ncx:config>false</ncx:config>
                              <ncx:units>flows</ncx:units>
                              <ncx:reference>
                                <ncx:text>RFC5815, Section 8
                                  (ipfixMeteringProcessCacheUnusedCacheEntries).</ncx:text>
                              </ncx:reference>
                            </xs:appinfo>
                          </xs:annotation>
                        </xs:element>
                        <xs:element name="cacheLayout">
                          <xs:annotation>
                            <xs:documentation>Cache Layout parameters.</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="cacheField"
                                minOccurs="1" maxOccurs="unbounded">
                                <xs:annotation>
                                  <xs:documentation>Superset of fields that are included in the
                                    Packet Reports or Flow Records generated by the Cache.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:ordered-by>system</ncx:ordered-by>
                                  </xs:appinfo>
                                </xs:annotation>
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element name="name"
                                      type="nameType">
                                      <xs:annotation>
                                        <xs:documentation>Key of this list.</xs:documentation>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:choice>
                                      <xs:annotation>
                                        <xs:documentation>Name or ID of the Information Element.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:choice-name>nameOrId</ncx:choice-name>
                                          <ncx:mandatory>true</ncx:mandatory>
                                          <ncx:reference>
                                            <ncx:text>RFC5102.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                      <xs:sequence>
                                        <xs:annotation>
                                          <xs:appinfo>
                                            <ncx:case-name>ieName</ncx:case-name>
                                          </xs:appinfo>
                                        </xs:annotation>
                                        <xs:element name="ieName"
                                          type="ieNameType"
                                          minOccurs="0">
                                          <xs:annotation>
                                            <xs:documentation>Name of the Information Element.</xs:documentation>
                                          </xs:annotation>
                                        </xs:element>
                                        <xs:any minOccurs="0"
                                          maxOccurs="unbounded"
                                          namespace="##other"
                                          processContents="lax"/>
                                      </xs:sequence>
                                      <xs:sequence>
                                        <xs:annotation>
                                          <xs:appinfo>
                                            <ncx:case-name>ieId</ncx:case-name>
                                          </xs:appinfo>
                                        </xs:annotation>
                                        <xs:element name="ieId"
                                          type="ieIdType" minOccurs="0">
                                          <xs:annotation>
                                            <xs:documentation>ID of the Information Element.</xs:documentation>
                                          </xs:annotation>
                                        </xs:element>
                                        <xs:any minOccurs="0"
                                          maxOccurs="unbounded"
                                          namespace="##other"
                                          processContents="lax"/>
                                      </xs:sequence>
                                      <xs:any minOccurs="0"
                                        maxOccurs="unbounded"
                                        namespace="##other"
                                        processContents="lax"/>
                                    </xs:choice>
                                    <xs:element name="ieLength"
                                      type="xs:unsignedShort"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>Length of the field in which the Information
                                          Element is encoded. A value of 65535 specifies a
                                          variable-length Information Element. For Information
                                          Elements of integer and float type, the field length MAY
                                          be set to a smaller value than the standard length of
                                          the abstract data type if the rules of reduced size
                                          encoding are fulfilled.
                                          If not configured by the user, this parameter is set by
                                          the Monitoring Device.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>octets</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5101, Section 6.2; RFC5102.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element
                                      name="ieEnterpriseNumber"
                                      type="xs:unsignedInt" default="0"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>If this parameter is zero, the Information
                                          Element is registered in the IANA registry of IPFIX
                                          Information Elements.
                                          If this parameter is configured with a non-zero private
                                          enterprise number, the Information Element is
                                          enterprise-specific.
                                          If the enterprise number is set to 29305, this field
                                          contains a Reverse Information Element. In this case,
                                          the Cache MUST generate Data Records in accordance to
                                          RFC5103.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5101; RFC5102; RFC5103.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="isFlowKey"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>If present, this is a flow key.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:when>(name(../../..) != 'immediateCache')
                                            and
                                            ((count(../ieEnterpriseNumber) = 0)
                                            or
                                            (../ieEnterpriseNumber != 29305))</ncx:when>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:any minOccurs="0"
                                      maxOccurs="unbounded"
                                      namespace="##other"
                                      processContents="lax"/>
                                  </xs:sequence>
                                </xs:complexType>
                                <xs:key name="cacheFieldkey85">
                                  <xs:selector xpath="."/>
                                  <xs:field xpath="name"/>
                                </xs:key>
                              </xs:element>
                              <xs:any minOccurs="0"
                                maxOccurs="unbounded"
                                namespace="##other"
                                processContents="lax"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:any minOccurs="0" maxOccurs="unbounded"
                    namespace="##other" processContents="lax"/>
                </xs:sequence>
                <xs:any minOccurs="0" maxOccurs="unbounded"
                  namespace="##other" processContents="lax"/>
              </xs:choice>
              <xs:element name="exportingProcess" type="xs:string"
                minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation>Records are exported by all Exporting Processes
                    in the list.</xs:documentation>
                  <xs:appinfo>
                    <ncx:ordered-by>system</ncx:ordered-by>
                  </xs:appinfo>
                </xs:annotation>
              </xs:element>
              <xs:any minOccurs="0" maxOccurs="unbounded"
                namespace="##other" processContents="lax"/>
            </xs:sequence>
          </xs:complexType>
          <xs:key name="cachekey86">
            <xs:selector xpath="."/>
            <xs:field xpath="name"/>
          </xs:key>
        </xs:element>
        <xs:element name="exportingProcess" minOccurs="0"
          maxOccurs="unbounded">
          <xs:annotation>
            <xs:documentation>Exporting Process of the Monitoring Device.</xs:documentation>
            <xs:appinfo>
              <ncx:ordered-by>system</ncx:ordered-by>
            </xs:appinfo>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="name" type="nameType">
                <xs:annotation>
                  <xs:documentation>Key of this list.</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="exportMode" type="xs:QName"
                default="parallel" minOccurs="0">
                <xs:annotation>
                  <xs:documentation>This parameter determines to which configured
                    destination(s) the incoming Data Records are exported.</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="destination" minOccurs="1"
                maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation>List of export destinations.</xs:documentation>
                  <xs:appinfo>
                    <ncx:ordered-by>system</ncx:ordered-by>
                  </xs:appinfo>
                </xs:annotation>
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="name" type="nameType">
                      <xs:annotation>
                        <xs:documentation>Key of this list.</xs:documentation>
                      </xs:annotation>
                    </xs:element>
                    <xs:choice>
                      <xs:annotation>
                        <xs:documentation>Configuration parameters depend on whether
                          SCTP, UDP, or TCP are used as transport protocol, and
                          whether the destination is a file.</xs:documentation>
                        <xs:appinfo>
                          <ncx:choice-name>DestinationParameters</ncx:choice-name>
                          <ncx:mandatory>true</ncx:mandatory>
                        </xs:appinfo>
                      </xs:annotation>
                      <xs:sequence>
                        <xs:annotation>
                          <xs:appinfo>
                            <ncx:case-name>sctpExporter</ncx:case-name>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:element name="sctpExporter">
                          <xs:annotation>
                            <xs:documentation>SCTP parameters.</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="ipfixVersion"
                                type="xs:unsignedShort" default="10"
                                minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>IPFIX version number.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:reference>
                                      <ncx:text>RFC 5101.</ncx:text>
                                      <ncx:url>http://www.ietf.org/rfc/rfc5101.txt</ncx:url>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="destinationPort"
                                type="inet:port-number" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>If not configured by the user, the Monitoring
                                    Device uses the default port number for IPFIX, which is
                                    4739 without transport layer security and 4740 if transport
                                    layer security is activated.</xs:documentation>
                                </xs:annotation>
                              </xs:element>
                              <xs:choice>
                                <xs:annotation>
                                  <xs:documentation>Index or name of the interface as stored in the
                                    ifTable of IF-MIB.
                                    If configured, the Exporting Process MUST use the given
                                    interface to export IPFIX Messages to the export
                                    destination.
                                    If omitted, the Exporting Process selects the outgoing
                                    interface based on local routing decision and accepts
                                    return traffic, such as transport layer acknowledgments,
                                    on all available interfaces.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:choice-name>indexOrName</ncx:choice-name>
                                    <ncx:reference>
                                      <ncx:text>RFC 1229.</ncx:text>
                                      <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                                <xs:sequence>
                                  <xs:annotation>
                                    <xs:appinfo>
                                      <ncx:case-name>ifIndex</ncx:case-name>
                                    </xs:appinfo>
                                  </xs:annotation>
                                  <xs:element name="ifIndex"
                                    type="xs:unsignedInt" minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>Index of an interface as stored in the ifTable
                                        of IF-MIB.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC 1229.</ncx:text>
                                          <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:any minOccurs="0"
                                    maxOccurs="unbounded"
                                    namespace="##other"
                                    processContents="lax"/>
                                </xs:sequence>
                                <xs:sequence>
                                  <xs:annotation>
                                    <xs:appinfo>
                                      <ncx:case-name>ifName</ncx:case-name>
                                    </xs:appinfo>
                                  </xs:annotation>
                                  <xs:element name="ifName"
                                    type="xs:string" minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>Name of an interface as stored in the ifTable
                                        of IF-MIB.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC 1229.</ncx:text>
                                          <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:any minOccurs="0"
                                    maxOccurs="unbounded"
                                    namespace="##other"
                                    processContents="lax"/>
                                </xs:sequence>
                                <xs:any minOccurs="0"
                                  maxOccurs="unbounded"
                                  namespace="##other"
                                  processContents="lax"/>
                              </xs:choice>
                              <xs:element name="sendBufferSize"
                                type="xs:unsignedInt" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>Size of the socket send buffer.
                                    If not configured by the user, this parameter is set by
                                    the Monitoring Device.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:units>bytes</ncx:units>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="rateLimit"
                                type="xs:unsignedInt" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>Maximum number of bytes per second the Exporting
                                    Process may export to the given destination. The number of
                                    bytes is calculated from the lengths of the IPFIX Messages
                                    exported. If not configured, no rate limiting is performed.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:units>bytes per second</ncx:units>
                                    <ncx:reference>
                                      <ncx:text>RFC5476, Section 6.3.</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="transportLayerSecurity">
                                <xs:annotation>
                                  <xs:documentation>Transport layer security configuration.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:presence>If transportLayerSecurity is present, DTLS is
                                      enabled if the transport protocol is SCTP or UDP, and TLS
                                      is enabled if the transport protocol is TCP.</ncx:presence>
                                  </xs:appinfo>
                                </xs:annotation>
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element
                                      name="localCertificationAuthorityDN"
                                      type="xs:string" minOccurs="0"
                                      maxOccurs="unbounded">
                                      <xs:annotation>
                                        <xs:documentation>Distinguished names of certification authorities
                                          whose certificates may be used to identify the local
                                          endpoint.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:ordered-by>system</ncx:ordered-by>
                                          <ncx:reference>
                                            <ncx:text>RFC5280.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="localSubjectDN"
                                      type="xs:string" minOccurs="0"
                                      maxOccurs="unbounded">
                                      <xs:annotation>
                                        <xs:documentation>Distinguished names which may be used in the
                                          certificates to identify the local endpoint.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:ordered-by>system</ncx:ordered-by>
                                          <ncx:reference>
                                            <ncx:text>RFC5280.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="localSubjectFQDN"
                                      type="inet:domain-name"
                                      minOccurs="0"
                                      maxOccurs="unbounded">
                                      <xs:annotation>
                                        <xs:documentation>Fully qualified domain names which may be used to
                                          in the certificates to identify the local endpoint.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:ordered-by>system</ncx:ordered-by>
                                          <ncx:reference>
                                            <ncx:text>RFC5280.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element
                                      name="remoteCertificationAuthorityDN"
                                      type="xs:string" minOccurs="0"
                                      maxOccurs="unbounded">
                                      <xs:annotation>
                                        <xs:documentation>Distinguished names of certification authorities
                                          whose certificates are accepted to authorize remote
                                          endpoints.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:ordered-by>system</ncx:ordered-by>
                                          <ncx:reference>
                                            <ncx:text>RFC5280.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="remoteSubjectDN"
                                      type="xs:string" minOccurs="0"
                                      maxOccurs="unbounded">
                                      <xs:annotation>
                                        <xs:documentation>Distinguished names which are accepted in
                                          certificates to authorize remote endpoints.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:ordered-by>system</ncx:ordered-by>
                                          <ncx:reference>
                                            <ncx:text>RFC5280.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element
                                      name="remoteSubjectFQDN"
                                      type="inet:domain-name"
                                      minOccurs="0"
                                      maxOccurs="unbounded">
                                      <xs:annotation>
                                        <xs:documentation>Fully qualified domain name which are accepted in
                                          certificates to authorize remote endpoints.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:ordered-by>system</ncx:ordered-by>
                                          <ncx:reference>
                                            <ncx:text>RFC5280.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:any minOccurs="0"
                                      maxOccurs="unbounded"
                                      namespace="##other"
                                      processContents="lax"/>
                                  </xs:sequence>
                                </xs:complexType>
                              </xs:element>
                              <xs:element name="transportSession">
                                <xs:annotation>
                                  <xs:documentation>State parameters of the Transport Session
                                    directed to the given destination.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:config>false</ncx:config>
                                  </xs:appinfo>
                                </xs:annotation>
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element name="ipfixVersion"
                                      type="xs:unsignedShort"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>Used for Exporting Processes, this parameter
                                          contains the version number of the IPFIX protocol that the
                                          Exporter uses to export its data in this Transport Session.
                                          Hence, it is identical to the value of the configuration
                                          parameter ipfixVersion of the outer SctpExporter,
                                          UdpExporter, or TcpExporter node.
                                          Used for Collecting Processes, this parameter contains the
                                          version number of the IPFIX protocol it receives for
                                          this Transport Session. If IPFIX Messages of different
                                          IPFIX protocol versions are received, this parameter
                                          contains the maximum version number.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionIpfixVersion in the IPFIX MIB
                                          module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionIpfixVersion).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="sourceAddress"
                                      type="inet:ip-address"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The source address of the Exporter of the
                                          IPFIX Transport Session.
                                          If the transport protocol is SCTP, this is one of the
                                          potentially many IP addresses of the Exporter.
                                          Preferably, the source IP address of the path which is
                                          usually selected by the Exporter to send IPFIX Messages to
                                          the Collector SHOULD be used.
                                          Note that this parameter functionally corresponds to
                                          ipfixTransportSessionSourceAddressType and
                                          ipfixTransportSessionSourceAddress in the IPFIX MIB
                                          module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionSourceAddressType,
                                              ipfixTransportSessionSourceAddress);
                                              RFC4960, Section 6.4.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                      <xs:simpleType>
                                        <xs:union
                                          memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                                      </xs:simpleType>
                                    </xs:element>
                                    <xs:element
                                      name="destinationAddress"
                                      type="inet:ip-address"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The destination address of the Collector of
                                          the IPFIX Transport Session.
                                          If the transport protocol is SCTP, this is one of the
                                          potentially many IP addresses of the Collector.
                                          Preferably, the destination IP address of the path which is
                                          usually selected by the Exporter to send IPFIX Messages to
                                          the Collector SHOULD be used.
                                          Note that this parameter functionally corresponds to
                                          ipfixTransportSessionDestinationAddressType and
                                          ipfixTransportSessionDestinationAddress in the IPFIX MIB
                                          module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionDestinationAddressType,
                                              ipfixTransportSessionDestinationAddress);
                                              RFC4960, Section 6.4.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                      <xs:simpleType>
                                        <xs:union
                                          memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                                      </xs:simpleType>
                                    </xs:element>
                                    <xs:element name="sourcePort"
                                      type="inet:port-number"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The transport protocol port number of the
                                          Exporter of the IPFIX Transport Session.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionSourcePort in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionSourcePort).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="destinationPort"
                                      type="inet:port-number"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The transport protocol port number of the
                                          Collector of the IPFIX Transport Session.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionDestinationPort in the IPFIX MIB
                                          module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionDestinationPort).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="sctpAssocId"
                                      type="xs:unsignedInt"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The association id used for the SCTP session
                                          between the Exporter and the Collector of the IPFIX
                                          Transport Session. It is equal to the sctpAssocId entry
                                          in the sctpAssocTable defined in the SCTP-MIB.
                                          This parameter is only available if the transport protocol
                                          is SCTP and if an SNMP agent on the same Monitoring Device
                                          enables access to the corresponding MIB objects in the
                                          sctpAssocTable.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionSctpAssocId in the IPFIX MIB
                                          module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionSctpAssocId);
                                              RFC3871</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="status"
                                      type="transportSessionStatus"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>Status of the Transport Session.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionStatus in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8 (ipfixTransportSessionStatus).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="rate"
                                      type="yang:gauge32" minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The number of bytes per second transmitted by the
                                          Exporting Process or received by the Collecting Process.
                                          This parameter is updated every second.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionRate in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>bytes per second</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8 (ipfixTransportSessionRate).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="bytes"
                                      type="yang:counter64"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The number of bytes transmitted by the
                                          Exporting Process or received by the Collecting Process.
                                          Discontinuities in the value of this counter can occur at
                                          re-initialization of the management system, and at other
                                          times as indicated by the value of
                                          transportSessionDiscontinuityTime.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionBytes in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>bytes</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8 (ipfixTransportSessionBytes).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="messages"
                                      type="yang:counter64"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The number of messages transmitted by the
                                          Exporting Process or received by the Collecting Process.
                                          Discontinuities in the value of this counter can occur at
                                          re-initialization of the management system, and at other
                                          times as indicated by the value of
                                          transportSessionDiscontinuityTime.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionMessages in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>IPFIX Messages</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionMessages).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element
                                      name="discardedMessages"
                                      type="yang:counter64"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>Used for Exporting Processes, this parameter
                                          indicates the number of messages that could not be sent due
                                          to internal buffer overflows, network congestion, routing
                                          issues, etc. Used for Collecting Process, this parameter
                                          indicates the number of received IPFIX Message that are
                                          malformed, cannot be decoded, are received in the wrong
                                          order or are missing according to the sequence number.
                                          Discontinuities in the value of this counter can occur at
                                          re-initialization of the management system, and at other
                                          times as indicated by the value of
                                          transportSessionDiscontinuityTime.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionDiscardedMessages in the IPFIX MIB
                                          module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>IPFIX Messages</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionDiscardedMessages).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="records"
                                      type="yang:counter64"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The number of Data Records transmitted by the
                                          Exporting Process or received by the Collecting Process.
                                          Discontinuities in the value of this counter can occur at
                                          re-initialization of the management system, and at other
                                          times as indicated by the value of
                                          transportSessionDiscontinuityTime.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionRecords in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>Data Records</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionRecords).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="templates"
                                      type="yang:counter32"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The number of Templates transmitted by the
                                          Exporting Process or received by the Collecting Process.
                                          Discontinuities in the value of this counter can occur at
                                          re-initialization of the management system, and at other
                                          times as indicated by the value of
                                          transportSessionDiscontinuityTime.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionTemplates in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>Templates</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionTemplates).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="optionsTemplates"
                                      type="yang:counter32"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The number of Option Templates transmitted by the
                                          Exporting Process or received by the Collecting Process.
                                          Discontinuities in the value of this counter can occur at
                                          re-initialization of the management system, and at other
                                          times as indicated by the value of
                                          transportSessionDiscontinuityTime.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionOptionsTemplates in the IPFIX MIB
                                          module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>Options Templates</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionOptionsTemplates).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element
                                      name="transportSessionStartTime"
                                      type="yang:date-and-time"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>Timestamp of the start of the given Transport
                                          Session.
                                          This state parameter does not correspond to any object in
                                          the IPFIX MIB module.</xs:documentation>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element
                                      name="transportSessionDiscontinuityTime"
                                      type="yang:date-and-time"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>Timestamp of the most recent occasion at which
                                          one or more of the Transport Session counters suffered a
                                          discontinuity.
                                          Note that this parameter functionally corresponds to
                                          ipfixTransportSessionDiscontinuityTime in the IPFIX MIB
                                          module. In contrast to
                                          ipfixTransportSessionDiscontinuityTime, the time is
                                          absolute and not relative to sysUpTime.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionDiscontinuityTime).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="template"
                                      minOccurs="0"
                                      maxOccurs="unbounded">
                                      <xs:annotation>
                                        <xs:documentation>This list contains the Templates and Options
                                          Templates that are transmitted by the Exporting Process
                                          or received by the Collecting Process.
                                          Withdrawn or invalidated (Options) Template MUST be removed
                                          from this list.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:ordered-by>system</ncx:ordered-by>
                                        </xs:appinfo>
                                      </xs:annotation>
                                      <xs:complexType>
                                        <xs:sequence>
                                          <xs:element
                                            name="observationDomainId"
                                            type="xs:unsignedInt"
                                            minOccurs="0">
                                            <xs:annotation>
                                              <xs:documentation>The ID of the Observation Domain for which this
                                                Template is defined.
                                                Note that this parameter corresponds to
                                                ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:reference>
                                                  <ncx:text>RFC5815, Section 8
                                                    (ipfixTemplateObservationDomainId).</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                          </xs:element>
                                          <xs:element name="templateId"
                                            minOccurs="0">
                                            <xs:annotation>
                                              <xs:documentation>This number indicates the Template Id in the IPFIX
                                                message.
                                                Note that this parameter corresponds to ipfixTemplateId in
                                                the IPFIX MIB module.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:reference>
                                                  <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                            <xs:simpleType>
                                              <xs:restriction
                                                base="xs:unsignedShort">
                                                <xs:minInclusive
                                                  value="256">
                                                  <xs:annotation>
                                                    <xs:documentation>Valid range of Template IDs.</xs:documentation>
                                                    <xs:appinfo>
                                                      <ncx:reference>
                                                        <ncx:text>RFC5101</ncx:text>
                                                      </ncx:reference>
                                                    </xs:appinfo>
                                                  </xs:annotation>
                                                </xs:minInclusive>
                                              </xs:restriction>
                                            </xs:simpleType>
                                          </xs:element>
                                          <xs:element name="setId"
                                            type="xs:unsignedShort"
                                            minOccurs="0">
                                            <xs:annotation>
                                              <xs:documentation>This number indicates the Set ID of the Template.
                                                Currently, there are two values defined. The value 2 is used
                                                for Sets containing Template definitions. The value 3 is
                                                used for Sets containing Options Template definitions.
                                                Note that this parameter corresponds to ipfixTemplateSetId
                                                in the IPFIX MIB module.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:reference>
                                                  <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                          </xs:element>
                                          <xs:element name="accessTime"
                                            type="yang:date-and-time"
                                            minOccurs="0">
                                            <xs:annotation>
                                              <xs:documentation>Used for Exporting Processes, this parameter
                                                contains the time when this (Options) Template was last
                                                sent to the Collector(s) or written to the file.
                                                Used for Collecting Processes, this parameter contains the
                                                time when this (Options) Template was last received from the
                                                Exporter or read from the file.
                                                Note that this parameter corresponds to
                                                ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:reference>
                                                  <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                          </xs:element>
                                          <xs:element
                                            name="templateDataRecords"
                                            type="yang:counter64"
                                            minOccurs="0">
                                            <xs:annotation>
                                              <xs:documentation>The number of transmitted or received Data
                                                Records defined by this (Options) Template.
                                                Discontinuities in the value of this counter can occur at
                                                re-initialization of the management system, and at other
                                                times as indicated by the value of
                                                templateDiscontinuityTime.
                                                Note that this parameter corresponds to
                                                ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:reference>
                                                  <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                          </xs:element>
                                          <xs:element
                                            name="templateDiscontinuityTime"
                                            type="yang:date-and-time"
                                            minOccurs="0">
                                            <xs:annotation>
                                              <xs:documentation>Timestamp of the most recent occasion at which
                                                the counter templateDataRecords suffered a discontinuity.
                                                Note that this parameter functionally corresponds to
                                                ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                                                In contrast to ipfixTemplateDiscontinuityTime, the time
                                                is absolute and not relative to sysUpTime.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:reference>
                                                  <ncx:text>RFC5815, Section 8
                                                    (ipfixTemplateDiscontinuityTime).</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                          </xs:element>
                                          <xs:element name="field"
                                            minOccurs="0"
                                            maxOccurs="unbounded">
                                            <xs:annotation>
                                              <xs:documentation>This list contains the (Options) Template
                                                fields of which the (Options) Template is defined.
                                                The order of the list corresponds to the order of the fields
                                                in the (Option) Template Record.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:ordered-by>system</ncx:ordered-by>
                                              </xs:appinfo>
                                            </xs:annotation>
                                            <xs:complexType>
                                              <xs:sequence>
                                                <xs:element name="ieId"
                                                  type="ieIdType"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                    <xs:documentation>This parameter indicates the Information
                                                      Element Id of the field.
                                                      Note that this parameter corresponds to
                                                      ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                                                    <xs:appinfo>
                                                      <ncx:reference>
                                                        <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                                          RFC5102.</ncx:text>
                                                      </ncx:reference>
                                                    </xs:appinfo>
                                                  </xs:annotation>
                                                </xs:element>
                                                <xs:element
                                                  name="ieLength"
                                                  type="xs:unsignedShort"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                    <xs:documentation>This parameter indicates the length of the
                                                      Information Element of the field.
                                                      Note that this parameter corresponds to
                                                      ipfixTemplateDefinitionIeLength in the IPFIX MIB
                                                      module.</xs:documentation>
                                                    <xs:appinfo>
                                                      <ncx:units>octets</ncx:units>
                                                      <ncx:reference>
                                                        <ncx:text>RFC5815, Section 8
                                                          (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                                                      </ncx:reference>
                                                    </xs:appinfo>
                                                  </xs:annotation>
                                                </xs:element>
                                                <xs:element
                                                  name="ieEnterpriseNumber"
                                                  type="xs:unsignedInt"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                    <xs:documentation>This parameter indicates the IANA enterprise
                                                      number of the authority defining the Information Element
                                                      Id.
                                                      If the Information Element is not enterprise-specific,
                                                      this state parameter is zero.
                                                      Note that this parameter corresponds to
                                                      ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                                                      MIB module.</xs:documentation>
                                                    <xs:appinfo>
                                                      <ncx:reference>
                                                        <ncx:text>RFC5815, Section 8
                                                          (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                                                      </ncx:reference>
                                                    </xs:appinfo>
                                                  </xs:annotation>
                                                </xs:element>
                                                <xs:element
                                                  name="isFlowKey"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                    <xs:documentation>If present, this is a Flow Key field.
                                                      Note that this corresponds to flowKey(1) being set in
                                                      ipfixTemplateDefinitionFlags.</xs:documentation>
                                                    <xs:appinfo>
                                                      <ncx:when>../../setId = 2</ncx:when>
                                                      <ncx:reference>
                                                        <ncx:text>RFC5815, Section 8
                                                          (ipfixTemplateDefinitionFlags).</ncx:text>
                                                      </ncx:reference>
                                                    </xs:appinfo>
                                                  </xs:annotation>
                                                </xs:element>
                                                <xs:element
                                                  name="isScope"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                    <xs:documentation>If present, this is a scope field.
                                                      Note that this corresponds to scope(0) being set in
                                                      ipfixTemplateDefinitionFlags.</xs:documentation>
                                                    <xs:appinfo>
                                                      <ncx:when>../../setId = 3</ncx:when>
                                                      <ncx:reference>
                                                        <ncx:text>RFC5815, Section 8
                                                          (ipfixTemplateDefinitionFlags).</ncx:text>
                                                      </ncx:reference>
                                                    </xs:appinfo>
                                                  </xs:annotation>
                                                </xs:element>
                                                <xs:any minOccurs="0"
                                                  maxOccurs="unbounded"
                                                  namespace="##other"
                                                  processContents="lax"/>
                                              </xs:sequence>
                                            </xs:complexType>
                                          </xs:element>
                                          <xs:any minOccurs="0"
                                            maxOccurs="unbounded"
                                            namespace="##other"
                                            processContents="lax"/>
                                        </xs:sequence>
                                      </xs:complexType>
                                    </xs:element>
                                    <xs:any minOccurs="0"
                                      maxOccurs="unbounded"
                                      namespace="##other"
                                      processContents="lax"/>
                                  </xs:sequence>
                                </xs:complexType>
                              </xs:element>
                              <xs:element name="sourceIPAddress"
                                type="inet:ip-address" minOccurs="0"
                                maxOccurs="unbounded">
                                <xs:annotation>
                                  <xs:documentation>List of source IP addresses used by the
                                    Exporting Process.
                                    If configured, the specified addresses are eligible local
                                    IP addresses of the multi-homed SCTP endpoint.
                                    If not configured, all locally assigned IP addresses are
                                    eligible local IP addresses.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:ordered-by>system</ncx:ordered-by>
                                    <ncx:reference>
                                      <ncx:text>RFC 4960, Section 6.4.</ncx:text>
                                      <ncx:url>http://www.ietf.org/rfc/rfc4960.txt</ncx:url>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                                <xs:simpleType>
                                  <xs:union
                                    memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                                </xs:simpleType>
                              </xs:element>
                              <xs:element name="destinationIPAddress"
                                type="inet:ip-address" minOccurs="1"
                                maxOccurs="unbounded">
                                <xs:annotation>
                                  <xs:documentation>One or multiple IP addresses of the Collecting
                                    Process to which IPFIX Messages are sent.
                                    The user MUST ensure that all configured IP addresses
                                    belong to the same Collecting Process.
                                    The Exporting Process tries to establish an SCTP
                                    association to any of the configured destination IP
                                    addresses.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:ordered-by>system</ncx:ordered-by>
                                    <ncx:reference>
                                      <ncx:text>RFC 4960, Section 6.4.</ncx:text>
                                      <ncx:url>http://www.ietf.org/rfc/rfc4960.txt</ncx:url>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                                <xs:simpleType>
                                  <xs:union
                                    memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                                </xs:simpleType>
                              </xs:element>
                              <xs:element name="timedReliability"
                                type="xs:unsignedInt" default="0"
                                minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>Lifetime in milliseconds until an IPFIX
                                    Message containing Data Sets only is 'abandoned' due to
                                    the timed reliability mechanism of PR-SCTP.
                                    If this parameter is set to zero, reliable SCTP
                                    transport is used for all Data Records.
                                    Regardless of the value of this parameter, the Exporting
                                    Process MAY use reliable SCTP transport for Data Sets
                                    associated with Options Templates.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:units>milliseconds</ncx:units>
                                    <ncx:reference>
                                      <ncx:text>RFC 3758; RFC 4960.</ncx:text>
                                      <ncx:url>http://www.ietf.org/rfc/rfc3758.txt</ncx:url>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:any minOccurs="0"
                                maxOccurs="unbounded"
                                namespace="##other"
                                processContents="lax"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                      <xs:sequence>
                        <xs:annotation>
                          <xs:appinfo>
                            <ncx:case-name>udpExporter</ncx:case-name>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:element name="udpExporter">
                          <xs:annotation>
                            <xs:documentation>UDP parameters.</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="ipfixVersion"
                                type="xs:unsignedShort" default="10"
                                minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>IPFIX version number.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:reference>
                                      <ncx:text>RFC 5101.</ncx:text>
                                      <ncx:url>http://www.ietf.org/rfc/rfc5101.txt</ncx:url>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="destinationPort"
                                type="inet:port-number" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>If not configured by the user, the Monitoring
                                    Device uses the default port number for IPFIX, which is
                                    4739 without transport layer security and 4740 if transport
                                    layer security is activated.</xs:documentation>
                                </xs:annotation>
                              </xs:element>
                              <xs:choice>
                                <xs:annotation>
                                  <xs:documentation>Index or name of the interface as stored in the
                                    ifTable of IF-MIB.
                                    If configured, the Exporting Process MUST use the given
                                    interface to export IPFIX Messages to the export
                                    destination.
                                    If omitted, the Exporting Process selects the outgoing
                                    interface based on local routing decision and accepts
                                    return traffic, such as transport layer acknowledgments,
                                    on all available interfaces.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:choice-name>indexOrName</ncx:choice-name>
                                    <ncx:reference>
                                      <ncx:text>RFC 1229.</ncx:text>
                                      <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                                <xs:sequence>
                                  <xs:annotation>
                                    <xs:appinfo>
                                      <ncx:case-name>ifIndex</ncx:case-name>
                                    </xs:appinfo>
                                  </xs:annotation>
                                  <xs:element name="ifIndex"
                                    type="xs:unsignedInt" minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>Index of an interface as stored in the ifTable
                                        of IF-MIB.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC 1229.</ncx:text>
                                          <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:any minOccurs="0"
                                    maxOccurs="unbounded"
                                    namespace="##other"
                                    processContents="lax"/>
                                </xs:sequence>
                                <xs:sequence>
                                  <xs:annotation>
                                    <xs:appinfo>
                                      <ncx:case-name>ifName</ncx:case-name>
                                    </xs:appinfo>
                                  </xs:annotation>
                                  <xs:element name="ifName"
                                    type="xs:string" minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>Name of an interface as stored in the ifTable
                                        of IF-MIB.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC 1229.</ncx:text>
                                          <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:any minOccurs="0"
                                    maxOccurs="unbounded"
                                    namespace="##other"
                                    processContents="lax"/>
                                </xs:sequence>
                                <xs:any minOccurs="0"
                                  maxOccurs="unbounded"
                                  namespace="##other"
                                  processContents="lax"/>
                              </xs:choice>
                              <xs:element name="sendBufferSize"
                                type="xs:unsignedInt" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>Size of the socket send buffer.
                                    If not configured by the user, this parameter is set by
                                    the Monitoring Device.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:units>bytes</ncx:units>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="rateLimit"
                                type="xs:unsignedInt" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>Maximum number of bytes per second the Exporting
                                    Process may export to the given destination. The number of
                                    bytes is calculated from the lengths of the IPFIX Messages
                                    exported. If not configured, no rate limiting is performed.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:units>bytes per second</ncx:units>
                                    <ncx:reference>
                                      <ncx:text>RFC5476, Section 6.3.</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="transportLayerSecurity">
                                <xs:annotation>
                                  <xs:documentation>Transport layer security configuration.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:presence>If transportLayerSecurity is present, DTLS is
                                      enabled if the transport protocol is SCTP or UDP, and TLS
                                      is enabled if the transport protocol is TCP.</ncx:presence>
                                  </xs:appinfo>
                                </xs:annotation>
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element
                                      name="localCertificationAuthorityDN"
                                      type="xs:string" minOccurs="0"
                                      maxOccurs="unbounded">
                                      <xs:annotation>
                                        <xs:documentation>Distinguished names of certification authorities
                                          whose certificates may be used to identify the local
                                          endpoint.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:ordered-by>system</ncx:ordered-by>
                                          <ncx:reference>
                                            <ncx:text>RFC5280.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="localSubjectDN"
                                      type="xs:string" minOccurs="0"
                                      maxOccurs="unbounded">
                                      <xs:annotation>
                                        <xs:documentation>Distinguished names which may be used in the
                                          certificates to identify the local endpoint.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:ordered-by>system</ncx:ordered-by>
                                          <ncx:reference>
                                            <ncx:text>RFC5280.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="localSubjectFQDN"
                                      type="inet:domain-name"
                                      minOccurs="0"
                                      maxOccurs="unbounded">
                                      <xs:annotation>
                                        <xs:documentation>Fully qualified domain names which may be used to
                                          in the certificates to identify the local endpoint.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:ordered-by>system</ncx:ordered-by>
                                          <ncx:reference>
                                            <ncx:text>RFC5280.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element
                                      name="remoteCertificationAuthorityDN"
                                      type="xs:string" minOccurs="0"
                                      maxOccurs="unbounded">
                                      <xs:annotation>
                                        <xs:documentation>Distinguished names of certification authorities
                                          whose certificates are accepted to authorize remote
                                          endpoints.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:ordered-by>system</ncx:ordered-by>
                                          <ncx:reference>
                                            <ncx:text>RFC5280.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="remoteSubjectDN"
                                      type="xs:string" minOccurs="0"
                                      maxOccurs="unbounded">
                                      <xs:annotation>
                                        <xs:documentation>Distinguished names which are accepted in
                                          certificates to authorize remote endpoints.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:ordered-by>system</ncx:ordered-by>
                                          <ncx:reference>
                                            <ncx:text>RFC5280.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element
                                      name="remoteSubjectFQDN"
                                      type="inet:domain-name"
                                      minOccurs="0"
                                      maxOccurs="unbounded">
                                      <xs:annotation>
                                        <xs:documentation>Fully qualified domain name which are accepted in
                                          certificates to authorize remote endpoints.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:ordered-by>system</ncx:ordered-by>
                                          <ncx:reference>
                                            <ncx:text>RFC5280.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:any minOccurs="0"
                                      maxOccurs="unbounded"
                                      namespace="##other"
                                      processContents="lax"/>
                                  </xs:sequence>
                                </xs:complexType>
                              </xs:element>
                              <xs:element name="transportSession">
                                <xs:annotation>
                                  <xs:documentation>State parameters of the Transport Session
                                    directed to the given destination.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:config>false</ncx:config>
                                  </xs:appinfo>
                                </xs:annotation>
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element name="ipfixVersion"
                                      type="xs:unsignedShort"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>Used for Exporting Processes, this parameter
                                          contains the version number of the IPFIX protocol that the
                                          Exporter uses to export its data in this Transport Session.
                                          Hence, it is identical to the value of the configuration
                                          parameter ipfixVersion of the outer SctpExporter,
                                          UdpExporter, or TcpExporter node.
                                          Used for Collecting Processes, this parameter contains the
                                          version number of the IPFIX protocol it receives for
                                          this Transport Session. If IPFIX Messages of different
                                          IPFIX protocol versions are received, this parameter
                                          contains the maximum version number.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionIpfixVersion in the IPFIX MIB
                                          module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionIpfixVersion).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="sourceAddress"
                                      type="inet:ip-address"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The source address of the Exporter of the
                                          IPFIX Transport Session.
                                          If the transport protocol is SCTP, this is one of the
                                          potentially many IP addresses of the Exporter.
                                          Preferably, the source IP address of the path which is
                                          usually selected by the Exporter to send IPFIX Messages to
                                          the Collector SHOULD be used.
                                          Note that this parameter functionally corresponds to
                                          ipfixTransportSessionSourceAddressType and
                                          ipfixTransportSessionSourceAddress in the IPFIX MIB
                                          module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionSourceAddressType,
                                              ipfixTransportSessionSourceAddress);
                                              RFC4960, Section 6.4.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                      <xs:simpleType>
                                        <xs:union
                                          memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                                      </xs:simpleType>
                                    </xs:element>
                                    <xs:element
                                      name="destinationAddress"
                                      type="inet:ip-address"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The destination address of the Collector of
                                          the IPFIX Transport Session.
                                          If the transport protocol is SCTP, this is one of the
                                          potentially many IP addresses of the Collector.
                                          Preferably, the destination IP address of the path which is
                                          usually selected by the Exporter to send IPFIX Messages to
                                          the Collector SHOULD be used.
                                          Note that this parameter functionally corresponds to
                                          ipfixTransportSessionDestinationAddressType and
                                          ipfixTransportSessionDestinationAddress in the IPFIX MIB
                                          module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionDestinationAddressType,
                                              ipfixTransportSessionDestinationAddress);
                                              RFC4960, Section 6.4.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                      <xs:simpleType>
                                        <xs:union
                                          memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                                      </xs:simpleType>
                                    </xs:element>
                                    <xs:element name="sourcePort"
                                      type="inet:port-number"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The transport protocol port number of the
                                          Exporter of the IPFIX Transport Session.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionSourcePort in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionSourcePort).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="destinationPort"
                                      type="inet:port-number"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The transport protocol port number of the
                                          Collector of the IPFIX Transport Session.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionDestinationPort in the IPFIX MIB
                                          module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionDestinationPort).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="sctpAssocId"
                                      type="xs:unsignedInt"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The association id used for the SCTP session
                                          between the Exporter and the Collector of the IPFIX
                                          Transport Session. It is equal to the sctpAssocId entry
                                          in the sctpAssocTable defined in the SCTP-MIB.
                                          This parameter is only available if the transport protocol
                                          is SCTP and if an SNMP agent on the same Monitoring Device
                                          enables access to the corresponding MIB objects in the
                                          sctpAssocTable.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionSctpAssocId in the IPFIX MIB
                                          module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionSctpAssocId);
                                              RFC3871</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="status"
                                      type="transportSessionStatus"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>Status of the Transport Session.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionStatus in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8 (ipfixTransportSessionStatus).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="rate"
                                      type="yang:gauge32" minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The number of bytes per second transmitted by the
                                          Exporting Process or received by the Collecting Process.
                                          This parameter is updated every second.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionRate in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>bytes per second</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8 (ipfixTransportSessionRate).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="bytes"
                                      type="yang:counter64"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The number of bytes transmitted by the
                                          Exporting Process or received by the Collecting Process.
                                          Discontinuities in the value of this counter can occur at
                                          re-initialization of the management system, and at other
                                          times as indicated by the value of
                                          transportSessionDiscontinuityTime.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionBytes in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>bytes</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8 (ipfixTransportSessionBytes).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="messages"
                                      type="yang:counter64"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The number of messages transmitted by the
                                          Exporting Process or received by the Collecting Process.
                                          Discontinuities in the value of this counter can occur at
                                          re-initialization of the management system, and at other
                                          times as indicated by the value of
                                          transportSessionDiscontinuityTime.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionMessages in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>IPFIX Messages</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionMessages).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element
                                      name="discardedMessages"
                                      type="yang:counter64"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>Used for Exporting Processes, this parameter
                                          indicates the number of messages that could not be sent due
                                          to internal buffer overflows, network congestion, routing
                                          issues, etc. Used for Collecting Process, this parameter
                                          indicates the number of received IPFIX Message that are
                                          malformed, cannot be decoded, are received in the wrong
                                          order or are missing according to the sequence number.
                                          Discontinuities in the value of this counter can occur at
                                          re-initialization of the management system, and at other
                                          times as indicated by the value of
                                          transportSessionDiscontinuityTime.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionDiscardedMessages in the IPFIX MIB
                                          module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>IPFIX Messages</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionDiscardedMessages).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="records"
                                      type="yang:counter64"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The number of Data Records transmitted by the
                                          Exporting Process or received by the Collecting Process.
                                          Discontinuities in the value of this counter can occur at
                                          re-initialization of the management system, and at other
                                          times as indicated by the value of
                                          transportSessionDiscontinuityTime.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionRecords in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>Data Records</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionRecords).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="templates"
                                      type="yang:counter32"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The number of Templates transmitted by the
                                          Exporting Process or received by the Collecting Process.
                                          Discontinuities in the value of this counter can occur at
                                          re-initialization of the management system, and at other
                                          times as indicated by the value of
                                          transportSessionDiscontinuityTime.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionTemplates in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>Templates</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionTemplates).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="optionsTemplates"
                                      type="yang:counter32"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The number of Option Templates transmitted by the
                                          Exporting Process or received by the Collecting Process.
                                          Discontinuities in the value of this counter can occur at
                                          re-initialization of the management system, and at other
                                          times as indicated by the value of
                                          transportSessionDiscontinuityTime.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionOptionsTemplates in the IPFIX MIB
                                          module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>Options Templates</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionOptionsTemplates).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element
                                      name="transportSessionStartTime"
                                      type="yang:date-and-time"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>Timestamp of the start of the given Transport
                                          Session.
                                          This state parameter does not correspond to any object in
                                          the IPFIX MIB module.</xs:documentation>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element
                                      name="transportSessionDiscontinuityTime"
                                      type="yang:date-and-time"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>Timestamp of the most recent occasion at which
                                          one or more of the Transport Session counters suffered a
                                          discontinuity.
                                          Note that this parameter functionally corresponds to
                                          ipfixTransportSessionDiscontinuityTime in the IPFIX MIB
                                          module. In contrast to
                                          ipfixTransportSessionDiscontinuityTime, the time is
                                          absolute and not relative to sysUpTime.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionDiscontinuityTime).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="template"
                                      minOccurs="0"
                                      maxOccurs="unbounded">
                                      <xs:annotation>
                                        <xs:documentation>This list contains the Templates and Options
                                          Templates that are transmitted by the Exporting Process
                                          or received by the Collecting Process.
                                          Withdrawn or invalidated (Options) Template MUST be removed
                                          from this list.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:ordered-by>system</ncx:ordered-by>
                                        </xs:appinfo>
                                      </xs:annotation>
                                      <xs:complexType>
                                        <xs:sequence>
                                          <xs:element
                                            name="observationDomainId"
                                            type="xs:unsignedInt"
                                            minOccurs="0">
                                            <xs:annotation>
                                              <xs:documentation>The ID of the Observation Domain for which this
                                                Template is defined.
                                                Note that this parameter corresponds to
                                                ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:reference>
                                                  <ncx:text>RFC5815, Section 8
                                                    (ipfixTemplateObservationDomainId).</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                          </xs:element>
                                          <xs:element name="templateId"
                                            minOccurs="0">
                                            <xs:annotation>
                                              <xs:documentation>This number indicates the Template Id in the IPFIX
                                                message.
                                                Note that this parameter corresponds to ipfixTemplateId in
                                                the IPFIX MIB module.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:reference>
                                                  <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                            <xs:simpleType>
                                              <xs:restriction
                                                base="xs:unsignedShort">
                                                <xs:minInclusive
                                                  value="256">
                                                  <xs:annotation>
                                                    <xs:documentation>Valid range of Template IDs.</xs:documentation>
                                                    <xs:appinfo>
                                                      <ncx:reference>
                                                        <ncx:text>RFC5101</ncx:text>
                                                      </ncx:reference>
                                                    </xs:appinfo>
                                                  </xs:annotation>
                                                </xs:minInclusive>
                                              </xs:restriction>
                                            </xs:simpleType>
                                          </xs:element>
                                          <xs:element name="setId"
                                            type="xs:unsignedShort"
                                            minOccurs="0">
                                            <xs:annotation>
                                              <xs:documentation>This number indicates the Set ID of the Template.
                                                Currently, there are two values defined. The value 2 is used
                                                for Sets containing Template definitions. The value 3 is
                                                used for Sets containing Options Template definitions.
                                                Note that this parameter corresponds to ipfixTemplateSetId
                                                in the IPFIX MIB module.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:reference>
                                                  <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                          </xs:element>
                                          <xs:element name="accessTime"
                                            type="yang:date-and-time"
                                            minOccurs="0">
                                            <xs:annotation>
                                              <xs:documentation>Used for Exporting Processes, this parameter
                                                contains the time when this (Options) Template was last
                                                sent to the Collector(s) or written to the file.
                                                Used for Collecting Processes, this parameter contains the
                                                time when this (Options) Template was last received from the
                                                Exporter or read from the file.
                                                Note that this parameter corresponds to
                                                ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:reference>
                                                  <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                          </xs:element>
                                          <xs:element
                                            name="templateDataRecords"
                                            type="yang:counter64"
                                            minOccurs="0">
                                            <xs:annotation>
                                              <xs:documentation>The number of transmitted or received Data
                                                Records defined by this (Options) Template.
                                                Discontinuities in the value of this counter can occur at
                                                re-initialization of the management system, and at other
                                                times as indicated by the value of
                                                templateDiscontinuityTime.
                                                Note that this parameter corresponds to
                                                ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:reference>
                                                  <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                          </xs:element>
                                          <xs:element
                                            name="templateDiscontinuityTime"
                                            type="yang:date-and-time"
                                            minOccurs="0">
                                            <xs:annotation>
                                              <xs:documentation>Timestamp of the most recent occasion at which
                                                the counter templateDataRecords suffered a discontinuity.
                                                Note that this parameter functionally corresponds to
                                                ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                                                In contrast to ipfixTemplateDiscontinuityTime, the time
                                                is absolute and not relative to sysUpTime.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:reference>
                                                  <ncx:text>RFC5815, Section 8
                                                    (ipfixTemplateDiscontinuityTime).</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                          </xs:element>
                                          <xs:element name="field"
                                            minOccurs="0"
                                            maxOccurs="unbounded">
                                            <xs:annotation>
                                              <xs:documentation>This list contains the (Options) Template
                                                fields of which the (Options) Template is defined.
                                                The order of the list corresponds to the order of the fields
                                                in the (Option) Template Record.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:ordered-by>system</ncx:ordered-by>
                                              </xs:appinfo>
                                            </xs:annotation>
                                            <xs:complexType>
                                              <xs:sequence>
                                                <xs:element name="ieId"
                                                  type="ieIdType"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                    <xs:documentation>This parameter indicates the Information
                                                      Element Id of the field.
                                                      Note that this parameter corresponds to
                                                      ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                                                    <xs:appinfo>
                                                      <ncx:reference>
                                                        <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                                          RFC5102.</ncx:text>
                                                      </ncx:reference>
                                                    </xs:appinfo>
                                                  </xs:annotation>
                                                </xs:element>
                                                <xs:element
                                                  name="ieLength"
                                                  type="xs:unsignedShort"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                    <xs:documentation>This parameter indicates the length of the
                                                      Information Element of the field.
                                                      Note that this parameter corresponds to
                                                      ipfixTemplateDefinitionIeLength in the IPFIX MIB
                                                      module.</xs:documentation>
                                                    <xs:appinfo>
                                                      <ncx:units>octets</ncx:units>
                                                      <ncx:reference>
                                                        <ncx:text>RFC5815, Section 8
                                                          (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                                                      </ncx:reference>
                                                    </xs:appinfo>
                                                  </xs:annotation>
                                                </xs:element>
                                                <xs:element
                                                  name="ieEnterpriseNumber"
                                                  type="xs:unsignedInt"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                    <xs:documentation>This parameter indicates the IANA enterprise
                                                      number of the authority defining the Information Element
                                                      Id.
                                                      If the Information Element is not enterprise-specific,
                                                      this state parameter is zero.
                                                      Note that this parameter corresponds to
                                                      ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                                                      MIB module.</xs:documentation>
                                                    <xs:appinfo>
                                                      <ncx:reference>
                                                        <ncx:text>RFC5815, Section 8
                                                          (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                                                      </ncx:reference>
                                                    </xs:appinfo>
                                                  </xs:annotation>
                                                </xs:element>
                                                <xs:element
                                                  name="isFlowKey"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                    <xs:documentation>If present, this is a Flow Key field.
                                                      Note that this corresponds to flowKey(1) being set in
                                                      ipfixTemplateDefinitionFlags.</xs:documentation>
                                                    <xs:appinfo>
                                                      <ncx:when>../../setId = 2</ncx:when>
                                                      <ncx:reference>
                                                        <ncx:text>RFC5815, Section 8
                                                          (ipfixTemplateDefinitionFlags).</ncx:text>
                                                      </ncx:reference>
                                                    </xs:appinfo>
                                                  </xs:annotation>
                                                </xs:element>
                                                <xs:element
                                                  name="isScope"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                    <xs:documentation>If present, this is a scope field.
                                                      Note that this corresponds to scope(0) being set in
                                                      ipfixTemplateDefinitionFlags.</xs:documentation>
                                                    <xs:appinfo>
                                                      <ncx:when>../../setId = 3</ncx:when>
                                                      <ncx:reference>
                                                        <ncx:text>RFC5815, Section 8
                                                          (ipfixTemplateDefinitionFlags).</ncx:text>
                                                      </ncx:reference>
                                                    </xs:appinfo>
                                                  </xs:annotation>
                                                </xs:element>
                                                <xs:any minOccurs="0"
                                                  maxOccurs="unbounded"
                                                  namespace="##other"
                                                  processContents="lax"/>
                                              </xs:sequence>
                                            </xs:complexType>
                                          </xs:element>
                                          <xs:any minOccurs="0"
                                            maxOccurs="unbounded"
                                            namespace="##other"
                                            processContents="lax"/>
                                        </xs:sequence>
                                      </xs:complexType>
                                    </xs:element>
                                    <xs:any minOccurs="0"
                                      maxOccurs="unbounded"
                                      namespace="##other"
                                      processContents="lax"/>
                                  </xs:sequence>
                                </xs:complexType>
                              </xs:element>
                              <xs:element name="sourceIPAddress"
                                type="inet:ip-address" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>Source IP address used by the Exporting Process.
                                    If not configured, the IP address assigned to the outgoing
                                    interface is used as source IP address.</xs:documentation>
                                </xs:annotation>
                                <xs:simpleType>
                                  <xs:union
                                    memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                                </xs:simpleType>
                              </xs:element>
                              <xs:element name="destinationIPAddress"
                                type="inet:ip-address">
                                <xs:annotation>
                                  <xs:documentation>IP address of the Collection Process to which
                                    IPFIX Messages are sent.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:mandatory>true</ncx:mandatory>
                                  </xs:appinfo>
                                </xs:annotation>
                                <xs:simpleType>
                                  <xs:union
                                    memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                                </xs:simpleType>
                              </xs:element>
                              <xs:element name="maxPacketSize"
                                type="xs:unsignedShort" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>This parameter specifies the maximum size of
                                    IP packets sent to the Collector. If set to zero, the
                                    Exporting Device MUST derive the maximum packet size
                                    from path MTU discovery mechanisms.
                                    If not configured by the user, this parameter is set by
                                    the Monitoring Device.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:units>octets</ncx:units>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="templateRefreshTimeout"
                                type="xs:unsignedInt" default="600"
                                minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>Sets time after which Templates are resent in the
                                    UDP Transport Session.
                                    Note that the configured lifetime MUST be adapted to the
                                    templateLifeTime parameter value at the receiving Collecting
                                    Process.
                                    Note that this parameter corresponds to
                                    ipfixTransportSessionTemplateRefreshTimeout in the IPFIX
                                    MIB module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:units>seconds</ncx:units>
                                    <ncx:reference>
                                      <ncx:text>RFC5101, Section 10.3.6; RFC5815, Section 8
                                        (ipfixTransportSessionTemplateRefreshTimeout).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element
                                name="optionsTemplateRefreshTimeout"
                                type="xs:unsignedInt" default="600"
                                minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>Sets time after which Options Templates are
                                    resent in the UDP Transport Session.
                                    Note that the configured lifetime MUST be adapted to the
                                    optionsTemplateLifeTime parameter value at the receiving
                                    Collecting Process.
                                    Note that this parameter corresponds to
                                    ipfixTransportSessionOptionsTemplateRefreshTimeout in the
                                    IPFIX MIB module.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:units>seconds</ncx:units>
                                    <ncx:reference>
                                      <ncx:text>RFC5101, Section 10.3.6; RFC5815, Section 8
                                        (ipfixTransportSessionOptionsTemplateRefreshTimeout).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="templateRefreshPacket"
                                type="xs:unsignedInt" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>Sets number of IPFIX Messages after which
                                    Templates are resent in the UDP Transport Session.
                                    Note that this parameter corresponds to
                                    ipfixTransportSessionTemplateRefreshPacket in the IPFIX
                                    MIB module.
                                    If omitted, Templates are only resent after timeout.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:units>IPFIX Messages</ncx:units>
                                    <ncx:reference>
                                      <ncx:text>RFC5101, Section 10.3.6; RFC5815, Section 8
                                        (ipfixTransportSessionTemplateRefreshPacket).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element
                                name="optionsTemplateRefreshPacket"
                                type="xs:unsignedInt" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>Sets number of IPFIX Messages after which
                                    Options Templates are resent in the UDP Transport Session
                                    protocol.
                                    Note that this parameter corresponds to
                                    ipfixTransportSessionOptionsTemplateRefreshPacket in the
                                    IPFIX MIB module.
                                    If omitted, Templates are only resent after timeout.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:units>IPFIX Messages</ncx:units>
                                    <ncx:reference>
                                      <ncx:text>RFC5101, Section 10.3.6; RFC5815, Section 8
                                        (ipfixTransportSessionOptionsTemplateRefreshPacket).</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:any minOccurs="0"
                                maxOccurs="unbounded"
                                namespace="##other"
                                processContents="lax"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                      <xs:sequence>
                        <xs:annotation>
                          <xs:appinfo>
                            <ncx:case-name>tcpExporter</ncx:case-name>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:element name="tcpExporter">
                          <xs:annotation>
                            <xs:documentation>TCP parameters.</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="ipfixVersion"
                                type="xs:unsignedShort" default="10"
                                minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>IPFIX version number.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:reference>
                                      <ncx:text>RFC 5101.</ncx:text>
                                      <ncx:url>http://www.ietf.org/rfc/rfc5101.txt</ncx:url>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="destinationPort"
                                type="inet:port-number" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>If not configured by the user, the Monitoring
                                    Device uses the default port number for IPFIX, which is
                                    4739 without transport layer security and 4740 if transport
                                    layer security is activated.</xs:documentation>
                                </xs:annotation>
                              </xs:element>
                              <xs:choice>
                                <xs:annotation>
                                  <xs:documentation>Index or name of the interface as stored in the
                                    ifTable of IF-MIB.
                                    If configured, the Exporting Process MUST use the given
                                    interface to export IPFIX Messages to the export
                                    destination.
                                    If omitted, the Exporting Process selects the outgoing
                                    interface based on local routing decision and accepts
                                    return traffic, such as transport layer acknowledgments,
                                    on all available interfaces.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:choice-name>indexOrName</ncx:choice-name>
                                    <ncx:reference>
                                      <ncx:text>RFC 1229.</ncx:text>
                                      <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                                <xs:sequence>
                                  <xs:annotation>
                                    <xs:appinfo>
                                      <ncx:case-name>ifIndex</ncx:case-name>
                                    </xs:appinfo>
                                  </xs:annotation>
                                  <xs:element name="ifIndex"
                                    type="xs:unsignedInt" minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>Index of an interface as stored in the ifTable
                                        of IF-MIB.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC 1229.</ncx:text>
                                          <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:any minOccurs="0"
                                    maxOccurs="unbounded"
                                    namespace="##other"
                                    processContents="lax"/>
                                </xs:sequence>
                                <xs:sequence>
                                  <xs:annotation>
                                    <xs:appinfo>
                                      <ncx:case-name>ifName</ncx:case-name>
                                    </xs:appinfo>
                                  </xs:annotation>
                                  <xs:element name="ifName"
                                    type="xs:string" minOccurs="0">
                                    <xs:annotation>
                                      <xs:documentation>Name of an interface as stored in the ifTable
                                        of IF-MIB.</xs:documentation>
                                      <xs:appinfo>
                                        <ncx:reference>
                                          <ncx:text>RFC 1229.</ncx:text>
                                          <ncx:url>http://www.ietf.org/rfc/rfc1229.txt</ncx:url>
                                        </ncx:reference>
                                      </xs:appinfo>
                                    </xs:annotation>
                                  </xs:element>
                                  <xs:any minOccurs="0"
                                    maxOccurs="unbounded"
                                    namespace="##other"
                                    processContents="lax"/>
                                </xs:sequence>
                                <xs:any minOccurs="0"
                                  maxOccurs="unbounded"
                                  namespace="##other"
                                  processContents="lax"/>
                              </xs:choice>
                              <xs:element name="sendBufferSize"
                                type="xs:unsignedInt" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>Size of the socket send buffer.
                                    If not configured by the user, this parameter is set by
                                    the Monitoring Device.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:units>bytes</ncx:units>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="rateLimit"
                                type="xs:unsignedInt" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>Maximum number of bytes per second the Exporting
                                    Process may export to the given destination. The number of
                                    bytes is calculated from the lengths of the IPFIX Messages
                                    exported. If not configured, no rate limiting is performed.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:units>bytes per second</ncx:units>
                                    <ncx:reference>
                                      <ncx:text>RFC5476, Section 6.3.</ncx:text>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="transportLayerSecurity">
                                <xs:annotation>
                                  <xs:documentation>Transport layer security configuration.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:presence>If transportLayerSecurity is present, DTLS is
                                      enabled if the transport protocol is SCTP or UDP, and TLS
                                      is enabled if the transport protocol is TCP.</ncx:presence>
                                  </xs:appinfo>
                                </xs:annotation>
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element
                                      name="localCertificationAuthorityDN"
                                      type="xs:string" minOccurs="0"
                                      maxOccurs="unbounded">
                                      <xs:annotation>
                                        <xs:documentation>Distinguished names of certification authorities
                                          whose certificates may be used to identify the local
                                          endpoint.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:ordered-by>system</ncx:ordered-by>
                                          <ncx:reference>
                                            <ncx:text>RFC5280.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="localSubjectDN"
                                      type="xs:string" minOccurs="0"
                                      maxOccurs="unbounded">
                                      <xs:annotation>
                                        <xs:documentation>Distinguished names which may be used in the
                                          certificates to identify the local endpoint.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:ordered-by>system</ncx:ordered-by>
                                          <ncx:reference>
                                            <ncx:text>RFC5280.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="localSubjectFQDN"
                                      type="inet:domain-name"
                                      minOccurs="0"
                                      maxOccurs="unbounded">
                                      <xs:annotation>
                                        <xs:documentation>Fully qualified domain names which may be used to
                                          in the certificates to identify the local endpoint.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:ordered-by>system</ncx:ordered-by>
                                          <ncx:reference>
                                            <ncx:text>RFC5280.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element
                                      name="remoteCertificationAuthorityDN"
                                      type="xs:string" minOccurs="0"
                                      maxOccurs="unbounded">
                                      <xs:annotation>
                                        <xs:documentation>Distinguished names of certification authorities
                                          whose certificates are accepted to authorize remote
                                          endpoints.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:ordered-by>system</ncx:ordered-by>
                                          <ncx:reference>
                                            <ncx:text>RFC5280.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="remoteSubjectDN"
                                      type="xs:string" minOccurs="0"
                                      maxOccurs="unbounded">
                                      <xs:annotation>
                                        <xs:documentation>Distinguished names which are accepted in
                                          certificates to authorize remote endpoints.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:ordered-by>system</ncx:ordered-by>
                                          <ncx:reference>
                                            <ncx:text>RFC5280.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element
                                      name="remoteSubjectFQDN"
                                      type="inet:domain-name"
                                      minOccurs="0"
                                      maxOccurs="unbounded">
                                      <xs:annotation>
                                        <xs:documentation>Fully qualified domain name which are accepted in
                                          certificates to authorize remote endpoints.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:ordered-by>system</ncx:ordered-by>
                                          <ncx:reference>
                                            <ncx:text>RFC5280.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:any minOccurs="0"
                                      maxOccurs="unbounded"
                                      namespace="##other"
                                      processContents="lax"/>
                                  </xs:sequence>
                                </xs:complexType>
                              </xs:element>
                              <xs:element name="transportSession">
                                <xs:annotation>
                                  <xs:documentation>State parameters of the Transport Session
                                    directed to the given destination.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:config>false</ncx:config>
                                  </xs:appinfo>
                                </xs:annotation>
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element name="ipfixVersion"
                                      type="xs:unsignedShort"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>Used for Exporting Processes, this parameter
                                          contains the version number of the IPFIX protocol that the
                                          Exporter uses to export its data in this Transport Session.
                                          Hence, it is identical to the value of the configuration
                                          parameter ipfixVersion of the outer SctpExporter,
                                          UdpExporter, or TcpExporter node.
                                          Used for Collecting Processes, this parameter contains the
                                          version number of the IPFIX protocol it receives for
                                          this Transport Session. If IPFIX Messages of different
                                          IPFIX protocol versions are received, this parameter
                                          contains the maximum version number.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionIpfixVersion in the IPFIX MIB
                                          module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionIpfixVersion).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="sourceAddress"
                                      type="inet:ip-address"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The source address of the Exporter of the
                                          IPFIX Transport Session.
                                          If the transport protocol is SCTP, this is one of the
                                          potentially many IP addresses of the Exporter.
                                          Preferably, the source IP address of the path which is
                                          usually selected by the Exporter to send IPFIX Messages to
                                          the Collector SHOULD be used.
                                          Note that this parameter functionally corresponds to
                                          ipfixTransportSessionSourceAddressType and
                                          ipfixTransportSessionSourceAddress in the IPFIX MIB
                                          module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionSourceAddressType,
                                              ipfixTransportSessionSourceAddress);
                                              RFC4960, Section 6.4.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                      <xs:simpleType>
                                        <xs:union
                                          memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                                      </xs:simpleType>
                                    </xs:element>
                                    <xs:element
                                      name="destinationAddress"
                                      type="inet:ip-address"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The destination address of the Collector of
                                          the IPFIX Transport Session.
                                          If the transport protocol is SCTP, this is one of the
                                          potentially many IP addresses of the Collector.
                                          Preferably, the destination IP address of the path which is
                                          usually selected by the Exporter to send IPFIX Messages to
                                          the Collector SHOULD be used.
                                          Note that this parameter functionally corresponds to
                                          ipfixTransportSessionDestinationAddressType and
                                          ipfixTransportSessionDestinationAddress in the IPFIX MIB
                                          module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionDestinationAddressType,
                                              ipfixTransportSessionDestinationAddress);
                                              RFC4960, Section 6.4.</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                      <xs:simpleType>
                                        <xs:union
                                          memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                                      </xs:simpleType>
                                    </xs:element>
                                    <xs:element name="sourcePort"
                                      type="inet:port-number"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The transport protocol port number of the
                                          Exporter of the IPFIX Transport Session.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionSourcePort in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionSourcePort).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="destinationPort"
                                      type="inet:port-number"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The transport protocol port number of the
                                          Collector of the IPFIX Transport Session.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionDestinationPort in the IPFIX MIB
                                          module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionDestinationPort).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="sctpAssocId"
                                      type="xs:unsignedInt"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The association id used for the SCTP session
                                          between the Exporter and the Collector of the IPFIX
                                          Transport Session. It is equal to the sctpAssocId entry
                                          in the sctpAssocTable defined in the SCTP-MIB.
                                          This parameter is only available if the transport protocol
                                          is SCTP and if an SNMP agent on the same Monitoring Device
                                          enables access to the corresponding MIB objects in the
                                          sctpAssocTable.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionSctpAssocId in the IPFIX MIB
                                          module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionSctpAssocId);
                                              RFC3871</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="status"
                                      type="transportSessionStatus"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>Status of the Transport Session.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionStatus in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8 (ipfixTransportSessionStatus).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="rate"
                                      type="yang:gauge32" minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The number of bytes per second transmitted by the
                                          Exporting Process or received by the Collecting Process.
                                          This parameter is updated every second.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionRate in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>bytes per second</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8 (ipfixTransportSessionRate).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="bytes"
                                      type="yang:counter64"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The number of bytes transmitted by the
                                          Exporting Process or received by the Collecting Process.
                                          Discontinuities in the value of this counter can occur at
                                          re-initialization of the management system, and at other
                                          times as indicated by the value of
                                          transportSessionDiscontinuityTime.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionBytes in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>bytes</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8 (ipfixTransportSessionBytes).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="messages"
                                      type="yang:counter64"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The number of messages transmitted by the
                                          Exporting Process or received by the Collecting Process.
                                          Discontinuities in the value of this counter can occur at
                                          re-initialization of the management system, and at other
                                          times as indicated by the value of
                                          transportSessionDiscontinuityTime.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionMessages in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>IPFIX Messages</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionMessages).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element
                                      name="discardedMessages"
                                      type="yang:counter64"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>Used for Exporting Processes, this parameter
                                          indicates the number of messages that could not be sent due
                                          to internal buffer overflows, network congestion, routing
                                          issues, etc. Used for Collecting Process, this parameter
                                          indicates the number of received IPFIX Message that are
                                          malformed, cannot be decoded, are received in the wrong
                                          order or are missing according to the sequence number.
                                          Discontinuities in the value of this counter can occur at
                                          re-initialization of the management system, and at other
                                          times as indicated by the value of
                                          transportSessionDiscontinuityTime.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionDiscardedMessages in the IPFIX MIB
                                          module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>IPFIX Messages</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionDiscardedMessages).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="records"
                                      type="yang:counter64"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The number of Data Records transmitted by the
                                          Exporting Process or received by the Collecting Process.
                                          Discontinuities in the value of this counter can occur at
                                          re-initialization of the management system, and at other
                                          times as indicated by the value of
                                          transportSessionDiscontinuityTime.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionRecords in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>Data Records</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionRecords).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="templates"
                                      type="yang:counter32"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The number of Templates transmitted by the
                                          Exporting Process or received by the Collecting Process.
                                          Discontinuities in the value of this counter can occur at
                                          re-initialization of the management system, and at other
                                          times as indicated by the value of
                                          transportSessionDiscontinuityTime.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionTemplates in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>Templates</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionTemplates).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="optionsTemplates"
                                      type="yang:counter32"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The number of Option Templates transmitted by the
                                          Exporting Process or received by the Collecting Process.
                                          Discontinuities in the value of this counter can occur at
                                          re-initialization of the management system, and at other
                                          times as indicated by the value of
                                          transportSessionDiscontinuityTime.
                                          Note that this parameter corresponds to
                                          ipfixTransportSessionOptionsTemplates in the IPFIX MIB
                                          module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:units>Options Templates</ncx:units>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionOptionsTemplates).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element
                                      name="transportSessionStartTime"
                                      type="yang:date-and-time"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>Timestamp of the start of the given Transport
                                          Session.
                                          This state parameter does not correspond to any object in
                                          the IPFIX MIB module.</xs:documentation>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element
                                      name="transportSessionDiscontinuityTime"
                                      type="yang:date-and-time"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>Timestamp of the most recent occasion at which
                                          one or more of the Transport Session counters suffered a
                                          discontinuity.
                                          Note that this parameter functionally corresponds to
                                          ipfixTransportSessionDiscontinuityTime in the IPFIX MIB
                                          module. In contrast to
                                          ipfixTransportSessionDiscontinuityTime, the time is
                                          absolute and not relative to sysUpTime.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTransportSessionDiscontinuityTime).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="template"
                                      minOccurs="0"
                                      maxOccurs="unbounded">
                                      <xs:annotation>
                                        <xs:documentation>This list contains the Templates and Options
                                          Templates that are transmitted by the Exporting Process
                                          or received by the Collecting Process.
                                          Withdrawn or invalidated (Options) Template MUST be removed
                                          from this list.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:ordered-by>system</ncx:ordered-by>
                                        </xs:appinfo>
                                      </xs:annotation>
                                      <xs:complexType>
                                        <xs:sequence>
                                          <xs:element
                                            name="observationDomainId"
                                            type="xs:unsignedInt"
                                            minOccurs="0">
                                            <xs:annotation>
                                              <xs:documentation>The ID of the Observation Domain for which this
                                                Template is defined.
                                                Note that this parameter corresponds to
                                                ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:reference>
                                                  <ncx:text>RFC5815, Section 8
                                                    (ipfixTemplateObservationDomainId).</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                          </xs:element>
                                          <xs:element name="templateId"
                                            minOccurs="0">
                                            <xs:annotation>
                                              <xs:documentation>This number indicates the Template Id in the IPFIX
                                                message.
                                                Note that this parameter corresponds to ipfixTemplateId in
                                                the IPFIX MIB module.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:reference>
                                                  <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                            <xs:simpleType>
                                              <xs:restriction
                                                base="xs:unsignedShort">
                                                <xs:minInclusive
                                                  value="256">
                                                  <xs:annotation>
                                                    <xs:documentation>Valid range of Template IDs.</xs:documentation>
                                                    <xs:appinfo>
                                                      <ncx:reference>
                                                        <ncx:text>RFC5101</ncx:text>
                                                      </ncx:reference>
                                                    </xs:appinfo>
                                                  </xs:annotation>
                                                </xs:minInclusive>
                                              </xs:restriction>
                                            </xs:simpleType>
                                          </xs:element>
                                          <xs:element name="setId"
                                            type="xs:unsignedShort"
                                            minOccurs="0">
                                            <xs:annotation>
                                              <xs:documentation>This number indicates the Set ID of the Template.
                                                Currently, there are two values defined. The value 2 is used
                                                for Sets containing Template definitions. The value 3 is
                                                used for Sets containing Options Template definitions.
                                                Note that this parameter corresponds to ipfixTemplateSetId
                                                in the IPFIX MIB module.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:reference>
                                                  <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                          </xs:element>
                                          <xs:element name="accessTime"
                                            type="yang:date-and-time"
                                            minOccurs="0">
                                            <xs:annotation>
                                              <xs:documentation>Used for Exporting Processes, this parameter
                                                contains the time when this (Options) Template was last
                                                sent to the Collector(s) or written to the file.
                                                Used for Collecting Processes, this parameter contains the
                                                time when this (Options) Template was last received from the
                                                Exporter or read from the file.
                                                Note that this parameter corresponds to
                                                ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:reference>
                                                  <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                          </xs:element>
                                          <xs:element
                                            name="templateDataRecords"
                                            type="yang:counter64"
                                            minOccurs="0">
                                            <xs:annotation>
                                              <xs:documentation>The number of transmitted or received Data
                                                Records defined by this (Options) Template.
                                                Discontinuities in the value of this counter can occur at
                                                re-initialization of the management system, and at other
                                                times as indicated by the value of
                                                templateDiscontinuityTime.
                                                Note that this parameter corresponds to
                                                ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:reference>
                                                  <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                          </xs:element>
                                          <xs:element
                                            name="templateDiscontinuityTime"
                                            type="yang:date-and-time"
                                            minOccurs="0">
                                            <xs:annotation>
                                              <xs:documentation>Timestamp of the most recent occasion at which
                                                the counter templateDataRecords suffered a discontinuity.
                                                Note that this parameter functionally corresponds to
                                                ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                                                In contrast to ipfixTemplateDiscontinuityTime, the time
                                                is absolute and not relative to sysUpTime.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:reference>
                                                  <ncx:text>RFC5815, Section 8
                                                    (ipfixTemplateDiscontinuityTime).</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                          </xs:element>
                                          <xs:element name="field"
                                            minOccurs="0"
                                            maxOccurs="unbounded">
                                            <xs:annotation>
                                              <xs:documentation>This list contains the (Options) Template
                                                fields of which the (Options) Template is defined.
                                                The order of the list corresponds to the order of the fields
                                                in the (Option) Template Record.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:ordered-by>system</ncx:ordered-by>
                                              </xs:appinfo>
                                            </xs:annotation>
                                            <xs:complexType>
                                              <xs:sequence>
                                                <xs:element name="ieId"
                                                  type="ieIdType"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                    <xs:documentation>This parameter indicates the Information
                                                      Element Id of the field.
                                                      Note that this parameter corresponds to
                                                      ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                                                    <xs:appinfo>
                                                      <ncx:reference>
                                                        <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                                          RFC5102.</ncx:text>
                                                      </ncx:reference>
                                                    </xs:appinfo>
                                                  </xs:annotation>
                                                </xs:element>
                                                <xs:element
                                                  name="ieLength"
                                                  type="xs:unsignedShort"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                    <xs:documentation>This parameter indicates the length of the
                                                      Information Element of the field.
                                                      Note that this parameter corresponds to
                                                      ipfixTemplateDefinitionIeLength in the IPFIX MIB
                                                      module.</xs:documentation>
                                                    <xs:appinfo>
                                                      <ncx:units>octets</ncx:units>
                                                      <ncx:reference>
                                                        <ncx:text>RFC5815, Section 8
                                                          (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                                                      </ncx:reference>
                                                    </xs:appinfo>
                                                  </xs:annotation>
                                                </xs:element>
                                                <xs:element
                                                  name="ieEnterpriseNumber"
                                                  type="xs:unsignedInt"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                    <xs:documentation>This parameter indicates the IANA enterprise
                                                      number of the authority defining the Information Element
                                                      Id.
                                                      If the Information Element is not enterprise-specific,
                                                      this state parameter is zero.
                                                      Note that this parameter corresponds to
                                                      ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                                                      MIB module.</xs:documentation>
                                                    <xs:appinfo>
                                                      <ncx:reference>
                                                        <ncx:text>RFC5815, Section 8
                                                          (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                                                      </ncx:reference>
                                                    </xs:appinfo>
                                                  </xs:annotation>
                                                </xs:element>
                                                <xs:element
                                                  name="isFlowKey"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                    <xs:documentation>If present, this is a Flow Key field.
                                                      Note that this corresponds to flowKey(1) being set in
                                                      ipfixTemplateDefinitionFlags.</xs:documentation>
                                                    <xs:appinfo>
                                                      <ncx:when>../../setId = 2</ncx:when>
                                                      <ncx:reference>
                                                        <ncx:text>RFC5815, Section 8
                                                          (ipfixTemplateDefinitionFlags).</ncx:text>
                                                      </ncx:reference>
                                                    </xs:appinfo>
                                                  </xs:annotation>
                                                </xs:element>
                                                <xs:element
                                                  name="isScope"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                    <xs:documentation>If present, this is a scope field.
                                                      Note that this corresponds to scope(0) being set in
                                                      ipfixTemplateDefinitionFlags.</xs:documentation>
                                                    <xs:appinfo>
                                                      <ncx:when>../../setId = 3</ncx:when>
                                                      <ncx:reference>
                                                        <ncx:text>RFC5815, Section 8
                                                          (ipfixTemplateDefinitionFlags).</ncx:text>
                                                      </ncx:reference>
                                                    </xs:appinfo>
                                                  </xs:annotation>
                                                </xs:element>
                                                <xs:any minOccurs="0"
                                                  maxOccurs="unbounded"
                                                  namespace="##other"
                                                  processContents="lax"/>
                                              </xs:sequence>
                                            </xs:complexType>
                                          </xs:element>
                                          <xs:any minOccurs="0"
                                            maxOccurs="unbounded"
                                            namespace="##other"
                                            processContents="lax"/>
                                        </xs:sequence>
                                      </xs:complexType>
                                    </xs:element>
                                    <xs:any minOccurs="0"
                                      maxOccurs="unbounded"
                                      namespace="##other"
                                      processContents="lax"/>
                                  </xs:sequence>
                                </xs:complexType>
                              </xs:element>
                              <xs:element name="sourceIPAddress"
                                type="inet:ip-address" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>Source IP address used by the Exporting Process.
                                    If not configured by the user, this parameter is set by
                                    the Monitoring Device to an IP address assigned to the
                                    outgoing interface.</xs:documentation>
                                </xs:annotation>
                                <xs:simpleType>
                                  <xs:union
                                    memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                                </xs:simpleType>
                              </xs:element>
                              <xs:element name="destinationIPAddress"
                                type="inet:ip-address">
                                <xs:annotation>
                                  <xs:documentation>IP address of the Collection Process to which
                                    IPFIX Messages are sent.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:mandatory>true</ncx:mandatory>
                                  </xs:appinfo>
                                </xs:annotation>
                                <xs:simpleType>
                                  <xs:union
                                    memberTypes="inet:ipv4-address&#32;inet:ipv6-address"/>
                                </xs:simpleType>
                              </xs:element>
                              <xs:any minOccurs="0"
                                maxOccurs="unbounded"
                                namespace="##other"
                                processContents="lax"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                      <xs:sequence>
                        <xs:annotation>
                          <xs:appinfo>
                            <ncx:case-name>fileWriter</ncx:case-name>
                          </xs:appinfo>
                        </xs:annotation>
                        <xs:element name="fileWriter">
                          <xs:annotation>
                            <xs:documentation>File Writer parameters.</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="ipfixVersion"
                                type="xs:unsignedShort" default="10"
                                minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>IPFIX version number.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:reference>
                                      <ncx:text>RFC 5101.</ncx:text>
                                      <ncx:url>http://www.ietf.org/rfc/rfc5101.txt</ncx:url>
                                    </ncx:reference>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="file" type="inet:uri">
                                <xs:annotation>
                                  <xs:documentation>URI specifying the location of the file.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:mandatory>true</ncx:mandatory>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="bytes"
                                type="yang:counter64" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>The number of bytes written by the File Writer.
                                    Discontinuities in the value of this counter can occur at
                                    re-initialization of the management system, and at other
                                    times as indicated by the value of
                                    fileWriterDiscontinuityTime.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:config>false</ncx:config>
                                    <ncx:units>octets</ncx:units>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="messages"
                                type="yang:counter64" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>The number of IPFIX Messages written by the File
                                    Writer.
                                    Discontinuities in the value of this counter can occur at
                                    re-initialization of the management system, and at other
                                    times as indicated by the value of
                                    fileWriterDiscontinuityTime.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:config>false</ncx:config>
                                    <ncx:units>IPFIX Messages</ncx:units>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="discardedMessages"
                                type="yang:counter64" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>The number of IPFIX Messages that could not be
                                    written by the File Writer due to internal buffer
                                    overflows, limited storage capacity etc.
                                    Discontinuities in the value of this counter can occur at
                                    re-initialization of the management system, and at other
                                    times as indicated by the value of
                                    fileWriterDiscontinuityTime.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:config>false</ncx:config>
                                    <ncx:units>IPFIX Messages</ncx:units>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="records"
                                type="yang:counter64" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>The number of Data Records written by the File
                                    Writer.
                                    Discontinuities in the value of this counter can occur at
                                    re-initialization of the management system, and at other
                                    times as indicated by the value of
                                    fileWriterDiscontinuityTime.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:config>false</ncx:config>
                                    <ncx:units>Data Records</ncx:units>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="templates"
                                type="yang:counter32" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>The number of Template Records (excluding
                                    Options Template Records) written by the File Writer.
                                    Discontinuities in the value of this counter can occur at
                                    re-initialization of the management system, and at other
                                    times as indicated by the value of
                                    fileWriterDiscontinuityTime.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:config>false</ncx:config>
                                    <ncx:units>Templates</ncx:units>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="optionsTemplates"
                                type="yang:counter32" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>The number of Options Template Records written
                                    by the File Writer.
                                    Discontinuities in the value of this counter can occur at
                                    re-initialization of the management system, and at other
                                    times as indicated by the value of
                                    fileWriterDiscontinuityTime.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:config>false</ncx:config>
                                    <ncx:units>Options Templates</ncx:units>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element
                                name="fileWriterDiscontinuityTime"
                                type="yang:date-and-time" minOccurs="0">
                                <xs:annotation>
                                  <xs:documentation>Timestamp of the most recent occasion at which
                                    one or more File Writer counters suffered a discontinuity.
                                    In contrast to discontinuity times in the IPFIX MIB module,
                                    the time is absolute and not relative to sysUpTime.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:config>false</ncx:config>
                                  </xs:appinfo>
                                </xs:annotation>
                              </xs:element>
                              <xs:element name="template" minOccurs="0"
                                maxOccurs="unbounded">
                                <xs:annotation>
                                  <xs:documentation>This list contains the Templates and Options
                                    Templates that have been written by the File Reader.
                                    Withdrawn or invalidated (Options) Template MUST be removed
                                    from this list.</xs:documentation>
                                  <xs:appinfo>
                                    <ncx:config>false</ncx:config>
                                    <ncx:ordered-by>system</ncx:ordered-by>
                                  </xs:appinfo>
                                </xs:annotation>
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element
                                      name="observationDomainId"
                                      type="xs:unsignedInt"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The ID of the Observation Domain for which this
                                          Template is defined.
                                          Note that this parameter corresponds to
                                          ipfixTemplateObservationDomainId in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTemplateObservationDomainId).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="templateId"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>This number indicates the Template Id in the IPFIX
                                          message.
                                          Note that this parameter corresponds to ipfixTemplateId in
                                          the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8 (ipfixTemplateId).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                      <xs:simpleType>
                                        <xs:restriction
                                          base="xs:unsignedShort">
                                          <xs:minInclusive value="256">
                                            <xs:annotation>
                                              <xs:documentation>Valid range of Template IDs.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:reference>
                                                  <ncx:text>RFC5101</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                          </xs:minInclusive>
                                        </xs:restriction>
                                      </xs:simpleType>
                                    </xs:element>
                                    <xs:element name="setId"
                                      type="xs:unsignedShort"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>This number indicates the Set ID of the Template.
                                          Currently, there are two values defined. The value 2 is used
                                          for Sets containing Template definitions. The value 3 is
                                          used for Sets containing Options Template definitions.
                                          Note that this parameter corresponds to ipfixTemplateSetId
                                          in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8 (ipfixTemplateSetId).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="accessTime"
                                      type="yang:date-and-time"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>Used for Exporting Processes, this parameter
                                          contains the time when this (Options) Template was last
                                          sent to the Collector(s) or written to the file.
                                          Used for Collecting Processes, this parameter contains the
                                          time when this (Options) Template was last received from the
                                          Exporter or read from the file.
                                          Note that this parameter corresponds to
                                          ipfixTemplateAccessTime in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8 (ipfixTemplateAccessTime).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element
                                      name="templateDataRecords"
                                      type="yang:counter64"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>The number of transmitted or received Data
                                          Records defined by this (Options) Template.
                                          Discontinuities in the value of this counter can occur at
                                          re-initialization of the management system, and at other
                                          times as indicated by the value of
                                          templateDiscontinuityTime.
                                          Note that this parameter corresponds to
                                          ipfixTemplateDataRecords in the IPFIX MIB module.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8 (ipfixTemplateDataRecords).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element
                                      name="templateDiscontinuityTime"
                                      type="yang:date-and-time"
                                      minOccurs="0">
                                      <xs:annotation>
                                        <xs:documentation>Timestamp of the most recent occasion at which
                                          the counter templateDataRecords suffered a discontinuity.
                                          Note that this parameter functionally corresponds to
                                          ipfixTemplateDiscontinuityTime in the IPFIX MIB module.
                                          In contrast to ipfixTemplateDiscontinuityTime, the time
                                          is absolute and not relative to sysUpTime.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:reference>
                                            <ncx:text>RFC5815, Section 8
                                              (ipfixTemplateDiscontinuityTime).</ncx:text>
                                          </ncx:reference>
                                        </xs:appinfo>
                                      </xs:annotation>
                                    </xs:element>
                                    <xs:element name="field"
                                      minOccurs="0"
                                      maxOccurs="unbounded">
                                      <xs:annotation>
                                        <xs:documentation>This list contains the (Options) Template
                                          fields of which the (Options) Template is defined.
                                          The order of the list corresponds to the order of the fields
                                          in the (Option) Template Record.</xs:documentation>
                                        <xs:appinfo>
                                          <ncx:ordered-by>system</ncx:ordered-by>
                                        </xs:appinfo>
                                      </xs:annotation>
                                      <xs:complexType>
                                        <xs:sequence>
                                          <xs:element name="ieId"
                                            type="ieIdType"
                                            minOccurs="0">
                                            <xs:annotation>
                                              <xs:documentation>This parameter indicates the Information
                                                Element Id of the field.
                                                Note that this parameter corresponds to
                                                ipfixTemplateDefinitionIeId in the IPFIX MIB module.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:reference>
                                                  <ncx:text>RFC5815, Section 8 (ipfixTemplateDefinitionIeId);
                                                    RFC5102.</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                          </xs:element>
                                          <xs:element name="ieLength"
                                            type="xs:unsignedShort"
                                            minOccurs="0">
                                            <xs:annotation>
                                              <xs:documentation>This parameter indicates the length of the
                                                Information Element of the field.
                                                Note that this parameter corresponds to
                                                ipfixTemplateDefinitionIeLength in the IPFIX MIB
                                                module.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:units>octets</ncx:units>
                                                <ncx:reference>
                                                  <ncx:text>RFC5815, Section 8
                                                    (ipfixTemplateDefinitionIeLength); RFC5102.</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                          </xs:element>
                                          <xs:element
                                            name="ieEnterpriseNumber"
                                            type="xs:unsignedInt"
                                            minOccurs="0">
                                            <xs:annotation>
                                              <xs:documentation>This parameter indicates the IANA enterprise
                                                number of the authority defining the Information Element
                                                Id.
                                                If the Information Element is not enterprise-specific,
                                                this state parameter is zero.
                                                Note that this parameter corresponds to
                                                ipfixTemplateDefinitionIeEnterpriseNumber in the IPFIX
                                                MIB module.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:reference>
                                                  <ncx:text>RFC5815, Section 8
                                                    (ipfixTemplateDefinitionIeEnterpriseNumber).</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                          </xs:element>
                                          <xs:element name="isFlowKey"
                                            minOccurs="0">
                                            <xs:annotation>
                                              <xs:documentation>If present, this is a Flow Key field.
                                                Note that this corresponds to flowKey(1) being set in
                                                ipfixTemplateDefinitionFlags.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:when>../../setId = 2</ncx:when>
                                                <ncx:reference>
                                                  <ncx:text>RFC5815, Section 8
                                                    (ipfixTemplateDefinitionFlags).</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                          </xs:element>
                                          <xs:element name="isScope"
                                            minOccurs="0">
                                            <xs:annotation>
                                              <xs:documentation>If present, this is a scope field.
                                                Note that this corresponds to scope(0) being set in
                                                ipfixTemplateDefinitionFlags.</xs:documentation>
                                              <xs:appinfo>
                                                <ncx:when>../../setId = 3</ncx:when>
                                                <ncx:reference>
                                                  <ncx:text>RFC5815, Section 8
                                                    (ipfixTemplateDefinitionFlags).</ncx:text>
                                                </ncx:reference>
                                              </xs:appinfo>
                                            </xs:annotation>
                                          </xs:element>
                                          <xs:any minOccurs="0"
                                            maxOccurs="unbounded"
                                            namespace="##other"
                                            processContents="lax"/>
                                        </xs:sequence>
                                      </xs:complexType>
                                    </xs:element>
                                    <xs:any minOccurs="0"
                                      maxOccurs="unbounded"
                                      namespace="##other"
                                      processContents="lax"/>
                                  </xs:sequence>
                                </xs:complexType>
                              </xs:element>
                              <xs:any minOccurs="0"
                                maxOccurs="unbounded"
                                namespace="##other"
                                processContents="lax"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                          namespace="##other" processContents="lax"/>
                      </xs:sequence>
                      <xs:any minOccurs="0" maxOccurs="unbounded"
                        namespace="##other" processContents="lax"/>
                    </xs:choice>
                    <xs:any minOccurs="0" maxOccurs="unbounded"
                      namespace="##other" processContents="lax"/>
                  </xs:sequence>
                </xs:complexType>
                <xs:key name="destinationkey87">
                  <xs:selector xpath="."/>
                  <xs:field xpath="name"/>
                </xs:key>
              </xs:element>
              <xs:element name="options" minOccurs="0"
                maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation>List of options reported by the Exporting
                    Process.</xs:documentation>
                  <xs:appinfo>
                    <ncx:ordered-by>system</ncx:ordered-by>
                  </xs:appinfo>
                </xs:annotation>
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="name" type="nameType">
                      <xs:annotation>
                        <xs:documentation>Key of this list.</xs:documentation>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="optionsType" type="xs:QName">
                      <xs:annotation>
                        <xs:documentation>Type of the exported options data.</xs:documentation>
                        <xs:appinfo>
                          <ncx:mandatory>true</ncx:mandatory>
                        </xs:appinfo>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="optionsTimeout"
                      type="xs:unsignedInt" minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>Time interval for periodic export of the options
                          data. If set to zero, the export is triggered when the
                          options data has changed.
                          If not configured by the user, this parameter is set by the
                          Monitoring Device.</xs:documentation>
                        <xs:appinfo>
                          <ncx:units>milliseconds</ncx:units>
                        </xs:appinfo>
                      </xs:annotation>
                    </xs:element>
                    <xs:any minOccurs="0" maxOccurs="unbounded"
                      namespace="##other" processContents="lax"/>
                  </xs:sequence>
                </xs:complexType>
                <xs:key name="optionskey88">
                  <xs:selector xpath="."/>
                  <xs:field xpath="name"/>
                </xs:key>
              </xs:element>
              <xs:any minOccurs="0" maxOccurs="unbounded"
                namespace="##other" processContents="lax"/>
            </xs:sequence>
          </xs:complexType>
          <xs:key name="exportingProcesskey89">
            <xs:selector xpath="."/>
            <xs:field xpath="name"/>
          </xs:key>
        </xs:element>
        <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"
          processContents="lax"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>

