Junos RPC YANG module for ethernet-switching command(s)
Version: 2019-01-01
module junos-rpc-ethernet-switching { yang-version 1; namespace "http://yang.juniper.net/junos/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-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-satellite-control-flood-ethernet { description "Show the satellite vlan flooding information"; input { leaf verbosity_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"; } } default "brief"; } leaf vswitch-name { type string; description "Virtual switch name"; } leaf vlan-name { type string; description "Vlan name"; } } output { choice output_c { leaf output { type string; } anyxml satellite-control-flood { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-satellite-control-flood-ethernet rpc get-satellite-control-composite-next-hop-eth { description "Show satellite flood next-hops"; input { leaf verbosity_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"; } } default "brief"; } leaf nexthop-id { type union { type int32; type string { pattern "<.*>|$.*"; } } description "Next-hop ID"; } } output { choice output_c { leaf output { type string; } anyxml satellite-control-composite-next-hop { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-satellite-control-composite-next-hop-eth 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-satellite-control-eth-switch-interface { description "Show satellite vlan interfaces details"; input { leaf verbosity_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"; } } default "brief"; } leaf interface-name { type union { type jt:interface-unit; type string { pattern "<.*>|$.*"; } } description "Name of vlan logical interface"; } leaf fpc { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "65 .. 254"; } } description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml satellite-control-plane-bridge-interface-db { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-satellite-control-eth-switch-interface 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-satellite-control-bridge-eth-switch-table { description "Show satellite ethernet-switching mac table"; input { leaf verbosity_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"; } } default "brief"; } leaf vlan-name { type string; description "Name of the vlan"; } leaf vswitch-name { type string; description "VSwitch name"; } leaf interface-name { type union { type jt:interface-unit; type string { pattern "<.*>|$.*"; } } description "Name of vlan logical interface"; } leaf fpc { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "65 .. 254"; } } description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml satellite-control-plane-bridge-mac-table-db { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-satellite-control-bridge-eth-switch-table 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-satellite-eth-switch-device-db { description "Show satellite device information"; input { leaf verbosity_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"; } } default "brief"; } leaf device-id { type union { type int32; type string { pattern "<.*>|$.*"; } } description "Device ID"; } } output { choice output_c { leaf output { type string; } anyxml satellite-device-db { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-satellite-eth-switch-device-db rpc get-satellite-eth-switch-information { description "Show satellite ethernet-switching event 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"; } } output { choice output_c { leaf output { type string; } anyxml satellite-control-history-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-satellite-eth-switch-information rpc get-satellite-control-eth-switch-logging-info { description "Show the internal logging 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"; } } output { choice output_c { leaf output { type string; } anyxml satellite-control-logging-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-satellite-control-eth-switch-logging-info rpc get-satellite-control-eth-switch-summary { description "Show ethernet-switching summary"; input { leaf verbosity_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"; } } default "brief"; } } output { choice output_c { leaf output { type string; } anyxml satellite-control-plane-bridge-summary-db { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-satellite-control-eth-switch-summary 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-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-arp-stats { description "EVPN arp statistics for irb interfaces"; 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 l2rtb-evpn-arp-statistics { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-ethernet-switching-evpn-arp-stats rpc get-ethernet-switching-evpn-arp-stats-interface { description "Display information for irb interfaces"; input { choice interface-choice { leaf interface-name { type string; description "Name of the irb interface"; } leaf all { type empty; description "All irb interfaces"; } } // choice interface-choice } output { choice output_c { leaf output { type string; } anyxml l2rtb-evpn-arp-statistics-interface { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-ethernet-switching-evpn-arp-stats-interface rpc get-ethernet-switching-evpn-nd-stats { description "EVPN ND statistics for irb interfaces"; 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 l2rtb-evpn-nd-statistics { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-ethernet-switching-evpn-nd-stats rpc get-ethernet-switching-evpn-nd-stats-interface { description "Display information for irb interfaces"; input { choice interface-choice { leaf interface-name { type string; description "Name of the irb interface"; } leaf all { type empty; description "All irb interfaces"; } } // choice interface-choice } output { choice output_c { leaf output { type string; } anyxml l2rtb-evpn-nd-statistics-interface { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-ethernet-switching-evpn-nd-stats-interface rpc get-ethernet-switching-evpn-peer-gateway-mac { description "Show MAC addresses installed as gateway MACs"; 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 address { type jt:mac-addr; default "all"; description "MAC address"; } } output { choice output_c { leaf output { type string; } anyxml l2ng-l2rtb-peer-gateway-macdb { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-ethernet-switching-evpn-peer-gateway-mac rpc get-ethernet-switching-evpn-arp-table { description "Show INET entries associated with MACs learned via ARP"; 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-l2rtb-evpn-arp-db { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-ethernet-switching-evpn-arp-table rpc get-ethernet-switching-evpn-nd-table { description "Show INET6 entries associated with MACs learned via NDP"; 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-l2rtb-evpn-nd-db { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-ethernet-switching-evpn-nd-table 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-rpc-ethernet-switching
© 2023 YumaWorks, Inc. All rights reserved.