gbp

package
v0.0.0-...-f91f7f2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package gbp is a generated VPP binary API for 'gbp' module.

It consists of:

17 enums
 8 aliases
20 types
 1 union
48 messages
23 services

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "gbp"
	// APIVersion is the API version of this module.
	APIVersion = "2.0.0"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0xa084c6b0
)

Variables

View Source
var AddressFamily_name = map[uint8]string{
	0: "ADDRESS_IP4",
	1: "ADDRESS_IP6",
}
View Source
var AddressFamily_value = map[string]uint8{
	"ADDRESS_IP4": 0,
	"ADDRESS_IP6": 1,
}
View Source
var GbpBridgeDomainFlags_name = map[uint32]string{
	0: "GBP_BD_API_FLAG_NONE",
	1: "GBP_BD_API_FLAG_DO_NOT_LEARN",
	2: "GBP_BD_API_FLAG_UU_FWD_DROP",
	4: "GBP_BD_API_FLAG_MCAST_DROP",
	8: "GBP_BD_API_FLAG_UCAST_ARP",
}
View Source
var GbpBridgeDomainFlags_value = map[string]uint32{
	"GBP_BD_API_FLAG_NONE":         0,
	"GBP_BD_API_FLAG_DO_NOT_LEARN": 1,
	"GBP_BD_API_FLAG_UU_FWD_DROP":  2,
	"GBP_BD_API_FLAG_MCAST_DROP":   4,
	"GBP_BD_API_FLAG_UCAST_ARP":    8,
}
View Source
var GbpEndpointFlags_name = map[uint32]string{
	0: "GBP_API_ENDPOINT_FLAG_NONE",
	1: "GBP_API_ENDPOINT_FLAG_BOUNCE",
	2: "GBP_API_ENDPOINT_FLAG_REMOTE",
	4: "GBP_API_ENDPOINT_FLAG_LEARNT",
	8: "GBP_API_ENDPOINT_FLAG_EXTERNAL",
}
View Source
var GbpEndpointFlags_value = map[string]uint32{
	"GBP_API_ENDPOINT_FLAG_NONE":     0,
	"GBP_API_ENDPOINT_FLAG_BOUNCE":   1,
	"GBP_API_ENDPOINT_FLAG_REMOTE":   2,
	"GBP_API_ENDPOINT_FLAG_LEARNT":   4,
	"GBP_API_ENDPOINT_FLAG_EXTERNAL": 8,
}
View Source
var GbpExtItfFlags_name = map[uint32]string{
	0: "GBP_API_EXT_ITF_F_NONE",
	1: "GBP_API_EXT_ITF_F_ANON",
}
View Source
var GbpExtItfFlags_value = map[string]uint32{
	"GBP_API_EXT_ITF_F_NONE": 0,
	"GBP_API_EXT_ITF_F_ANON": 1,
}
View Source
var GbpHashMode_name = map[uint32]string{
	1: "GBP_API_HASH_MODE_SRC_IP",
	2: "GBP_API_HASH_MODE_DST_IP",
	3: "GBP_API_HASH_MODE_SYMMETRIC",
}
View Source
var GbpHashMode_value = map[string]uint32{
	"GBP_API_HASH_MODE_SRC_IP":    1,
	"GBP_API_HASH_MODE_DST_IP":    2,
	"GBP_API_HASH_MODE_SYMMETRIC": 3,
}
View Source
var GbpRuleAction_name = map[uint32]string{
	1: "GBP_API_RULE_PERMIT",
	2: "GBP_API_RULE_DENY",
	3: "GBP_API_RULE_REDIRECT",
}
View Source
var GbpRuleAction_value = map[string]uint32{
	"GBP_API_RULE_PERMIT":   1,
	"GBP_API_RULE_DENY":     2,
	"GBP_API_RULE_REDIRECT": 3,
}
View Source
var GbpSubnetType_name = map[uint32]string{
	1: "GBP_API_SUBNET_TRANSPORT",
	2: "GBP_API_SUBNET_STITCHED_INTERNAL",
	3: "GBP_API_SUBNET_STITCHED_EXTERNAL",
	4: "GBP_API_SUBNET_L3_OUT",
	5: "GBP_API_SUBNET_ANON_L3_OUT",
}
View Source
var GbpSubnetType_value = map[string]uint32{
	"GBP_API_SUBNET_TRANSPORT":         1,
	"GBP_API_SUBNET_STITCHED_INTERNAL": 2,
	"GBP_API_SUBNET_STITCHED_EXTERNAL": 3,
	"GBP_API_SUBNET_L3_OUT":            4,
	"GBP_API_SUBNET_ANON_L3_OUT":       5,
}
View Source
var GbpVxlanTunnelMode_name = map[uint32]string{
	1: "GBP_VXLAN_TUNNEL_MODE_L2",
	2: "GBP_VXLAN_TUNNEL_MODE_L3",
}
View Source
var GbpVxlanTunnelMode_value = map[string]uint32{
	"GBP_VXLAN_TUNNEL_MODE_L2": 1,
	"GBP_VXLAN_TUNNEL_MODE_L3": 2,
}
View Source
var IPDscp_name = map[uint8]string{
	0:  "IP_API_DSCP_CS0",
	8:  "IP_API_DSCP_CS1",
	10: "IP_API_DSCP_AF11",
	12: "IP_API_DSCP_AF12",
	14: "IP_API_DSCP_AF13",
	16: "IP_API_DSCP_CS2",
	18: "IP_API_DSCP_AF21",
	20: "IP_API_DSCP_AF22",
	22: "IP_API_DSCP_AF23",
	24: "IP_API_DSCP_CS3",
	26: "IP_API_DSCP_AF31",
	28: "IP_API_DSCP_AF32",
	30: "IP_API_DSCP_AF33",
	32: "IP_API_DSCP_CS4",
	34: "IP_API_DSCP_AF41",
	36: "IP_API_DSCP_AF42",
	38: "IP_API_DSCP_AF43",
	40: "IP_API_DSCP_CS5",
	46: "IP_API_DSCP_EF",
	48: "IP_API_DSCP_CS6",
	50: "IP_API_DSCP_CS7",
}
View Source
var IPDscp_value = map[string]uint8{
	"IP_API_DSCP_CS0":  0,
	"IP_API_DSCP_CS1":  8,
	"IP_API_DSCP_AF11": 10,
	"IP_API_DSCP_AF12": 12,
	"IP_API_DSCP_AF13": 14,
	"IP_API_DSCP_CS2":  16,
	"IP_API_DSCP_AF21": 18,
	"IP_API_DSCP_AF22": 20,
	"IP_API_DSCP_AF23": 22,
	"IP_API_DSCP_CS3":  24,
	"IP_API_DSCP_AF31": 26,
	"IP_API_DSCP_AF32": 28,
	"IP_API_DSCP_AF33": 30,
	"IP_API_DSCP_CS4":  32,
	"IP_API_DSCP_AF41": 34,
	"IP_API_DSCP_AF42": 36,
	"IP_API_DSCP_AF43": 38,
	"IP_API_DSCP_CS5":  40,
	"IP_API_DSCP_EF":   46,
	"IP_API_DSCP_CS6":  48,
	"IP_API_DSCP_CS7":  50,
}
View Source
var IPEcn_name = map[uint8]string{
	0: "IP_API_ECN_NONE",
	1: "IP_API_ECN_ECT0",
	2: "IP_API_ECN_ECT1",
	3: "IP_API_ECN_CE",
}
View Source
var IPEcn_value = map[string]uint8{
	"IP_API_ECN_NONE": 0,
	"IP_API_ECN_ECT0": 1,
	"IP_API_ECN_ECT1": 2,
	"IP_API_ECN_CE":   3,
}
View Source
var IPProto_name = map[uint8]string{
	0:   "IP_API_PROTO_HOPOPT",
	1:   "IP_API_PROTO_ICMP",
	2:   "IP_API_PROTO_IGMP",
	6:   "IP_API_PROTO_TCP",
	17:  "IP_API_PROTO_UDP",
	47:  "IP_API_PROTO_GRE",
	50:  "IP_API_PROTO_ESP",
	51:  "IP_API_PROTO_AH",
	58:  "IP_API_PROTO_ICMP6",
	88:  "IP_API_PROTO_EIGRP",
	89:  "IP_API_PROTO_OSPF",
	132: "IP_API_PROTO_SCTP",
	255: "IP_API_PROTO_RESERVED",
}
View Source
var IPProto_value = map[string]uint8{
	"IP_API_PROTO_HOPOPT":   0,
	"IP_API_PROTO_ICMP":     1,
	"IP_API_PROTO_IGMP":     2,
	"IP_API_PROTO_TCP":      6,
	"IP_API_PROTO_UDP":      17,
	"IP_API_PROTO_GRE":      47,
	"IP_API_PROTO_ESP":      50,
	"IP_API_PROTO_AH":       51,
	"IP_API_PROTO_ICMP6":    58,
	"IP_API_PROTO_EIGRP":    88,
	"IP_API_PROTO_OSPF":     89,
	"IP_API_PROTO_SCTP":     132,
	"IP_API_PROTO_RESERVED": 255,
}
View Source
var IfStatusFlags_name = map[uint32]string{
	1: "IF_STATUS_API_FLAG_ADMIN_UP",
	2: "IF_STATUS_API_FLAG_LINK_UP",
}
View Source
var IfStatusFlags_value = map[string]uint32{
	"IF_STATUS_API_FLAG_ADMIN_UP": 1,
	"IF_STATUS_API_FLAG_LINK_UP":  2,
}
View Source
var IfType_name = map[uint32]string{
	0: "IF_API_TYPE_HARDWARE",
	1: "IF_API_TYPE_SUB",
	2: "IF_API_TYPE_P2P",
	3: "IF_API_TYPE_PIPE",
}
View Source
var IfType_value = map[string]uint32{
	"IF_API_TYPE_HARDWARE": 0,
	"IF_API_TYPE_SUB":      1,
	"IF_API_TYPE_P2P":      2,
	"IF_API_TYPE_PIPE":     3,
}
View Source
var LinkDuplex_name = map[uint32]string{
	0: "LINK_DUPLEX_API_UNKNOWN",
	1: "LINK_DUPLEX_API_HALF",
	2: "LINK_DUPLEX_API_FULL",
}
View Source
var LinkDuplex_value = map[string]uint32{
	"LINK_DUPLEX_API_UNKNOWN": 0,
	"LINK_DUPLEX_API_HALF":    1,
	"LINK_DUPLEX_API_FULL":    2,
}
View Source
var MtuProto_name = map[uint32]string{
	0: "MTU_PROTO_API_L3",
	1: "MTU_PROTO_API_IP4",
	2: "MTU_PROTO_API_IP6",
	3: "MTU_PROTO_API_MPLS",
}
View Source
var MtuProto_value = map[string]uint32{
	"MTU_PROTO_API_L3":   0,
	"MTU_PROTO_API_IP4":  1,
	"MTU_PROTO_API_IP6":  2,
	"MTU_PROTO_API_MPLS": 3,
}
View Source
var RxMode_name = map[uint32]string{
	0: "RX_MODE_API_UNKNOWN",
	1: "RX_MODE_API_POLLING",
	2: "RX_MODE_API_INTERRUPT",
	3: "RX_MODE_API_ADAPTIVE",
	4: "RX_MODE_API_DEFAULT",
}
View Source
var RxMode_value = map[string]uint32{
	"RX_MODE_API_UNKNOWN":   0,
	"RX_MODE_API_POLLING":   1,
	"RX_MODE_API_INTERRUPT": 2,
	"RX_MODE_API_ADAPTIVE":  3,
	"RX_MODE_API_DEFAULT":   4,
}
View Source
var SubIfFlags_name = map[uint32]string{
	1:   "SUB_IF_API_FLAG_NO_TAGS",
	2:   "SUB_IF_API_FLAG_ONE_TAG",
	4:   "SUB_IF_API_FLAG_TWO_TAGS",
	8:   "SUB_IF_API_FLAG_DOT1AD",
	16:  "SUB_IF_API_FLAG_EXACT_MATCH",
	32:  "SUB_IF_API_FLAG_DEFAULT",
	64:  "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
	128: "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
	254: "SUB_IF_API_FLAG_MASK_VNET",
	256: "SUB_IF_API_FLAG_DOT1AH",
}
View Source
var SubIfFlags_value = map[string]uint32{
	"SUB_IF_API_FLAG_NO_TAGS":           1,
	"SUB_IF_API_FLAG_ONE_TAG":           2,
	"SUB_IF_API_FLAG_TWO_TAGS":          4,
	"SUB_IF_API_FLAG_DOT1AD":            8,
	"SUB_IF_API_FLAG_EXACT_MATCH":       16,
	"SUB_IF_API_FLAG_DEFAULT":           32,
	"SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY": 64,
	"SUB_IF_API_FLAG_INNER_VLAN_ID_ANY": 128,
	"SUB_IF_API_FLAG_MASK_VNET":         254,
	"SUB_IF_API_FLAG_DOT1AH":            256,
}

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type Address

