Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DNSVppHandler ¶
type DNSVppHandler struct { core_vppcalls.VppCoreAPI // contains filtered or unexported fields }
DNSVppHandler is accessor for DNS-related vppcalls methods
func (*DNSVppHandler) AddUpstreamDNSServer ¶
func (h *DNSVppHandler) AddUpstreamDNSServer(serverIPAddress net.IP) error
AddUpstreamDNSServer adds new upstream DNS Server to the upstream DNS server list
func (*DNSVppHandler) DeleteUpstreamDNSServer ¶
func (h *DNSVppHandler) DeleteUpstreamDNSServer(serverIPAddress net.IP) error
DeleteUpstreamDNSServer removes upstream DNS Server from the upstream DNS server list
func (*DNSVppHandler) DisableDNS ¶
func (h *DNSVppHandler) DisableDNS() error
DisableDNS disables functionality that makes VPP act as DNS cache server
func (*DNSVppHandler) EnableDNS ¶
func (h *DNSVppHandler) EnableDNS() error
EnableDNS make act VPP as DNS cache server
Click to show internal directories.
Click to hide internal directories.