asterust-junos 0.3.7

Typed Juniper JunOS config views (interfaces, OSPF, BGP, IS-IS, routing instances, policy options, firewall filters, system) extracted from an asterust config tree.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! `user`
//! `system { syslog { user <name> { ... } } }`.
//!
//! # See also
//!
//! - [user (System Logging)](https://networkingdocs.hpe.com/documentation/us/en/software/junos/cli-reference/topics/ref/statement/user-edit-system-syslog.html)

use super::file::{targets, SyslogTarget};
use asterust::config::ConfigLine;

pub(super) fn users(syslog: &ConfigLine) -> Vec<SyslogTarget> {
    targets(syslog, "user")
}