Skip to main content

System

Struct System 

Source
#[non_exhaustive]
pub struct System {
Show 95 fields pub host_name: Option<String>, pub domain_name: Option<String>, pub time_zone: Option<String>, pub domain_search: Vec<String>, pub static_host_mappings: Vec<StaticHostMapping>, pub backup_router: Option<BackupRouter>, pub inet6_backup_router: Option<BackupRouter>, pub authentication_order: Vec<String>, pub radius_servers: Vec<RadiusServer>, pub tacplus_servers: Vec<TacplusServer>, pub location: Option<Location>, pub ports: Option<Ports>, pub max_configurations_on_flash: Option<String>, pub max_configuration_rollbacks: Option<String>, pub no_redirects: bool, pub default_address_selection: bool, pub internet_options: Option<InternetOptions>, pub commit: Option<Commit>, pub processes: Vec<Process>, pub dynamic_profile_options: Option<DynamicProfileOptions>, pub extensions: Option<Extensions>, pub autoinstallation: Option<Autoinstallation>, pub schema: Option<Schema>, pub pixel_tracing: Option<PixelTracing>, pub scripts: Option<Scripts>, pub no_multicast_echo: bool, pub no_ping_record_route: bool, pub no_ping_time_stamp: bool, pub auto_snapshot: bool, pub compress_configuration_files: bool, pub mirror_flash_on_disk: bool, pub switchover_on_routing_crash: bool, pub use_imported_time_zones: bool, pub archival: Option<Archival>, pub accounting: Option<Accounting>, pub root_authentication: Option<RootAuthentication>, pub master_password: Option<MasterPassword>, pub diag_port_authentication: Vec<String>, pub diag_port_authentication_secrets: Vec<AuthenticationSecret>, pub pic_console_authentication: Vec<String>, pub pic_console_authentication_secrets: Vec<AuthenticationSecret>, pub license: Option<License>, pub name_servers: Vec<NameServer>, pub ntp: Option<Ntp>, pub syslog: Option<Syslog>, pub login: Option<Login>, pub services: Option<Services>, pub arp: Option<Arp>, pub icmp: Option<Icmp>, pub tracing: Option<Tracing>, pub proxy: Option<Proxy>, pub demux_options: Option<DemuxOptions>, pub kernel_replication: Option<KernelReplication>, pub password_options: Option<PasswordOptions>, pub radius_options: Option<RadiusOptions>, pub tacplus_options: Option<TacplusOptions>, pub auto_configuration_traceoptions: Option<Traceoptions>, pub vnf_license_supplements: Vec<String>, pub configuration: Option<ConfigurationInput>, pub configuration_database: Option<ConfigurationDatabase>, pub export_format: Option<ExportFormat>, pub health_monitor: Option<HealthMonitor>, pub monitor: Option<Monitor>, pub resiliency: Option<Resiliency>, pub snapshot: Option<Snapshot>, pub access_line: Option<AccessLine>, pub ddos_protection: Option<DdosProtection>, pub fib_streaming: Option<FibStreaming>, pub packet_forwarding_options: Option<PacketForwardingOptions>, pub management_traffic: Vec<ManagementTrafficProtocol>, pub auto_sw_sync: Vec<AutoSwSync>, pub offline_nodes: Vec<String>, pub boot_loader_authentication: Vec<String>, pub boot_loader_authentication_secrets: Vec<AuthenticationSecret>, pub device_authentication: Vec<String>, pub device_authentication_secrets: Vec<AuthenticationSecret>, pub allow_6pe_traceroute: bool, pub allow_v4mapped_packets: bool, pub arp_enhanced_scale: bool, pub no_redirects_ipv6: bool, pub nd_maxucast_retry: Option<String>, pub allow_l3vpn_traceroute_src_select: bool, pub dual_phase_bootup: bool, pub extended_echo: bool, pub management_instance: bool, pub nd_override_preferred_src: bool, pub no_hidden_commands: bool, pub regex_additive_logic: bool, pub unattended_boot: bool, pub arp_system_cache_limit: Option<String>, pub nd_retransmit_timer: Option<String>, pub nd_system_cache_limit: Option<String>, pub rng: Option<String>, pub saved_core_context: Option<bool>, pub saved_core_files: Option<String>,
}
Expand description

The top-level system configuration.

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§host_name: Option<String>§domain_name: Option<String>§time_zone: Option<String>

e.g. "UTC" or "America/New_York".

