Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Handler = vpp.RegisterHandler(vpp.HandlerDesc{ Name: "dns", HandlerAPI: (*DNSVppAPI)(nil), })
Functions ¶
func AddHandlerVersion ¶
func AddHandlerVersion(version vpp.Version, msgs []govppapi.Message, h NewHandlerFunc)
Types ¶
type DNSVPPRead ¶
type DNSVPPRead interface { }
DNSVPPRead provides read methods for DNS cache server functionality
type DNSVPPWrite ¶
type DNSVPPWrite interface { // EnableDNS make act VPP as DNS cache server EnableDNS() error // DisableDNS disables functionality that makes VPP act as DNS cache server DisableDNS() error // AddUpstreamDNSServer adds new upstream DNS Server to the upstream DNS server list AddUpstreamDNSServer(serverIPAddress net.IP) error // DeleteUpstreamDNSServer removes upstream DNS Server from the upstream DNS server list DeleteUpstreamDNSServer(serverIPAddress net.IP) error }
DNSVPPWrite provides write methods for DNS cache server functionality
type DNSVppAPI ¶
type DNSVppAPI interface { DNSVPPWrite DNSVPPRead }
DNSVppAPI is API boundary for vppcall package access, introduced to properly test code dependent on vppcalls package
Click to show internal directories.
Click to hide internal directories.