Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Log *zap.SugaredLogger
LogLevel string
CIDR string
LoopbackIP string
ASN string
PartitionID string
RackID string
ReconfigureSwitch bool
ReconfigureSwitchInterval time.Duration
ManagementGateway string
AdditionalBridgePorts []string
AdditionalBridgeVIDs []string
SpineUplinks string
InterfacesTplFile string
FrrTplFile string
Driver metalgo.Client
EventServiceClient v1.EventServiceClient
}
type Core ¶
type Core struct {
// contains filtered or unexported fields
}
func (*Core) ConstantlyPhoneHome ¶
func (c *Core) ConstantlyPhoneHome()
ConstantlyPhoneHome sends every minute a single phone-home provisioning event to metal-api for each machine that sent at least one phone-home LLDP package to any interface of the host machine during this interval.
func (*Core) ReconfigureSwitch ¶
func (c *Core) ReconfigureSwitch()
ReconfigureSwitch reconfigures the switch.
func (*Core) RegisterSwitch ¶
Click to show internal directories.
Click to hide internal directories.