Documentation
¶
Index ¶
- func ConnectToTopo(ctx context.Context, topoEndpoint string, serverParams utils.ServerParams) topodevice.DeviceServiceClient
- func RemoveFromTopo(ctx context.Context, topoClient *topodevice.DeviceServiceClient, ...)
- func SyncToTopo(ctx context.Context, topoClient *topodevice.DeviceServiceClient, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToTopo ¶
func ConnectToTopo(ctx context.Context, topoEndpoint string, serverParams utils.ServerParams) topodevice.DeviceServiceClient
ConnectToTopo is a go function that listens for the connection of onos-topo and updates the list of Cell instances on it
func RemoveFromTopo ¶ added in v0.6.2
func RemoveFromTopo(ctx context.Context, topoClient *topodevice.DeviceServiceClient, cells map[types.ECGI]*types.Cell)
RemoveFromTopo - on shutdown delete the cells from topo
func SyncToTopo ¶
func SyncToTopo(ctx context.Context, topoClient *topodevice.DeviceServiceClient, cells map[types.ECGI]*types.Cell)
SyncToTopo updates the list of Cell instances on it Will block until topo comes available
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.