vppvhostuser

package
v0.0.0-...-b15e717 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2018 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Overview

Binary simple-client is an example VPP management application that exercises the govpp API on real-world use-cases.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateVhostUserInterface

func CreateVhostUserInterface(ch *api.Channel, mode VhostUserMode, socketFile string) (swIfIndex uint32, err error)

Attempt to create a Vhost-User Interface. Input:

ch *api.Channel
mode VhostUserMode - ModeClient or ModeServer
socketFile string - Directory and Filename of socket file

func DeleteVhostUserInterface

func DeleteVhostUserInterface(ch *api.Channel, swIfIndex uint32) (err error)

Attempt to delete a Vhost-User interface.

func DumpVhostUser

func DumpVhostUser(ch *api.Channel)

Dump the set of existing Vhost-User interfaces to stdout.

func VhostUserCompatibilityCheck

func VhostUserCompatibilityCheck(ch *api.Channel) (err error)

Check whether generated API messages are compatible with the version of VPP which the library is connected to.

Types

type VhostUserMode

type VhostUserMode uint8
const (
	ModeClient VhostUserMode = 0
	ModeServer VhostUserMode = 1
)

Jump to

Keyboard shortcuts

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