Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceType ¶
type DeviceType int
DeviceType represents the type of a link layer device, as recorded in the link_layer_device_type lookup table.
const ( DeviceTypeUnknown DeviceType = iota DeviceTypeLoopback DeviceTypeEthernet DeviceType8021q DeviceTypeBond DeviceTypeBridge DeviceTypeVXLAN )
func MarshallDeviceType ¶
func MarshallDeviceType(deviceType corenetwork.LinkLayerDeviceType) DeviceType
MarshallDeviceType converts a link layer device type to a db link layer device type id.
type VirtualPortType ¶
type VirtualPortType int
VirtualPortType represents the type of a link layer device port, as recorded in the virtual_port_type lookup table.
const ( NonVirtualPortType VirtualPortType = iota OpenVswitchVirtualPortType )
func MarshallVirtualPortType ¶
func MarshallVirtualPortType(portType corenetwork.VirtualPortType) VirtualPortType
MarshallVirtualPortType converts a virtual port type to a db virtual port type id.
Click to show internal directories.
Click to hide internal directories.