vpp2202

package
v3.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDNSVppHandler

func NewDNSVppHandler(c vpp.Client, log logging.Logger) vppcalls.DNSVppAPI

NewDNSVppHandler creates new instance of DNS vppcalls handler

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL