tools

package
v0.0.0-...-dc22ae2 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInterfaceStat

func GetInterfaceStat(ns string) (map[string]netlink.LinkOperState, error)

Types

type OvsdbHandler

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

func NewOvsdbHandler

func NewOvsdbHandler() *OvsdbHandler

Create a new OVS driver

func (*OvsdbHandler) Disconnected

func (self *OvsdbHandler) Disconnected(ovsClient *libovsdb.OvsdbClient)

func (*OvsdbHandler) Echo

func (self *OvsdbHandler) Echo([]interface{})

func (*OvsdbHandler) GetInterfaces

func (self *OvsdbHandler) GetInterfaces() []*ovs.OvsPortInfo

get the ovsdb's interface info

func (*OvsdbHandler) Locked

func (self *OvsdbHandler) Locked([]interface{})

func (*OvsdbHandler) Stolen

func (self *OvsdbHandler) Stolen([]interface{})

func (*OvsdbHandler) Update

func (self *OvsdbHandler) Update(context interface{}, tableUpdates libovsdb.TableUpdates)

************************ Notification handler for OVS DB changes ****************

Jump to

Keyboard shortcuts

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