Struct netplan_types::ControllerConfig
source · [−]pub struct ControllerConfig {
pub addresses: Option<Vec<String>>,
pub connection_mode: Option<ConnectionMode>,
}Expand description
Valid for bridge interfaces. Specify an external OpenFlow controller.
Fields
addresses: Option<Vec<String>>Set the list of addresses to use for the controller targets. The syntax of these addresses is as defined in ovs-vsctl(8). Example: addresses: [tcp:127.0.0.1:6653, “ssl:[fe80::1234%eth0]:6653”]
connection_mode: Option<ConnectionMode>Set the connection mode for the controller. Supported options are in-band and out-of-band. The default is in-band.
Trait Implementations
sourceimpl Clone for ControllerConfig
impl Clone for ControllerConfig
sourcefn clone(&self) -> ControllerConfig
fn clone(&self) -> ControllerConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ControllerConfig
impl Debug for ControllerConfig
sourceimpl Default for ControllerConfig
impl Default for ControllerConfig
sourcefn default() -> ControllerConfig
fn default() -> ControllerConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ControllerConfig
impl<'de> Deserialize<'de> for ControllerConfig
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ControllerConfig> for ControllerConfig
impl PartialEq<ControllerConfig> for ControllerConfig
sourcefn eq(&self, other: &ControllerConfig) -> bool
fn eq(&self, other: &ControllerConfig) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourceimpl Serialize for ControllerConfig
impl Serialize for ControllerConfig
impl Eq for ControllerConfig
impl StructuralEq for ControllerConfig
impl StructuralPartialEq for ControllerConfig
Auto Trait Implementations
impl RefUnwindSafe for ControllerConfig
impl Send for ControllerConfig
impl Sync for ControllerConfig
impl Unpin for ControllerConfig
impl UnwindSafe for ControllerConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more