Junos RPC YANG module for fip command(s)
Version: 2019-01-01
module junos-nfx-rpc-fip { yang-version 1; namespace "http://yang.juniper.net/junos-nfx/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-scpd-information { 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-scpd-information rpc get-fip-snooping-vlan-information { 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-information rpc get-fip-snooping-fcf-information { 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-name { 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-information rpc get-fip-snooping-enode-information { 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-name { 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-information rpc get-fip-snooping-statistics-information { description "Show fip-snooping statistics"; 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; 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-information rpc get-fip-snooping-debug { description "Show fip-snooping satellite debug"; 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 fpc { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "65 .. 254"; } } description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml fip-snooping-debug { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fip-snooping-debug 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 rpc get-fip-snooping-vlandiscovery-enodes { description "Show FIP snooping internal vlan discovery enodes"; output { choice output_c { leaf output { type string; } anyxml fip-snooping-vlandiscovery-enodes { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fip-snooping-vlandiscovery-enodes rpc get-fip-snooping-vlandiscovery-statistics { description "Show FIP snooping internal vlan discovery statistics"; output { choice output_c { leaf output { type string; } anyxml fip-snooping-vlandiscovery-statistics { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fip-snooping-vlandiscovery-statistics } // module junos-nfx-rpc-fip
© 2023 YumaWorks, Inc. All rights reserved.