Junos RPC YANG module for event-viewer command(s)
Version: 2019-01-01
module junos-es-rpc-event-viewer { yang-version 1; namespace "http://yang.juniper.net/junos-es/rpc/event-viewer"; prefix event-viewer; 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 event-viewer command(s)"; revision "2019-01-01" { description "Junos: 21.3R1.9"; } rpc get-event-summary { description "Show syslog event"; input { leaf syslogfile { type string; description "Syslog file name filter"; } leaf event-id { type string { length "1 .. 256"; } description "Event Id filter"; } leaf daemon-name { type string { length "1 .. 256"; } description "Daemon name filter"; } leaf event-description { type string; description "Regular expression for description filter "; } leaf start-time { type string; description "Start time filter. Format is mm/dd/yyyy hour:min"; } leaf end-time { type string; description "End time filter. Format is mm/dd/yyyy hour:min"; } leaf total-message-display { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 100"; } } default "25"; description "Number of messages displayed per page"; } leaf show-start-event { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 4294967295"; } } description "Requested event starting number"; } leaf show-end-event { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 4294967295"; } } description "Requested event ending number"; } leaf new-search { type empty; description "It is a new search"; } leaf ignore-event-info { type empty; description "To suppress the details about event-id"; } leaf output-file-name { type string; description "File name where filtered messages are stored"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-event-summary } // module junos-es-rpc-event-viewer
© 2023 YumaWorks, Inc. All rights reserved.