openconfig-aft-types

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

  • Version: 2025-01-28

    openconfig-aft-types@2025-01-28


    
      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 "2025-01-28" {
          description
            "Deprecated UDP enum and replaced it by more fine-grained enums UDPV4 and UDPV6.";
          reference
            "1.3.0";
    
        }
    
        revision "2024-07-18" {
          description
            "Add MPLS in UDP enums for encapsulate-header.";
          reference
            "1.2.0";
    
        }
    
        revision "2022-05-05" {
          description
            "Add network-instance and decapsulate-header in NH AFT entry state";
          reference
            "1.1.0";
    
        }
    
        revision "2021-08-24" {
          description
            "Add vxlan to next-hops encapsulation-header-type.";
          reference
            "0.3.5";
    
        }
    
        revision "2019-11-07" {
          description
            "Move lsp-name leaf out of aft-common-entry-nexthop-state group.";
          reference
            "0.3.4";
    
        }
    
        revision "2019-08-01" {
          description
            "Add lsp-name leaf to AFT next-hop.";
          reference
            "0.3.3";
    
        }
    
        revision "2018-11-21" {
          description
            "Add OpenConfig module metadata extensions.";
          reference
            "0.3.2";
    
        }
    
        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 "1.3.0";
        oc-ext:regexp-posix;
        oc-ext:catalog-organization "openconfig";
        oc-ext:origin "openconfig";
    
        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.";
            }
            enum "VXLAN" {
              value 4;
              description
                "The encapsulation header is a VXLAN packet header";
            }
            enum "UDP" {
              value 5;
              description
                "DEPRECATED. The encapsulation header is UDP packet header. This node
    is deprecated in favor of UDPV4 and UDPV6 nodes.";
            }
            enum "UDPV4" {
              value 6;
              description
                "The encapsulation header is a UDP + IPv4 header.";
            }
            enum "UDPV6" {
              value 7;
              description
                "The encapsulation header is a UDP + IPv6 header.";
            }
          }
          description
            "Types of tunnel encapsulation that are supported by systems as either
    head- or tail-end.";
        }
      }  // module openconfig-aft-types
    

© 2024 YumaWorks, Inc. All rights reserved.