binapi

package
v3.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2020 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Versions = map[Version]VersionMsgs{}

Versions is a map of all binapi messages for each supported VPP versions.

Functions

This section is empty.

Types

type CompatibilityChecker

type CompatibilityChecker interface {
	// CheckCompatiblity checks compatibility with given binapi messages.
	CheckCompatiblity(...govppapi.Message) error
}

type MessagesList

type MessagesList []func() []govppapi.Message

MessagesList aggregates multiple funcs that return messages.

func Messages

func Messages(funcs ...func() []govppapi.Message) MessagesList

Messages is used to initialize message list.

func (*MessagesList) Add

func (list *MessagesList) Add(funcs ...func() []govppapi.Message)

Add adds funcs to message list.

func (*MessagesList) AllMessages

func (list *MessagesList) AllMessages() []govppapi.Message

AllMessages returns messages from message list funcs combined.

type Version

type Version string

Version represents VPP version for generated binapi.

func CompatibleVersion

func CompatibleVersion(ch CompatibilityChecker) (Version, error)

type VersionMsgs

type VersionMsgs struct {
	Core    MessagesList
	Plugins MessagesList
}

VersionMsgs contains list of messages in version.

func (*VersionMsgs) AllMessages

func (vc *VersionMsgs) AllMessages() []govppapi.Message

AllMessages returns messages from message list funcs combined.

Directories