type Address struct {
	Af AddressFamily
	Un AddressUnion
}

Address represents VPP binary API type 'address'.

func (*Address) GetTypeName

func (*Address) GetTypeName() string

type AddressFamily

type AddressFamily uint8

AddressFamily represents VPP binary API enum 'address_family'.

const (
	ADDRESS_IP4 AddressFamily = 0
	ADDRESS_IP6 AddressFamily = 1
)

func (AddressFamily) String

func (x AddressFamily) String() string

type AddressUnion

type AddressUnion struct {
	XXX_UnionData [16]byte
}

AddressUnion represents VPP binary API union 'address_union'.

func AddressUnionIP4

func AddressUnionIP4(a IP4Address) (u AddressUnion)

func AddressUnionIP6

func AddressUnionIP6(a IP6Address) (u AddressUnion)

func (*AddressUnion) GetIP4

func (u *AddressUnion) GetIP4() (a IP4Address)

func (*AddressUnion) GetIP6

func (u *AddressUnion) GetIP6() (a IP6Address)

func (*AddressUnion) GetTypeName

func (*AddressUnion) GetTypeName() string

func (*AddressUnion) SetIP4

func (u *AddressUnion) SetIP4(a IP4Address)

func (*AddressUnion) SetIP6

func (u *AddressUnion) SetIP6(a IP6Address)

type AddressWithPrefix

type AddressWithPrefix Prefix

AddressWithPrefix represents VPP binary API alias 'address_with_prefix'.

type GbpBridgeDomain

type GbpBridgeDomain struct {
	BdID             uint32
	RdID             uint32
	Flags            GbpBridgeDomainFlags
	BviSwIfIndex     InterfaceIndex
	UuFwdSwIfIndex   InterfaceIndex
	BmFloodSwIfIndex InterfaceIndex
}

GbpBridgeDomain represents VPP binary API type 'gbp_bridge_domain'.

func (*GbpBridgeDomain) GetTypeName

func (*GbpBridgeDomain) GetTypeName() string

type GbpBridgeDomainAdd

type GbpBridgeDomainAdd struct {
	Bd GbpBridgeDomain
}

GbpBridgeDomainAdd represents VPP binary API message 'gbp_bridge_domain_add'.

func (*GbpBridgeDomainAdd) GetCrcString

func (*GbpBridgeDomainAdd) GetCrcString() string

func (*GbpBridgeDomainAdd) GetMessageName

func (*GbpBridgeDomainAdd) GetMessageName() string

func (*GbpBridgeDomainAdd) GetMessageType

func (*GbpBridgeDomainAdd) GetMessageType() api.MessageType

func (*GbpBridgeDomainAdd) Reset

func (m *GbpBridgeDomainAdd) Reset()

type GbpBridgeDomainAddReply

type GbpBridgeDomainAddReply struct {
	Retval int32
}

GbpBridgeDomainAddReply represents VPP binary API message 'gbp_bridge_domain_add_reply'.

func (*GbpBridgeDomainAddReply) GetCrcString

func (*GbpBridgeDomainAddReply) GetCrcString() string

func (*GbpBridgeDomainAddReply) GetMessageName

func (*GbpBridgeDomainAddReply) GetMessageName() string

func (*GbpBridgeDomainAddReply) GetMessageType

func (*GbpBridgeDomainAddReply) GetMessageType() api.MessageType

func (*GbpBridgeDomainAddReply) Reset

func (m *GbpBridgeDomainAddReply) Reset()

type GbpBridgeDomainDel

type GbpBridgeDomainDel struct {
	BdID uint32
}

GbpBridgeDomainDel represents VPP binary API message 'gbp_bridge_domain_del'.

func (*GbpBridgeDomainDel) GetCrcString

func (*GbpBridgeDomainDel) GetCrcString() string

func (*GbpBridgeDomainDel) GetMessageName

func (*GbpBridgeDomainDel) GetMessageName() string

func (*GbpBridgeDomainDel) GetMessageType

func (*GbpBridgeDomainDel) GetMessageType() api.MessageType

func (*GbpBridgeDomainDel) Reset

func (m *GbpBridgeDomainDel) Reset()

