app

package
v2.2.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2019 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Linux

type Linux struct {
	IfPlugin       *linux_ifplugin.IfPlugin
	L3Plugin       *linux_l3plugin.L3Plugin
	NSPlugin       *linux_nsplugin.NsPlugin
	IPTablesPlugin *linux_iptablesplugin.IPTablesPlugin
}

Linux contains all Linux plugins.

func DefaultLinux

func DefaultLinux() Linux

type VPP

type VPP struct {
	ABFPlugin   *abfplugin.ABFPlugin
	ACLPlugin   *aclplugin.ACLPlugin
	IfPlugin    *ifplugin.IfPlugin
	IPSecPlugin *ipsecplugin.IPSecPlugin
	L2Plugin    *l2plugin.L2Plugin
	L3Plugin    *l3plugin.L3Plugin
	NATPlugin   *natplugin.NATPlugin
	PuntPlugin  *puntplugin.PuntPlugin
	STNPlugin   *stnplugin.STNPlugin
	SRPlugin    *srplugin.SRPlugin
}

VPP contains all VPP plugins.

func DefaultVPP

func DefaultVPP() VPP

type VPPAgent

type VPPAgent struct {
	LogManager *logmanager.Plugin

	// VPP & Linux are first to ensure that
	// all their descriptors are regitered to KVScheduler
	// before orchestrator that starts watch for their NB key prefixes.
	VPP
	Linux

	Orchestrator *orchestrator.Plugin

	ETCDDataSync   *kvdbsync.Plugin
	ConsulDataSync *kvdbsync.Plugin
	RedisDataSync  *kvdbsync.Plugin

	Configurator *configurator.Plugin
	RESTAPI      *restapi.Plugin
	Probe        *probe.Plugin
	Telemetry    *telemetry.Plugin
}

VPPAgent defines plugins which will be loaded and their order. Note: the plugin itself is loaded after all its dependencies. It means that the VPP plugin is first in the list despite it needs to be loaded after the linux plugin.

func New

func New() *VPPAgent

New creates new VPPAgent instance.

func (VPPAgent) AfterInit

func (VPPAgent) AfterInit() error

AfterInit executes resync.

func (VPPAgent) Close

func (VPPAgent) Close() error

Close could close used resources.

func (VPPAgent) Init

func (VPPAgent) Init() error

Init initializes main plugin.

func (VPPAgent) String

func (VPPAgent) String() string

String returns name of the plugin.

Jump to

Keyboard shortcuts

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