Path Synopsis
abf
Package abf is a generated VPP binary API for 'abf' module.
Package abf is a generated VPP binary API for 'abf' module.
acl
Package acl is a generated VPP binary API for 'acl' module.
Package acl is a generated VPP binary API for 'acl' module.
af_packet
Package af_packet is a generated VPP binary API for 'af_packet' module.
Package af_packet is a generated VPP binary API for 'af_packet' module.
bond
Package bond is a generated VPP binary API for 'bond' module.
Package bond is a generated VPP binary API for 'bond' module.
dhcp
Package dhcp is a generated VPP binary API for 'dhcp' module.
Package dhcp is a generated VPP binary API for 'dhcp' module.
gre
Package gre is a generated VPP binary API for 'gre' module.
Package gre is a generated VPP binary API for 'gre' module.
gtpu
Package gtpu is a generated VPP binary API for 'gtpu' module.
Package gtpu is a generated VPP binary API for 'gtpu' module.
interfaces
Package interfaces is a generated VPP binary API for 'interface' module.
Package interfaces is a generated VPP binary API for 'interface' module.
ip
Package ip is a generated VPP binary API for 'ip' module.
Package ip is a generated VPP binary API for 'ip' module.
ipsec
Package ipsec is a generated VPP binary API for 'ipsec' module.
Package ipsec is a generated VPP binary API for 'ipsec' module.
l2
Package l2 is a generated VPP binary API for 'l2' module.
Package l2 is a generated VPP binary API for 'l2' module.
memclnt
Package memclnt is a generated VPP binary API for 'memclnt' module.
Package memclnt is a generated VPP binary API for 'memclnt' module.
memif
Package memif is a generated VPP binary API for 'memif' module.
Package memif is a generated VPP binary API for 'memif' module.
nat
Package nat is a generated VPP binary API for 'nat' module.
Package nat is a generated VPP binary API for 'nat' module.
punt
Package punt is a generated VPP binary API for 'punt' module.
Package punt is a generated VPP binary API for 'punt' module.
span
Package span is a generated VPP binary API for 'span' module.
Package span is a generated VPP binary API for 'span' module.
sr
Package sr is a generated VPP binary API for 'sr' module.
Package sr is a generated VPP binary API for 'sr' module.
stn
Package stn is a generated VPP binary API for 'stn' module.
Package stn is a generated VPP binary API for 'stn' module.
tapv2
Package tapv2 is a generated VPP binary API for 'tapv2' module.
Package tapv2 is a generated VPP binary API for 'tapv2' module.
vmxnet3
Package vmxnet3 is a generated VPP binary API for 'vmxnet3' module.
Package vmxnet3 is a generated VPP binary API for 'vmxnet3' module.
vpe
Package vpe is a generated VPP binary API for 'vpe' module.
Package vpe is a generated VPP binary API for 'vpe' module.
vxlan
Package vxlan is a generated VPP binary API for 'vxlan' module.
Package vxlan is a generated VPP binary API for 'vxlan' module.
vxlan_gpe
Package vxlan_gpe is a generated VPP binary API for 'vxlan_gpe' module.
Package vxlan_gpe is a generated VPP binary API for 'vxlan_gpe' module.
abf
Package abf is a generated VPP binary API for 'abf' module.
Package abf is a generated VPP binary API for 'abf' module.
acl
Package acl is a generated VPP binary API for 'acl' module.
Package acl is a generated VPP binary API for 'acl' module.
af_packet
Package af_packet is a generated VPP binary API for 'af_packet' module.
Package af_packet is a generated VPP binary API for 'af_packet' module.
bond
Package bond is a generated VPP binary API for 'bond' module.
Package bond is a generated VPP binary API for 'bond' module.
dhcp
Package dhcp is a generated VPP binary API for 'dhcp' module.
Package dhcp is a generated VPP binary API for 'dhcp' module.
ethernet_types
Package ethernet_types is a generated VPP binary API for 'ethernet_types' module.
Package ethernet_types is a generated VPP binary API for 'ethernet_types' module.
fib_types
Package fib_types is a generated VPP binary API for 'fib_types' module.
Package fib_types is a generated VPP binary API for 'fib_types' module.
gre
Package gre is a generated VPP binary API for 'gre' module.
Package gre is a generated VPP binary API for 'gre' module.
gtpu
Package gtpu is a generated VPP binary API for 'gtpu' module.
Package gtpu is a generated VPP binary API for 'gtpu' module.
interface_types
Package interface_types is a generated VPP binary API for 'interface_types' module.
Package interface_types is a generated VPP binary API for 'interface_types' module.
interfaces
Package interfaces is a generated VPP binary API for 'interface' module.
Package interfaces is a generated VPP binary API for 'interface' module.
ip
Package ip is a generated VPP binary API for 'ip' module.
Package ip is a generated VPP binary API for 'ip' module.
ip_types
Package ip_types is a generated VPP binary API for 'ip_types' module.
Package ip_types is a generated VPP binary API for 'ip_types' module.
ipsec
Package ipsec is a generated VPP binary API for 'ipsec' module.
Package ipsec is a generated VPP binary API for 'ipsec' module.
l2
Package l2 is a generated VPP binary API for 'l2' module.
Package l2 is a generated VPP binary API for 'l2' module.
l3xc
Package l3xc is a generated VPP binary API for 'l3xc' module.
Package l3xc is a generated VPP binary API for 'l3xc' module.
memclnt
Package memclnt is a generated VPP binary API for 'memclnt' module.
Package memclnt is a generated VPP binary API for 'memclnt' module.
memif
Package memif is a generated VPP binary API for 'memif' module.
Package memif is a generated VPP binary API for 'memif' module.
mfib_types
Package mfib_types is a generated VPP binary API for 'mfib_types' module.
Package mfib_types is a generated VPP binary API for 'mfib_types' module.
nat
Package nat is a generated VPP binary API for 'nat' module.
Package nat is a generated VPP binary API for 'nat' module.
punt
Package punt is a generated VPP binary API for 'punt' module.
Package punt is a generated VPP binary API for 'punt' module.
span
Package span is a generated VPP binary API for 'span' module.
Package span is a generated VPP binary API for 'span' module.
sr
Package sr is a generated VPP binary API for 'sr' module.
Package sr is a generated VPP binary API for 'sr' module.
stn
Package stn is a generated VPP binary API for 'stn' module.
Package stn is a generated VPP binary API for 'stn' module.
tapv2
Package tapv2 is a generated VPP binary API for 'tapv2' module.
Package tapv2 is a generated VPP binary API for 'tapv2' module.
vmxnet3
Package vmxnet3 is a generated VPP binary API for 'vmxnet3' module.
Package vmxnet3 is a generated VPP binary API for 'vmxnet3' module.
vpe
Package vpe is a generated VPP binary API for 'vpe' module.
Package vpe is a generated VPP binary API for 'vpe' module.
vpe_types
Package vpe_types is a generated VPP binary API for 'vpe_types' module.
Package vpe_types is a generated VPP binary API for 'vpe_types' module.
vxlan
Package vxlan is a generated VPP binary API for 'vxlan' module.
Package vxlan is a generated VPP binary API for 'vxlan' module.
vxlan_gpe
Package vxlan_gpe is a generated VPP binary API for 'vxlan_gpe' module.
Package vxlan_gpe is a generated VPP binary API for 'vxlan_gpe' module.
abf
Package abf is a generated VPP binary API for 'abf' module.
Package abf is a generated VPP binary API for 'abf' module.
acl
Package acl is a generated VPP binary API for 'acl' module.
Package acl is a generated VPP binary API for 'acl' module.
af_packet
Package af_packet is a generated VPP binary API for 'af_packet' module.
Package af_packet is a generated VPP binary API for 'af_packet' module.
arp
Package arp is a generated VPP binary API for 'arp' module.
Package arp is a generated VPP binary API for 'arp' module.
bond
Package bond is a generated VPP binary API for 'bond' module.
Package bond is a generated VPP binary API for 'bond' module.
dhcp
Package dhcp is a generated VPP binary API for 'dhcp' module.
Package dhcp is a generated VPP binary API for 'dhcp' module.
ethernet_types
Package ethernet_types is a generated VPP binary API for 'ethernet_types' module.
Package ethernet_types is a generated VPP binary API for 'ethernet_types' module.
fib_types
Package fib_types is a generated VPP binary API for 'fib_types' module.
Package fib_types is a generated VPP binary API for 'fib_types' module.
gre
Package gre is a generated VPP binary API for 'gre' module.
Package gre is a generated VPP binary API for 'gre' module.
gtpu
Package gtpu is a generated VPP binary API for 'gtpu' module.
Package gtpu is a generated VPP binary API for 'gtpu' module.
interface_types
Package interface_types is a generated VPP binary API for 'interface_types' module.
Package interface_types is a generated VPP binary API for 'interface_types' module.
interfaces
Package interfaces is a generated VPP binary API for 'interface' module.
Package interfaces is a generated VPP binary API for 'interface' module.
ip
Package ip is a generated VPP binary API for 'ip' module.
Package ip is a generated VPP binary API for 'ip' module.
ip_neighbor
Package ip_neighbor is a generated VPP binary API for 'ip_neighbor' module.
Package ip_neighbor is a generated VPP binary API for 'ip_neighbor' module.
ip_types
Package ip_types is a generated VPP binary API for 'ip_types' module.
Package ip_types is a generated VPP binary API for 'ip_types' module.
ipsec
Package ipsec is a generated VPP binary API for 'ipsec' module.
Package ipsec is a generated VPP binary API for 'ipsec' module.
ipsec_types
Package ipsec_types is a generated VPP binary API for 'ipsec_types' module.
Package ipsec_types is a generated VPP binary API for 'ipsec_types' module.
l2
Package l2 is a generated VPP binary API for 'l2' module.
Package l2 is a generated VPP binary API for 'l2' module.
l3xc
Package l3xc is a generated VPP binary API for 'l3xc' module.
Package l3xc is a generated VPP binary API for 'l3xc' module.
memclnt
Package memclnt is a generated VPP binary API for 'memclnt' module.
Package memclnt is a generated VPP binary API for 'memclnt' module.
memif
Package memif is a generated VPP binary API for 'memif' module.
Package memif is a generated VPP binary API for 'memif' module.
nat
Package nat is a generated VPP binary API for 'nat' module.
Package nat is a generated VPP binary API for 'nat' module.
punt
Package punt is a generated VPP binary API for 'punt' module.
Package punt is a generated VPP binary API for 'punt' module.
span
Package span is a generated VPP binary API for 'span' module.
Package span is a generated VPP binary API for 'span' module.
sr
Package sr is a generated VPP binary API for 'sr' module.
Package sr is a generated VPP binary API for 'sr' module.
stn
Package stn is a generated VPP binary API for 'stn' module.
Package stn is a generated VPP binary API for 'stn' module.
tapv2
Package tapv2 is a generated VPP binary API for 'tapv2' module.
Package tapv2 is a generated VPP binary API for 'tapv2' module.
vmxnet3
Package vmxnet3 is a generated VPP binary API for 'vmxnet3' module.
Package vmxnet3 is a generated VPP binary API for 'vmxnet3' module.
vpe
Package vpe is a generated VPP binary API for 'vpe' module.
Package vpe is a generated VPP binary API for 'vpe' module.
vpe_types
Package vpe_types is a generated VPP binary API for 'vpe_types' module.
Package vpe_types is a generated VPP binary API for 'vpe_types' module.
vxlan
Package vxlan is a generated VPP binary API for 'vxlan' module.
Package vxlan is a generated VPP binary API for 'vxlan' module.
vxlan_gpe
Package vxlan_gpe is a generated VPP binary API for 'vxlan_gpe' module.
Package vxlan_gpe is a generated VPP binary API for 'vxlan_gpe' module.

Jump to

Keyboard shortcuts

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