type GbpBridgeDomainDelReply

type GbpBridgeDomainDelReply struct {
	Retval int32
}

GbpBridgeDomainDelReply represents VPP binary API message 'gbp_bridge_domain_del_reply'.

func (*GbpBridgeDomainDelReply) GetCrcString

func (*GbpBridgeDomainDelReply) GetCrcString() string

func (*GbpBridgeDomainDelReply) GetMessageName

func (*GbpBridgeDomainDelReply) GetMessageName() string

func (*GbpBridgeDomainDelReply) GetMessageType

func (*GbpBridgeDomainDelReply) GetMessageType() api.MessageType

func (*GbpBridgeDomainDelReply) Reset

func (m *GbpBridgeDomainDelReply) Reset()

type GbpBridgeDomainDetails

type GbpBridgeDomainDetails struct {
	Bd GbpBridgeDomain
}

GbpBridgeDomainDetails represents VPP binary API message 'gbp_bridge_domain_details'.

func (*GbpBridgeDomainDetails) GetCrcString

func (*GbpBridgeDomainDetails) GetCrcString() string

func (*GbpBridgeDomainDetails) GetMessageName

func (*GbpBridgeDomainDetails) GetMessageName() string

func (*GbpBridgeDomainDetails) GetMessageType

func (*GbpBridgeDomainDetails) GetMessageType() api.MessageType

func (*GbpBridgeDomainDetails) Reset

func (m *GbpBridgeDomainDetails) Reset()

type GbpBridgeDomainDump

type GbpBridgeDomainDump struct{}

GbpBridgeDomainDump represents VPP binary API message 'gbp_bridge_domain_dump'.

func (*GbpBridgeDomainDump) GetCrcString

func (*GbpBridgeDomainDump) GetCrcString() string

func (*GbpBridgeDomainDump) GetMessageName

func (*GbpBridgeDomainDump) GetMessageName() string

func (*GbpBridgeDomainDump) GetMessageType

func (*GbpBridgeDomainDump) GetMessageType() api.MessageType

func (*GbpBridgeDomainDump) Reset

func (m *GbpBridgeDomainDump) Reset()

type GbpBridgeDomainDumpReply

type GbpBridgeDomainDumpReply struct {
	Retval int32
}

GbpBridgeDomainDumpReply represents VPP binary API message 'gbp_bridge_domain_dump_reply'.

func (*GbpBridgeDomainDumpReply) GetCrcString

func (*GbpBridgeDomainDumpReply) GetCrcString() string

func (*GbpBridgeDomainDumpReply) GetMessageName

func (*GbpBridgeDomainDumpReply) GetMessageName() string

func (*GbpBridgeDomainDumpReply) GetMessageType

func (*GbpBridgeDomainDumpReply) GetMessageType() api.MessageType

func (*GbpBridgeDomainDumpReply) Reset

func (m *GbpBridgeDomainDumpReply) Reset()

type GbpBridgeDomainFlags

type GbpBridgeDomainFlags uint32

GbpBridgeDomainFlags represents VPP binary API enum 'gbp_bridge_domain_flags'.

const (
	GBP_BD_API_FLAG_NONE         GbpBridgeDomainFlags = 0
	GBP_BD_API_FLAG_DO_NOT_LEARN GbpBridgeDomainFlags = 1
	GBP_BD_API_FLAG_UU_FWD_DROP  GbpBridgeDomainFlags = 2
	GBP_BD_API_FLAG_MCAST_DROP   GbpBridgeDomainFlags = 4
	GBP_BD_API_FLAG_UCAST_ARP    GbpBridgeDomainFlags = 8
)

func (GbpBridgeDomainFlags) String

func (x GbpBridgeDomainFlags) String() string

type GbpContract

type GbpContract struct {
	Scope             GbpScope
	Sclass            uint16
	Dclass            uint16
	ACLIndex          uint32
	NEtherTypes       uint8
	AllowedEthertypes []uint16 `struc:"[16]uint16"`
	NRules            uint8    `struc:"sizeof=Rules"`
	Rules             []GbpRule
}

GbpContract represents VPP binary API type 'gbp_contract'.

func (*GbpContract) GetTypeName

func (*GbpContract) GetTypeName() string

type GbpContractAddDel

type GbpContractAddDel struct {
	IsAdd    bool
	Contract GbpContract
}

GbpContractAddDel represents VPP binary API message 'gbp_contract_add_del'.

func (*GbpContractAddDel) GetCrcString

func (*GbpContractAddDel) GetCrcString() string

func (*GbpContractAddDel) GetMessageName

func (*GbpContractAddDel) GetMessageName() string

func (*GbpContractAddDel) GetMessageType

func (*GbpContractAddDel) GetMessageType() api.MessageType

func (*GbpContractAddDel) Reset

func (m *GbpContractAddDel) Reset()

type GbpContractAddDelReply

type GbpContractAddDelReply struct {
	Retval     int32
	StatsIndex uint32
}

GbpContractAddDelReply represents VPP binary API message 'gbp_contract_add_del_reply'.

func (*GbpContractAddDelReply) GetCrcString

func (*GbpContractAddDelReply) GetCrcString() string

func (*GbpContractAddDelReply) GetMessageName

func (*GbpContractAddDelReply) GetMessageName() string

func (*GbpContractAddDelReply) GetMessageType

func (*GbpContractAddDelReply) GetMessageType() api.MessageType

func (*GbpContractAddDelReply) Reset

func (m *GbpContractAddDelReply) Reset()

type GbpContractDetails

type GbpContractDetails struct {
	Contract GbpContract
}

GbpContractDetails represents VPP binary API message 'gbp_contract_details'.

func (*GbpContractDetails) GetCrcString

func (*GbpContractDetails) GetCrcString() string

func (*GbpContractDetails) GetMessageName

func (*GbpContractDetails) GetMessageName() string

func (*GbpContractDetails) GetMessageType

func (*GbpContractDetails) GetMessageType() api.MessageType

func (*GbpContractDetails) Reset

func (m *GbpContractDetails) Reset()

type GbpContractDump

type GbpContractDump struct{}

GbpContractDump represents VPP binary API message 'gbp_contract_dump'.

func (*GbpContractDump) GetCrcString

func (*GbpContractDump) GetCrcString() string

func (*GbpContractDump) GetMessageName

func (*GbpContractDump) GetMessageName() string

func (*GbpContractDump) GetMessageType

func (*GbpContractDump) GetMessageType() api.MessageType

func (*GbpContractDump) Reset

func (m *GbpContractDump) Reset()

type GbpEndpoint

type GbpEndpoint struct {
	SwIfIndex InterfaceIndex
	Sclass    uint16
	Flags     GbpEndpointFlags
	Mac       MacAddress
	Tun       GbpEndpointTun
	NIps      uint8 `struc:"sizeof=Ips"`
	Ips       []Address
}

GbpEndpoint represents VPP binary API type 'gbp_endpoint'.

func (*GbpEndpoint) GetTypeName

func (*GbpEndpoint) GetTypeName() string

type GbpEndpointAdd

type GbpEndpointAdd struct {
	Endpoint GbpEndpoint
}

GbpEndpointAdd represents VPP binary API message 'gbp_endpoint_add'.

func (*GbpEndpointAdd) GetCrcString

func (*GbpEndpointAdd) GetCrcString() string

func (*GbpEndpointAdd) GetMessageName

func (*GbpEndpointAdd) GetMessageName() string

func (*GbpEndpointAdd) GetMessageType

func (*GbpEndpointAdd) GetMessageType() api.MessageType

func (*GbpEndpointAdd) Reset

func (m *GbpEndpointAdd) Reset()

type GbpEndpointAddReply

type GbpEndpointAddReply struct {
	Retval int32
	Handle uint32
}

GbpEndpointAddReply represents VPP binary API message 'gbp_endpoint_add_reply'.

func (*GbpEndpointAddReply) GetCrcString

func (*GbpEndpointAddReply) GetCrcString() string

func (*GbpEndpointAddReply) GetMessageName

func (*GbpEndpointAddReply) GetMessageName() string

func (*GbpEndpointAddReply) GetMessageType

func (*GbpEndpointAddReply) GetMessageType() api.MessageType

func (*GbpEndpointAddReply) Reset

func (m *GbpEndpointAddReply) Reset()

type GbpEndpointDel

type GbpEndpointDel struct {
	Handle uint32
}

GbpEndpointDel represents VPP binary API message 'gbp_endpoint_del'.

func (*GbpEndpointDel) GetCrcString

func (*GbpEndpointDel) GetCrcString() string

func (*GbpEndpointDel) GetMessageName

func (*GbpEndpointDel) GetMessageName() string

