junos-nfx-rpc-r2cp

Junos RPC YANG module for r2cp command(s)

  • Version: 2019-01-01

    junos-nfx-rpc-r2cp@2019-01-01


    
      module junos-nfx-rpc-r2cp {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos-nfx/rpc/r2cp";
    
        prefix r2cp;
    
        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 r2cp command(s)";
    
        revision "2019-01-01" {
          description "Junos: 21.3R1.9";
        }
    
    
        rpc get-r2cp-interface-information {
          description
            "Show interface information";
          input {
            leaf level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Show brief output";
                }
                enum "detail" {
                  value 1;
                  description
                    "Show detailed output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Show extensive output";
                }
              }
            }
    
            leaf interface-name {
              type string;
              description
                "Name of R2CP interface";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml r2cp-interface-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-r2cp-interface-information
    
        rpc get-r2cp-radio-information {
          description "Show radio";
          input {
            leaf level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Show brief output";
                }
                enum "detail" {
                  value 1;
                  description
                    "Show detailed output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Show extensive output";
                }
              }
            }
    
            leaf radio-name {
              type string;
              description "Name of R2CP radio";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml r2cp-radio-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-r2cp-radio-information
    
        rpc get-r2cp-session-information {
          description "Show sessions";
          input {
            leaf level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Show brief output";
                }
                enum "detail" {
                  value 1;
                  description
                    "Show detailed output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Show extensive output";
                }
              }
            }
    
            choice session-id_choice {
              leaf session-id {
                type string;
                description "Session ID";
              }
              leaf vlan {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint16 {
                    range "0 .. 4094";
                  }
                }
                description "Vlan identifier";
              }
            }  // choice session-id_choice
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml r2cp-session-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-r2cp-session-information
    
        rpc get-r2cp-statistics {
          description "Show statistics";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml r2cp-statistics {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-r2cp-statistics
      }  // module junos-nfx-rpc-r2cp
    

© 2023 YumaWorks, Inc. All rights reserved.