netconfcentral logo

ieee802-dot1cb-stream-identification

HTML

ieee802-dot1cb-stream-identification@2020-04-29



  module ieee802-dot1cb-stream-identification {

    yang-version 1.1;

    namespace
      "urn:ieee:std:802.1Q:yang:ieee802-dot1cb-stream-identification";

    prefix dot1cb-stream-identification;

    import ietf-interfaces {
      prefix if;
    }
    import ieee802-dot1cb-stream-identification-types {
      prefix sid-types;
    }

    organization
      "Institute of Electrical and Electronics Engineers";

    contact
      "WG-URL: http://grouper.ieee.org/groups/802/1/
WG-EMail: stds-802-1@ieee.org

Contact: IEEE 802.1 Working Group Chair
Postal: C/O IEEE 802.1 Working Group
       IEEE Standards Association
       445 Hoes Lane
       P.O. Box 1331
       Piscataway
       NJ 08855-1331
       USA

E-mail: STDS-802-1-L@LISTSERV.IEEE.ORG";

    description
      "Management objects that control the stream identification from
IEEE Std 802.1CB-2017.
This YANG data model conforms to the Network Management Datastore
Architecture defined in RFC 8342.";

    revision "2020-04-29" {
      description
        "D0.3 revision. Note that this module might change in
backward incompatible ways until approved as a standard.";
      reference
        "Clause 10 of IEEE Std 802.1CB-2017";

    }

    revision "2019-09-01" {
      description
        "Initial revision. Note that this module might change in
backward incompatible ways until approved as a standard.";
      reference
        "Clause 9 of IEEE Std 802.1CB-2017";

    }


    list stream-identity-list {
      key "index";
      description
        "The Stream identity table consists of a set of tsnStreamIdEntry
objects (9.1.1), each relating to a single Stream, specifying
the points in the system where Stream identification functions
(6.2) are to be instantiated. Each entry in the Stream identity
table has a tsnStreamIdHandle object (9.1.1.1) specifying a
stream_handle value and one or more tsnStreamIdEntry objects
(9.1.1) describing one identification method for that Stream. If
a single Stream has multiple identification methods, perhaps
(but not necessarily) on different ports, then there can be
multiple tsnStreamIdEntry objects with the same value for the
tsnStreamIdHandle. If the HSR or PRP method or the Sequence
encode/decode function is applied to a packet, then the LanId or
PathId fields are also used to identify the Stream to which the
packet belongs.";
      reference
        "Clause 9.1. of IEEE Std 802.1CB-2017";

      leaf index {
        type uint32;
        description
          "If a single Stream has multiple identification methods,
perhaps (but not necessarily) on different ports, then there
can be multiple tsnStreamIdEntry objects with the same value
for the tsnStreamIdHandle";
      }

      uses sid-types:tsn-stream-id-entry-group;
    }  // list stream-identity-list

    augment /if:interfaces/if:interface/if:statistics {
      description
        "The per-port, per-Stream packet counters that are kept by
Stream identification functions for inspection by network
management entities are described in 9.2, and the per-port
(totaled over all Streams) counters in 9.3";
      reference
        "Clause 9 of IEEE Std 802.1CB-2017";

      list stream-identification-counters {
        key "direction handle";
        config false;
        description
          "The following counters are instantiated for each port on which
the Stream identification function (6.2) is configured. The
counters are indexed by port number, facing (in-facing or
out-facing), and stream_handle value (tsnStreamIdHandle,
9.1.1.1). All counters are unsigned integers. If used on links
faster than 650 000 000 bits per second, they shall be 64 bits
in length to ensure against excessively short wrap times.";
        reference
          "Clause 9.2 of IEEE Std 802.1CB-2017";

        leaf direction {
          type sid-types:direction;
          description
            "An object indicating whether the counters apply to
out-facing (True) or in-facing (False).";
        }

        leaf handle {
          type leafref {
            path
              "/stream-identity-list/handle";
          }
          description
            "The according tsnStreamIdHandle for these counters.";
        }

        container per-port-per-stream {
          description
            "Contains the per-port-per-stream counters for stream
identification";
          reference
            "Clause 9.2 of IEEE Std 802.1CB-2017";

          uses sid-types:per-port-per-stream-stream-identification-counters-group;
        }  // container per-port-per-stream

        container per-port {
          description
            "Contains the per-port counters for stream identification";
          reference
            "Clause 9.3 of IEEE Std 802.1CB-2017";

          uses sid-types:per-port-stream-identification-counters-group;
        }  // container per-port
      }  // list stream-identification-counters
    }
  }  // module ieee802-dot1cb-stream-identification

Summary

  
  