func (*GbpEndpointDel) GetMessageType

func (*GbpEndpointDel) GetMessageType() api.MessageType

func (*GbpEndpointDel) Reset

func (m *GbpEndpointDel) Reset()

type GbpEndpointDelReply

type GbpEndpointDelReply struct {
	Retval int32
}

GbpEndpointDelReply represents VPP binary API message 'gbp_endpoint_del_reply'.

func (*GbpEndpointDelReply) GetCrcString

func (*GbpEndpointDelReply) GetCrcString() string

func (*GbpEndpointDelReply) GetMessageName

func (*GbpEndpointDelReply) GetMessageName() string

func (*GbpEndpointDelReply) GetMessageType

func (*GbpEndpointDelReply) GetMessageType() api.MessageType

func (*GbpEndpointDelReply) Reset

func (m *GbpEndpointDelReply) Reset()

type GbpEndpointDetails

type GbpEndpointDetails struct {
	Age      float64
	Handle   uint32
	Endpoint GbpEndpoint
}

GbpEndpointDetails represents VPP binary API message 'gbp_endpoint_details'.

func (*GbpEndpointDetails) GetCrcString

func (*GbpEndpointDetails) GetCrcString() string

func (*GbpEndpointDetails) GetMessageName

func (*GbpEndpointDetails) GetMessageName() string

func (*GbpEndpointDetails) GetMessageType

func (*GbpEndpointDetails) GetMessageType() api.MessageType

func (*GbpEndpointDetails) Reset

func (m *GbpEndpointDetails) Reset()

type GbpEndpointDump

type GbpEndpointDump struct{}

GbpEndpointDump represents VPP binary API message 'gbp_endpoint_dump'.

func (*GbpEndpointDump) GetCrcString

func (*GbpEndpointDump) GetCrcString() string

func (*GbpEndpointDump) GetMessageName

func (*GbpEndpointDump) GetMessageName() string

func (*GbpEndpointDump) GetMessageType

func (*GbpEndpointDump) GetMessageType() api.MessageType

func (*GbpEndpointDump) Reset

func (m *GbpEndpointDump) Reset()

type GbpEndpointFlags

type GbpEndpointFlags uint32

GbpEndpointFlags represents VPP binary API enum 'gbp_endpoint_flags'.

const (
	GBP_API_ENDPOINT_FLAG_NONE     GbpEndpointFlags = 0
	GBP_API_ENDPOINT_FLAG_BOUNCE   GbpEndpointFlags = 1
	GBP_API_ENDPOINT_FLAG_REMOTE   GbpEndpointFlags = 2
	GBP_API_ENDPOINT_FLAG_LEARNT   GbpEndpointFlags = 4
	GBP_API_ENDPOINT_FLAG_EXTERNAL GbpEndpointFlags = 8
)

func (GbpEndpointFlags) String

func (x GbpEndpointFlags) String() string

type GbpEndpointGroup

type GbpEndpointGroup struct {
	Vnid            uint32
	Sclass          uint16
	BdID            uint32
	RdID            uint32
	UplinkSwIfIndex InterfaceIndex
	Retention       GbpEndpointRetention
}

GbpEndpointGroup represents VPP binary API type 'gbp_endpoint_group'.

func (*GbpEndpointGroup) GetTypeName

func (*GbpEndpointGroup) GetTypeName() string

type GbpEndpointGroupAdd

type GbpEndpointGroupAdd struct {
	Epg GbpEndpointGroup
}

GbpEndpointGroupAdd represents VPP binary API message 'gbp_endpoint_group_add'.

func (*GbpEndpointGroupAdd) GetCrcString

func (*GbpEndpointGroupAdd) GetCrcString() string

func (*GbpEndpointGroupAdd) GetMessageName

func (*GbpEndpointGroupAdd) GetMessageName() string

func (*GbpEndpointGroupAdd) GetMessageType

func (*GbpEndpointGroupAdd) GetMessageType() api.MessageType

func (*GbpEndpointGroupAdd) Reset

func (m *GbpEndpointGroupAdd) Reset()

type GbpEndpointGroupAddReply

type GbpEndpointGroupAddReply struct {
	Retval int32
}

GbpEndpointGroupAddReply represents VPP binary API message 'gbp_endpoint_group_add_reply'.

func (*GbpEndpointGroupAddReply) GetCrcString

func (*GbpEndpointGroupAddReply) GetCrcString() string

func (*GbpEndpointGroupAddReply) GetMessageName

func (*GbpEndpointGroupAddReply) GetMessageName() string

func (*GbpEndpointGroupAddReply) GetMessageType

func (*GbpEndpointGroupAddReply) GetMessageType() api.MessageType

func (*GbpEndpointGroupAddReply) Reset

func (m *GbpEndpointGroupAddReply) Reset()

type GbpEndpointGroupDel

type GbpEndpointGroupDel struct {
	Sclass uint16
}

GbpEndpointGroupDel represents VPP binary API message 'gbp_endpoint_group_del'.

func (*GbpEndpointGroupDel) GetCrcString

func (*GbpEndpointGroupDel) GetCrcString() string

func (*GbpEndpointGroupDel) GetMessageName

func (*GbpEndpointGroupDel) GetMessageName() string

func (*GbpEndpointGroupDel) GetMessageType

func (*GbpEndpointGroupDel) GetMessageType() api.MessageType

func (*GbpEndpointGroupDel) Reset

func (m *GbpEndpointGroupDel) Reset()

type GbpEndpointGroupDelReply

type GbpEndpointGroupDelReply struct {
	Retval int32
}

GbpEndpointGroupDelReply represents VPP binary API message 'gbp_endpoint_group_del_reply'.

func (*GbpEndpointGroupDelReply) GetCrcString

func (*GbpEndpointGroupDelReply) GetCrcString() string

func (*GbpEndpointGroupDelReply) GetMessageName

func (*GbpEndpointGroupDelReply) GetMessageName() string

func (*GbpEndpointGroupDelReply) GetMessageType

func (*GbpEndpointGroupDelReply) GetMessageType() api.MessageType

func (*GbpEndpointGroupDelReply) Reset

func (m *GbpEndpointGroupDelReply) Reset()

type GbpEndpointGroupDetails

type GbpEndpointGroupDetails struct {
	Epg GbpEndpointGroup
}

GbpEndpointGroupDetails represents VPP binary API message 'gbp_endpoint_group_details'.

func (*GbpEndpointGroupDetails) GetCrcString

func (*GbpEndpointGroupDetails) GetCrcString() string

func (*GbpEndpointGroupDetails) GetMessageName

func (*GbpEndpointGroupDetails) GetMessageName() string

func (*GbpEndpointGroupDetails) GetMessageType

func (*GbpEndpointGroupDetails) GetMessageType() api.MessageType

func (*GbpEndpointGroupDetails) Reset

func (m *GbpEndpointGroupDetails) Reset()

type GbpEndpointGroupDump

type GbpEndpointGroupDump struct{}

GbpEndpointGroupDump represents VPP binary API message 'gbp_endpoint_group_dump'.

func (*GbpEndpointGroupDump) GetCrcString

func (*GbpEndpointGroupDump) GetCrcString() string

func (*GbpEndpointGroupDump) GetMessageName

func (*GbpEndpointGroupDump) GetMessageName() string

func (*GbpEndpointGroupDump) GetMessageType

func (*GbpEndpointGroupDump) GetMessageType() api.MessageType

func (*GbpEndpointGroupDump) Reset

func (m *GbpEndpointGroupDump) Reset()

type GbpEndpointRetention

type GbpEndpointRetention struct {
	RemoteEpTimeout uint32
}

GbpEndpointRetention represents VPP binary API type 'gbp_endpoint_retention'.

func (*GbpEndpointRetention) GetTypeName

func (*GbpEndpointRetention) GetTypeName() string

type GbpEndpointTun

type GbpEndpointTun struct {
	Src Address
	Dst Address
}

GbpEndpointTun represents VPP binary API type 'gbp_endpoint_tun'.

func (*GbpEndpointTun) GetTypeName

func (*GbpEndpointTun) GetTypeName() string

type GbpExtItf

type GbpExtItf struct {
	SwIfIndex InterfaceIndex
	BdID      uint32
	RdID      uint32
	Flags     GbpExtItfFlags
}

GbpExtItf represents VPP binary API type 'gbp_ext_itf'.

func (*GbpExtItf) GetTypeName

func (*GbpExtItf) GetTypeName() string

type GbpExtItfAddDel

type GbpExtItfAddDel struct {
	IsAdd  bool
	ExtItf GbpExtItf
}

GbpExtItfAddDel represents VPP binary API message 'gbp_ext_itf_add_del'.

