bond

package
v2.2.0-alpha+incompatible Latest Latest
Warning

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

Go to latest
Published: May 9, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

 Package bond is a generated from VPP binary API module 'bond'.

 It contains following objects:
	  6 services
	 12 messages

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type BondCreate

type BondCreate struct {
	ID           uint32
	UseCustomMac uint8
	MacAddress   []byte `struc:"[6]byte"`
	Mode         uint8
	Lb           uint8
}

BondCreate represents VPP binary API message 'bond_create':

func (*BondCreate) GetCrcString

func (*BondCreate) GetCrcString() string

func (*BondCreate) GetMessageName

func (*BondCreate) GetMessageName() string

func (*BondCreate) GetMessageType

func (*BondCreate) GetMessageType() api.MessageType

type BondCreateReply

type BondCreateReply struct {
	Retval    int32
	SwIfIndex uint32
}

BondCreateReply represents VPP binary API message 'bond_create_reply':

func (*BondCreateReply) GetCrcString

func (*BondCreateReply) GetCrcString() string

func (*BondCreateReply) GetMessageName

func (*BondCreateReply) GetMessageName() string

func (*BondCreateReply) GetMessageType

func (*BondCreateReply) GetMessageType() api.MessageType

type BondDelete

type BondDelete struct {
	SwIfIndex uint32
}

BondDelete represents VPP binary API message 'bond_delete':

func (*BondDelete) GetCrcString

func (*BondDelete) GetCrcString() string

func (*BondDelete) GetMessageName

func (*BondDelete) GetMessageName() string

func (*BondDelete) GetMessageType

func (*BondDelete) GetMessageType() api.MessageType

type BondDeleteReply

type BondDeleteReply struct {
	Retval int32
}

BondDeleteReply represents VPP binary API message 'bond_delete_reply':

func (*BondDeleteReply) GetCrcString

func (*BondDeleteReply) GetCrcString() string

func (*BondDeleteReply) GetMessageName

func (*BondDeleteReply) GetMessageName() string

func (*BondDeleteReply) GetMessageType

func (*BondDeleteReply) GetMessageType() api.MessageType

type BondDetachSlave

type BondDetachSlave struct {
	SwIfIndex uint32
}

BondDetachSlave represents VPP binary API message 'bond_detach_slave':

func (*BondDetachSlave) GetCrcString

func (*BondDetachSlave) GetCrcString() string

func (*BondDetachSlave) GetMessageName

func (*BondDetachSlave) GetMessageName() string

func (*BondDetachSlave) GetMessageType

func (*BondDetachSlave) GetMessageType() api.MessageType

type BondDetachSlaveReply

type BondDetachSlaveReply struct {
	Retval int32
}

BondDetachSlaveReply represents VPP binary API message 'bond_detach_slave_reply':

func (*BondDetachSlaveReply) GetCrcString

func (*BondDetachSlaveReply) GetCrcString() string

func (*BondDetachSlaveReply) GetMessageName

func (*BondDetachSlaveReply) GetMessageName() string

func (*BondDetachSlaveReply) GetMessageType

func (*BondDetachSlaveReply) GetMessageType() api.MessageType

type BondEnslave

type BondEnslave struct {
	SwIfIndex     uint32
	BondSwIfIndex uint32
	IsPassive     uint8
	IsLongTimeout uint8
}

BondEnslave represents VPP binary API message 'bond_enslave':

func (*BondEnslave) GetCrcString

func (*BondEnslave) GetCrcString() string

func (*BondEnslave) GetMessageName

func (*BondEnslave) GetMessageName() string

func (*BondEnslave) GetMessageType

func (*BondEnslave) GetMessageType() api.MessageType

type BondEnslaveReply

type BondEnslaveReply struct {
	Retval int32
}

BondEnslaveReply represents VPP binary API message 'bond_enslave_reply':

func (*BondEnslaveReply) GetCrcString

func (*BondEnslaveReply) GetCrcString() string

func (*BondEnslaveReply) GetMessageName

func (*BondEnslaveReply) GetMessageName() string

func (*BondEnslaveReply) GetMessageType

func (*BondEnslaveReply) GetMessageType() api.MessageType

type Services

type Services interface {
	DumpSwInterfaceBond(*SwInterfaceBondDump) ([]*SwInterfaceBondDetails, error)
	DumpSwInterfaceSlave(*SwInterfaceSlaveDump) ([]*SwInterfaceSlaveDetails, error)
	BondCreate(*BondCreate) (*BondCreateReply, error)
	BondDelete(*BondDelete) (*BondDeleteReply, error)
	BondDetachSlave(*BondDetachSlave) (*BondDetachSlaveReply, error)
	BondEnslave(*BondEnslave) (*BondEnslaveReply, error)
}

Services represents VPP binary API services:

type SwInterfaceBondDetails

type SwInterfaceBondDetails struct {
	SwIfIndex     uint32
	ID            uint32
	InterfaceName []byte `struc:"[64]byte"`
	Mode          uint8
	Lb            uint8
	ActiveSlaves  uint32
	Slaves        uint32
}

SwInterfaceBondDetails represents VPP binary API message 'sw_interface_bond_details':

func (*SwInterfaceBondDetails) GetCrcString

func (*SwInterfaceBondDetails) GetCrcString() string

func (*SwInterfaceBondDetails) GetMessageName

func (*SwInterfaceBondDetails) GetMessageName() string

func (*SwInterfaceBondDetails) GetMessageType

func (*SwInterfaceBondDetails) GetMessageType() api.MessageType

type SwInterfaceBondDump

type SwInterfaceBondDump struct{}

SwInterfaceBondDump represents VPP binary API message 'sw_interface_bond_dump':

func (*SwInterfaceBondDump) GetCrcString

func (*SwInterfaceBondDump) GetCrcString() string

func (*SwInterfaceBondDump) GetMessageName

func (*SwInterfaceBondDump) GetMessageName() string

func (*SwInterfaceBondDump) GetMessageType

func (*SwInterfaceBondDump) GetMessageType() api.MessageType

type SwInterfaceSlaveDetails

type SwInterfaceSlaveDetails struct {
	SwIfIndex     uint32
	InterfaceName []byte `struc:"[64]byte"`
	IsPassive     uint8
	IsLongTimeout uint8
}

SwInterfaceSlaveDetails represents VPP binary API message 'sw_interface_slave_details':

func (*SwInterfaceSlaveDetails) GetCrcString

func (*SwInterfaceSlaveDetails) GetCrcString() string

func (*SwInterfaceSlaveDetails) GetMessageName

func (*SwInterfaceSlaveDetails) GetMessageName() string

func (*SwInterfaceSlaveDetails) GetMessageType

func (*SwInterfaceSlaveDetails) GetMessageType() api.MessageType

type SwInterfaceSlaveDump

type SwInterfaceSlaveDump struct {
	SwIfIndex uint32
}

SwInterfaceSlaveDump represents VPP binary API message 'sw_interface_slave_dump':

func (*SwInterfaceSlaveDump) GetCrcString

func (*SwInterfaceSlaveDump) GetCrcString() string

func (*SwInterfaceSlaveDump) GetMessageName

func (*SwInterfaceSlaveDump) GetMessageName() string

func (*SwInterfaceSlaveDump) GetMessageType

func (*SwInterfaceSlaveDump) GetMessageType() api.MessageType

Jump to

Keyboard shortcuts

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