nameserver

package
v0.0.0-...-8dd92da Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const K8sDefaultTenant = "k8sDefaultTenant"

K8sDefaultTenant is the default tenant in K8S

Variables

This section is empty.

Functions

This section is empty.

Types

type NetpluginNameServer

type NetpluginNameServer struct {
	// contains filtered or unexported fields
}

NetpluginNameServer config

func (*NetpluginNameServer) AddLbService

func (ens *NetpluginNameServer) AddLbService(tenant string, name string, v4name string)

AddLbService adds a LB service in non-multi tenant record

func (*NetpluginNameServer) DelLbService

func (ens *NetpluginNameServer) DelLbService(tenant string, name string)

DelLbService deletes LB service from non-multi tenant record

func (*NetpluginNameServer) Init

func (ens *NetpluginNameServer) Init(sd core.StateDriver) error

Init to start name server

func (*NetpluginNameServer) InspectState

func (ens *NetpluginNameServer) InspectState() (interface{}, error)

InspectState returns state

func (*NetpluginNameServer) NsLookup

func (ens *NetpluginNameServer) NsLookup(nsq []byte, vrfPtr *string) ([]byte, error)

NsLookup returns name record,called from ofnet agent

Jump to

Keyboard shortcuts

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