pub struct OpenVSwitchConfig {
pub external_ids: Option<String>,
pub other_config: Option<String>,
pub lacp: Option<Lacp>,
pub fail_mode: Option<FailMode>,
pub mcast_snooping: Option<bool>,
pub protocols: Option<Vec<OpenFlowProtocol>>,
pub rtsp: Option<bool>,
pub controller: Option<ControllerConfig>,
pub ports: Option<Vec<String>>,
pub ssl: Option<SslConfig>,
}
Expand description
This provides additional configuration for the network device for openvswitch. If openvswitch is not available on the system, netplan treats the presence of openvswitch configuration as an error.
Any supported network device that is declared with the openvswitch mapping (or any bond/bridge that includes an interface with an openvswitch configuration) will be created in openvswitch instead of the defined renderer. In the case of a vlan definition declared the same way, netplan will create a fake VLAN bridge in openvswitch with the requested vlan properties.
Fields§
§external_ids: Option<String>
Passed-through directly to OpenVSwitch
other_config: Option<String>
Passed-through directly to OpenVSwitch
lacp: Option<Lacp>
Valid for bond interfaces. Accepts active, passive or off (the default).
fail_mode: Option<FailMode>
Valid for bridge interfaces. Accepts secure or standalone (the default).
mcast_snooping: Option<bool>
Valid for bridge interfaces. False by default.
protocols: Option<Vec<OpenFlowProtocol>>
Valid for bridge interfaces or the network section. List of protocols to be used when negotiating a connection with the controller. Accepts OpenFlow10, OpenFlow11, OpenFlow12, OpenFlow13, OpenFlow14, OpenFlow15 and OpenFlow16.
rtsp: Option<bool>
Valid for bridge interfaces. False by default.
controller: Option<ControllerConfig>
Valid for bridge interfaces. Specify an external OpenFlow controller.
ports: Option<Vec<String>>
OpenvSwitch patch ports. Each port is declared as a pair of names which can be referenced as interfaces in dependent virtual devices (bonds, bridges).
ssl: Option<SslConfig>
Valid for global openvswitch settings. Options for configuring SSL server endpoint for the switch.
Trait Implementations§
Source§impl Clone for OpenVSwitchConfig
impl Clone for OpenVSwitchConfig
Source§fn clone(&self) -> OpenVSwitchConfig
fn clone(&self) -> OpenVSwitchConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more