Junos RPC YANG module for fip command(s)
Version: 2019-01-01
module junos-ex-rpc-fip { yang-version 1; namespace "http://yang.juniper.net/junos-ex/rpc/fip"; prefix fip; 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 fip command(s)"; revision "2019-01-01" { description "Junos: 21.3R1.9"; } rpc get-fip-snooping { description "Show FIP snooping 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 fip-snooping-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fip-snooping rpc get-fip-snooping-vlan { description "Show per VLAN 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"; } leaf vlan-name { type string; mandatory true; description "Name of VLAN"; } } output { choice output_c { leaf output { type string; } anyxml fip-snooping-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fip-snooping-vlan rpc get-fip-snooping-fcf { description "Show fibre-channel forwarder 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"; } leaf mac { type jt:mac-addr; mandatory true; description "MAC address of FCF"; } leaf vlan { type string; description "Name of VLAN"; } } output { choice output_c { leaf output { type string; } anyxml fip-snooping-fcf-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fip-snooping-fcf rpc get-fip-snooping-enode { description "Show per enode 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"; } leaf mac { type jt:mac-addr; mandatory true; description "MAC address of Enode"; } leaf vlan { type string; description "Name of VLAN"; } } output { choice output_c { leaf output { type string; } anyxml fip-snooping-enode-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fip-snooping-enode rpc get-fip-snooping-interface-information { description "Show per interface 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"; } leaf interface-name { type union { type jt:interface-name; type string { pattern "<.*>|$.*"; } } mandatory true; description "Name of Interface"; } leaf vlan { type string; description "Name of VLAN"; } } output { choice output_c { leaf output { type string; } anyxml fip-snooping-interface-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fip-snooping-interface-information rpc get-fip-snooping-statistics { description "Show FIP snooping statistics"; input { leaf vlan { type string; description "Name of VLAN"; } } output { choice output_c { leaf output { type string; } anyxml fip-snooping-statistics { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fip-snooping-statistics } // module junos-ex-rpc-fip
© 2023 YumaWorks, Inc. All rights reserved.