junos-rpc-tcp-forwarding

Junos RPC YANG module for tcp-forwarding command(s)

  • Version: 2019-01-01

    junos-rpc-tcp-forwarding@2019-01-01


    
      module junos-rpc-tcp-forwarding {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos/rpc/tcp-forwarding";
    
        prefix tcp-forwarding;
    
        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 tcp-forwarding command(s)";
    
        revision "2019-01-01" {
          description "Junos: 21.3R1.9";
        }
    
    
        rpc get-tcpfwd-status {
          description "Show status information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml tcpfwd-status {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-tcpfwd-status
    
        rpc get-tcpfwd-status-listener {
          description
            "Show listener status information";
          input {
            leaf port-number {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint16 {
                  range "8000 .. 8063";
                }
              }
              mandatory true;
              description "TCP listening port";
            }
    
            leaf listening-address {
              type string;
              mandatory true;
              description
                "TCP listening address";
            }
    
            leaf routing-instance {
              type string;
              description "Routing instance";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml tcpfwd-status {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-tcpfwd-status-listener
      }  // module junos-rpc-tcp-forwarding
    

© 2023 YumaWorks, Inc. All rights reserved.