Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Switch ¶
type Switch struct { ID string Zone string AvailableIPCount int64 // for ipv4 IPv4CIDR string IPv6CIDR string }
Switch hole all switch info from both terway config and podNetworking
type SwitchPool ¶
type SwitchPool struct {
// contains filtered or unexported fields
}
SwitchPool contain all vSwitches
func NewSwitchPool ¶
func NewSwitchPool(size int, ttl string) (*SwitchPool, error)
NewSwitchPool create pool and set vSwitches to pool
Click to show internal directories.
Click to hide internal directories.