vpp

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package vpp defines the standard flavor used for full-featured VPP agents.

Index

Constants

View Source
const DefaultPluginsConf = "defaultplugins.conf"

DefaultPluginsConf is default (flag value) - filename for the configuration of defaultplugins.

View Source
const DefaultPluginsConfFlag = "default-plugins-config"

DefaultPluginsConfFlag used as a flag name. It is used to load configuration of MTU for defaultplugins.

View Source
const DefaultPluginsConfUsage = "Location of the MTU configuration file; also set via 'MTU_CONFIG' env variable."

DefaultPluginsConfUsage used as flag usage for DefaultPluginsConfFlag.

View Source
const GoVPPConf = "govpp.conf"

GoVPPConf is default (flag value) - filename for the GoVPP configuration.

View Source
const GoVPPConfFlag = "govpp-config"

GoVPPConfFlag used as flag name (see implementation in declareFlags()) It is used to load configuration of GoVPP client plugin.

View Source
const GoVPPConfUsage = "Location of the GoVPP configuration file; also set via 'GOVPP_CONFIG' env variable."

GoVPPConfUsage used as flag usage for GoVPPConfFlag.

View Source
const IfStatePubConf = "ifstate-pub.conf"

IfStatePubConf is default (flag value) - filename for the configuration.

View Source
const IfStatePubConfFlag = "ifstate_pub-config"

IfStatePubConfFlag used as a flag name. It is used to load configuration related to the state data publishing.

View Source
const IfStatePubConfUsage = "Location of the interface state publish configuration file; also set via 'IFSTATE_PUB_CONFIG' env variable."

IfStatePubConfUsage used as flag usage.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flavor

type Flavor struct {
	*local.FlavorLocal
	*connectors.AllConnectorsFlavor // connectors have to be started before vpp flavor
	*rpc.FlavorRPC

	// This can be reused later even for the Linux plugin,
	// it has its own configuration.
	IfStatePub msgsync.PubPlugin

	GoVPP govppmux.GOVPPPlugin
	Linux linuxplugin.Plugin
	VPP   defaultplugins.Plugin
	// contains filtered or unexported fields
}

Flavor glues together multiple plugins to build a full-featured VPP agent.

func (*Flavor) Inject

func (f *Flavor) Inject() bool

Inject sets inter-plugin references

func (*Flavor) Plugins

func (f *Flavor) Plugins() []*core.NamedPlugin

Plugins combines all Plugins in the flavor to a list.

Jump to

Keyboard shortcuts

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