Documentation ¶
Overview ¶
Binary simple-client is an example VPP management application that exercises the govpp API on real-world use-cases.
Index ¶
- func CreateMemifInterface(ch *api.Channel, socketId uint32, role MemifRole, mode MemifMode) (swIfIndex uint32, err error)
- func CreateMemifSocket(ch *api.Channel, socketFile string) (socketId uint32, err error)
- func DeleteMemifInterface(ch *api.Channel, swIfIndex uint32) (err error)
- func DeleteMemifSocket(ch *api.Channel, socketId uint32) (err error)
- func DumpMemif(ch *api.Channel)
- func DumpMemifSocket(ch *api.Channel)
- func MemifCompatibilityCheck(ch *api.Channel) (err error)
- type MemifMode
- type MemifRole
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMemifInterface ¶
func CreateMemifInterface(ch *api.Channel, socketId uint32, role MemifRole, mode MemifMode) (swIfIndex uint32, err error)
Attempt to create a MemIf Interface. Input:
ch *api.Channel socketId uint32 role MemifRole - RoleMaster or RoleSlave
func CreateMemifSocket ¶
API to Create the MemIf Socketfile.
func DeleteMemifInterface ¶
Attempt to delete a memif interface. If the deleted MemIf Interface is the last interface associated with a socketfile, this function will attempt to delete it.
func DeleteMemifSocket ¶
API to Delete the MemIf Socketfile.
func DumpMemifSocket ¶
Dump the set of existing memif socketfiles to stdout.
func MemifCompatibilityCheck ¶
Check whether generated API messages are compatible with the version of VPP which the library is connected to.
Types ¶
Click to show internal directories.
Click to hide internal directories.