func (*GbpExtItfAddDel) GetCrcString

func (*GbpExtItfAddDel) GetCrcString() string

func (*GbpExtItfAddDel) GetMessageName

func (*GbpExtItfAddDel) GetMessageName() string

func (*GbpExtItfAddDel) GetMessageType

func (*GbpExtItfAddDel) GetMessageType() api.MessageType

func (*GbpExtItfAddDel) Reset

func (m *GbpExtItfAddDel) Reset()

type GbpExtItfAddDelReply

type GbpExtItfAddDelReply struct {
	Retval int32
}

GbpExtItfAddDelReply represents VPP binary API message 'gbp_ext_itf_add_del_reply'.

func (*GbpExtItfAddDelReply) GetCrcString

func (*GbpExtItfAddDelReply) GetCrcString() string

func (*GbpExtItfAddDelReply) GetMessageName

func (*GbpExtItfAddDelReply) GetMessageName() string

func (*GbpExtItfAddDelReply) GetMessageType

func (*GbpExtItfAddDelReply) GetMessageType() api.MessageType

func (*GbpExtItfAddDelReply) Reset

func (m *GbpExtItfAddDelReply) Reset()

type GbpExtItfDetails

type GbpExtItfDetails struct {
	ExtItf GbpExtItf
}

GbpExtItfDetails represents VPP binary API message 'gbp_ext_itf_details'.

func (*GbpExtItfDetails) GetCrcString

func (*GbpExtItfDetails) GetCrcString() string

func (*GbpExtItfDetails) GetMessageName

func (*GbpExtItfDetails) GetMessageName() string

func (*GbpExtItfDetails) GetMessageType

func (*GbpExtItfDetails) GetMessageType() api.MessageType

func (*GbpExtItfDetails) Reset

func (m *GbpExtItfDetails) Reset()

type GbpExtItfDump

type GbpExtItfDump struct{}

GbpExtItfDump represents VPP binary API message 'gbp_ext_itf_dump'.

func (*GbpExtItfDump) GetCrcString

func (*GbpExtItfDump) GetCrcString() string

func (*GbpExtItfDump) GetMessageName

func (*GbpExtItfDump) GetMessageName() string

func (*GbpExtItfDump) GetMessageType

func (*GbpExtItfDump) GetMessageType() api.MessageType

func (*GbpExtItfDump) Reset

func (m *GbpExtItfDump) Reset()

type GbpExtItfFlags

type GbpExtItfFlags uint32

GbpExtItfFlags represents VPP binary API enum 'gbp_ext_itf_flags'.

const (
	GBP_API_EXT_ITF_F_NONE GbpExtItfFlags = 0
	GBP_API_EXT_ITF_F_ANON GbpExtItfFlags = 1
)

func (GbpExtItfFlags) String

func (x GbpExtItfFlags) String() string

type GbpHashMode

type GbpHashMode uint32

GbpHashMode represents VPP binary API enum 'gbp_hash_mode'.

const (
	GBP_API_HASH_MODE_SRC_IP    GbpHashMode = 1
	GBP_API_HASH_MODE_DST_IP    GbpHashMode = 2
	GBP_API_HASH_MODE_SYMMETRIC GbpHashMode = 3
)

func (GbpHashMode) String

func (x GbpHashMode) String() string

type GbpNextHop

type GbpNextHop struct {
	IP   Address
	Mac  MacAddress
	BdID uint32
	RdID uint32
}

GbpNextHop represents VPP binary API type 'gbp_next_hop'.

func (*GbpNextHop) GetTypeName

func (*GbpNextHop) GetTypeName() string

type GbpNextHopSet

type GbpNextHopSet struct {
	HashMode GbpHashMode
	NNhs     uint8
	Nhs      []GbpNextHop `struc:"[8]GbpNextHop"`
}

GbpNextHopSet represents VPP binary API type 'gbp_next_hop_set'.

func (*GbpNextHopSet) GetTypeName

func (*GbpNextHopSet) GetTypeName() string

type GbpRecirc

type GbpRecirc struct {
	SwIfIndex InterfaceIndex
	Sclass    uint16
	IsExt     bool
}

GbpRecirc represents VPP binary API type 'gbp_recirc'.

func (*GbpRecirc) GetTypeName

func (*GbpRecirc) GetTypeName() string

type GbpRecircAddDel

type GbpRecircAddDel struct {
	IsAdd  bool
	Recirc GbpRecirc
}

GbpRecircAddDel represents VPP binary API message 'gbp_recirc_add_del'.

func (*GbpRecircAddDel) GetCrcString

func (*GbpRecircAddDel) GetCrcString() string

func (*GbpRecircAddDel) GetMessageName

func (*GbpRecircAddDel) GetMessageName() string

func (*GbpRecircAddDel) GetMessageType

func (*GbpRecircAddDel) GetMessageType() api.MessageType

func (*GbpRecircAddDel) Reset

func (m *GbpRecircAddDel) Reset()

type GbpRecircAddDelReply

type GbpRecircAddDelReply struct {
	Retval int32
}

GbpRecircAddDelReply represents VPP binary API message 'gbp_recirc_add_del_reply'.

func (*GbpRecircAddDelReply) GetCrcString

func (*GbpRecircAddDelReply) GetCrcString() string

func (*GbpRecircAddDelReply) GetMessageName

func (*GbpRecircAddDelReply) GetMessageName() string

func (*GbpRecircAddDelReply) GetMessageType

func (*GbpRecircAddDelReply) GetMessageType() api.MessageType

func (*GbpRecircAddDelReply) Reset

func (m *GbpRecircAddDelReply) Reset()

type GbpRecircDetails

type GbpRecircDetails struct {
	Recirc GbpRecirc
}

GbpRecircDetails represents VPP binary API message 'gbp_recirc_details'.

func (*GbpRecircDetails) GetCrcString

func (*GbpRecircDetails) GetCrcString() string

func (*GbpRecircDetails) GetMessageName

func (*GbpRecircDetails) GetMessageName() string

func (*GbpRecircDetails) GetMessageType

func (*GbpRecircDetails) GetMessageType() api.MessageType

func (*GbpRecircDetails) Reset

func (m *GbpRecircDetails) Reset()

type GbpRecircDump

type GbpRecircDump struct{}

GbpRecircDump represents VPP binary API message 'gbp_recirc_dump'.

func (*GbpRecircDump) GetCrcString

func (*GbpRecircDump) GetCrcString() string

func (*GbpRecircDump) GetMessageName

func (*GbpRecircDump) GetMessageName() string

func (*GbpRecircDump) GetMessageType

func (*GbpRecircDump) GetMessageType() api.MessageType

func (*GbpRecircDump) Reset

func (m *GbpRecircDump) Reset()

type GbpRouteDomain

type GbpRouteDomain struct {
	RdID           uint32
	IP4TableID     uint32
	IP6TableID     uint32
	IP4UuSwIfIndex InterfaceIndex
	IP6UuSwIfIndex InterfaceIndex
	Scope          GbpScope
}

GbpRouteDomain represents VPP binary API type 'gbp_route_domain'.

func (*GbpRouteDomain) GetTypeName

func (*GbpRouteDomain) GetTypeName() string

type GbpRouteDomainAdd

type GbpRouteDomainAdd struct {
	Rd GbpRouteDomain
}

GbpRouteDomainAdd represents VPP binary API message 'gbp_route_domain_add'.

func (*GbpRouteDomainAdd) GetCrcString

func (*GbpRouteDomainAdd) GetCrcString() string

func (*GbpRouteDomainAdd) GetMessageName

func (*GbpRouteDomainAdd) GetMessageName() string

func (*GbpRouteDomainAdd) GetMessageType

func (*GbpRouteDomainAdd) GetMessageType() api.MessageType

func (*GbpRouteDomainAdd) Reset

func (m *GbpRouteDomainAdd) Reset()

type GbpRouteDomainAddReply

type GbpRouteDomainAddReply struct {
	Retval int32
}

GbpRouteDomainAddReply represents VPP binary API message 'gbp_route_domain_add_reply'.

func (*GbpRouteDomainAddReply) GetCrcString

func (*GbpRouteDomainAddReply) GetCrcString() string

func (*GbpRouteDomainAddReply) GetMessageName

func (*GbpRouteDomainAddReply) GetMessageName() string

func (*GbpRouteDomainAddReply) GetMessageType

func (*GbpRouteDomainAddReply) GetMessageType() api.MessageType

func (*GbpRouteDomainAddReply) Reset

func (m *GbpRouteDomainAddReply) Reset()

type GbpRouteDomainDel

