vpp1904

package
v2.5.1+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VpeHandler

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

func NewVpeHandler

func NewVpeHandler(ch govppapi.Channel) *VpeHandler

func (*VpeHandler) GetVersionInfo

func (h *VpeHandler) GetVersionInfo() (*vppcalls.VersionInfo, error)

GetVersionInfo retrieves version info

func (*VpeHandler) GetVpeInfo

func (h *VpeHandler) GetVpeInfo() (*vppcalls.VpeInfo, error)

GetVpeInfo retrieves vpe information.

func (*VpeHandler) Ping

func (h *VpeHandler) Ping() error

Ping pings the VPP.

func (*VpeHandler) RunCli

func (h *VpeHandler) RunCli(cmd string) (string, error)

RunCli executes CLI command and returns output

Jump to

Keyboard shortcuts

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