huawei-gre

Generic Routing Encapsulation (GRE) is a tunneling protocol that can encapsulate a wide variety of network layer protocols insid...

  • Version: 2020-05-18

    huawei-gre@2020-05-18


    
      module huawei-gre {
    
        yang-version 1;
    
        namespace "urn:huawei:yang:huawei-gre";
    
        prefix gre;
    
        import ietf-inet-types {
          prefix inet;
        }
        import huawei-pub-type {
          prefix pub-type;
        }
        import huawei-extension {
          prefix ext;
        }
        import huawei-ifm {
          prefix ifm;
        }
        import huawei-tunnel-management {
          prefix tnlm;
        }
        import huawei-network-instance {
          prefix ni;
        }
        import huawei-l3vpn {
          prefix l3vpn;
        }
    
        organization
          "Huawei Technologies Co., Ltd.";
    
        contact
          "Huawei Industrial Base
    Bantian, Longgang
    Shenzhen 518129
    People's Republic of China
    Website: http://www.huawei.com
    Email: support@huawei.com";
    
        description
          "Generic Routing Encapsulation (GRE) is a tunneling protocol that can encapsulate a
    wide variety of network layer protocols inside virtual point-to-point links or point-to-multipoint
    links over an Internet Protocol network.";
    
        revision "2020-05-18" {
          description "Add when/must condition.";
          reference
            "Huawei private.";
    
        }
    
        revision "2020-05-06" {
          description "Remove GRE group.";
          reference
            "Huawei private.";
    
        }
    
        revision "2020-03-26" {
          description
            "White-box errors are resolved.";
          reference
            "Huawei private.";
    
        }
    
        revision "2020-01-13" {
          description
            "Add a leaf node mtu-check-enable.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-10-10" {
          description "Initial revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "gre";
    
        rpc reset-keep-alive {
          ext:node-ref "/ifm:ifm/ifm:interfaces/ifm:interface/tnlm:tunnel-protocol/tnlm:type/gre:gre/gre:gre-tunnel/gre:keep-alive";
          description
            "Clear Keepalive packet statistics.";
          input {
            leaf tnl-name {
              type leafref {
                path "/ifm:ifm/ifm:interfaces/ifm:interface/ifm:name";
              }
              mandatory true;
              description "Tunnel name.";
            }
          }
        }  // rpc reset-keep-alive
      }  // module huawei-gre
    

© 2023 YumaWorks, Inc. All rights reserved.