Junos RPC YANG module for sflow command(s)
Version: 2019-01-01
module junos-ex-rpc-sflow { yang-version 1; namespace "http://yang.juniper.net/junos-ex/rpc/sflow"; prefix sflow; 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 sflow command(s)"; revision "2019-01-01" { description "Junos: 21.3R1.9"; } rpc get-sflow-information { description "Show sFlow information"; output { choice output_c { leaf output { type string; } anyxml sflow { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-sflow-information rpc get-sflow-collector { description "Show sFlow collectors"; input { leaf collector-address { type jt:ipprefix-optional; description "Collector IP address"; } leaf get-sflow-collector-level { type enumeration { enum "detail" { value 0; description "Display detailed output"; } enum "brief" { value 1; description "Display brief output"; } } default "brief"; description "Display brief/details output"; } } output { choice output_c { leaf output { type string; } anyxml sflow { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-sflow-collector rpc get-sflow-interface { description "Show sFlow interfaces"; input { leaf interface-name { type union { type jt:interface-name; type string { pattern "<.*>|$.*"; } } description "Interface Name"; } } output { choice output_c { leaf output { type string; } anyxml sflow { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-sflow-interface } // module junos-ex-rpc-sflow
© 2023 YumaWorks, Inc. All rights reserved.