type GbpRouteDomainDel struct {
	RdID uint32
}

GbpRouteDomainDel represents VPP binary API message 'gbp_route_domain_del'.

func (*GbpRouteDomainDel) GetCrcString

func (*GbpRouteDomainDel) GetCrcString() string

func (*GbpRouteDomainDel) GetMessageName

func (*GbpRouteDomainDel) GetMessageName() string

func (*GbpRouteDomainDel) GetMessageType

func (*GbpRouteDomainDel) GetMessageType() api.MessageType

func (*GbpRouteDomainDel) Reset

func (m *GbpRouteDomainDel) Reset()

type GbpRouteDomainDelReply

type GbpRouteDomainDelReply struct {
	Retval int32
}

GbpRouteDomainDelReply represents VPP binary API message 'gbp_route_domain_del_reply'.

func (*GbpRouteDomainDelReply) GetCrcString

func (*GbpRouteDomainDelReply) GetCrcString() string

func (*GbpRouteDomainDelReply) GetMessageName

func (*GbpRouteDomainDelReply) GetMessageName() string

func (*GbpRouteDomainDelReply) GetMessageType

func (*GbpRouteDomainDelReply) GetMessageType() api.MessageType

func (*GbpRouteDomainDelReply) Reset

func (m *GbpRouteDomainDelReply) Reset()

type GbpRouteDomainDetails

type GbpRouteDomainDetails struct {
	Rd GbpRouteDomain
}

GbpRouteDomainDetails represents VPP binary API message 'gbp_route_domain_details'.

func (*GbpRouteDomainDetails) GetCrcString

func (*GbpRouteDomainDetails) GetCrcString() string

func (*GbpRouteDomainDetails) GetMessageName

func (*GbpRouteDomainDetails) GetMessageName() string

func (*GbpRouteDomainDetails) GetMessageType

func (*GbpRouteDomainDetails) GetMessageType() api.MessageType

func (*GbpRouteDomainDetails) Reset

func (m *GbpRouteDomainDetails) Reset()

type GbpRouteDomainDump

type GbpRouteDomainDump struct{}

GbpRouteDomainDump represents VPP binary API message 'gbp_route_domain_dump'.

func (*GbpRouteDomainDump) GetCrcString

func (*GbpRouteDomainDump) GetCrcString() string

func (*GbpRouteDomainDump) GetMessageName

func (*GbpRouteDomainDump) GetMessageName() string

func (*GbpRouteDomainDump) GetMessageType

func (*GbpRouteDomainDump) GetMessageType() api.MessageType

func (*GbpRouteDomainDump) Reset

func (m *GbpRouteDomainDump) Reset()

type GbpRouteDomainDumpReply

type GbpRouteDomainDumpReply struct {
	Retval int32
}

GbpRouteDomainDumpReply represents VPP binary API message 'gbp_route_domain_dump_reply'.

func (*GbpRouteDomainDumpReply) GetCrcString

func (*GbpRouteDomainDumpReply) GetCrcString() string

func (*GbpRouteDomainDumpReply) GetMessageName

func (*GbpRouteDomainDumpReply) GetMessageName() string

func (*GbpRouteDomainDumpReply) GetMessageType

func (*GbpRouteDomainDumpReply) GetMessageType() api.MessageType

func (*GbpRouteDomainDumpReply) Reset

func (m *GbpRouteDomainDumpReply) Reset()

type GbpRule

type GbpRule struct {
	Action GbpRuleAction
	NhSet  GbpNextHopSet
}

GbpRule represents VPP binary API type 'gbp_rule'.

func (*GbpRule) GetTypeName

func (*GbpRule) GetTypeName() string

type GbpRuleAction

type GbpRuleAction uint32

GbpRuleAction represents VPP binary API enum 'gbp_rule_action'.

const (
	GBP_API_RULE_PERMIT   GbpRuleAction = 1
	GBP_API_RULE_DENY     GbpRuleAction = 2
	GBP_API_RULE_REDIRECT GbpRuleAction = 3
)

func (GbpRuleAction) String

func (x GbpRuleAction) String() string

type GbpScope

type GbpScope uint16

GbpScope represents VPP binary API alias 'gbp_scope'.

type GbpSubnet

type GbpSubnet struct {
	RdID      uint32
	SwIfIndex InterfaceIndex
	Sclass    uint16
	Type      GbpSubnetType
	Prefix    Prefix
}

GbpSubnet represents VPP binary API type 'gbp_subnet'.

func (*GbpSubnet) GetTypeName

func (*GbpSubnet) GetTypeName() string

type GbpSubnetAddDel

type GbpSubnetAddDel struct {
	IsAdd  bool
	Subnet GbpSubnet
}

GbpSubnetAddDel represents VPP binary API message 'gbp_subnet_add_del'.

func (*GbpSubnetAddDel) GetCrcString

func (*GbpSubnetAddDel) GetCrcString() string

func (*GbpSubnetAddDel) GetMessageName

func (*GbpSubnetAddDel) GetMessageName() string

func (*GbpSubnetAddDel) GetMessageType

func (*GbpSubnetAddDel) GetMessageType() api.MessageType

func (*GbpSubnetAddDel) Reset

func (m *GbpSubnetAddDel) Reset()

type GbpSubnetAddDelReply

type GbpSubnetAddDelReply struct {
	Retval int32
}

GbpSubnetAddDelReply represents VPP binary API message 'gbp_subnet_add_del_reply'.

func (*GbpSubnetAddDelReply) GetCrcString

func (*GbpSubnetAddDelReply) GetCrcString() string

func (*GbpSubnetAddDelReply) GetMessageName

func (*GbpSubnetAddDelReply) GetMessageName() string

func (*GbpSubnetAddDelReply) GetMessageType

func (*GbpSubnetAddDelReply) GetMessageType() api.MessageType

func (*GbpSubnetAddDelReply) Reset

func (m *GbpSubnetAddDelReply) Reset()

type GbpSubnetDetails

type GbpSubnetDetails struct {
	Subnet GbpSubnet
}

GbpSubnetDetails represents VPP binary API message 'gbp_subnet_details'.

func (*GbpSubnetDetails) GetCrcString

func (*GbpSubnetDetails) GetCrcString() string

func (*GbpSubnetDetails) GetMessageName

func (*GbpSubnetDetails) GetMessageName() string

func (*GbpSubnetDetails) GetMessageType

func (*GbpSubnetDetails) GetMessageType() api.MessageType

func (*GbpSubnetDetails) Reset

func (m *GbpSubnetDetails) Reset()

type GbpSubnetDump

type GbpSubnetDump struct{}

GbpSubnetDump represents VPP binary API message 'gbp_subnet_dump'.

func (*GbpSubnetDump) GetCrcString

func (*GbpSubnetDump) GetCrcString() string

func (*GbpSubnetDump) GetMessageName

func (*GbpSubnetDump) GetMessageName() string

func (*GbpSubnetDump) GetMessageType

func (*GbpSubnetDump) GetMessageType() api.MessageType

func (*GbpSubnetDump) Reset

func (m *GbpSubnetDump) Reset()

type GbpSubnetType

type GbpSubnetType uint32

GbpSubnetType represents VPP binary API enum 'gbp_subnet_type'.

const (
	GBP_API_SUBNET_TRANSPORT         GbpSubnetType = 1
	GBP_API_SUBNET_STITCHED_INTERNAL GbpSubnetType = 2
	GBP_API_SUBNET_STITCHED_EXTERNAL GbpSubnetType = 3
	GBP_API_SUBNET_L3_OUT            GbpSubnetType = 4
	GBP_API_SUBNET_ANON_L3_OUT       GbpSubnetType = 5
)

func (GbpSubnetType) String

func (x GbpSubnetType) String() string

type GbpVxlanTunnel

type GbpVxlanTunnel struct {
	Vni    uint32
	Mode   GbpVxlanTunnelMode
	BdRdID uint32
	Src    IP4Address
}

GbpVxlanTunnel represents VPP binary API type 'gbp_vxlan_tunnel'.

func (*GbpVxlanTunnel) GetTypeName

func (*GbpVxlanTunnel) GetTypeName() string

type GbpVxlanTunnelAdd

type GbpVxlanTunnelAdd struct {
	Tunnel GbpVxlanTunnel
}

GbpVxlanTunnelAdd represents VPP binary API message 'gbp_vxlan_tunnel_add'.

func (*GbpVxlanTunnelAdd) GetCrcString

func (*GbpVxlanTunnelAdd) GetCrcString() string

func (*GbpVxlanTunnelAdd) GetMessageName

func (*GbpVxlanTunnelAdd) GetMessageName() string

func (*GbpVxlanTunnelAdd) GetMessageType

