Documentation ¶
Overview ¶
Package vlan provides helper methods for the Mechanism vlan
Index ¶
Constants ¶
View Source
const ( // MECHANISM string MECHANISM = "VLAN" // ID - vlan ID ID = "vlan-id" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mechanism ¶
type Mechanism struct {
*networkservice.Mechanism
}
Mechanism - a vlan mechanism helper
func ToMechanism ¶
func ToMechanism(m *networkservice.Mechanism) *Mechanism
ToMechanism - convert unified Mechanism to useful wrapper
func (*Mechanism) GetParameters ¶
GetParameters returns the map of all parameters to the mechanism
Click to show internal directories.
Click to hide internal directories.