netconfcentral logo

openconfig-aft-types@2017-08-24



  module openconfig-aft-types {

    yang-version 1;

    namespace
      "http://openconfig.net/yang/fib-types";

    prefix oc-aftt;

    import openconfig-extensions {
      prefix oc-ext;
    }

    organization "OpenConfig Working Group";

    contact
      "OpenConfig Working Group
    www.openconfig.net";

    description
      "Types related to the OpenConfig Abstract Forwarding
    Table (AFT) model";

    revision "2017-08-24" {
      description "Formatting fixes";
      reference
        "0.3.1";

    }

    revision "2017-05-10" {
      description
        "Refactor to provide concretised per-AF schemas per AFT.";
      reference
        "0.3.0";

    }

    oc-ext:openconfig-version "0.3.1";

    typedef encapsulation-header-type {
      type enumeration {
        enum "GRE" {
          value 0;
          description
            "The encapsulation header is a Generic Routing Encapsulation
          header.";
        }
        enum "IPV4" {
          value 1;
          description
            "The encapsulation header is an IPv4 packet header";
        }
        enum "IPV6" {
          value 2;
          description
            "The encapsulation header is an IPv6 packet header";
        }
        enum "MPLS" {
          value 3;
          description
            "The encapsulation header is one or more MPLS labels indicated
          by the pushed and popped label stack lists.";
        }
      }
      description
        "Types of tunnel encapsulation that are supported by systems as either
      head- or tail-end.";
    }
  }  // module openconfig-aft-types