Junos RPC YANG module for l2vpn command(s)
Version: 2019-01-01
module junos-nfx-rpc-l2vpn { yang-version 1; namespace "http://yang.juniper.net/junos-nfx/rpc/l2vpn"; prefix l2vpn; 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 l2vpn command(s)"; revision "2019-01-01" { description "Junos: 21.3R1.9"; } rpc get-l2vpn-connection-information { description "Show Layer 2 VPN 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 Layer 2 VPN instance"; } leaf local-site { type string; default "all"; description "Name or ID of Layer 2 VPN local site"; } leaf remote-site { type string; default "all"; description "ID of Layer 2 VPN 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 l2vpn-connection-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-l2vpn-connection-information } // module junos-nfx-rpc-l2vpn
© 2023 YumaWorks, Inc. All rights reserved.