func (*GbpVxlanTunnelAdd) GetMessageType() api.MessageType

func (*GbpVxlanTunnelAdd) Reset

func (m *GbpVxlanTunnelAdd) Reset()

type GbpVxlanTunnelAddReply

type GbpVxlanTunnelAddReply struct {
	Retval    int32
	SwIfIndex InterfaceIndex
}

GbpVxlanTunnelAddReply represents VPP binary API message 'gbp_vxlan_tunnel_add_reply'.

func (*GbpVxlanTunnelAddReply) GetCrcString

func (*GbpVxlanTunnelAddReply) GetCrcString() string

func (*GbpVxlanTunnelAddReply) GetMessageName

func (*GbpVxlanTunnelAddReply) GetMessageName() string

func (*GbpVxlanTunnelAddReply) GetMessageType

func (*GbpVxlanTunnelAddReply) GetMessageType() api.MessageType

func (*GbpVxlanTunnelAddReply) Reset

func (m *GbpVxlanTunnelAddReply) Reset()

type GbpVxlanTunnelDel

type GbpVxlanTunnelDel struct {
	Vni uint32
}

GbpVxlanTunnelDel represents VPP binary API message 'gbp_vxlan_tunnel_del'.

func (*GbpVxlanTunnelDel) GetCrcString

func (*GbpVxlanTunnelDel) GetCrcString() string

func (*GbpVxlanTunnelDel) GetMessageName

func (*GbpVxlanTunnelDel) GetMessageName() string

func (*GbpVxlanTunnelDel) GetMessageType

func (*GbpVxlanTunnelDel) GetMessageType() api.MessageType

func (*GbpVxlanTunnelDel) Reset

func (m *GbpVxlanTunnelDel) Reset()

type GbpVxlanTunnelDelReply

type GbpVxlanTunnelDelReply struct {
	Retval int32
}

GbpVxlanTunnelDelReply represents VPP binary API message 'gbp_vxlan_tunnel_del_reply'.

func (*GbpVxlanTunnelDelReply) GetCrcString

func (*GbpVxlanTunnelDelReply) GetCrcString() string

func (*GbpVxlanTunnelDelReply) GetMessageName

func (*GbpVxlanTunnelDelReply) GetMessageName() string

func (*GbpVxlanTunnelDelReply) GetMessageType

func (*GbpVxlanTunnelDelReply) GetMessageType() api.MessageType

func (*GbpVxlanTunnelDelReply) Reset

func (m *GbpVxlanTunnelDelReply) Reset()

type GbpVxlanTunnelDetails

type GbpVxlanTunnelDetails struct {
	Tunnel GbpVxlanTunnel
}

GbpVxlanTunnelDetails represents VPP binary API message 'gbp_vxlan_tunnel_details'.

func (*GbpVxlanTunnelDetails) GetCrcString

func (*GbpVxlanTunnelDetails) GetCrcString() string

func (*GbpVxlanTunnelDetails) GetMessageName

func (*GbpVxlanTunnelDetails) GetMessageName() string

func (*GbpVxlanTunnelDetails) GetMessageType

func (*GbpVxlanTunnelDetails) GetMessageType() api.MessageType

func (*GbpVxlanTunnelDetails) Reset

func (m *GbpVxlanTunnelDetails) Reset()

type GbpVxlanTunnelDump

type GbpVxlanTunnelDump struct{}

GbpVxlanTunnelDump represents VPP binary API message 'gbp_vxlan_tunnel_dump'.

func (*GbpVxlanTunnelDump) GetCrcString

func (*GbpVxlanTunnelDump) GetCrcString() string

func (*GbpVxlanTunnelDump) GetMessageName

func (*GbpVxlanTunnelDump) GetMessageName() string

func (*GbpVxlanTunnelDump) GetMessageType

func (*GbpVxlanTunnelDump) GetMessageType() api.MessageType

func (*GbpVxlanTunnelDump) Reset

func (m *GbpVxlanTunnelDump) Reset()

type GbpVxlanTunnelMode

type GbpVxlanTunnelMode uint32

GbpVxlanTunnelMode represents VPP binary API enum 'gbp_vxlan_tunnel_mode'.

const (
	GBP_VXLAN_TUNNEL_MODE_L2 GbpVxlanTunnelMode = 1
	GBP_VXLAN_TUNNEL_MODE_L3 GbpVxlanTunnelMode = 2
)

func (GbpVxlanTunnelMode) String

func (x GbpVxlanTunnelMode) String() string

type IP4Address

type IP4Address [4]uint8

IP4Address represents VPP binary API alias 'ip4_address'.

type IP4AddressWithPrefix

type IP4AddressWithPrefix IP4Prefix

IP4AddressWithPrefix represents VPP binary API alias 'ip4_address_with_prefix'.

type IP4Prefix

type IP4Prefix struct {
	Address IP4Address
	Len     uint8
}

IP4Prefix represents VPP binary API type 'ip4_prefix'.

func (*IP4Prefix) GetTypeName

func (*IP4Prefix) GetTypeName() string

type IP6Address

type IP6Address [16]uint8

IP6Address represents VPP binary API alias 'ip6_address'.

type IP6AddressWithPrefix

type IP6AddressWithPrefix IP6Prefix

IP6AddressWithPrefix represents VPP binary API alias 'ip6_address_with_prefix'.

type IP6Prefix

type IP6Prefix struct {
	Address IP6Address
	Len     uint8
}

IP6Prefix represents VPP binary API type 'ip6_prefix'.

func (*IP6Prefix) GetTypeName

func (*IP6Prefix) GetTypeName() string

type IPDscp

type IPDscp uint8

IPDscp represents VPP binary API enum 'ip_dscp'.

const (
	IP_API_DSCP_CS0  IPDscp = 0
	IP_API_DSCP_CS1  IPDscp = 8
	IP_API_DSCP_AF11 IPDscp = 10
	IP_API_DSCP_AF12 IPDscp = 12
	IP_API_DSCP_AF13 IPDscp = 14
	IP_API_DSCP_CS2  IPDscp = 16
	IP_API_DSCP_AF21 IPDscp = 18
	IP_API_DSCP_AF22 IPDscp = 20
	IP_API_DSCP_AF23 IPDscp = 22
	IP_API_DSCP_CS3  IPDscp = 24
	IP_API_DSCP_AF31 IPDscp = 26
	IP_API_DSCP_AF32 IPDscp = 28
	IP_API_DSCP_AF33 IPDscp = 30
	IP_API_DSCP_CS4  IPDscp = 32
	IP_API_DSCP_AF41 IPDscp = 34
	IP_API_DSCP_AF42 IPDscp = 36
	IP_API_DSCP_AF43 IPDscp = 38
	IP_API_DSCP_CS5  IPDscp = 40
	IP_API_DSCP_EF   IPDscp = 46
	IP_API_DSCP_CS6  IPDscp = 48
	IP_API_DSCP_CS7  IPDscp = 50
)

func (IPDscp) String

func (x IPDscp) String() string

type IPEcn

type IPEcn uint8

IPEcn represents VPP binary API enum 'ip_ecn'.

const (
	IP_API_ECN_NONE IPEcn = 0
	IP_API_ECN_ECT0 IPEcn = 1
	IP_API_ECN_ECT1 IPEcn = 2
	IP_API_ECN_CE   IPEcn = 3
)

func (IPEcn) String

func (x IPEcn) String() string

type IPProto

type IPProto uint8

IPProto represents VPP binary API enum 'ip_proto'.

const (
	IP_API_PROTO_HOPOPT   IPProto = 0
	IP_API_PROTO_ICMP     IPProto = 1
	IP_API_PROTO_IGMP     IPProto = 2
	IP_API_PROTO_TCP      IPProto = 6
	IP_API_PROTO_UDP      IPProto = 17
	IP_API_PROTO_GRE      IPProto = 47
	IP_API_PROTO_ESP      IPProto = 50
	IP_API_PROTO_AH       IPProto = 51
	IP_API_PROTO_ICMP6    IPProto = 58
	IP_API_PROTO_EIGRP    IPProto = 88
	IP_API_PROTO_OSPF     IPProto = 89
	IP_API_PROTO_SCTP     IPProto = 132
	IP_API_PROTO_RESERVED IPProto = 255
)

func (IPProto) String

func (x IPProto) String() string

type IfStatusFlags

type IfStatusFlags uint32

IfStatusFlags represents VPP binary API enum 'if_status_flags'.

const (
	IF_STATUS_API_FLAG_ADMIN_UP IfStatusFlags = 1
	IF_STATUS_API_FLAG_LINK_UP  IfStatusFlags = 2
)

