junos-es-rpc-modem

Junos RPC YANG module for modem command(s)

  • Version: 2019-01-01

    junos-es-rpc-modem@2019-01-01


    
      module junos-es-rpc-modem {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos-es/rpc/modem";
    
        prefix modem;
    
        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 modem command(s)";
    
        revision "2019-01-01" {
          description "Junos: 21.3R1.9";
        }
    
    
        rpc get-modem-wireless-firmware {
          description
            "Show wireless interface firmware details";
          input {
            leaf interface-name {
              type string;
              mandatory true;
              description
                "Name of physical interface";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml wwand-modem-wireless-interface-firmware {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-modem-wireless-firmware
    
        rpc get-modem-wireless-network {
          description
            "Show wireless Network statistics";
          input {
            leaf interface-name {
              type string;
              mandatory true;
              description
                "Name of physical interface";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml wwand-modem-wireless-interface-network {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-modem-wireless-network
    
        rpc get-modem-wireless-rssi {
          description
            "Show Received Signal Strength";
          input {
            leaf interface-name {
              type string;
              mandatory true;
              description
                "Name of physical interface";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml wwand-modem-wireless-interface-rssi {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-modem-wireless-rssi
    
        rpc get-modem-wireless-profiles {
          description "Show profile details";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type int32;
              }
              mandatory true;
              description "SIM slot number";
            }
    
            leaf interface-name {
              type string;
              mandatory true;
              description
                "Name of physical interface";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml wwand-modem-wireless-interface-profiles {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-modem-wireless-profiles
      }  // module junos-es-rpc-modem
    

© 2023 YumaWorks, Inc. All rights reserved.