netconfcentral logo

ieee802-dot1cb-frer-types@2020-04-29



  module ieee802-dot1cb-frer-types {

    yang-version 1.1;

    namespace
      "urn:ieee:std:802.1Q:yang:ieee802-dot1cb-frer-types";

    prefix dot1cb-frer-types;

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

    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 frame replication and
elimination 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 10 of IEEE Std 802.1CB-2017";

    }


    feature auto-configuration {
      description
        "Autoconfiguration of entries in the tables for stream identity
table (9.1), sequence recovery table (10.4) and sequence
identification table (10.5)";
      reference
        "Clause 7.11, 10.7 of IEEE Std 802.1CB-2017";

    }

    typedef lan-path-id {
      type int8;
      description
        "An integer specifying a path or LAN. If and only if a packet
matches an entry in the Sequence identification table (10.5)
that specifies HSR or PRP in its frerSeqEncEncapsType (10.5.1.5)
object, tsnStreamIdLanPathId specifies the LanId or PathId value
that must be matched for this tsnStreamIdEntry to apply. A value
of –1 indicates that the LanId or PathId are to be ignored.";
      reference
        "Clause 10.22 of IEEE Std 802.1CB-2017";

    }

    typedef sequence-recovery-algorithm {
      type enumeration {
        enum "vector" {
          value 0;
          description
            "Vector Recovery Algorithm";
          reference
            "Clause 7.4.3.4 of IEEE Std 802.1CB-2017";

        }
        enum "match" {
          value 1;
          description
            "Match Recovery Algorithm";
          reference
            "Clause 7.4.3.5 of IEEE Std 802.1CB-2017";

        }
      }
      description
        "This object is an enumerated value specifying which sequence
recovery algorithm is to be used for this instance of the
Sequence recovery function (7.4.2). The enumeration uses an OUI
or CID as shown in Table 10-1.";
      reference
        "Clause 10.4.1.5 of IEEE Std 802.1CB-2017";

    }

    typedef sequence-history-length {
      type uint32 {
        range "2..max";
      }
      description
        "An integer specifying how many bits of the SequenceHistory
variable (7.4.3.2.2) are to be used.";
      reference
        "Clause 7.4.3.2.2 of IEEE Std 802.1CB-2017";

    }

    typedef sequence-encode-decode-types {
      type enumeration {
        enum "r-tag" {
          value 1;
          description "R-TAG";
          reference
            "Clause 7.8 of IEEE Std 802.1CB-2017";

        }
        enum "hsr-sequence-tag" {
          value 2;
          description "HSR sequence tag";
          reference
            "Clause 7.9 of IEEE Std 802.1CB-2017";

        }
        enum "prp-sequence-trailer" {
          value 3;
          description "PRP sequence trailer";
          reference
            "Clause 7.10 of IEEE Std 802.1CB-2017";

        }
      }
      description
        "There is one Sequence identification table per system, and one
entry in the Sequence identification table for each port and
direction for which an instance of the Sequence encode/decode
function (7.6) is to be created.";
      reference
        "Table 10-2 of IEEE Std 802.1CB-2017";

    }
  }  // module ieee802-dot1cb-frer-types