func (IfStatusFlags) String

func (x IfStatusFlags) String() string

type IfType

type IfType uint32

IfType represents VPP binary API enum 'if_type'.

const (
	IF_API_TYPE_HARDWARE IfType = 0
	IF_API_TYPE_SUB      IfType = 1
	IF_API_TYPE_P2P      IfType = 2
	IF_API_TYPE_PIPE     IfType = 3
)

func (IfType) String

func (x IfType) String() string

type InterfaceIndex

type InterfaceIndex uint32

InterfaceIndex represents VPP binary API alias 'interface_index'.

type LinkDuplex

type LinkDuplex uint32

LinkDuplex represents VPP binary API enum 'link_duplex'.

const (
	LINK_DUPLEX_API_UNKNOWN LinkDuplex = 0
	LINK_DUPLEX_API_HALF    LinkDuplex = 1
	LINK_DUPLEX_API_FULL    LinkDuplex = 2
)

func (LinkDuplex) String

func (x LinkDuplex) String() string

type MacAddress

type MacAddress [6]uint8

MacAddress represents VPP binary API alias 'mac_address'.

type Mprefix

type Mprefix struct {
	Af               AddressFamily
	GrpAddressLength uint16
	GrpAddress       AddressUnion
	SrcAddress       AddressUnion
}

Mprefix represents VPP binary API type 'mprefix'.

func (*Mprefix) GetTypeName

func (*Mprefix) GetTypeName() string

type MtuProto

type MtuProto uint32

MtuProto represents VPP binary API enum 'mtu_proto'.

const (
	MTU_PROTO_API_L3   MtuProto = 0
	MTU_PROTO_API_IP4  MtuProto = 1
	MTU_PROTO_API_IP6  MtuProto = 2
	MTU_PROTO_API_MPLS MtuProto = 3
)

func (MtuProto) String

func (x MtuProto) String() string

type Prefix

type Prefix struct {
	Address Address
	Len     uint8
}

Prefix represents VPP binary API type 'prefix'.

func (*Prefix) GetTypeName

func (*Prefix) GetTypeName() string

type PrefixMatcher

type PrefixMatcher struct {
	Le uint8
	Ge uint8
}

PrefixMatcher represents VPP binary API type 'prefix_matcher'.

func (*PrefixMatcher) GetTypeName

func (*PrefixMatcher) GetTypeName() string

type RPCService

type RPCService interface {
	DumpGbpBridgeDomain(ctx context.Context, in *GbpBridgeDomainDump) (RPCService_DumpGbpBridgeDomainClient, error)
	DumpGbpContract(ctx context.Context, in *GbpContractDump) (RPCService_DumpGbpContractClient, error)
	DumpGbpEndpoint(ctx context.Context, in *GbpEndpointDump) (RPCService_DumpGbpEndpointClient, error)
	DumpGbpEndpointGroup(ctx context.Context, in *GbpEndpointGroupDump) (RPCService_DumpGbpEndpointGroupClient, error)
	DumpGbpExtItf(ctx context.Context, in *GbpExtItfDump) (RPCService_DumpGbpExtItfClient, error)
	DumpGbpRecirc(ctx context.Context, in *GbpRecircDump) (RPCService_DumpGbpRecircClient, error)
	DumpGbpRouteDomain(ctx context.Context, in *GbpRouteDomainDump) (RPCService_DumpGbpRouteDomainClient, error)
	DumpGbpSubnet(ctx context.Context, in *GbpSubnetDump) (RPCService_DumpGbpSubnetClient, error)
	DumpGbpVxlanTunnel(ctx context.Context, in *GbpVxlanTunnelDump) (RPCService_DumpGbpVxlanTunnelClient, error)
	GbpBridgeDomainAdd(ctx context.Context, in *GbpBridgeDomainAdd) (*GbpBridgeDomainAddReply, error)
	GbpBridgeDomainDel(ctx context.Context, in *GbpBridgeDomainDel) (*GbpBridgeDomainDelReply, error)
	GbpContractAddDel(ctx context.Context, in *GbpContractAddDel) (*GbpContractAddDelReply, error)
	GbpEndpointAdd(ctx context.Context, in *GbpEndpointAdd) (*GbpEndpointAddReply, error)
	GbpEndpointDel(ctx context.Context, in *GbpEndpointDel) (*GbpEndpointDelReply, error)
	GbpEndpointGroupAdd(ctx context.Context, in *GbpEndpointGroupAdd) (*GbpEndpointGroupAddReply, error)
	GbpEndpointGroupDel(ctx context.Context, in *GbpEndpointGroupDel) (*GbpEndpointGroupDelReply, error)
	GbpExtItfAddDel(ctx context.Context, in *GbpExtItfAddDel) (*GbpExtItfAddDelReply, error)
	GbpRecircAddDel(ctx context.Context, in *GbpRecircAddDel) (*GbpRecircAddDelReply, error)
	GbpRouteDomainAdd(ctx context.Context, in *GbpRouteDomainAdd) (*GbpRouteDomainAddReply, error)
	GbpRouteDomainDel(ctx context.Context, in *GbpRouteDomainDel) (*GbpRouteDomainDelReply, error)
	GbpSubnetAddDel(ctx context.Context, in *GbpSubnetAddDel) (*GbpSubnetAddDelReply, error)
	GbpVxlanTunnelAdd(ctx context.Context, in *GbpVxlanTunnelAdd) (*GbpVxlanTunnelAddReply, error)
	GbpVxlanTunnelDel(ctx context.Context, in *GbpVxlanTunnelDel) (*GbpVxlanTunnelDelReply, error)
}

RPCService represents RPC service API for gbp module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

type RPCService_DumpGbpBridgeDomainClient

type RPCService_DumpGbpBridgeDomainClient interface {
	Recv() (*GbpBridgeDomainDetails, error)
}

type RPCService_DumpGbpContractClient

type RPCService_DumpGbpContractClient interface {
	Recv() (*GbpContractDetails, error)
}

type RPCService_DumpGbpEndpointClient

type RPCService_DumpGbpEndpointClient interface {
	Recv() (*GbpEndpointDetails, error)
}

type RPCService_DumpGbpEndpointGroupClient

type RPCService_DumpGbpEndpointGroupClient interface {
	Recv() (*GbpEndpointGroupDetails, error)
}

type RPCService_DumpGbpExtItfClient

type RPCService_DumpGbpExtItfClient interface {
	Recv() (*GbpExtItfDetails, error)
}

type RPCService_DumpGbpRecircClient

type RPCService_DumpGbpRecircClient interface {
	Recv() (*GbpRecircDetails, error)
}

type RPCService_DumpGbpRouteDomainClient

type RPCService_DumpGbpRouteDomainClient interface {
	Recv() (*GbpRouteDomainDetails, error)
}

type RPCService_DumpGbpSubnetClient

type RPCService_DumpGbpSubnetClient interface {
	Recv() (*GbpSubnetDetails, error)
}

type RPCService_DumpGbpVxlanTunnelClient

type RPCService_DumpGbpVxlanTunnelClient interface {
	Recv() (*GbpVxlanTunnelDetails, error)
}

type RxMode

type RxMode uint32

RxMode represents VPP binary API enum 'rx_mode'.

const (
	RX_MODE_API_UNKNOWN   RxMode = 0
	RX_MODE_API_POLLING   RxMode = 1
	RX_MODE_API_INTERRUPT RxMode = 2
	RX_MODE_API_ADAPTIVE  RxMode = 3
	RX_MODE_API_DEFAULT   RxMode = 4
)

func (RxMode) String

func (x RxMode) String() string

type SubIfFlags

type SubIfFlags uint32

SubIfFlags represents VPP binary API enum 'sub_if_flags'.

const (
	SUB_IF_API_FLAG_NO_TAGS           SubIfFlags = 1
	SUB_IF_API_FLAG_ONE_TAG           SubIfFlags = 2
	SUB_IF_API_FLAG_TWO_TAGS          SubIfFlags = 4
	SUB_IF_API_FLAG_DOT1AD            SubIfFlags = 8
	SUB_IF_API_FLAG_EXACT_MATCH       SubIfFlags = 16
	SUB_IF_API_FLAG_DEFAULT           SubIfFlags = 32
	SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY SubIfFlags = 64
	SUB_IF_API_FLAG_INNER_VLAN_ID_ANY SubIfFlags = 128
	SUB_IF_API_FLAG_MASK_VNET         SubIfFlags = 254
	SUB_IF_API_FLAG_DOT1AH            SubIfFlags = 256
)

func (SubIfFlags) String

func (x SubIfFlags) String() string

Jump to

Keyboard shortcuts

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