§domain_search: Vec<String>§static_host_mappings: Vec<StaticHostMapping>§backup_router: Option<BackupRouter>§inet6_backup_router: Option<BackupRouter>§authentication_order: Vec<String>

Methods in the order tried: password, radius, tacplus.

§radius_servers: Vec<RadiusServer>§tacplus_servers: Vec<TacplusServer>§location: Option<Location>§ports: Option<Ports>§max_configurations_on_flash: Option<String>§max_configuration_rollbacks: Option<String>§no_redirects: bool§default_address_selection: bool

default-address-selection: use the loopback as the source of locally generated packets.

§internet_options: Option<InternetOptions>§commit: Option<Commit>§processes: Vec<Process>§dynamic_profile_options: Option<DynamicProfileOptions>§extensions: Option<Extensions>§autoinstallation: Option<Autoinstallation>§schema: Option<Schema>§pixel_tracing: Option<PixelTracing>§scripts: Option<Scripts>§no_multicast_echo: bool§no_ping_record_route: bool§no_ping_time_stamp: bool§auto_snapshot: bool§compress_configuration_files: bool§mirror_flash_on_disk: bool§switchover_on_routing_crash: bool§use_imported_time_zones: bool§archival: Option<Archival>§accounting: Option<Accounting>§root_authentication: Option<RootAuthentication>§master_password: Option<MasterPassword>§diag_port_authentication: Vec<String>

Method name of diag-port-authentication, e.g. encrypted-password.

§diag_port_authentication_secrets: Vec<AuthenticationSecret>

The passwords of diag-port-authentication; empty unless the secrets feature is enabled.

§pic_console_authentication: Vec<String>

Method names of pic-console-authentication.

§pic_console_authentication_secrets: Vec<AuthenticationSecret>

The passwords of pic-console-authentication; empty unless the secrets feature is enabled.

§license: Option<License>§name_servers: Vec<NameServer>§ntp: Option<Ntp>§syslog: Option<Syslog>§login: Option<Login>§services: Option<Services>§arp: Option<Arp>§icmp: Option<Icmp>§tracing: Option<Tracing>§proxy: Option<Proxy>§demux_options: Option<DemuxOptions>§kernel_replication: Option<KernelReplication>§password_options: Option<PasswordOptions>§radius_options: Option<RadiusOptions>§tacplus_options: Option<TacplusOptions>§auto_configuration_traceoptions: Option<Traceoptions>

The traceoptions of auto-configuration.

§vnf_license_supplements: Vec<String>

The lines of vnf-license-supplement { ... }, as written.

§configuration: Option<ConfigurationInput>§configuration_database: Option<ConfigurationDatabase>§export_format: Option<ExportFormat>§health_monitor: Option<HealthMonitor>§monitor: Option<Monitor>§resiliency: Option<Resiliency>§snapshot: Option<Snapshot>§access_line: Option<AccessLine>§ddos_protection: Option<DdosProtection>§fib_streaming: Option<FibStreaming>§packet_forwarding_options: Option<PacketForwardingOptions>§management_traffic: Vec<ManagementTrafficProtocol>

The protocol <name> entries of management-traffic.

§auto_sw_sync: Vec<AutoSwSync>

Junos OS Evolved auto-sw-sync node <name> statements.

§offline_nodes: Vec<String>

Names from node { offline <name>; }.

§boot_loader_authentication: Vec<String>

Method name of boot-loader-authentication, e.g. encrypted-password.

§boot_loader_authentication_secrets: Vec<AuthenticationSecret>

The passwords of boot-loader-authentication; empty unless the secrets feature is enabled.

§device_authentication: Vec<String>

Method name of device-authentication, e.g. encrypted-password.

§device_authentication_secrets: Vec<AuthenticationSecret>

The passwords of device-authentication; empty unless the secrets feature is enabled.

§allow_6pe_traceroute: bool§allow_v4mapped_packets: bool

allow-v4mapped-packets: process IPv4-mapped IPv6 packets.

§arp_enhanced_scale: bool§no_redirects_ipv6: bool

Junos OS Evolved only.

§nd_maxucast_retry: Option<String>

Retries of unicast neighbor solicitation.

§allow_l3vpn_traceroute_src_select: bool§dual_phase_bootup: bool§extended_echo: bool§management_instance: bool

management-instance: confine the management interface in the mgmt_junos instance.

§nd_override_preferred_src: bool§no_hidden_commands: bool§regex_additive_logic: bool§unattended_boot: bool§arp_system_cache_limit: Option<String>§nd_retransmit_timer: Option<String>§nd_system_cache_limit: Option<String>§rng: Option<String>

