junos-rpc-mac-rewrite

Junos RPC YANG module for mac-rewrite command(s)

  • Version: 2019-01-01

    junos-rpc-mac-rewrite@2019-01-01


    
      module junos-rpc-mac-rewrite {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos/rpc/mac-rewrite";
    
        prefix mac-rewrite;
    
        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 mac-rewrite command(s)";
    
        revision "2019-01-01" {
          description "Junos: 21.3R1.9";
        }
    
    
        rpc get-mac-rewrite-interface-information {
          description
            "Show mac-rewrite interface information";
          input {
            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-name {
              type union {
                type jt:interface-device;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              description "Name of interface";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2pt-interface-list {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-mac-rewrite-interface-information
      }  // module junos-rpc-mac-rewrite
    

© 2023 YumaWorks, Inc. All rights reserved.