rpc

package
v0.0.0-...-ac9ef1f Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

lahandler

Index

Constants

View Source
const DBName string = "UsrConfDb.db"

Variables

This section is empty.

Functions

func GetClientPort

func GetClientPort(paramsFile string, c string) int

look up the various other daemons based on c string

Types

type ClientJson

type ClientJson struct {
	Name string `json:Name`
	Port int    `json:Port`
}

type VXLANDServiceHandler

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

func NewVXLANDServiceHandler

func NewVXLANDServiceHandler(server *vxlan.VXLANServer, logger *logging.Writer) *VXLANDServiceHandler

func (*VXLANDServiceHandler) CreateVxlanInstance

func (v *VXLANDServiceHandler) CreateVxlanInstance(config *vxland.VxlanInstance) (bool, error)

func (*VXLANDServiceHandler) CreateVxlanVtepInstance

func (v *VXLANDServiceHandler) CreateVxlanVtepInstance(config *vxland.VxlanVtepInstance) (bool, error)

func (*VXLANDServiceHandler) DeleteVxlanInstance

func (v *VXLANDServiceHandler) DeleteVxlanInstance(config *vxland.VxlanInstance) (bool, error)

func (*VXLANDServiceHandler) DeleteVxlanVtepInstance

func (v *VXLANDServiceHandler) DeleteVxlanVtepInstance(config *vxland.VxlanVtepInstance) (bool, error)

func (*VXLANDServiceHandler) HandleDbReadVxlanInstance

func (v *VXLANDServiceHandler) HandleDbReadVxlanInstance(dbHdl redis.Conn) error

func (*VXLANDServiceHandler) HandleDbReadVxlanVtepInstance

func (v *VXLANDServiceHandler) HandleDbReadVxlanVtepInstance(dbHdl redis.Conn) error

func (*VXLANDServiceHandler) ReadConfigFromDB

func (v *VXLANDServiceHandler) ReadConfigFromDB() error

func (*VXLANDServiceHandler) StartThriftServer

func (v *VXLANDServiceHandler) StartThriftServer()

func (*VXLANDServiceHandler) UpdateVxlanInstance

func (v *VXLANDServiceHandler) UpdateVxlanInstance(origconfig *vxland.VxlanInstance, newconfig *vxland.VxlanInstance, attrset []bool, op []*vxland.PatchOpInfo) (bool, error)

func (*VXLANDServiceHandler) UpdateVxlanVtepInstance

func (v *VXLANDServiceHandler) UpdateVxlanVtepInstance(origconfig *vxland.VxlanVtepInstance, newconfig *vxland.VxlanVtepInstance, attrset []bool, op []*vxland.PatchOpInfo) (bool, error)

Jump to

Keyboard shortcuts

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