rng: dyce, fortuna or hmac-drbg.

§saved_core_context: Option<bool>

Some(true) for saved-core-context, Some(false) for no-saved-core-context.

§saved_core_files: Option<String>

Trait Implementations§

Source§

impl Clone for System

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for System

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for System

Source§

impl PartialEq for System

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for System

Auto Trait Implementations§

§

impl Forget for System

§

impl Freeze for System
where *const u8 is !null: Freeze, PhantomData<u8>: Freeze, PhantomData<String>: Freeze, PhantomData<StaticHostMapping>: Freeze, PhantomData<RadiusServer>: Freeze, PhantomData<TacplusServer>: Freeze, PhantomData<CommitPeer>: Freeze, PhantomData<TraceFlag>: Freeze, PhantomData<Process>: Freeze, PhantomData<ExtensionApplication>: Freeze, PhantomData<ExtensionProvider>: Freeze, PhantomData<Option<Secret>>: Freeze, PhantomData<AutoinstallationInterface>: Freeze, PhantomData<ScriptFile>: Freeze, PhantomData<AuthenticationSecret>: Freeze, PhantomData<NameServer>: Freeze, PhantomData<NtpHost>: Freeze, PhantomData<NtpAuthenticationKey>: Freeze, PhantomData<NtpBroadcast>: Freeze, PhantomData<NtpRestriction>: Freeze, PhantomData<SyslogHost>: Freeze, PhantomData<SyslogTarget>: Freeze, PhantomData<SyslogRule>: Freeze, PhantomData<LoginClass>: Freeze, PhantomData<LoginUser>: Freeze, PhantomData<OutboundSshClient>: Freeze, PhantomData<WebManagementVirtualDomain>: Freeze, PhantomData<NetconfClientIdentity>: Freeze, PhantomData<RedundancyInterface>: Freeze, PhantomData<InlineNaptPool>: Freeze, PhantomData<OverrideFamily>: Freeze, PhantomData<(String, Vec<String>)>: Freeze, PhantomData<StaticSubscriberProfile>: Freeze, PhantomData<StaticSubscriberGroup>: Freeze, PhantomData<DhcpLocalServerGroup>: Freeze, PhantomData<DhcpDynamicProfile>: Freeze, PhantomData<DhcpDynamicServerGroup>: Freeze, PhantomData<DhcpFingerprintServerGroup>: Freeze, PhantomData<DhcpMatch>: Freeze, PhantomData<DhcpDualStackGroup>: Freeze, PhantomData<AaclStatisticsProfile>: Freeze, PhantomData<ServiceDeploymentServer>: Freeze, PhantomData<HttpServer>: Freeze, PhantomData<OutboundHttpsClient>: Freeze, PhantomData<JtreeResourceType>: Freeze, PhantomData<SubscriberLimit>: Freeze, PhantomData<DnsCacheEntry>: Freeze, PhantomData<DnsDomain>: Freeze, PhantomData<DnsView>: Freeze, PhantomData<DynamicDnsClient>: Freeze, PhantomData<GrpcTunnelServer>: Freeze, PhantomData<DhcpPool>: Freeze, PhantomData<DhcpStaticBinding>: Freeze, PhantomData<ServiceDevice>: Freeze, PhantomData<TcpForwardingEntry>: Freeze, PhantomData<ArpInterface>: Freeze, PhantomData<EphemeralInstance>: Freeze, PhantomData<VirtualMemoryProcess>: Freeze, PhantomData<ProcessMemoryThreshold>: Freeze, PhantomData<ResiliencyFile>: Freeze, PhantomData<AccessLineAdjustment>: Freeze, PhantomData<DdosProtocolGroup>: Freeze, PhantomData<FibStreamingTable>: Freeze, PhantomData<RecycleBandwidthProfile>: Freeze, PhantomData<HwMonitorProfile>: Freeze, PhantomData<HwResourceList>: Freeze, PhantomData<CounterProfile>: Freeze, PhantomData<HwProfile>: Freeze, PhantomData<ManagementTrafficProtocol>: Freeze, PhantomData<AutoSwSync>: Freeze,

§

impl Move for System

§

impl RefUnwindSafe for System

§

impl Send for System
where RawVecInner: Send,

§

impl Sync for System
where RawVecInner: Sync,

§

impl Unpin for System
where *const u8 is !null: Unpin,

§

