junos-es-rpc-isdn

Junos RPC YANG module for isdn command(s)

  • Version: 2019-01-01

    junos-es-rpc-isdn@2019-01-01


    
      module junos-es-rpc-isdn {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos-es/rpc/isdn";
    
        prefix isdn;
    
        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 isdn command(s)";
    
        revision "2019-01-01" {
          description "Junos: 21.3R1.9";
        }
    
    
        rpc get-isdn-q931-statistics {
          description
            "Show Q.931 layer statistics";
          input {
            leaf interface {
              type string;
              mandatory true;
              description "Interface name";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml q931-statistics {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-isdn-q931-statistics
    
        rpc get-isdn-q921-statistics {
          description
            "Show Q.921 layer statistics";
          input {
            leaf interface {
              type string;
              mandatory true;
              description "Interface name";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml q921-statistics {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-isdn-q921-statistics
    
        rpc get-isdn-calls {
          description "Information about calls";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml isdn-calls {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-isdn-calls
    
        rpc get-isdn-call-history {
          description "History of calls";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml isdn-call-history {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-isdn-call-history
    
        rpc get-isdn-status {
          description "Show isdn information";
          input {
            leaf level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief output";
                }
                enum "detail" {
                  value 1;
                  description
                    "Display detailed output";
                }
              }
            }
    
            leaf interface {
              type string;
              description "Interface name";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml isdn-status {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-isdn-status
      }  // module junos-es-rpc-isdn
    

© 2023 YumaWorks, Inc. All rights reserved.