manager

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package manager is is the main coordinator for the ONOS control subsystem.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	RoleStore      store.RoleStore
	ChangesChannel chan admin.DeviceRoleChange
	// contains filtered or unexported fields
}

Manager single point of entry for the zero touch provisioning system.

func GetManager

func GetManager() *Manager

GetManager returns the initialized and running instance of manager. Should be called only after NewManager and Run are done.

func LoadManager

func LoadManager(roleStorePath string, opts ...grpc.DialOption) (*Manager, error)

LoadManager creates a provisioning subsystem manager primed with stores loaded from the specified files.

func NewManager

func NewManager() (*Manager, error)

NewManager initializes the provisioning manager subsystem.

func (*Manager) Close

func (m *Manager) Close()

Close kills the channels and manager related objects

func (*Manager) Run

func (m *Manager) Run()

Run starts any background tasks associated with the manager.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL