huawei-ietf-netconf-ext

Extension of NETCONF protocol standard operations that were used privately for Huawei device.

  • Version: 2019-05-25

    huawei-ietf-netconf-ext@2019-05-25


    
      module huawei-ietf-netconf-ext {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-ietf-netconf-ext";
    
        prefix nc-ext;
    
        import ietf-netconf {
          prefix nc;
        }
        import huawei-extension {
          prefix ext;
        }
    
        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
          "Extension of NETCONF protocol standard operations that were used privately for Huawei device.";
    
        revision "2019-05-25" {
          description "Initial revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "netconf";
    
        typedef flow-id-type {
          type uint32;
          description
            "This type used for the attribute 'flow-id';
             The rpc-reply of the sync-full/edit-config operation will contain the 'flow-id' XML attribute.";
        }
    
        notification netconf-rpc-keepalive {
          description
            "This notification will be generated every 20 seconds if the operation takes more time,
           Client must use filter to subscribe this notification for a specific session,
           and it can report error if this notification is not enabled without the filter.";
          leaf session-id {
            type uint32;
            description
              "Session in which client want to receive this notitification; 
             Unique identifier for the session. This value is the NETCONF session identifier, as defined in [RFC4741].Refer to RFC 6022 section 2.1.4.";
          }
    
          leaf message-id {
            type string {
              length "0..4095";
            }
            description
              "Message id of the rpc operation that is taking long time to execute.";
          }
        }  // notification netconf-rpc-keepalive
      }  // module huawei-ietf-netconf-ext
    

© 2023 YumaWorks, Inc. All rights reserved.