Documentation
¶
Index ¶
- Constants
- type SlaveNotFoundError
- type Vlan
- func (v *Vlan) AddLocalArea(id int) error
- func (v *Vlan) RemoveLocalArea(id int) error
- func (v *Vlan) Setup(nic string, vids []uint16) error
- func (v *Vlan) SlaveNICName() string
- func (v *Vlan) Status(condition network.Condition) (*network.Status, error)
- func (v *Vlan) Teardown() error
- func (v *Vlan) Type() string
Constants ¶
View Source
const (
BridgeName = "harvester-br0"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SlaveNotFoundError ¶
type SlaveNotFoundError struct {
// contains filtered or unexported fields
}
type Vlan ¶
type Vlan struct {
// contains filtered or unexported fields
}
func NewVlan ¶
func NewVlan(eventSender network.EventSender) *Vlan
The bridge of a pure VLAN may have no latest information The NIC of a pure VLAN can be empty
func (*Vlan) AddLocalArea ¶
func (*Vlan) RemoveLocalArea ¶
func (*Vlan) SlaveNICName ¶
Click to show internal directories.
Click to hide internal directories.