Documentation
¶
Index ¶
- type ACLCtl
- type EtcdCtl
- type IPSecCtl
- type InterfacesCtl
- type L2Ctl
- type L3Ctl
- type NatCtl
- type PuntCtl
- type StnCtl
- type VppAgentCtl
- type VppAgentCtlImpl
- func (ctl *VppAgentCtlImpl) CreateEtcdClient(configFile string) (*etcd.BytesConnectionEtcd, keyval.ProtoBroker, error)
- func (ctl *VppAgentCtlImpl) Del(key string)
- func (ctl *VppAgentCtlImpl) DeleteAfPacket() error
- func (ctl *VppAgentCtlImpl) DeleteArp() error
- func (ctl *VppAgentCtlImpl) DeleteBridgeDomain() error
- func (ctl *VppAgentCtlImpl) DeleteDNat() error
- func (ctl *VppAgentCtlImpl) DeleteDPDKInterface() error
- func (ctl *VppAgentCtlImpl) DeleteFib() error
- func (ctl *VppAgentCtlImpl) DeleteGlobalNat() error
- func (ctl *VppAgentCtlImpl) DeleteIPAcl() error
- func (ctl *VppAgentCtlImpl) DeleteIPRedirect() error
- func (ctl *VppAgentCtlImpl) DeleteIPSecSA() error
- func (ctl *VppAgentCtlImpl) DeleteIPSecSPD() error
- func (ctl *VppAgentCtlImpl) DeleteIPSecTunnelInterface() error
- func (ctl *VppAgentCtlImpl) DeleteInterVrfRoute() error
- func (ctl *VppAgentCtlImpl) DeleteLinuxArp() error
- func (ctl *VppAgentCtlImpl) DeleteLinuxDefaultRoute() error
- func (ctl *VppAgentCtlImpl) DeleteLinuxRoute() error
- func (ctl *VppAgentCtlImpl) DeleteLinuxTap() error
- func (ctl *VppAgentCtlImpl) DeleteLoopback() error
- func (ctl *VppAgentCtlImpl) DeleteMACIPAcl() error
- func (ctl *VppAgentCtlImpl) DeleteMemoryInterface() error
- func (ctl *VppAgentCtlImpl) DeleteNextHopRoute() error
- func (ctl *VppAgentCtlImpl) DeleteProxyArp() error
- func (ctl *VppAgentCtlImpl) DeletePunt() error
- func (ctl *VppAgentCtlImpl) DeleteRoute() error
- func (ctl *VppAgentCtlImpl) DeleteStn() error
- func (ctl *VppAgentCtlImpl) DeleteTap() error
- func (ctl *VppAgentCtlImpl) DeleteVEthPair() error
- func (ctl *VppAgentCtlImpl) DeleteVxLan() error
- func (ctl *VppAgentCtlImpl) DeleteXConn() error
- func (ctl *VppAgentCtlImpl) DeregisterPuntViaSocket() error
- func (ctl *VppAgentCtlImpl) Dump(key string)
- func (ctl *VppAgentCtlImpl) Get(key string)
- func (ctl *VppAgentCtlImpl) GetCommands() []string
- func (ctl *VppAgentCtlImpl) ListAllAgentKeys()
- func (ctl *VppAgentCtlImpl) Put(key string, file string)
- func (ctl *VppAgentCtlImpl) PutAfPacket() error
- func (ctl *VppAgentCtlImpl) PutArp() error
- func (ctl *VppAgentCtlImpl) PutBridgeDomain() error
- func (ctl *VppAgentCtlImpl) PutDNat() error
- func (ctl *VppAgentCtlImpl) PutDPDKInterface() error
- func (ctl *VppAgentCtlImpl) PutFib() error
- func (ctl *VppAgentCtlImpl) PutGlobalNat() error
- func (ctl *VppAgentCtlImpl) PutIPAcl() error
- func (ctl *VppAgentCtlImpl) PutIPRedirect() error
- func (ctl *VppAgentCtlImpl) PutIPSecSA() error
- func (ctl *VppAgentCtlImpl) PutIPSecSPD() error
- func (ctl *VppAgentCtlImpl) PutIPSecTunnelInterface() error
- func (ctl *VppAgentCtlImpl) PutInterVrfRoute() error
- func (ctl *VppAgentCtlImpl) PutLinuxArp() error
- func (ctl *VppAgentCtlImpl) PutLinuxDefaultRoute() error
- func (ctl *VppAgentCtlImpl) PutLinuxRoute() error
- func (ctl *VppAgentCtlImpl) PutLinuxTap() error
- func (ctl *VppAgentCtlImpl) PutLoopback() error
- func (ctl *VppAgentCtlImpl) PutMACIPAcl() error
- func (ctl *VppAgentCtlImpl) PutMemoryInterface() error
- func (ctl *VppAgentCtlImpl) PutNextHopRoute() error
- func (ctl *VppAgentCtlImpl) PutProxyArp() error
- func (ctl *VppAgentCtlImpl) PutPunt() error
- func (ctl *VppAgentCtlImpl) PutRoute() error
- func (ctl *VppAgentCtlImpl) PutStn() error
- func (ctl *VppAgentCtlImpl) PutTap() error
- func (ctl *VppAgentCtlImpl) PutVEthPair() error
- func (ctl *VppAgentCtlImpl) PutVxLan() error
- func (ctl *VppAgentCtlImpl) PutXConn() error
- func (ctl *VppAgentCtlImpl) RegisterPuntViaSocket() error
- func (ctl *VppAgentCtlImpl) SetIPScanNeigh() error
- func (ctl *VppAgentCtlImpl) UnsetIPScanNeigh() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACLCtl ¶
type ACLCtl interface {
// PutIPAcl puts IPO access list config to the ETCD
PutIPAcl() error
// DeleteIPAcl removes IP access list config from the ETCD
DeleteIPAcl() error
// PutMACIPAcl puts MAC IP access list config to the ETCD
PutMACIPAcl() error
// DeleteMACIPAcl removes MAC IP access list config from the ETCD
DeleteMACIPAcl() error
}
ACLCtl provides access list related methods for vpp-agent-ctl
type EtcdCtl ¶
type EtcdCtl interface {
// CreateEtcdClient creates a new connection to etcd
CreateEtcdClient(configFile string) (*etcd.BytesConnectionEtcd, keyval.ProtoBroker, error)
// ListAllAgentKeys prints all agent keys
ListAllAgentKeys()
// Put adds new data to etcd
Put(key string, file string)
// Del removes data from etcd
Del(key string)
// Get key value from the ETCD
Get(key string)
// Dump all values for given key prefix
Dump(key string)
}
EtcdCtl provides ETCD crud methods for vpp-agent-ctl
type IPSecCtl ¶
type IPSecCtl interface {
// PutIPSecSPD puts STD configuration to the ETCD
PutIPSecSPD() error
// DeleteIPSecSPD removes STD configuration from the ETCD
DeleteIPSecSPD() error
// PutIPSecSA puts two security association configurations to the ETCD
PutIPSecSA() error
// DeleteIPSecSA removes SA configuration from the ETCD
DeleteIPSecSA() error
}
IPSecCtl IPSec plugin related methods for vpp-agent-ctl (SPD, SA)
type InterfacesCtl ¶
type InterfacesCtl interface {
// PutPhysicalInterface puts ethernet type interface config to the ETCD
PutDPDKInterface() error
// DeleteDPDKInterface removes ethernet type interface config from the ETCD
DeleteDPDKInterface() error
// PutTap puts TAP type interface config to the ETCD
PutTap() error
// DeleteTap removes TAP type interface config from the ETCD
DeleteTap() error
// PutLoopback puts loopback type interface config to the ETCD
PutLoopback() error
// DeleteLoopback removes loopback type interface config from the ETCD
DeleteLoopback() error
// PutMemoryInterface puts memory type interface config to the ETCD
PutMemoryInterface() error
// DeleteMemoryInterface removes memory type interface config from the ETCD
DeleteMemoryInterface() error
// PutVxLan puts VxLAN type interface config to the ETCD
PutVxLan() error
// DeleteVxLan removes VxLAN type interface config from the ETCD
DeleteVxLan() error
// PutAfPacket puts Af-packet type interface config to the ETCD
PutAfPacket() error
// DeleteAfPacket removes AF-Packet type interface config from the ETCD
DeleteAfPacket() error
// PutIPSecTunnelInterface configures IPSec tunnel interface
PutIPSecTunnelInterface() error
// DeleteIPSecTunnelInterface removes IPSec tunnel interface
DeleteIPSecTunnelInterface() error
// PutVEthPair puts two VETH type interfaces to the ETCD
PutVEthPair() error
// DeleteVEthPair removes VETH pair interfaces from the ETCD
DeleteVEthPair() error
// PutLinuxTap puts linux TAP type interface configuration to the ETCD
PutLinuxTap() error
// DeleteLinuxTap removes linux TAP type interface configuration from the ETCD
DeleteLinuxTap() error
}
InterfacesCtl interface plugin related methods for vpp-agent-ctl (interfaces including linux ones)
type L2Ctl ¶
type L2Ctl interface {
// PutBridgeDomain puts L2 bridge domain configuration to the ETCD
PutBridgeDomain() error
// DeleteBridgeDomain removes bridge domain configuration from the ETCD
DeleteBridgeDomain() error
// PutFib puts L2 FIB entry configuration to the ETCD
PutFib() error
// DeleteFib removes FIB entry configuration from the ETCD
DeleteFib() error
// PutXConn puts L2 cross connect configuration to the ETCD
PutXConn() error
// DeleteXConn removes cross connect configuration from the ETCD
DeleteXConn() error
}
L2Ctl L2 plugin related methods for vpp-agent-ctl (bridge domains, FIBs, L2 cross connects)
type L3Ctl ¶
type L3Ctl interface {
// PutRoute puts VPP route configuration to the ETCD
PutRoute() error
// DeleteRoute removes VPP route configuration from the ETCD
DeleteRoute() error
// PutInterVrfRoute puts inter-VRF VPP route configuration to the ETCD
PutInterVrfRoute() error
// DeleteRoute removes VPP route configuration from the ETCD
DeleteInterVrfRoute() error
// PutInterVrfRoute puts inter-VRF VPP route configuration with next hop to the ETCD
PutNextHopRoute() error
// DeleteNextHopRoute removes VPP route configuration from the ETCD
DeleteNextHopRoute() error
// PutLinuxRoute puts linux route configuration to the ETCD
PutLinuxRoute() error
// DeleteLinuxRoute removes linux route configuration from the ETCD
DeleteLinuxRoute() error
// PutLinuxDefaultRoute puts linux default route configuration to the ETCD
PutLinuxDefaultRoute() error
// DeleteLinuxDefaultRoute removes linux default route configuration from the ETCD
DeleteLinuxDefaultRoute() error
// PutArp puts VPP ARP entry configuration to the ETCD
PutArp() error
// PutArp puts VPP ARP entry configuration to the ETCD
DeleteArp() error
// PutProxyArp puts VPP proxy ARP configuration to the ETCD
PutProxyArp() error
// DeleteProxyArp removes VPP proxy ARP configuration from the ETCD
DeleteProxyArp() error
// SetIPScanNeigh puts VPP IP scan neighbor configuration to the ETCD
SetIPScanNeigh() error
// UnsetIPScanNeigh removes VPP IP scan neighbor configuration from the ETCD
UnsetIPScanNeigh() error
// CreateLinuxArp puts linux ARP entry configuration to the ETCD
PutLinuxArp() error
// DeleteLinuxArp removes Linux ARP entry configuration from the ETCD
DeleteLinuxArp() error
}
L3Ctl L3 plugin related methods for vpp-agent-ctl (including linux)
type NatCtl ¶
type NatCtl interface {
// PutGlobalNat puts global NAT44 configuration to the ETCD
PutGlobalNat() error
// DeleteGlobalNat removes global NAT configuration from the ETCD
DeleteGlobalNat() error
// PutDNat puts DNAT configuration to the ETCD
PutDNat() error
// DeleteDNat removes DNAT configuration from the ETCD
DeleteDNat() error
}
NatCtl NAT plugin related methods for vpp-agent-ctl
type PuntCtl ¶
type PuntCtl interface {
// PutPunt puts punt configuration to the ETCD
PutPunt() error
// DeletePunt removes punt configuration from the ETCD
DeletePunt() error
// RegisterPuntViaSocket registers punt via socket to the ETCD
RegisterPuntViaSocket() error
// DeregisterPuntViaSocket removes punt socket registration from the ETCD
DeregisterPuntViaSocket() error
// PutIPRedirect puts IP redirect configuration to the ETCD
PutIPRedirect() error
// DeleteIPRedirect removes IP redirect from the ETCD
DeleteIPRedirect() error
}
PuntCtl punt plugin related methods for vpp-agent-ctl (bridge domains, FIBs, L2 cross connects)
type StnCtl ¶
type StnCtl interface {
// PutStn puts STN configuration to the ETCD
PutStn() error
// DeleteStn removes STN configuration from the ETCD
DeleteStn() error
}
StnCtl STN plugin related methods for vpp-agent-ctl
type VppAgentCtl ¶
type VppAgentCtl interface {
// GetCommands returns provided command set
GetCommands() []string
// Etcd access
EtcdCtl
// Other interfaces with configuration related methods
ACLCtl
InterfacesCtl
IPSecCtl
L2Ctl
L3Ctl
NatCtl
PuntCtl
StnCtl
}
VppAgentCtl is test tool for testingVPP Agent plugins. In addition to testing, the vpp-agent-ctl tool can be used to demonstrate the usage of VPP Agent plugins and their APIs.
type VppAgentCtlImpl ¶
VppAgentCtlImpl is a ctl context
func NewVppAgentCtl ¶
func NewVppAgentCtl(etcdCfg string, cmdSet []string) (*VppAgentCtlImpl, error)
NewVppAgentCtl creates new VppAgentCtl object with initialized fields
func (*VppAgentCtlImpl) CreateEtcdClient ¶
func (ctl *VppAgentCtlImpl) CreateEtcdClient(configFile string) (*etcd.BytesConnectionEtcd, keyval.ProtoBroker, error)
CreateEtcdClient uses environment variable or ETCD config file to establish connection
func (*VppAgentCtlImpl) Del ¶
func (ctl *VppAgentCtlImpl) Del(key string)
Del removes data under provided key
func (*VppAgentCtlImpl) DeleteAfPacket ¶
func (ctl *VppAgentCtlImpl) DeleteAfPacket() error
DeleteAfPacket removes AF-Packet type interface config from the ETCD
func (*VppAgentCtlImpl) DeleteArp ¶
func (ctl *VppAgentCtlImpl) DeleteArp() error
DeleteArp removes VPP ARP entry configuration from the ETCD
func (*VppAgentCtlImpl) DeleteBridgeDomain ¶
func (ctl *VppAgentCtlImpl) DeleteBridgeDomain() error
DeleteBridgeDomain removes bridge domain configuration from the ETCD
func (*VppAgentCtlImpl) DeleteDNat ¶
func (ctl *VppAgentCtlImpl) DeleteDNat() error
DeleteDNat removes DNAT configuration from the ETCD
func (*VppAgentCtlImpl) DeleteDPDKInterface ¶
func (ctl *VppAgentCtlImpl) DeleteDPDKInterface() error
DeleteDPDKInterface removes ethernet type interface config from the ETCD
func (*VppAgentCtlImpl) DeleteFib ¶
func (ctl *VppAgentCtlImpl) DeleteFib() error
DeleteFib removes FIB entry configuration from the ETCD
func (*VppAgentCtlImpl) DeleteGlobalNat ¶
func (ctl *VppAgentCtlImpl) DeleteGlobalNat() error
DeleteGlobalNat removes global NAT configuration from the ETCD
func (*VppAgentCtlImpl) DeleteIPAcl ¶
func (ctl *VppAgentCtlImpl) DeleteIPAcl() error
DeleteIPAcl removes IP access list config from the ETCD
func (*VppAgentCtlImpl) DeleteIPRedirect ¶
func (ctl *VppAgentCtlImpl) DeleteIPRedirect() error
DeleteIPRedirect removes IP redirect from the ETCD
func (*VppAgentCtlImpl) DeleteIPSecSA ¶
func (ctl *VppAgentCtlImpl) DeleteIPSecSA() error
DeleteIPSecSA removes SA configuration from the ETCD
func (*VppAgentCtlImpl) DeleteIPSecSPD ¶
func (ctl *VppAgentCtlImpl) DeleteIPSecSPD() error
DeleteIPSecSPD removes STD configuration from the ETCD
func (*VppAgentCtlImpl) DeleteIPSecTunnelInterface ¶
func (ctl *VppAgentCtlImpl) DeleteIPSecTunnelInterface() error
DeleteIPSecTunnelInterface removes IPSec tunnel interface
func (*VppAgentCtlImpl) DeleteInterVrfRoute ¶
func (ctl *VppAgentCtlImpl) DeleteInterVrfRoute() error
DeleteInterVrfRoute removes VPP route configuration from the ETCD
func (*VppAgentCtlImpl) DeleteLinuxArp ¶
func (ctl *VppAgentCtlImpl) DeleteLinuxArp() error
DeleteLinuxArp removes Linux ARP entry configuration from the ETCD
func (*VppAgentCtlImpl) DeleteLinuxDefaultRoute ¶
func (ctl *VppAgentCtlImpl) DeleteLinuxDefaultRoute() error
DeleteLinuxDefaultRoute removes linux default route configuration from the ETCD
func (*VppAgentCtlImpl) DeleteLinuxRoute ¶
func (ctl *VppAgentCtlImpl) DeleteLinuxRoute() error
DeleteLinuxRoute removes linux route configuration from the ETCD
func (*VppAgentCtlImpl) DeleteLinuxTap ¶
func (ctl *VppAgentCtlImpl) DeleteLinuxTap() error
DeleteLinuxTap removes linux TAP type interface configuration from the ETCD
func (*VppAgentCtlImpl) DeleteLoopback ¶
func (ctl *VppAgentCtlImpl) DeleteLoopback() error
DeleteLoopback removes loopback type interface config from the ETCD
func (*VppAgentCtlImpl) DeleteMACIPAcl ¶
func (ctl *VppAgentCtlImpl) DeleteMACIPAcl() error
DeleteMACIPAcl removes MAC IP access list config from the ETCD
func (*VppAgentCtlImpl) DeleteMemoryInterface ¶
func (ctl *VppAgentCtlImpl) DeleteMemoryInterface() error
DeleteMemoryInterface removes memif type interface config from the ETCD
func (*VppAgentCtlImpl) DeleteNextHopRoute ¶
func (ctl *VppAgentCtlImpl) DeleteNextHopRoute() error
DeleteNextHopRoute removes VPP route configuration from the ETCD
func (*VppAgentCtlImpl) DeleteProxyArp ¶
func (ctl *VppAgentCtlImpl) DeleteProxyArp() error
DeleteProxyArp removes VPP proxy ARPconfiguration from the ETCD
func (*VppAgentCtlImpl) DeletePunt ¶
func (ctl *VppAgentCtlImpl) DeletePunt() error
DeletePunt removes punt configuration from the ETCD
func (*VppAgentCtlImpl) DeleteRoute ¶
func (ctl *VppAgentCtlImpl) DeleteRoute() error
DeleteRoute removes VPP route configuration from the ETCD
func (*VppAgentCtlImpl) DeleteStn ¶
func (ctl *VppAgentCtlImpl) DeleteStn() error
DeleteStn removes STN configuration from the ETCD
func (*VppAgentCtlImpl) DeleteTap ¶
func (ctl *VppAgentCtlImpl) DeleteTap() error
DeleteTap removes TAP type interface config from the ETCD
func (*VppAgentCtlImpl) DeleteVEthPair ¶
func (ctl *VppAgentCtlImpl) DeleteVEthPair() error
DeleteVEthPair removes VETH pair interfaces from the ETCD
func (*VppAgentCtlImpl) DeleteVxLan ¶
func (ctl *VppAgentCtlImpl) DeleteVxLan() error
DeleteVxLan removes VxLAN type interface config from the ETCD
func (*VppAgentCtlImpl) DeleteXConn ¶
func (ctl *VppAgentCtlImpl) DeleteXConn() error
DeleteXConn removes cross connect configuration from the ETCD
func (*VppAgentCtlImpl) DeregisterPuntViaSocket ¶
func (ctl *VppAgentCtlImpl) DeregisterPuntViaSocket() error
DeregisterPuntViaSocket removes punt socket registration from the ETCD
func (*VppAgentCtlImpl) Dump ¶
func (ctl *VppAgentCtlImpl) Dump(key string)
Dump lists values under key. If no key is provided, all data is read.
func (*VppAgentCtlImpl) Get ¶
func (ctl *VppAgentCtlImpl) Get(key string)
Get uses ETCD connection to get value for specific key
func (*VppAgentCtlImpl) GetCommands ¶
func (ctl *VppAgentCtlImpl) GetCommands() []string
GetCommands returns origin al vpp-agent-ctl commands
func (*VppAgentCtlImpl) ListAllAgentKeys ¶
func (ctl *VppAgentCtlImpl) ListAllAgentKeys()
ListAllAgentKeys prints all keys stored in the broker
func (*VppAgentCtlImpl) Put ¶
func (ctl *VppAgentCtlImpl) Put(key string, file string)
Put stores key/data value
func (*VppAgentCtlImpl) PutAfPacket ¶
func (ctl *VppAgentCtlImpl) PutAfPacket() error
PutAfPacket puts Af-packet type interface config to the ETCD
func (*VppAgentCtlImpl) PutArp ¶
func (ctl *VppAgentCtlImpl) PutArp() error
PutArp puts VPP ARP entry configuration to the ETCD
func (*VppAgentCtlImpl) PutBridgeDomain ¶
func (ctl *VppAgentCtlImpl) PutBridgeDomain() error
PutBridgeDomain puts L2 bridge domain configuration to the ETCD
func (*VppAgentCtlImpl) PutDNat ¶
func (ctl *VppAgentCtlImpl) PutDNat() error
PutDNat puts DNAT configuration to the ETCD
func (*VppAgentCtlImpl) PutDPDKInterface ¶
func (ctl *VppAgentCtlImpl) PutDPDKInterface() error
PutDPDKInterface puts ethernet type interface config to the ETCD
func (*VppAgentCtlImpl) PutFib ¶
func (ctl *VppAgentCtlImpl) PutFib() error
PutFib puts L2 FIB entry configuration to the ETCD
func (*VppAgentCtlImpl) PutGlobalNat ¶
func (ctl *VppAgentCtlImpl) PutGlobalNat() error
PutGlobalNat puts global NAT44 configuration to the ETCD
func (*VppAgentCtlImpl) PutIPAcl ¶
func (ctl *VppAgentCtlImpl) PutIPAcl() error
PutIPAcl puts IPO access list config to the ETCD
func (*VppAgentCtlImpl) PutIPRedirect ¶
func (ctl *VppAgentCtlImpl) PutIPRedirect() error
PutIPRedirect puts IP redirect configuration to the ETCD
func (*VppAgentCtlImpl) PutIPSecSA ¶
func (ctl *VppAgentCtlImpl) PutIPSecSA() error
PutIPSecSA puts two security association configurations to the ETCD
func (*VppAgentCtlImpl) PutIPSecSPD ¶
func (ctl *VppAgentCtlImpl) PutIPSecSPD() error
PutIPSecSPD puts STD configuration to the ETCD
func (*VppAgentCtlImpl) PutIPSecTunnelInterface ¶
func (ctl *VppAgentCtlImpl) PutIPSecTunnelInterface() error
PutIPSecTunnelInterface configures IPSec tunnel interface
func (*VppAgentCtlImpl) PutInterVrfRoute ¶
func (ctl *VppAgentCtlImpl) PutInterVrfRoute() error
PutInterVrfRoute puts inter-VRF VPP route configuration to the ETCD
func (*VppAgentCtlImpl) PutLinuxArp ¶
func (ctl *VppAgentCtlImpl) PutLinuxArp() error
PutLinuxArp puts linux ARP entry configuration to the ETCD
func (*VppAgentCtlImpl) PutLinuxDefaultRoute ¶
func (ctl *VppAgentCtlImpl) PutLinuxDefaultRoute() error
PutLinuxDefaultRoute puts linux default route configuration to the ETCD
func (*VppAgentCtlImpl) PutLinuxRoute ¶
func (ctl *VppAgentCtlImpl) PutLinuxRoute() error
PutLinuxRoute puts linux route configuration to the ETCD
func (*VppAgentCtlImpl) PutLinuxTap ¶
func (ctl *VppAgentCtlImpl) PutLinuxTap() error
PutLinuxTap puts linux TAP type interface configuration to the ETCD
func (*VppAgentCtlImpl) PutLoopback ¶
func (ctl *VppAgentCtlImpl) PutLoopback() error
PutLoopback puts loopback type interface config to the ETCD
func (*VppAgentCtlImpl) PutMACIPAcl ¶
func (ctl *VppAgentCtlImpl) PutMACIPAcl() error
PutMACIPAcl puts MAC IP access list config to the ETCD
func (*VppAgentCtlImpl) PutMemoryInterface ¶
func (ctl *VppAgentCtlImpl) PutMemoryInterface() error
PutMemoryInterface puts memif type interface config to the ETCD
func (*VppAgentCtlImpl) PutNextHopRoute ¶
func (ctl *VppAgentCtlImpl) PutNextHopRoute() error
PutNextHopRoute puts inter-VRF VPP route configuration with next hop to the ETCD
func (*VppAgentCtlImpl) PutProxyArp ¶
func (ctl *VppAgentCtlImpl) PutProxyArp() error
PutProxyArp puts VPP proxy ARP configuration to the ETCD
func (*VppAgentCtlImpl) PutPunt ¶
func (ctl *VppAgentCtlImpl) PutPunt() error
PutPunt puts punt configuration to the ETCD
func (*VppAgentCtlImpl) PutRoute ¶
func (ctl *VppAgentCtlImpl) PutRoute() error
PutRoute puts VPP route configuration to the ETCD
func (*VppAgentCtlImpl) PutStn ¶
func (ctl *VppAgentCtlImpl) PutStn() error
PutStn puts STN configuration to the ETCD
func (*VppAgentCtlImpl) PutTap ¶
func (ctl *VppAgentCtlImpl) PutTap() error
PutTap puts TAP type interface config to the ETCD
func (*VppAgentCtlImpl) PutVEthPair ¶
func (ctl *VppAgentCtlImpl) PutVEthPair() error
PutVEthPair puts two VETH type interfaces to the ETCD
func (*VppAgentCtlImpl) PutVxLan ¶
func (ctl *VppAgentCtlImpl) PutVxLan() error
PutVxLan puts VxLAN type interface config to the ETCD
func (*VppAgentCtlImpl) PutXConn ¶
func (ctl *VppAgentCtlImpl) PutXConn() error
PutXConn puts L2 cross connect configuration to the ETCD
func (*VppAgentCtlImpl) RegisterPuntViaSocket ¶
func (ctl *VppAgentCtlImpl) RegisterPuntViaSocket() error
RegisterPuntViaSocket registers punt via socket to the ETCD
func (*VppAgentCtlImpl) SetIPScanNeigh ¶
func (ctl *VppAgentCtlImpl) SetIPScanNeigh() error
SetIPScanNeigh puts VPP IP scan neighbor configuration to the ETCD
func (*VppAgentCtlImpl) UnsetIPScanNeigh ¶
func (ctl *VppAgentCtlImpl) UnsetIPScanNeigh() error
UnsetIPScanNeigh removes VPP IP scan neighbor configuration from the ETCD
Source Files
¶
- aclplugin.go
- etcd.go
- ifplugin.go
- ipsecplugin.go
- l2plugin.go
- l3plugins.go
- natplugin.go
- puntplugin.go
- stnplugin.go
- vpp-agent-ctl.go