junos-nfx-rpc-amt

Junos RPC YANG module for amt command(s)

  • Version: 2019-01-01

    junos-nfx-rpc-amt@2019-01-01


    
      module junos-nfx-rpc-amt {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos-nfx/rpc/amt";
    
        prefix amt;
    
        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 amt command(s)";
    
        revision "2019-01-01" {
          description "Junos: 21.3R1.9";
        }
    
    
        rpc get-amt-tunnel-information {
          description
            "Show AMT tunnel parameters";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf instance {
              type string;
              description "Name of instance";
            }
    
            leaf verbosity_level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief output (default)";
                }
                enum "detail" {
                  value 1;
                  description
                    "Display detailed output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml amt-tunnel-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-amt-tunnel-information
    
        rpc get-amt-tunnel-interface {
          description "AMT tunnel interface";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf instance {
              type string;
              description "Name of instance";
            }
    
            leaf verbosity_level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief output (default)";
                }
                enum "detail" {
                  value 1;
                  description
                    "Display detailed output";
                }
              }
              default "brief";
            }
    
            leaf interface {
              type string;
              mandatory true;
              description
                "Name of the interface";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml amt-tunnel-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-amt-tunnel-interface
    
        rpc get-amt-tunnel-gateway-address {
          description
            "AMT tunnel gateway address";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf instance {
              type string;
              description "Name of instance";
            }
    
            leaf verbosity_level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief output (default)";
                }
                enum "detail" {
                  value 1;
                  description
                    "Display detailed output";
                }
              }
              default "brief";
            }
    
            leaf address {
              type string;
              mandatory true;
              description
                "IP address of the gateway";
            }
    
            leaf port {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint16 {
                  range "1 .. 65535";
                }
              }
              description
                "UDP port of the gateway";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml amt-tunnel-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-amt-tunnel-gateway-address
    
        rpc get-amt-summary {
          description
            "Show AMT configuration summary";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf instance {
              type string;
              description "Name of instance";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml amt-summary {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-amt-summary
    
        rpc get-amt-statistics {
          description
            "Show AMT statistics summary";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf instance {
              type string;
              description "Name of instance";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml amt-instance-statistics {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-amt-statistics
      }  // module junos-nfx-rpc-amt
    

© 2023 YumaWorks, Inc. All rights reserved.