impl UnsafeUnpin for System
where *const u8 is !null: UnsafeUnpin, PhantomData<u8>: UnsafeUnpin, PhantomData<String>: UnsafeUnpin, PhantomData<StaticHostMapping>: UnsafeUnpin, PhantomData<RadiusServer>: UnsafeUnpin, PhantomData<TacplusServer>: UnsafeUnpin, PhantomData<CommitPeer>: UnsafeUnpin, PhantomData<TraceFlag>: UnsafeUnpin, PhantomData<Process>: UnsafeUnpin, PhantomData<ExtensionApplication>: UnsafeUnpin, PhantomData<ExtensionProvider>: UnsafeUnpin, PhantomData<Option<Secret>>: UnsafeUnpin, PhantomData<AutoinstallationInterface>: UnsafeUnpin, PhantomData<ScriptFile>: UnsafeUnpin, PhantomData<AuthenticationSecret>: UnsafeUnpin, PhantomData<NameServer>: UnsafeUnpin, PhantomData<NtpHost>: UnsafeUnpin, PhantomData<NtpAuthenticationKey>: UnsafeUnpin, PhantomData<NtpBroadcast>: UnsafeUnpin, PhantomData<NtpRestriction>: UnsafeUnpin, PhantomData<SyslogHost>: UnsafeUnpin, PhantomData<SyslogTarget>: UnsafeUnpin, PhantomData<SyslogRule>: UnsafeUnpin, PhantomData<LoginClass>: UnsafeUnpin, PhantomData<LoginUser>: UnsafeUnpin, PhantomData<OutboundSshClient>: UnsafeUnpin, PhantomData<WebManagementVirtualDomain>: UnsafeUnpin, PhantomData<NetconfClientIdentity>: UnsafeUnpin, PhantomData<RedundancyInterface>: UnsafeUnpin, PhantomData<InlineNaptPool>: UnsafeUnpin, PhantomData<OverrideFamily>: UnsafeUnpin, PhantomData<(String, Vec<String>)>: UnsafeUnpin, PhantomData<StaticSubscriberProfile>: UnsafeUnpin, PhantomData<StaticSubscriberGroup>: UnsafeUnpin, PhantomData<DhcpLocalServerGroup>: UnsafeUnpin, PhantomData<DhcpDynamicProfile>: UnsafeUnpin, PhantomData<DhcpDynamicServerGroup>: UnsafeUnpin, PhantomData<DhcpFingerprintServerGroup>: UnsafeUnpin, PhantomData<DhcpMatch>: UnsafeUnpin, PhantomData<DhcpDualStackGroup>: UnsafeUnpin, PhantomData<AaclStatisticsProfile>: UnsafeUnpin, PhantomData<ServiceDeploymentServer>: UnsafeUnpin, PhantomData<HttpServer>: UnsafeUnpin, PhantomData<OutboundHttpsClient>: UnsafeUnpin, PhantomData<JtreeResourceType>: UnsafeUnpin, PhantomData<SubscriberLimit>: UnsafeUnpin, PhantomData<DnsCacheEntry>: UnsafeUnpin, PhantomData<DnsDomain>: UnsafeUnpin, PhantomData<DnsView>: UnsafeUnpin, PhantomData<DynamicDnsClient>: UnsafeUnpin, PhantomData<GrpcTunnelServer>: UnsafeUnpin, PhantomData<DhcpPool>: UnsafeUnpin, PhantomData<DhcpStaticBinding>: UnsafeUnpin, PhantomData<ServiceDevice>: UnsafeUnpin, PhantomData<TcpForwardingEntry>: UnsafeUnpin, PhantomData<ArpInterface>: UnsafeUnpin, PhantomData<EphemeralInstance>: UnsafeUnpin, PhantomData<VirtualMemoryProcess>: UnsafeUnpin, PhantomData<ProcessMemoryThreshold>: UnsafeUnpin, PhantomData<ResiliencyFile>: UnsafeUnpin, PhantomData<AccessLineAdjustment>: UnsafeUnpin, PhantomData<DdosProtocolGroup>: UnsafeUnpin, PhantomData<FibStreamingTable>: UnsafeUnpin, PhantomData<RecycleBandwidthProfile>: UnsafeUnpin, PhantomData<HwMonitorProfile>: UnsafeUnpin, PhantomData<HwResourceList>: UnsafeUnpin, PhantomData<CounterProfile>: UnsafeUnpin, PhantomData<HwProfile>: UnsafeUnpin, PhantomData<ManagementTrafficProtocol>: UnsafeUnpin, PhantomData<AutoSwSync>: UnsafeUnpin,

§

impl UnwindSafe for System
where RawVecInner: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.