Junos RPC YANG module for vpls command(s)
Version: 2019-01-01
module junos-es-rpc-vpls { yang-version 1; namespace "http://yang.juniper.net/junos-es/rpc/vpls"; prefix vpls; 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 vpls command(s)"; revision "2019-01-01" { description "Junos: 21.3R1.9"; } rpc get-vpls-connection-information { description "Show VPLS connections information"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; default "all"; description "Name of VPLS instance"; } leaf local-site { type string; default "all"; description "Name or ID of VPLS local site"; } leaf remote-site { type string; default "all"; description "ID of VPLS remote site"; } leaf state { type enumeration { enum "down" { value 0; description "Display nonoperational connections"; } enum "up" { value 1; description "Display operational connections"; } enum "up-down" { value 2; description "Display both non- and operational connections (default)"; } } default "up-down"; } leaf level { type enumeration { enum "brief" { value 0; description "Display one-line version of output"; } enum "extensive" { value 1; description "Display connection status and history"; } enum "history" { value 2; description "Display connection history"; } enum "instance-history" { value 3; description "Display instance history"; } enum "status" { value 4; description "Display connection and circuit status (default)"; } enum "summary" { value 5; description "Display summary output"; } } default "status"; } } output { choice output_c { leaf output { type string; } anyxml vpls-connection-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-vpls-connection-information rpc get-vpls-statistics-information { description "Show VPLS statistics information"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; default "all"; description "Name of VPLS instance"; } } output { choice output_c { leaf output { type string; } anyxml vpls-statistics-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-vpls-statistics-information rpc get-vpls-mac-table { description "Show media access control table"; input { leaf instance { type string; default "all"; description "Display information for a specified vpls"; } 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 "age" { value 4; description "Display age of a single mac-address"; } enum "summary" { value 5; description "Display summary output"; } } default "brief"; } } output { choice output_c { leaf output { type string; } anyxml l2ald-rtb-macdb; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-vpls-mac-table rpc get-vpls-interface-mac-table { 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 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 "age" { value 4; description "Display age of a single mac-address"; } enum "summary" { value 5; description "Display summary output"; } } default "brief"; } } output { choice output_c { leaf output { type string; } anyxml l2ald-interface-macdb; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-vpls-interface-mac-table rpc get-vpls-flood-information { description "Show VPLS 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 vpls"; } 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 l2ald-vpls-flood-instance; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-vpls-flood-information rpc get-vpls-make-before-break-information { description "Show VPLS 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 vpls"; } 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 l2ald-vpls-flood-instance; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-vpls-make-before-break-information rpc get-vpls-ce-flood-route-information { description "Show customer edge flood route"; input { leaf interface { type union { type jt:interface-unit; type string { pattern "<.*>|$.*"; } } mandatory true; description "Interface for which to show CE flood 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-vpls-ce-flood-route-information rpc get-vpls-all-flood-route-information { description "Show route for flooding traffic from CE router"; input { leaf logical-system { type string; description "Name of logical system"; } leaf instance { type string; mandatory true; description "Display information for a specified vpls"; } } output { choice output_c { leaf output { type string; } anyxml l2ald-vpls-flood-route-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-vpls-all-flood-route-information rpc get-vpls-all-ce-flood-route-information { description "Show route for flooding traffic to all CE routers"; input { leaf logical-system { type string; description "Name of logical system"; } leaf instance { type string; mandatory true; description "Display information for a specified vpls"; } } output { choice output_c { leaf output { type string; } anyxml l2ald-vpls-flood-route-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-vpls-all-ce-flood-route-information rpc get-vpls-re-flood-route-information { description "Show route for routing engine flooding to all interfaces"; input { leaf logical-system { type string; description "Name of logical system"; } leaf instance { type string; mandatory true; description "Display information for a specified vpls"; } } output { choice output_c { leaf output { type string; } anyxml l2ald-vpls-flood-route-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-vpls-re-flood-route-information rpc get-vpls-mlp-flood-route-information { description "Show route for flooding traffic to MAC learning chips"; input { leaf logical-system { type string; description "Name of logical system"; } leaf instance { type string; mandatory true; description "Display information for a specified vpls"; } } output { choice output_c { leaf output { type string; } anyxml l2ald-vpls-flood-route-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-vpls-mlp-flood-route-information rpc get-vpls-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-vpls-alt-root-flood-route-information rpc get-vpls-event-queue-information { description "Show queue of pending VPLS 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-vpls-event-queue-information rpc get-vpls-mac-move-action { description "Show IFLs disabled due to rapid mac moves"; input { leaf instance { type string; default "all"; description "Display information for a specified vpls"; } } output { choice output_c { leaf output { type string; } anyxml l2ald-vpls-mac-move-action; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-vpls-mac-move-action grouping command-forwarding { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector } // grouping command-forwarding } // module junos-es-rpc-vpls
© 2023 YumaWorks, Inc. All rights reserved.