Documentation ¶
Overview ¶
Package vpp defines the standard flavor used for full-featured VPP agents.
Index ¶
Constants ¶
const DefaultPluginsConf = "defaultplugins.conf"
DefaultPluginsConf is default (flag value) - filename for the configuration of defaultplugins.
const DefaultPluginsConfFlag = "default-plugins-config"
DefaultPluginsConfFlag used as a flag name. It is used to load configuration of MTU for defaultplugins.
const DefaultPluginsConfUsage = "Location of the MTU configuration file; also set via 'MTU_CONFIG' env variable."
DefaultPluginsConfUsage used as flag usage for DefaultPluginsConfFlag.
const GoVPPConf = "govpp.conf"
GoVPPConf is default (flag value) - filename for the GoVPP configuration.
const GoVPPConfFlag = "govpp-config"
GoVPPConfFlag used as flag name (see implementation in declareFlags()) It is used to load configuration of GoVPP client plugin.
const GoVPPConfUsage = "Location of the GoVPP configuration file; also set via 'GOVPP_CONFIG' env variable."
GoVPPConfUsage used as flag usage for GoVPPConfFlag.
const IfStatePubConf = "ifstate-pub.conf"
IfStatePubConf is default (flag value) - filename for the configuration.
const IfStatePubConfFlag = "ifstate_pub-config"
IfStatePubConfFlag used as a flag name. It is used to load configuration related to the state data publishing.
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) Plugins ¶
func (f *Flavor) Plugins() []*core.NamedPlugin
Plugins combines all Plugins in the flavor to a list.