junos-ex-rpc-aps

Junos RPC YANG module for aps command(s)

  • Version: 2019-01-01

    junos-ex-rpc-aps@2019-01-01


    
      module junos-ex-rpc-aps {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos-ex/rpc/aps";
    
        prefix aps;
    
        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 aps command(s)";
    
        revision "2019-01-01" {
          description "Junos: 21.3R1.9";
        }
    
    
        rpc get-aps-information {
          description
            "Show Automatic Protection Switching information";
          input {
            leaf level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief output (default)";
                }
                enum "detail" {
                  value 1;
                  description
                    "Display detailed output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
                enum "summary" {
                  value 3;
                  description
                    "Display summary output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml aps-interface-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-aps-information
    
        rpc get-aps-interface-information {
          description "Show an APS interface";
          input {
            leaf intf_name {
              type string;
              mandatory true;
              description "Interface name";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml aps-interface-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-aps-interface-information
    
        rpc get-aps-group-information {
          description "Show an APS group";
          input {
            leaf group_name {
              type string;
              mandatory true;
              description "Group name";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml aps-interface-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-aps-group-information
      }  // module junos-ex-rpc-aps
    

© 2023 YumaWorks, Inc. All rights reserved.