#[non_exhaustive]pub struct System {Show 47 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>,
}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: booldefault-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>Trait Implementations§
impl Eq for System
impl StructuralPartialEq for System
Auto Trait Implementations§
impl Forget for System
impl Freeze for Systemwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<StaticHostMapping>: Freeze,
PhantomData<RadiusServer>: Freeze,
PhantomData<TacplusServer>: Freeze,
PhantomData<Process>: Freeze,
PhantomData<ExtensionApplication>: Freeze,
PhantomData<ExtensionProvider>: Freeze,
PhantomData<Option<Secret>>: Freeze,
PhantomData<AutoinstallationInterface>: Freeze,
PhantomData<AuthenticationSecret>: Freeze,
PhantomData<NameServer>: Freeze,
PhantomData<NtpHost>: Freeze,
PhantomData<NtpAuthenticationKey>: Freeze,
PhantomData<SyslogHost>: Freeze,
PhantomData<SyslogTarget>: Freeze,
PhantomData<SyslogRule>: Freeze,
PhantomData<LoginClass>: Freeze,
PhantomData<LoginUser>: Freeze,
PhantomData<OutboundSshClient>: Freeze,
PhantomData<RedundancyInterface>: Freeze,
PhantomData<StaticSubscriberGroup>: Freeze,
PhantomData<DhcpLocalServerGroup>: Freeze,
PhantomData<AaclStatisticsProfile>: Freeze,
PhantomData<ServiceDeploymentServer>: Freeze,
impl Move for System
impl RefUnwindSafe for System
impl Send for Systemwhere
RawVecInner: Send,
impl Sync for Systemwhere
RawVecInner: Sync,
impl Unpin for System
impl UnsafeUnpin for Systemwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<StaticHostMapping>: UnsafeUnpin,
PhantomData<RadiusServer>: UnsafeUnpin,
PhantomData<TacplusServer>: UnsafeUnpin,
PhantomData<Process>: UnsafeUnpin,
PhantomData<ExtensionApplication>: UnsafeUnpin,
PhantomData<ExtensionProvider>: UnsafeUnpin,
PhantomData<Option<Secret>>: UnsafeUnpin,
PhantomData<AutoinstallationInterface>: UnsafeUnpin,
PhantomData<AuthenticationSecret>: UnsafeUnpin,
PhantomData<NameServer>: UnsafeUnpin,
PhantomData<NtpHost>: UnsafeUnpin,
PhantomData<NtpAuthenticationKey>: UnsafeUnpin,
PhantomData<SyslogHost>: UnsafeUnpin,
PhantomData<SyslogTarget>: UnsafeUnpin,
PhantomData<SyslogRule>: UnsafeUnpin,
PhantomData<LoginClass>: UnsafeUnpin,
PhantomData<LoginUser>: UnsafeUnpin,
PhantomData<OutboundSshClient>: UnsafeUnpin,
PhantomData<RedundancyInterface>: UnsafeUnpin,
PhantomData<StaticSubscriberGroup>: UnsafeUnpin,
PhantomData<DhcpLocalServerGroup>: UnsafeUnpin,
PhantomData<AaclStatisticsProfile>: UnsafeUnpin,
PhantomData<ServiceDeploymentServer>: UnsafeUnpin,
impl UnwindSafe for Systemwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more