Documentation ¶
Index ¶
- func ResetVppAgent() error
- func SendVppConfigToVppAgent(vppconfig *vpp.ConfigData, update bool) error
- type UniversalCNFVPPAgentBackend
- func (b *UniversalCNFVPPAgentBackend) GetEndpointIfID(serviceName string) string
- func (b *UniversalCNFVPPAgentBackend) NewDPConfig() *vpp.ConfigData
- func (b *UniversalCNFVPPAgentBackend) NewUniversalCNFBackend() error
- func (b *UniversalCNFVPPAgentBackend) ProcessClient(dpconfig interface{}, ifName string, conn *connection.Connection) error
- func (b *UniversalCNFVPPAgentBackend) ProcessDPConfig(dpconfig interface{}, update bool) error
- func (b *UniversalCNFVPPAgentBackend) ProcessEndpoint(dpconfig interface{}, serviceName, ifName string, conn *connection.Connection) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResetVppAgent ¶
func ResetVppAgent() error
ResetVppAgent resets the VPP instance settings to nil
func SendVppConfigToVppAgent ¶
func SendVppConfigToVppAgent(vppconfig *vpp.ConfigData, update bool) error
SendVppConfigToVppAgent send the update to the VPP-Agent
Types ¶
type UniversalCNFVPPAgentBackend ¶
UniversalCNFVPPAgentBackend is the VPP CNF backend struct
func (*UniversalCNFVPPAgentBackend) GetEndpointIfID ¶
func (b *UniversalCNFVPPAgentBackend) GetEndpointIfID(serviceName string) string
GetEndpointIfID generates a new interface ID from the service name
func (*UniversalCNFVPPAgentBackend) NewDPConfig ¶
func (b *UniversalCNFVPPAgentBackend) NewDPConfig() *vpp.ConfigData
NewDPConfig returns a plain DPConfig struct
func (*UniversalCNFVPPAgentBackend) NewUniversalCNFBackend ¶
func (b *UniversalCNFVPPAgentBackend) NewUniversalCNFBackend() error
NewUniversalCNFBackend initializes the VPP CNF backend
func (*UniversalCNFVPPAgentBackend) ProcessClient ¶
func (b *UniversalCNFVPPAgentBackend) ProcessClient( dpconfig interface{}, ifName string, conn *connection.Connection) error
ProcessClient runs the client code for VPP CNF
func (*UniversalCNFVPPAgentBackend) ProcessDPConfig ¶
func (b *UniversalCNFVPPAgentBackend) ProcessDPConfig(dpconfig interface{}, update bool) error
ProcessDPConfig applies the VPP CNF configuration to VPP
func (*UniversalCNFVPPAgentBackend) ProcessEndpoint ¶
func (b *UniversalCNFVPPAgentBackend) ProcessEndpoint( dpconfig interface{}, serviceName, ifName string, conn *connection.Connection) error
ProcessEndpoint runs the endpoint code for VPP CNF
Click to show internal directories.
Click to hide internal directories.