gen-tunnel

This module defines ietf tunnel yang data model

  • Version: 2015-06-09

    gen-tunnel@2015-06-09


    
      module gen-tunnel {
    
        yang-version 1;
    
        namespace
          "http://example.com/gen-tunnel";
    
        prefix tunnel;
    
        import ietf-yang-types {
          prefix yang;
        }
        import ietf-inet-types {
          prefix inet;
        }
        import ietf-interfaces {
          prefix if;
        }
        import iana-if-type {
          prefix ianaift;
        }
    
        organization "IETF Netmod Working Group";
    
        contact "wangzitao@huawei.com";
    
        description
          "This module defines ietf tunnel yang data model";
    
        revision "2015-06-09" {
          description
            "Initial revision. - 01 version";
          reference
            "draft-wwz-netmod-yang-tunnel-model-00";
    
        }
    
    
        identity technology-types {
          description
            "this is the base identity of technology types which are
          IP, GRE, MPLS, etc";
        }
    
        identity ipv4 {
          base technology-types;
          description "technology of ipv4";
        }
    
        identity ipv6 {
          base technology-types;
          description "technology of ipv6";
        }
    
        identity encapsulation-type {
          description
            "The encapsulation method used by a tunnel
     which are direct, GRE, 6to4, 6over4, IPsec, etc.";
        }
    
        identity direct {
          base encapsulation-type;
          description "no intermediate header.";
        }
    
        identity endpoint-type {
          description
            "this is the base identity of tunnel type which are CE, PE, etc.";
        }
      }  // module gen-tunnel
    

© 2023 YumaWorks, Inc. All rights reserved.