junos-ex-rpc-l2cpd

Junos RPC YANG module for l2cpd command(s)

  • Version: 2019-01-01

    junos-ex-rpc-l2cpd@2019-01-01


    
      module junos-ex-rpc-l2cpd {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos-ex/rpc/l2cpd";
    
        prefix l2cpd;
    
        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 l2cpd command(s)";
    
        revision "2019-01-01" {
          description "Junos: 21.3R1.9";
        }
    
    
        rpc get-l2cpd-task-information {
          description
            "Show l2cpd per-task information";
          input {
            leaf level {
              type enumeration {
                enum "summary" {
                  value 0;
                  description
                    "Display summary output (default)";
                }
              }
              default "summary";
            }
    
            leaf task-name {
              type string;
              description "Name of task";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2cpd-task-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-l2cpd-task-information
    
        rpc get-l2cpd-tasks-io-statistics {
          description "Show task I/O statistics";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2cpd-tasks-io-statistics {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-l2cpd-tasks-io-statistics
    
        rpc get-l2cpd-replication-information {
          description "Stateful replication";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml task-replication-state {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-l2cpd-replication-information
    
        rpc get-l2cpd-task-memory {
          description
            "Show memory utilization of l2cp tasks";
          input {
            leaf level {
              type enumeration {
                enum "summary" {
                  value 0;
                  description
                    "Display current and maximum memory usage";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display current/maximum/available memory";
                }
                enum "detail" {
                  value 2;
                  description
                    "Display memory usage by individual users";
                }
                enum "history" {
                  value 3;
                  description
                    "Display memory usage in the recent past";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml task-memory-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-l2cpd-task-memory
      }  // module junos-ex-rpc-l2cpd
    

© 2023 YumaWorks, Inc. All rights reserved.