Documentation
¶
Overview ¶
Binary simple-client is an example VPP management application that exercises the govpp API on real-world use-cases.
Index ¶
- func CreateVhostUserInterface(ch *api.Channel, mode VhostUserMode, socketFile string) (swIfIndex uint32, err error)
- func DeleteVhostUserInterface(ch *api.Channel, swIfIndex uint32) (err error)
- func DumpVhostUser(ch *api.Channel)
- func VhostUserCompatibilityCheck(ch *api.Channel) (err error)
- type VhostUserMode
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 ¶
Attempt to delete a Vhost-User interface.
func DumpVhostUser ¶
Dump the set of existing Vhost-User interfaces to stdout.
func VhostUserCompatibilityCheck ¶
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 )
Click to show internal directories.
Click to hide internal directories.