openconfig-gnsi-acctz

This module provides counters of gNSI accountZ requests and responses and the quantity of data transferred.

  • Version: 2024-02-13

    openconfig-gnsi-acctz@2024-02-13


    
      module openconfig-gnsi-acctz {
    
        yang-version 1;
    
        namespace
          "https://github.com/openconfig/yang/gnsi/acctz";
    
        prefix oc-gnsi-acctz;
    
        import openconfig-extensions {
          prefix oc-ext;
        }
        import openconfig-system {
          prefix oc-sys;
        }
        import openconfig-system-grpc {
          prefix oc-sys-grpc;
        }
        import openconfig-types {
          prefix oc-types;
        }
        import openconfig-yang-types {
          prefix oc-yang;
        }
        import openconfig-gnsi {
          prefix oc-gnsi;
        }
    
        organization "OpenConfig Working Group";
    
        contact
          "OpenConfig working group
        netopenconfig@googlegroups.com";
    
        description
          "This module provides counters of gNSI accountZ requests and responses and
        the quantity of data transferred.";
    
        revision "2024-02-13" {
          description
            "Major style updates and move to openconfig/public from openconfig/gnsi.
          Last commit at
          https://github.com/openconfig/gnsi/commit/347935aac66135d5649dadb9583ed0914578aab0";
          reference
            "0.2.0";
    
        }
    
        revision "2023-12-01" {
          description "Initial revision.";
          reference
            "0.1.0";
    
        }
    
        oc-ext:openconfig-version "0.2.0";
    
        typedef cmd-service {
          type enumeration {
            enum "UNSPECIFIED" {
              value 0;
            }
            enum "SHELL" {
              value 1;
            }
            enum "CLI" {
              value 2;
            }
            enum "WEBUI" {
              value 3;
            }
            enum "RESTCONF" {
              value 4;
            }
            enum "NETCONF" {
              value 5;
            }
          }
          description
            "enum CommandService.CmdServiceType";
        }
    
        typedef grpc-service {
          type enumeration {
            enum "UNSPECIFIED" {
              value 0;
            }
            enum "GNMI" {
              value 1;
            }
            enum "GNOI" {
              value 2;
            }
            enum "GNSI" {
              value 3;
            }
            enum "GRIBI" {
              value 4;
            }
            enum "P4RT" {
              value 5;
            }
          }
          description
            "enum GrpcService.GrpcServiceType";
        }
    
        typedef service-request {
          type enumeration {
            enum "CMD_SERVICE" {
              value 4;
            }
            enum "GRPC_SERVICE" {
              value 5;
            }
          }
          description
            "enum RecordResponse.service_request";
        }
    
        typedef service-type {
          type union {
            type cmd-service;
            type grpc-service;
          }
          description
            "enum cmd or grpc service type";
        }
      }  // module openconfig-gnsi-acctz
    

© 2023 YumaWorks, Inc. All rights reserved.