Organization Institute of Electrical and Electronics Engineers
  
Module ieee802-dot1cb-stream-identification
Version 2020-04-29
File ieee802-dot1cb-stream-identification.yang
  
Prefix dot1cb-stream-identification
Namespace urn:ieee:std:802.1Q:yang:ieee802-dot1cb-stream-identification
  
Cooked /cookedmodules/ieee802-dot1cb-stream-identification/2020-04-29
YANG /src/ieee802-dot1cb-stream-identification@2020-04-29.yang
XSD /xsd/ieee802-dot1cb-stream-identification@2020-04-29.xsd
  
Abstract Management objects that control the stream identification from IEEE Std 802.1CB-2017. This YANG data model conforms to the Netwo...
  
Contact
WG-URL: http://grouper.ieee.org/groups/802/1/
WG-EMail: stds-802-1@ieee.org

Contact: IEEE 802.1 Working Group Chair
Postal: C/O IEEE 802.1 Working Group
       IEEE Standards Association
       445 Hoes Lane
       P.O. Box 1331
       Piscataway
       NJ 08855-1331
       USA

E-mail: STDS-802-1-L@LISTSERV.IEEE.ORG

Description

 
Management objects that control the stream identification from
IEEE Std 802.1CB-2017.
This YANG data model conforms to the Network Management Datastore
Architecture defined in RFC 8342.

Objects

