Junos RPC YANG module for vlans command(s)
Version: 2019-01-01
module junos-ex-rpc-vlans { yang-version 1; namespace "http://yang.juniper.net/junos-ex/rpc/vlans"; prefix vlans; 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 vlans command(s)"; revision "2019-01-01" { description "Junos: 21.3R1.9"; } rpc get-vlan-information { description "Show VLANs information"; input { leaf instance { type string; default "all"; description "Display information for a specified instance"; } leaf vlan-name { type string; description "Display information for a specified VLAN"; } leaf logical-system { type string; default "all"; description "Name of logical system, or 'all'"; } choice interface-choice { leaf interface { type union { type jt:interface-unit; type string { pattern "<.*>|$.*"; } } description "Name of interface for which to display table"; } } // choice interface-choice 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 l2ng-l2ald-vlan-instance-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-vlan-information rpc get-operational-vlan-instance-information { description "Show operational bridging instance"; output { choice output_c { leaf output { type string; } anyxml l2ng-l2ald-vlan-instance-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-operational-vlan-instance-information } // module junos-ex-rpc-vlans
© 2023 YumaWorks, Inc. All rights reserved.