Documentation ¶
Overview ¶
Package topocache is a mechanism for holding a cache of Devices.
When onos-topology is in place it will be the ultimate reference of device availability and accessibility Until then this simple cache will load a set of Device definitions from file
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct {
Addr, Target, Usr, Pwd, CaPath, CertPath, KeyPath string
Timeout time.Duration
}
Device - the definition of Device will ultimately come from onos-topology
type DeviceStore ¶
DeviceStore is the model of the Device store
func LoadDeviceStore ¶
func LoadDeviceStore(file string, topoChannel chan<- events.Event) (*DeviceStore, error)
LoadDeviceStore loads a device store from a file - will eventually be from onos-topology
Click to show internal directories.
Click to hide internal directories.