Struct zone::Global[][src]

pub struct Global {
    pub name: String,
    pub path: String,
    pub autoboot: bool,
    pub bootargs: Option<String>,
    pub pool: Option<String>,
    pub limitpriv: BTreeSet<String>,
    pub brand: String,
    pub hostid: Option<u32>,
    pub ip_type: IpType,
    pub cpu_shares: Option<u32>,
    pub max_lwps: Option<u32>,
    pub max_message_ids: Option<u32>,
    pub max_semaphore_ids: Option<u32>,
    pub max_shared_memory_ids: Option<u32>,
    pub max_shared_memory: Option<u64>,
    pub scheduling_class: Option<String>,
    pub fs_allowed: BTreeSet<String>,
}

Fields

name: String

The name of the zone.

path: String

The path to the zone’s filesystem.

autoboot: bool

Boolean indicating if the zone should be automatically booted at system boot.

Requires the zone service to be enabled to operate.

bootargs: Option<String>

Arguments passed to the zone bootup.

pool: Option<String>

The name of the resoure pool bound to this zone.

Incompatible with the dedicated-cpu resource.

limitpriv: BTreeSet<String>

The maximum set of privileges any process in this zone can obtain.

brand: String

The zone’s brand type.

hostid: Option<u32>

32-bit host identifier.

ip_type: IpType

The way in which IP is shared with the global zone.

cpu_shares: Option<u32>

The number of Fair Share Scheduler (FSS) shares to allocate to this zone.

This property is incompatible with the dedicated-cpu resource.

max_lwps: Option<u32>

The maximum number of LWPs (lightweight processes) available to this zone.

max_message_ids: Option<u32>

The maximum number of message queue IDs allowed for this zone.

max_semaphore_ids: Option<u32>

The maximum number of semaphore IDs allowed for this zone.

max_shared_memory_ids: Option<u32>

The maximum number of shared memory IDs allowed for this zone.

max_shared_memory: Option<u64>

The maximum amount of shared memory allowed for this zone, in bytes.

scheduling_class: Option<String>

Specifies the scheduling class used for processes running in a zone.

If unspecified, it is inferred as follows:

  • If the cpu-shares property has been set, FSS is used.
  • If cpu-shares is not set and the pool property references a pool that has a default scheduling class, that class is used.
  • Otherwise, the system’s default scheduling class is used.
fs_allowed: BTreeSet<String>

A comma-separated list of additional filesystems that may be mounted within the zone (for example, “ufs,pcfs”).

Auto Trait Implementations

impl RefUnwindSafe for Global

impl Send for Global

impl Sync for Global

impl Unpin for Global

impl UnwindSafe for Global

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.