Documentation
¶
Overview ¶
Package controller implements the device provisioning controller
Package controller implements the device provisioning controller
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller drives the device provisioning control logic
func NewController ¶
func NewController(realmLabel string, realmValue string, configStore store.ConfigStore, topoAddress string, conns p4rtclient.ConnManager, topoOpts ...grpc.DialOption) *Controller
NewController creates a new device provisioner controller
type State ¶
type State int
State represents the various states of controller lifecycle
const ( // Disconnected represents the default/initial state Disconnected State = iota // Connected represents state where connection to onos-topo has been established Connected // Initialized represents state after the initial reconciliation pass has completed Initialized // Monitoring represents state of monitoring topology changes Monitoring // Stopped represents state where the controller has been issued a stop command Stopped )
Click to show internal directories.
Click to hide internal directories.