Type Key
Mandatory config
Optional config
Not config
Object Type Abstract
stream-identity-list list The Stream identity table consists of a set of tsnStreamIdEntry objects (9.1.1), each relating to a single Stream, specifying the points in the system where Stream identification functions (6.2) are to be instantiated. Each entry in the Stream identity ta...
   handle leaf The objects in a given entry of the Stream identity table are used to control packets whose stream_handle subparameter is equal to the entry’s tsnStreamIdHandle object. The specific values used in the tsnStreamIdHandle object are not necessarily used in...
   identification-type leaf An enumerated value indicating the method used to identify packets belonging to the Stream. The enumeration includes an Organizationally Unique Identifier (OUI) or Company ID (CID) to identify the organization defining the enumerated type.
   in-facing container Container for in-facing Stream identification functions.
      input-port-list leaf-list The list of ports on which an in-facing Stream identification function (6.2) using this identification method (9.1.1.6, 9.1.1.7) is to be placed for this Stream (9.1.1.1) in the input (coming from the system forwarding function) direction. Any number of t...
      output-port-list leaf-list The list of ports on which an in-facing Stream identification function (6.2) using this identification method (9.1.1.6, 9.1.1.7) is to be placed for this Stream (9.1.1.1) in the output (towards the system forwarding function) direction. At most one tsnStr...
   index leaf If a single Stream has multiple identification methods, perhaps (but not necessarily) on different ports, then there can be multiple tsnStreamIdEntry objects with the same value for the tsnStreamIdHandle
   out-facing container Container for out-facing Stream identification functions.
      input-port-list leaf-list The list of ports on which an out-facing Stream identification function (6.2) using this identification method (9.1.1.6, 9.1.1.7) is to be placed for this Stream (9.1.1.1) in the input (coming from the physical interface) direction. Any number of tsnStrea...
      output-port-list leaf-list The list of ports on which an out-facing Stream identification function (6.2) using this identification method (9.1.1.6, 9.1.1.7) is to be placed for this Stream (9.1.1.1) in the output (towards the physical interface) direction. At most one tsnStreamIdEn...
   parameters choice The number of controlling parameters for a Stream identification method, their types and values, are specific to the tsnStreamIdIdentificationType (9.1.1.6) and are referenced in Table 9-1.
      dmac-vlan-stream-identification case dmac-vlan-stream-identification
         dmac-vlan-stream-identification container When instantiating an instance of the Active Destination MAC and VLAN Stream identification function (6.6) for a particular output Stream, the managed objects in the following subclauses, along with those listed in 9.1.2, serve as the tsnStreamIdParameter...
            down container Container for all parameters which are sent to lower layers.
               destination-mac leaf Specifies the destination_address parameter to use in the EISS request primitive for output packets sent to lower layers by the Active Destination MAC and VLAN Stream identification function, and the destination_address that identifies an input packet in ...
               priority leaf Specifies the priority parameter to use in the EISS request primitive for output packets sent to lower layers by the Active Destination MAC and VLAN Stream identification function for all packets in a particular Stream.
               tagged leaf An enumerated value indicating whether a packet in an EISS indication or request primitive between the Active Destination MAC and VLAN Stream identification function and the lower layers is to have a VLAN tag. This variable is not used in an FRER C-compon...
               vlan leaf Specifies the vlan_identifier parameter to use in the EISS request primitive for output packets sent to lower layers by the Active Destination MAC and VLAN Stream identification function, and the vlan_identifier that identifies an input packet in an EISS ...
            up container Container for all parameters which are offered to higher layers.
               destination-mac leaf Specifies the destination_address parameter to use in the EISS indication primitive for input packets offered to upper layers by the Active Destination MAC and VLAN Stream identification layer. This address replaces the address that was used to identify t...
               priority leaf Specifies the priority parameter to use in the EISS indication primitive for packets offered to upper layers.
               tagged leaf An enumerated value indicating whether a packet in an EISS indication or request primitive between the Active Destination MAC and VLAN Stream identification function and the upper layers is to have a VLAN tag. This variable is used only by an end system a...
               vlan leaf Specifies the vlan_identifier parameter to use in the EISS indication primitive for packets offered to upper layers, or the VLAN ID field for an IEEE 802.1Q tag in an ISS mac_service_data_unit. This address replaces the VLAN ID that was used to identify t...
      ip-stream-identification case ip-stream-identification
         ip-stream-identification container When instantiating an instance of the IP Stream identification function (6.7), the parameters in the following subclauses replace the tsnStreamIdParameters managed object (9.1.1.7).
            destination-mac leaf Specifies the destination_address parameter that identifies a packet in an EISS indication primitive.
            destination-port leaf Specifies the TCP or UDP Destination Port parameter that must be matched to identify packets coming up from lower layers. A value of 0 indicates that the Destination Port number of the packet is to be ignored on packets received from lower layers.
            dscp leaf Specifies the IPv4 (RFC 791) or IPv6 (RFC 2460) differentiated services codepoint (DSCP, RFC 2474) that must be matched to identify packets coming up from the lower layers. A value of 64 decimal indicates that the DSCP is to be ignored on packets received...
            ip-destination leaf Specifies the IPv4 (RFC 791) or IPv6 (RFC 2460) destination address parameter that must be matched to identify packets coming up from lower layers.
            ip-source leaf Specifies the IPv4 (RFC 791) or IPv6 (RFC 2460) source address parameter that must be matched to identify packets coming up from lower layers. An address of all 0 indicates that the IP source address is to be ignored on packets received from lower layers...
            next-protocol leaf Specifies the IP next protocol parameter that must be matched to identify packets coming up from lower layers. The value of this parameter must specify either none, UDP (RFC 768), TCP (RFC 793), or SCTP (RFC 4960). If “none,” then the tsnCpeIpIdSource...
            source-port leaf Specifies the TCP or UDP Source Port parameter that must be matched to identify packets coming up from lower layers. A value of 0 indicates that the Source Port number of the packet is to be ignored on packets received from lower layers.
            tagged leaf An enumerated value indicating whether a packet in an EISS indication or request primitive to the IP Stream identification function is to have a VLAN tag.
            vlan leaf Specifies the vlan_identifier parameter that identifies a packet in an EISS indication primitive. A value of 0 indicates that the frame is not to have a VLAN tag.
      null-stream-identification case null-stream-identification
         null-stream-identification container When instantiating an instance of the Null Stream identification function (6.4) for a particular input Stream, the managed objects in the following subclauses serve as the tsnStreamIdParameters managed object (9.1.1.7).
            destination-mac leaf Specifies the destination_address that identifies a packet in an EISS indication primitive, to the Null Stream identification function
            tagged leaf An enumerated value indicating whether a packet in an EISS indication primitive to the Null Stream identification function is permitted to have a VLAN tag.
            vlan leaf Specifies the vlan_identifier parameter that identifies a packet in an EISS indication primitive to the Null Stream identification function. A value of 0 indicates that the vlan_identifier parameter is ignored on EISS indication primitives.
      smac-vlan-stream-identification case smac-vlan-stream-identification
         smac-vlan-stream-identification container When instantiating an instance of the Source MAC and VLAN Stream identification function (6.5) for a particular input Stream, the managed objects in the following subclauses serve as the tsnStreamIdParameters managed object (9.1.1.7).
            source-mac leaf Specifies the source_address that identifies a packet in an EISS indication primitive, to the Source MAC and VLAN Stream identification function.
            tagged leaf An enumerated value indicating whether a packet in an EISS indication primitive to the Source MAC and VLAN Stream identification function is permitted to have a VLAN tag.
            vlan leaf Specifies the vlan_identifier parameter that identifies a packet in an EISS indication primitive to the Source MAC and VLAN Stream identification function. A value of 0 indicates that the vlan_identifier parameter is ignored on EISS indication primitives.