junos-ex-rpc-ethernet-switching

Junos RPC YANG module for ethernet-switching command(s)

  • Version: 2019-01-01

    junos-ex-rpc-ethernet-switching@2019-01-01


    
      module junos-ex-rpc-ethernet-switching {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos-ex/rpc/ethernet-switching";
    
        prefix ethernet-switching;
    
        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 ethernet-switching command(s)";
    
        revision "2019-01-01" {
          description "Junos: 21.3R1.9";
        }
    
    
        rpc get-ethernet-switching-table-information {
          description
            "Show media access control table";
          input {
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf vlan-name {
              type string;
              default "all";
              description
                "Name of VLAN, or 'all'";
            }
    
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf vlan-id {
              type string;
              description
                "Display MAC address learned on a specified VLAN";
            }
    
            leaf isid {
              type string;
              description
                "Display Information for specified ISID or all ISID(s)";
            }
    
            leaf address {
              type jt:mac-addr;
              default "all";
              description "MAC address";
            }
    
            leaf show-choice {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
                enum "count" {
                  value 3;
                  description
                    "Display count only";
                }
                enum "summary" {
                  value 4;
                  description
                    "Display summary output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ng-l2ald-rtb-macdb {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-table-information
    
        rpc get-ethernet-switching-table-interface-information {
          description
            "Display MAC table for a specified interface";
          input {
            choice interface-choice {
              leaf interface-name {
                type string;
                description
                  "Name of interface for which to display table";
              }
              leaf all {
                type empty;
                description
                  "Display MAC table for all the interfaces";
              }
            }  // choice interface-choice
    
            leaf remote-beb-mac-address {
              type jt:mac-addr;
              default "all";
              description
                "Remote backbone edge bridge MAC address";
            }
    
            leaf vlan-id {
              type string;
              description
                "Display MAC address learned on a specified VLAN";
            }
    
            leaf isid {
              type string;
              description
                "Display Information for specified ISID or all ISID(s)";
            }
    
            leaf show-choice {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
                enum "count" {
                  value 3;
                  description
                    "Display count only";
                }
                enum "summary" {
                  value 4;
                  description
                    "Display summary output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ng-l2ald-interface-macdb-vlan {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-table-interface-information
    
        rpc get-ethernet-switching-table-persistent-learning {
          description
            "Show persistent-mac entries";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-ethernet-switching-table-persistent-learning {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-table-persistent-learning
    
        rpc get-persistent-learning-interface {
          description
            "Show persistent MACs for specified interface";
          input {
            leaf interface-name {
              type string;
              mandatory true;
              description
                "Name of interface for which to show table";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-persistent-learning-interface
    
        rpc get-persistent-learning-mac {
          description
            "Show one persitent MAC or all peristent MACs";
          input {
            leaf address {
              type jt:mac-addr;
              default "all";
              description "MAC address";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-persistent-learning-mac
    
        rpc get-ethernet-switching-mac-ip-table {
          description
            "Show IP table for EVPN instances";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf vlan-name {
              type string;
              default "all";
              description
                "Name of VLAN, or 'all'";
            }
    
            leaf address {
              type jt:mac-addr;
              default "all";
              description "MAC address";
            }
    
            leaf show-choice {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
                enum "count" {
                  value 3;
                  description
                    "Display count only";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ng-l2ald-rtb-mac-ip-db {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-mac-ip-table
    
        rpc get-ethernet-switching-mac-ip-table-kernel {
          description
            "Entries present in kernel";
          input {
            leaf verbosity {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-rtb-mac-ip-kernel-db {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-mac-ip-table-kernel
    
        rpc get-ethernet-switching-mac-ip-table-kernel-ipv4 {
          description
            "IPv4 entries present in kernel";
          input {
            leaf bd-id {
              type string;
              description
                "Display IP address under particular bd-id";
            }
    
            leaf ipv4-addr {
              type jt:ipv4addr;
              default "all";
              description
                "Display kernel information for ip";
            }
    
            leaf verbosity {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-rtb-mac-ip-kernel-db {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-mac-ip-table-kernel-ipv4
    
        rpc get-ethernet-switching-mac-ip-table-kernel-ipv6 {
          description
            "IPv6 entries present in kernel";
          input {
            leaf bd-id {
              type string;
              description
                "Display IP address under particular bd-id";
            }
    
            leaf ipv6-addr {
              type jt:ipv6addr;
              default "all";
              description
                "Display kernel information for ip";
            }
    
            leaf verbosity {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-rtb-mac-ip-kernel-db {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-mac-ip-table-kernel-ipv6
    
        rpc get-ethernet-switching-mgrp-policy {
          description
            "Display global mesh group policy";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-mgrp-policy {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-mgrp-policy
    
        rpc get-ethernet-switching-mgrp-policy-information {
          description
            "Display Mesh Group policy for routing instance";
          input {
            leaf instance-name {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf mgrp-id {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              description "Mesh group id";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-mgrp-policy-ri {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-mgrp-policy-information
    
        rpc get-ethernet-switching-flood-group {
          description
            "Display  Flood Group info";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-flood-group {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-flood-group
    
        rpc get-ethernet-switching-flood-group-information {
          description
            "Display Flood Group info for routing instance";
          input {
            leaf instance-name {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf bd-index {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              description "Bd id";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-flood-group-ri {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-flood-group-information
    
        rpc get-ethernet-switching-eamnh-information {
          description
            "Display EAMNH and member info";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf vlan-name {
              type string;
              default "all";
              description
                "Display information for a specified VLAN";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-enh-eamnh-info {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-eamnh-information
    
        rpc get-ethernet-switching-flood-information {
          description
            "Show bridging flooding information";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf vlan-name {
              type string;
              default "all";
              description
                "Name of VLAN, or 'all'";
            }
    
            leaf verbosity {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
              }
              default "detail";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ng-l2ald-vpls-flood-instance {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-flood-information
    
        rpc get-ethernet-switching-bd-flood-route-information {
          description
            "Show route for flooding traffic of a bridge domain if no-local-switching is not enabled";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf bridge-domain {
              type string;
              default "all";
              description
                "Display information for a specified bridge domain";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-vpls-flood-route-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-bd-flood-route-information
    
        rpc get-show-ethernet-switching-all-ce-flood-route-information {
          description
            "Show route for flooding traffic to all CE routers if no-local-switching is enabled";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf bridge-domain {
              type string;
              default "all";
              description
                "Display information for a specified bridge domain";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-vpls-flood-route-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-show-ethernet-switching-all-ce-flood-route-information
    
        rpc get-show-ethernet-switching-ve-flood-route-information {
          description
            "Show route for flooding traffic to all VE routers if no-local-switching is enabled";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf bridge-domain {
              type string;
              default "all";
              description
                "Display information for a specified bridge domain";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-vpls-flood-route-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-show-ethernet-switching-ve-flood-route-information
    
        rpc get-ethernet-switchingre-flood-route-information {
          description
            "Show route for Routing Engine flooding to all interfaces";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf bridge-domain {
              type string;
              default "all";
              description
                "Display information for a specified bridge domain";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-vpls-flood-route-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switchingre-flood-route-information
    
        rpc get-ethernet-switching-mlp-flood-route-information {
          description
            "Show route for flooding traffic to MAC learning chips";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf bridge-domain {
              type string;
              default "all";
              description
                "Display information for a specified bridge domain";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-vpls-flood-route-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-mlp-flood-route-information
    
        rpc get-ethernet-switching-domain-alt-root-flood-route-information {
          description
            "Show STP alt-root flooding route used for interface";
          input {
            leaf interface {
              type union {
                type jt:interface-unit;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              mandatory true;
              description
                "Interface for which to show alternate-root flooding route";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-vpls-flood-route-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-domain-alt-root-flood-route-information
    
        rpc get-ethernet-switching-event-queue-information {
          description
            "Show queue of pending bridge flood events";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-vpls-flood-event-queue {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-event-queue-information
    
        rpc get-ethernet-switching-interface-details {
          description "Show interface";
          input {
            leaf verbosity {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
              }
              default "brief";
            }
    
            leaf interface-name {
              type union {
                type jt:interface-name;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              description
                "Name of interface for which to display ethernet-switching information";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ng-l2ald-iff-interface-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-interface-details
    
        rpc get-ethernet-switching-statistics-information {
          description
            "Show vlan statistics information";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf vlan-name {
              type string;
              default "all";
              description
                "Display information for a specified VLAN";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ethernet-switching-statistics-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-statistics-information
    
        rpc get-ethernet-switching-global-information {
          description
            "Show process-related information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ng-l2ald-global-configuration {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-global-information
    
        rpc get-ethernet-switching-global-mac-count {
          description
            "Show layer-2 global mac address count";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-global-macdb-count {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-global-mac-count
    
        rpc get-ethernet-switching-global-mac-ip-count {
          description
            "Show global MAC+IP bindings count";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-global-mac-ip-count {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-global-mac-ip-count
    
        rpc get-ethernet-switching-mac-move-buffer-information {
          description
            "Display information on all MAC moves";
          input {
            leaf verbosity {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-mac-move-buffer {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-mac-move-buffer-information
    
        rpc get-ethernet-switching-redundancy-groups {
          description "Show redundancy-groups";
          input {
            leaf redundancy-group-id {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type int32 {
                  range "0 .. 65535";
                }
              }
              default "0";
              description
                "Display information for a specified RG";
            }
    
            leaf options {
              type enumeration {
                enum "remote-macs" {
                  value 0;
                  description
                    "Display MAC for all RG(s)";
                }
                enum "arp-statistics" {
                  value 1;
                  description
                    "Show MCAE ARP Synchronization statistics";
                }
                enum "nd-statistics" {
                  value 2;
                  description
                    "Show MCAE ND synchronization statistics";
                }
                enum "remote-irb-ifas" {
                  value 3;
                  description
                    "Show MCLAG Remote IRB IFAs";
                }
                enum "local-irb-ifas" {
                  value 4;
                  description
                    "Show MCLAG Locally Syned IRB IFAs";
                }
              }
              description
                "Display information for specified RG or all RG(s)";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-mc-ae-rg-entry {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-redundancy-groups
    
        rpc get-ethernet-switching-context-history {
          description "Print context history";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-ctxt-history {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-context-history
    
        rpc get-ethernet-switching-context-history-mac {
          description "Mac context history";
          input {
            leaf address {
              type jt:mac-addr;
              default "all";
              description "MAC address";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-ctxt-history {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-context-history-mac
    
        rpc get-ethernet-switching-context-history-mac-ip {
          description "Mac-ip context history";
          input {
            leaf address {
              type jt:mac-addr;
              default "all";
              description "MAC address";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-ctxt-history {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-context-history-mac-ip
    
        rpc get-ethernet-switching-context-history-rpd {
          description "Rpd context history";
          input {
            leaf address {
              type jt:mac-addr;
              default "all";
              description "MAC address";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-ctxt-history {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-context-history-rpd
    
        rpc get-ethernet-switching-context-history-mac-addr {
          description
            "Context history for mac-addr";
          input {
            leaf address {
              type jt:mac-addr;
              default "all";
              description "MAC address";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-ctxt-history {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-context-history-mac-addr
    
        rpc get-ethernet-switching-context-history-fu {
          description
            "Fast update mac context history";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-ctxt-history {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-context-history-fu
    
        rpc get-ethernet-switching-routing-instances {
          description "Show routing instances";
          input {
            leaf instance-name {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf vlan {
              type string;
              default "all";
              description
                "Particular VLAN or 'all'";
            }
    
            leaf vlan-member {
              type enumeration {
                enum "all" {
                  value 0;
                  description
                    "Display all vlan-members";
                }
              }
              description
                "Display information for members of VLAN";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ng-l2ald-routing-table-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-routing-instances
    
        rpc get-ethernet-switching-irb-interface-state {
          description
            "Display IRB interface state ";
          input {
            leaf instance {
              type string;
              default "all";
              description
                "Display IRB information under specified instance";
            }
    
            leaf vlan {
              type string;
              default "all";
              description
                "Particular VLAN or 'all'";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-irb-interface-state-info {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-irb-interface-state
    
        rpc get-ethernet-switching-nh-learn-entries {
          description
            "Display information on all RNH_LE entries";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-nh-learn-entity {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-nh-learn-entries
    
        rpc get-ethernet-switching-vxlan-svtep-info {
          description
            "Display source VXLAN tunnel endpoint configuration";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-source-vtep-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-vxlan-svtep-info
    
        rpc get-ethernet-switching-vxlan-svtep-ip-information {
          description
            "Display VXLAN configuration for source ip address";
          input {
            leaf virtual-tunnel-end-point-source-ip {
              type jt:ipaddr;
              mandatory true;
              description
                "Display information for a source ip";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-source-vtep-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-vxlan-svtep-ip-information
    
        rpc get-ethernet-switching-vxlan-rvtep-info {
          description
            "Display remote VXLAN tunnel endpoint information";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf verbosity {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "summary" {
                  value 1;
                  description
                    "Display summary output";
                }
              }
              default "detail";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-source-vtep-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-vxlan-rvtep-info
    
        rpc get-ethernet-switching-vxlan-rvtep-mactable-information {
          description
            "Display remote VTEP MAC table";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-remote-vtep-mactable {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-vxlan-rvtep-mactable-information
    
        rpc get-ethernet-switching-vxlan-remote-svtep-ip-information {
          description
            "Display remote VXLAN endpoints associated with source endpoint";
          input {
            leaf virtual-tunnel-end-point-source-ip {
              type jt:ipaddr;
              mandatory true;
              description
                "Display information for a source ip";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-source-vtep-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-vxlan-remote-svtep-ip-information
    
        rpc get-ethernet-switching-vxlan-rvtep-ip-information {
          description
            "Display remote VTEP MAC table for ip address";
          input {
            leaf virtual-tunnel-end-point-remote-ip {
              type jt:ipaddr;
              mandatory true;
              description
                "Display information for a remote end point";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-remote-vtep-ip {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-vxlan-rvtep-ip-information
    
        rpc get-ethernet-switching-vxlan-esi-info {
          description
            "Display VXLAN tunnel endpoint ESI information";
          input {
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf esi-identifier {
              type string;
              description
                "Ethernet segment identifier";
            }
    
            leaf svlbnh {
              type enumeration {
                enum "svlbnh" {
                  value 0;
                  description
                    "Display Shared VLBNH information for a given ESI";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-vxlan-esi-info {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-vxlan-esi-info
    
        rpc get-ethernet-switching-arvlbnh-info {
          description
            "Display VXLAN tunnel endpoint AR-VLBNH information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-vxlan-arvlbnh-info {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-arvlbnh-info
    
        rpc get-ethernet-switching-arvlbnh-info-index {
          description
            "Display VxLAN AR-VLBNH information for VLBNH index";
          input {
            leaf vxlan-ar-vlbnh-index {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              mandatory true;
              description
                "Display information for a specified index";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-arvlbnh-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-arvlbnh-info-index
    
        rpc get-ethernet-switching-vxlan-info-rtt-index {
          description
            "Display VxLAN AR-VLBNH information for RTT index";
          input {
            leaf vxlan-ar-vlbnh-rtt-index {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              mandatory true;
              description
                "Display information for a specified RTT index";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-arvlbnh-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-vxlan-info-rtt-index
    
        rpc get-ethernet-switching-vxlan-info-bd-index {
          description
            "Display VxLAN AR-VLBNH information for BD index";
          input {
            leaf vxlan-ar-vlbnh-bd-index {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              mandatory true;
              description
                "Display information for a specified BD index";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-arvlbnh-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-vxlan-info-bd-index
    
        rpc get-ethernet-switching-vxlan-mh-vtep-info {
          description
            "Display Multi Homing Peer VTEP information";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-mh-vtep-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-vxlan-mh-vtep-info
    
        rpc get-ethernet-switching-vxlan-rtt-mh-vtep-info {
          description
            "Display MH Peer table for routing instance";
          input {
            leaf instance-name {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-rtt-mh-vtep-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-vxlan-rtt-mh-vtep-info
    
        rpc get-ethernet-switching-vxlan-ip-mh-vtep-info {
          description
            "Display MH Peer table for ip address";
          input {
            leaf virtual-tunnel-end-point-remote-ip {
              type jt:ipaddr;
              mandatory true;
              description
                "Display information for a remote end point";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-ip-mh-vtep-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-vxlan-ip-mh-vtep-info
    
        rpc get-ethernet-switching-vxlan-svlbnh-info {
          description
            "Display Shared VLBNH information";
          input {
            leaf verbosity {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "extensive" {
                  value 1;
                  description
                    "Display extensive output";
                }
                enum "brief" {
                  value 2;
                  description
                    "Display brief output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-svlbnh-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-vxlan-svlbnh-info
    
        rpc get-ethernet-switching-vxlan-svlbnh-info-index {
          description
            "Display information for a particular SVLBNH index";
          input {
            leaf svlbnh-id {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              mandatory true;
              description
                "Display information for a specified index";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-svlbnh-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-vxlan-svlbnh-info-index
    
        rpc get-ethernet-switching-vxlan-svlbnh-overflow {
          description
            "Display pending requests for SVLBNH allocation";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml svlbnh-overflow-list {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-vxlan-svlbnh-overflow
    
        rpc get-ethernet-switching-evpn-mcnh-information {
          description
            "Support for mcnh-information";
          input {
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf vlan-name {
              type string;
              default "all";
              description
                "Name of VLAN, or 'all'";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-mcnh-info {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-evpn-mcnh-information
    
        rpc get-ethernet-switching-log-information {
          description
            "Show MAC address learning log";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ng-l2ald-mac-learn-log-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-log-information
    
        rpc get-ethernet-switching-mac-notification-information {
          description
            "Display MAC notification information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ng-l2ald-mac-notification-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switching-mac-notification-information
      }  // module junos-ex-rpc-ethernet-switching
    

© 2023 YumaWorks, Inc. All rights reserved.