Junos RPC YANG module for vlans command(s)
Version: 2019-01-01
module junos-rpc-vlans { yang-version 1; namespace "http://yang.juniper.net/junos/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-satellite-control-bridge-vlan-details { description "Show satellite vlan 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 vlan-name { type string; description "Name of the vlan"; } leaf vswitch-name { type string; description "VSwitch name"; } 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-domain-db { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-satellite-control-bridge-vlan-details 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-rpc-vlans
© 2023 YumaWorks, Inc. All rights reserved.