junos-ex-rpc-accounting

Junos RPC YANG module for accounting command(s)

  • Version: 2019-01-01

    junos-ex-rpc-accounting@2019-01-01


    
      module junos-ex-rpc-accounting {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos-ex/rpc/accounting";
    
        prefix accounting;
    
        import junos-common-types {
          prefix jt;
          revision-date "2019-01-01";
        }
    
        organization "Juniper Networks, Inc.";
    
        contact "yang-support@juniper.net";
    
        description
          "Junos RPC YANG module for accounting command(s)";
    
        revision "2019-01-01" {
          description "Junos: 21.3R1.9";
        }
    
    
        rpc get-accounting-profile-information {
          description
            "Show accounting profile information";
          input {
            leaf profile {
              type string;
              description "Profile name";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml accounting-profile-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-accounting-profile-information
    
        rpc get-accounting-record-information {
          description "Show accounting records";
          input {
            leaf profile {
              type string;
              mandatory true;
              description "Name of profile";
            }
    
            leaf since {
              type string;
              description
                "Timestamp on earliest records to show (YYYY-MM-DD.HH:MM:SS)";
            }
    
            leaf utc-timestamp {
              type empty;
              description
                "Display timestamp in UTC format";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml accounting-record-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-accounting-record-information
    
        rpc get-pending-accounting-stops {
          description
            "Show pending accounting stops related information";
          input {
            leaf access-profile {
              type string;
              description
                "Show pending accounting stops for this access-profile";
            }
    
            leaf level {
              type enumeration {
                enum "terse" {
                  value 0;
                  description
                    "Show brief output";
                }
                enum "detail" {
                  value 1;
                  description
                    "Show detailed output";
                }
                enum "brief" {
                  value 2;
                  description
                    "Show brief output";
                }
              }
              default "terse";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml pending-accounting-stops {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-pending-accounting-stops
      }  // module junos-ex-rpc-accounting
    

© 2023 YumaWorks, Inc. All rights reserved.