vrrp

package
v3.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package vrrp contains generated bindings for API file vrrp.api.

Contents: - 2 enums - 5 structs - 17 messages

Index

Constants

View Source
const (
	APIFile    = "vrrp"
	APIVersion = "1.0.1"
	VersionCrc = 0x6a3c71cd
)

Variables

View Source
var (
	VrrpVrFlags_name = map[uint32]string{
		1: "VRRP_API_VR_PREEMPT",
		2: "VRRP_API_VR_ACCEPT",
		4: "VRRP_API_VR_UNICAST",
		8: "VRRP_API_VR_IPV6",
	}
	VrrpVrFlags_value = map[string]uint32{
		"VRRP_API_VR_PREEMPT": 1,
		"VRRP_API_VR_ACCEPT":  2,
		"VRRP_API_VR_UNICAST": 4,
		"VRRP_API_VR_IPV6":    8,
	}
)
View Source
var (
	VrrpVrState_name = map[uint32]string{
		0: "VRRP_API_VR_STATE_INIT",
		1: "VRRP_API_VR_STATE_BACKUP",
		2: "VRRP_API_VR_STATE_MASTER",
		3: "VRRP_API_VR_STATE_INTF_DOWN",
	}
	VrrpVrState_value = map[string]uint32{
		"VRRP_API_VR_STATE_INIT":      0,
		"VRRP_API_VR_STATE_BACKUP":    1,
		"VRRP_API_VR_STATE_MASTER":    2,
		"VRRP_API_VR_STATE_INTF_DOWN": 3,
	}
)

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type RPCService

RPCService defines RPC service vrrp.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

type RPCService_VrrpVrDumpClient

type RPCService_VrrpVrDumpClient interface {
	Recv() (*VrrpVrDetails, error)
	api.Stream
}

type RPCService_VrrpVrPeerDumpClient

type RPCService_VrrpVrPeerDumpClient interface {
	Recv() (*VrrpVrPeerDetails, error)
	api.Stream
}

type RPCService_VrrpVrTrackIfDumpClient

type RPCService_VrrpVrTrackIfDumpClient interface {
	Recv() (*VrrpVrTrackIfDetails, error)
	api.Stream
}

type VrrpVrAddDel

type VrrpVrAddDel struct {
	IsAdd     uint8                          `binapi:"u8,name=is_add" json:"is_add,omitempty"`
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	VrID      uint8                          `binapi:"u8,name=vr_id" json:"vr_id,omitempty"`
	Priority  uint8                          `binapi:"u8,name=priority" json:"priority,omitempty"`
	Interval  uint16                         `binapi:"u16,name=interval" json:"interval,omitempty"`
	Flags     VrrpVrFlags                    `binapi:"vrrp_vr_flags,name=flags" json:"flags,omitempty"`
	NAddrs    uint8                          `binapi:"u8,name=n_addrs" json:"-"`
	Addrs     []ip_types.Address             `binapi:"address[n_addrs],name=addrs" json:"addrs,omitempty"`
}

VrrpVrAddDel defines message 'vrrp_vr_add_del'.

func (*VrrpVrAddDel) GetCrcString

func (*VrrpVrAddDel) GetCrcString() string

func (*VrrpVrAddDel) GetMessageName

func (*VrrpVrAddDel) GetMessageName() string

func (*VrrpVrAddDel) GetMessageType

func (*VrrpVrAddDel) GetMessageType() api.MessageType

func (*VrrpVrAddDel) Marshal

func (m *VrrpVrAddDel) Marshal(b []byte) ([]byte, error)

func (*VrrpVrAddDel) Reset

func (m *VrrpVrAddDel) Reset()

func (*VrrpVrAddDel) Size

func (m *VrrpVrAddDel) Size() (size int)

func (*VrrpVrAddDel) Unmarshal

func (m *VrrpVrAddDel) Unmarshal(b []byte) error

type VrrpVrAddDelReply

type VrrpVrAddDelReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

VrrpVrAddDelReply defines message 'vrrp_vr_add_del_reply'.

func (*VrrpVrAddDelReply) GetCrcString

func (*VrrpVrAddDelReply) GetCrcString() string

func (*VrrpVrAddDelReply) GetMessageName

func (*VrrpVrAddDelReply) GetMessageName() string

func (*VrrpVrAddDelReply) GetMessageType

func (*VrrpVrAddDelReply) GetMessageType() api.MessageType

func (*VrrpVrAddDelReply) Marshal

func (m *VrrpVrAddDelReply) Marshal(b []byte) ([]byte, error)

func (*VrrpVrAddDelReply) Reset

func (m *VrrpVrAddDelReply) Reset()

func (*VrrpVrAddDelReply) Size

func (m *VrrpVrAddDelReply) Size() (size int)

func (*VrrpVrAddDelReply) Unmarshal

func (m *VrrpVrAddDelReply) Unmarshal(b []byte) error

type VrrpVrConf

type VrrpVrConf struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	VrID      uint8                          `binapi:"u8,name=vr_id" json:"vr_id,omitempty"`
	Priority  uint8                          `binapi:"u8,name=priority" json:"priority,omitempty"`
	Interval  uint16                         `binapi:"u16,name=interval" json:"interval,omitempty"`
	Flags     VrrpVrFlags                    `binapi:"vrrp_vr_flags,name=flags" json:"flags,omitempty"`
}

VrrpVrConf defines type 'vrrp_vr_conf'.

type VrrpVrDetails

type VrrpVrDetails struct {
	Config  VrrpVrConf         `binapi:"vrrp_vr_conf,name=config" json:"config,omitempty"`
	Runtime VrrpVrRuntime      `binapi:"vrrp_vr_runtime,name=runtime" json:"runtime,omitempty"`
	NAddrs  uint8              `binapi:"u8,name=n_addrs" json:"-"`
	Addrs   []ip_types.Address `binapi:"address[n_addrs],name=addrs" json:"addrs,omitempty"`
}

VrrpVrDetails defines message 'vrrp_vr_details'.

func (*VrrpVrDetails) GetCrcString

func (*VrrpVrDetails) GetCrcString() string

func (*VrrpVrDetails) GetMessageName

func (*VrrpVrDetails) GetMessageName() string

func (*VrrpVrDetails) GetMessageType

func (*VrrpVrDetails) GetMessageType() api.MessageType

func (*VrrpVrDetails) Marshal

func (m *VrrpVrDetails) Marshal(b []byte) ([]byte, error)

func (*VrrpVrDetails) Reset

func (m *VrrpVrDetails) Reset()

func (*VrrpVrDetails) Size

func (m *VrrpVrDetails) Size() (size int)

func (*VrrpVrDetails) Unmarshal

func (m *VrrpVrDetails) Unmarshal(b []byte) error

type VrrpVrDump

type VrrpVrDump struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

VrrpVrDump defines message 'vrrp_vr_dump'.

func (*VrrpVrDump) GetCrcString

func (*VrrpVrDump) GetCrcString() string

func (*VrrpVrDump) GetMessageName

func (*VrrpVrDump) GetMessageName() string

func (*VrrpVrDump) GetMessageType

func (*VrrpVrDump) GetMessageType() api.MessageType

func (*VrrpVrDump) Marshal

func (m *VrrpVrDump) Marshal(b []byte) ([]byte, error)

func (*VrrpVrDump) Reset

func (m *VrrpVrDump) Reset()

func (*VrrpVrDump) Size

func (m *VrrpVrDump) Size() (size int)

func (*VrrpVrDump) Unmarshal

func (m *VrrpVrDump) Unmarshal(b []byte) error

type VrrpVrEvent

type VrrpVrEvent struct {
	PID      uint32      `binapi:"u32,name=pid" json:"pid,omitempty"`
	Vr       VrrpVrKey   `binapi:"vrrp_vr_key,name=vr" json:"vr,omitempty"`
	OldState VrrpVrState `binapi:"vrrp_vr_state,name=old_state" json:"old_state,omitempty"`
	NewState VrrpVrState `binapi:"vrrp_vr_state,name=new_state" json:"new_state,omitempty"`
}

VrrpVrEvent defines message 'vrrp_vr_event'.

func (*VrrpVrEvent) GetCrcString

func (*VrrpVrEvent) GetCrcString() string

func (*VrrpVrEvent) GetMessageName

func (*VrrpVrEvent) GetMessageName() string

func (*VrrpVrEvent) GetMessageType

func (*VrrpVrEvent) GetMessageType() api.MessageType

func (*VrrpVrEvent) Marshal

func (m *VrrpVrEvent) Marshal(b []byte) ([]byte, error)

func (*VrrpVrEvent) Reset

func (m *VrrpVrEvent) Reset()

func (*VrrpVrEvent) Size

func (m *VrrpVrEvent) Size() (size int)

func (*VrrpVrEvent) Unmarshal

func (m *VrrpVrEvent) Unmarshal(b []byte) error

type VrrpVrFlags

type VrrpVrFlags uint32

VrrpVrFlags defines enum 'vrrp_vr_flags'.

const (
	VRRP_API_VR_PREEMPT VrrpVrFlags = 1
	VRRP_API_VR_ACCEPT  VrrpVrFlags = 2
	VRRP_API_VR_UNICAST VrrpVrFlags = 4
	VRRP_API_VR_IPV6    VrrpVrFlags = 8
)

func (VrrpVrFlags) String

func (x VrrpVrFlags) String() string

type VrrpVrKey

type VrrpVrKey struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	VrID      uint8                          `binapi:"u8,name=vr_id" json:"vr_id,omitempty"`
	IsIPv6    uint8                          `binapi:"u8,name=is_ipv6" json:"is_ipv6,omitempty"`
}

VrrpVrKey defines type 'vrrp_vr_key'.

type VrrpVrPeerDetails

type VrrpVrPeerDetails struct {
	SwIfIndex  interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	VrID       uint8                          `binapi:"u8,name=vr_id" json:"vr_id,omitempty"`
	IsIPv6     uint8                          `binapi:"u8,name=is_ipv6" json:"is_ipv6,omitempty"`
	NPeerAddrs uint8                          `binapi:"u8,name=n_peer_addrs" json:"-"`
	PeerAddrs  []ip_types.Address             `binapi:"address[n_peer_addrs],name=peer_addrs" json:"peer_addrs,omitempty"`
}

VrrpVrPeerDetails defines message 'vrrp_vr_peer_details'.

func (*VrrpVrPeerDetails) GetCrcString

func (*VrrpVrPeerDetails) GetCrcString() string

func (*VrrpVrPeerDetails) GetMessageName

func (*VrrpVrPeerDetails) GetMessageName() string

func (*VrrpVrPeerDetails) GetMessageType

func (*VrrpVrPeerDetails) GetMessageType() api.MessageType

func (*VrrpVrPeerDetails) Marshal

func (m *VrrpVrPeerDetails) Marshal(b []byte) ([]byte, error)

func (*VrrpVrPeerDetails) Reset

func (m *VrrpVrPeerDetails) Reset()

func (*VrrpVrPeerDetails) Size

func (m *VrrpVrPeerDetails) Size() (size int)

func (*VrrpVrPeerDetails) Unmarshal

func (m *VrrpVrPeerDetails) Unmarshal(b []byte) error

type VrrpVrPeerDump

type VrrpVrPeerDump struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	IsIPv6    uint8                          `binapi:"u8,name=is_ipv6" json:"is_ipv6,omitempty"`
	VrID      uint8                          `binapi:"u8,name=vr_id" json:"vr_id,omitempty"`
}

VrrpVrPeerDump defines message 'vrrp_vr_peer_dump'.

func (*VrrpVrPeerDump) GetCrcString

func (*VrrpVrPeerDump) GetCrcString() string

func (*VrrpVrPeerDump) GetMessageName

func (*VrrpVrPeerDump) GetMessageName() string

func (*VrrpVrPeerDump) GetMessageType

func (*VrrpVrPeerDump) GetMessageType() api.MessageType

func (*VrrpVrPeerDump) Marshal

func (m *VrrpVrPeerDump) Marshal(b []byte) ([]byte, error)

func (*VrrpVrPeerDump) Reset

func (m *VrrpVrPeerDump) Reset()

func (*VrrpVrPeerDump) Size

func (m *VrrpVrPeerDump) Size() (size int)

func (*VrrpVrPeerDump) Unmarshal

func (m *VrrpVrPeerDump) Unmarshal(b []byte) error

type VrrpVrRuntime

type VrrpVrRuntime struct {
	State         VrrpVrState               `binapi:"vrrp_vr_state,name=state" json:"state,omitempty"`
	MasterAdvInt  uint16                    `binapi:"u16,name=master_adv_int" json:"master_adv_int,omitempty"`
	Skew          uint16                    `binapi:"u16,name=skew" json:"skew,omitempty"`
	MasterDownInt uint16                    `binapi:"u16,name=master_down_int" json:"master_down_int,omitempty"`
	Mac           ethernet_types.MacAddress `binapi:"mac_address,name=mac" json:"mac,omitempty"`
	Tracking      VrrpVrTracking            `binapi:"vrrp_vr_tracking,name=tracking" json:"tracking,omitempty"`
}

VrrpVrRuntime defines type 'vrrp_vr_runtime'.

type VrrpVrSetPeers

type VrrpVrSetPeers struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	VrID      uint8                          `binapi:"u8,name=vr_id" json:"vr_id,omitempty"`
	IsIPv6    uint8                          `binapi:"u8,name=is_ipv6" json:"is_ipv6,omitempty"`
	NAddrs    uint8                          `binapi:"u8,name=n_addrs" json:"-"`
	Addrs     []ip_types.Address             `binapi:"address[n_addrs],name=addrs" json:"addrs,omitempty"`
}

VrrpVrSetPeers defines message 'vrrp_vr_set_peers'.

func (*VrrpVrSetPeers) GetCrcString

func (*VrrpVrSetPeers) GetCrcString() string

func (*VrrpVrSetPeers) GetMessageName

func (*VrrpVrSetPeers) GetMessageName() string

func (*VrrpVrSetPeers) GetMessageType

func (*VrrpVrSetPeers) GetMessageType() api.MessageType

func (*VrrpVrSetPeers) Marshal

func (m *VrrpVrSetPeers) Marshal(b []byte) ([]byte, error)

func (*VrrpVrSetPeers) Reset

func (m *VrrpVrSetPeers) Reset()

func (*VrrpVrSetPeers) Size

func (m *VrrpVrSetPeers) Size() (size int)

func (*VrrpVrSetPeers) Unmarshal

func (m *VrrpVrSetPeers) Unmarshal(b []byte) error

type VrrpVrSetPeersReply

type VrrpVrSetPeersReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

VrrpVrSetPeersReply defines message 'vrrp_vr_set_peers_reply'.

func (*VrrpVrSetPeersReply) GetCrcString

func (*VrrpVrSetPeersReply) GetCrcString() string

func (*VrrpVrSetPeersReply) GetMessageName

func (*VrrpVrSetPeersReply) GetMessageName() string

func (*VrrpVrSetPeersReply) GetMessageType

func (*VrrpVrSetPeersReply) GetMessageType() api.MessageType

func (*VrrpVrSetPeersReply) Marshal

func (m *VrrpVrSetPeersReply) Marshal(b []byte) ([]byte, error)

func (*VrrpVrSetPeersReply) Reset

func (m *VrrpVrSetPeersReply) Reset()

func (*VrrpVrSetPeersReply) Size

func (m *VrrpVrSetPeersReply) Size() (size int)

func (*VrrpVrSetPeersReply) Unmarshal

func (m *VrrpVrSetPeersReply) Unmarshal(b []byte) error

type VrrpVrStartStop

type VrrpVrStartStop struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	VrID      uint8                          `binapi:"u8,name=vr_id" json:"vr_id,omitempty"`
	IsIPv6    uint8                          `binapi:"u8,name=is_ipv6" json:"is_ipv6,omitempty"`
	IsStart   uint8                          `binapi:"u8,name=is_start" json:"is_start,omitempty"`
}

VrrpVrStartStop defines message 'vrrp_vr_start_stop'.

func (*VrrpVrStartStop) GetCrcString

func (*VrrpVrStartStop) GetCrcString() string

func (*VrrpVrStartStop) GetMessageName

func (*VrrpVrStartStop) GetMessageName() string

func (*VrrpVrStartStop) GetMessageType

func (*VrrpVrStartStop) GetMessageType() api.MessageType

func (*VrrpVrStartStop) Marshal

func (m *VrrpVrStartStop) Marshal(b []byte) ([]byte, error)

func (*VrrpVrStartStop) Reset

func (m *VrrpVrStartStop) Reset()

func (*VrrpVrStartStop) Size

func (m *VrrpVrStartStop) Size() (size int)

func (*VrrpVrStartStop) Unmarshal

func (m *VrrpVrStartStop) Unmarshal(b []byte) error

type VrrpVrStartStopReply

type VrrpVrStartStopReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

VrrpVrStartStopReply defines message 'vrrp_vr_start_stop_reply'.

func (*VrrpVrStartStopReply) GetCrcString

func (*VrrpVrStartStopReply) GetCrcString() string

func (*VrrpVrStartStopReply) GetMessageName

func (*VrrpVrStartStopReply) GetMessageName() string

func (*VrrpVrStartStopReply) GetMessageType

func (*VrrpVrStartStopReply) GetMessageType() api.MessageType

func (*VrrpVrStartStopReply) Marshal

func (m *VrrpVrStartStopReply) Marshal(b []byte) ([]byte, error)

func (*VrrpVrStartStopReply) Reset

func (m *VrrpVrStartStopReply) Reset()

func (*VrrpVrStartStopReply) Size

func (m *VrrpVrStartStopReply) Size() (size int)

func (*VrrpVrStartStopReply) Unmarshal

func (m *VrrpVrStartStopReply) Unmarshal(b []byte) error

type VrrpVrState

type VrrpVrState uint32

VrrpVrState defines enum 'vrrp_vr_state'.

const (
	VRRP_API_VR_STATE_INIT      VrrpVrState = 0
	VRRP_API_VR_STATE_BACKUP    VrrpVrState = 1
	VRRP_API_VR_STATE_MASTER    VrrpVrState = 2
	VRRP_API_VR_STATE_INTF_DOWN VrrpVrState = 3
)

func (VrrpVrState) String

func (x VrrpVrState) String() string

type VrrpVrTrackIf

type VrrpVrTrackIf struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Priority  uint8                          `binapi:"u8,name=priority" json:"priority,omitempty"`
}

VrrpVrTrackIf defines type 'vrrp_vr_track_if'.

type VrrpVrTrackIfAddDel

type VrrpVrTrackIfAddDel struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	IsIPv6    uint8                          `binapi:"u8,name=is_ipv6" json:"is_ipv6,omitempty"`
	VrID      uint8                          `binapi:"u8,name=vr_id" json:"vr_id,omitempty"`
	IsAdd     uint8                          `binapi:"u8,name=is_add" json:"is_add,omitempty"`
	NIfs      uint8                          `binapi:"u8,name=n_ifs" json:"-"`
	Ifs       []VrrpVrTrackIf                `binapi:"vrrp_vr_track_if[n_ifs],name=ifs" json:"ifs,omitempty"`
}

VrrpVrTrackIfAddDel defines message 'vrrp_vr_track_if_add_del'.

func (*VrrpVrTrackIfAddDel) GetCrcString

func (*VrrpVrTrackIfAddDel) GetCrcString() string

func (*VrrpVrTrackIfAddDel) GetMessageName

func (*VrrpVrTrackIfAddDel) GetMessageName() string

func (*VrrpVrTrackIfAddDel) GetMessageType

func (*VrrpVrTrackIfAddDel) GetMessageType() api.MessageType

func (*VrrpVrTrackIfAddDel) Marshal

func (m *VrrpVrTrackIfAddDel) Marshal(b []byte) ([]byte, error)

func (*VrrpVrTrackIfAddDel) Reset

func (m *VrrpVrTrackIfAddDel) Reset()

func (*VrrpVrTrackIfAddDel) Size

func (m *VrrpVrTrackIfAddDel) Size() (size int)

func (*VrrpVrTrackIfAddDel) Unmarshal

func (m *VrrpVrTrackIfAddDel) Unmarshal(b []byte) error

type VrrpVrTrackIfAddDelReply

type VrrpVrTrackIfAddDelReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

VrrpVrTrackIfAddDelReply defines message 'vrrp_vr_track_if_add_del_reply'.

func (*VrrpVrTrackIfAddDelReply) GetCrcString

func (*VrrpVrTrackIfAddDelReply) GetCrcString() string

func (*VrrpVrTrackIfAddDelReply) GetMessageName

func (*VrrpVrTrackIfAddDelReply) GetMessageName() string

func (*VrrpVrTrackIfAddDelReply) GetMessageType

func (*VrrpVrTrackIfAddDelReply) GetMessageType() api.MessageType

func (*VrrpVrTrackIfAddDelReply) Marshal

func (m *VrrpVrTrackIfAddDelReply) Marshal(b []byte) ([]byte, error)

func (*VrrpVrTrackIfAddDelReply) Reset

func (m *VrrpVrTrackIfAddDelReply) Reset()

func (*VrrpVrTrackIfAddDelReply) Size

func (m *VrrpVrTrackIfAddDelReply) Size() (size int)

func (*VrrpVrTrackIfAddDelReply) Unmarshal

func (m *VrrpVrTrackIfAddDelReply) Unmarshal(b []byte) error

type VrrpVrTrackIfDetails

type VrrpVrTrackIfDetails struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	VrID      uint8                          `binapi:"u8,name=vr_id" json:"vr_id,omitempty"`
	IsIPv6    uint8                          `binapi:"u8,name=is_ipv6" json:"is_ipv6,omitempty"`
	NIfs      uint8                          `binapi:"u8,name=n_ifs" json:"-"`
	Ifs       []VrrpVrTrackIf                `binapi:"vrrp_vr_track_if[n_ifs],name=ifs" json:"ifs,omitempty"`
}

VrrpVrTrackIfDetails defines message 'vrrp_vr_track_if_details'.

func (*VrrpVrTrackIfDetails) GetCrcString

func (*VrrpVrTrackIfDetails) GetCrcString() string

func (*VrrpVrTrackIfDetails) GetMessageName

func (*VrrpVrTrackIfDetails) GetMessageName() string

func (*VrrpVrTrackIfDetails) GetMessageType

func (*VrrpVrTrackIfDetails) GetMessageType() api.MessageType

func (*VrrpVrTrackIfDetails) Marshal

func (m *VrrpVrTrackIfDetails) Marshal(b []byte) ([]byte, error)

func (*VrrpVrTrackIfDetails) Reset

func (m *VrrpVrTrackIfDetails) Reset()

func (*VrrpVrTrackIfDetails) Size

func (m *VrrpVrTrackIfDetails) Size() (size int)

func (*VrrpVrTrackIfDetails) Unmarshal

func (m *VrrpVrTrackIfDetails) Unmarshal(b []byte) error

type VrrpVrTrackIfDump

type VrrpVrTrackIfDump struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	IsIPv6    uint8                          `binapi:"u8,name=is_ipv6" json:"is_ipv6,omitempty"`
	VrID      uint8                          `binapi:"u8,name=vr_id" json:"vr_id,omitempty"`
	DumpAll   uint8                          `binapi:"u8,name=dump_all" json:"dump_all,omitempty"`
}

VrrpVrTrackIfDump defines message 'vrrp_vr_track_if_dump'.

func (*VrrpVrTrackIfDump) GetCrcString

func (*VrrpVrTrackIfDump) GetCrcString() string

func (*VrrpVrTrackIfDump) GetMessageName

func (*VrrpVrTrackIfDump) GetMessageName() string

func (*VrrpVrTrackIfDump) GetMessageType

func (*VrrpVrTrackIfDump) GetMessageType() api.MessageType

func (*VrrpVrTrackIfDump) Marshal

func (m *VrrpVrTrackIfDump) Marshal(b []byte) ([]byte, error)

func (*VrrpVrTrackIfDump) Reset

func (m *VrrpVrTrackIfDump) Reset()

func (*VrrpVrTrackIfDump) Size

func (m *VrrpVrTrackIfDump) Size() (size int)

func (*VrrpVrTrackIfDump) Unmarshal

func (m *VrrpVrTrackIfDump) Unmarshal(b []byte) error

type VrrpVrTracking

type VrrpVrTracking struct {
	InterfacesDec uint32 `binapi:"u32,name=interfaces_dec" json:"interfaces_dec,omitempty"`
	Priority      uint8  `binapi:"u8,name=priority" json:"priority,omitempty"`
}

VrrpVrTracking defines type 'vrrp_vr_tracking'.

type WantVrrpVrEvents

type WantVrrpVrEvents struct {
	EnableDisable bool   `binapi:"bool,name=enable_disable" json:"enable_disable,omitempty"`
	PID           uint32 `binapi:"u32,name=pid" json:"pid,omitempty"`
}

WantVrrpVrEvents defines message 'want_vrrp_vr_events'.

func (*WantVrrpVrEvents) GetCrcString

func (*WantVrrpVrEvents) GetCrcString() string

func (*WantVrrpVrEvents) GetMessageName

func (*WantVrrpVrEvents) GetMessageName() string

func (*WantVrrpVrEvents) GetMessageType

func (*WantVrrpVrEvents) GetMessageType() api.MessageType

func (*WantVrrpVrEvents) Marshal

func (m *WantVrrpVrEvents) Marshal(b []byte) ([]byte, error)

func (*WantVrrpVrEvents) Reset

func (m *WantVrrpVrEvents) Reset()

func (*WantVrrpVrEvents) Size

func (m *WantVrrpVrEvents) Size() (size int)

func (*WantVrrpVrEvents) Unmarshal

func (m *WantVrrpVrEvents) Unmarshal(b []byte) error

type WantVrrpVrEventsReply

type WantVrrpVrEventsReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

WantVrrpVrEventsReply defines message 'want_vrrp_vr_events_reply'.

func (*WantVrrpVrEventsReply) GetCrcString

func (*WantVrrpVrEventsReply) GetCrcString() string

func (*WantVrrpVrEventsReply) GetMessageName

func (*WantVrrpVrEventsReply) GetMessageName() string

func (*WantVrrpVrEventsReply) GetMessageType

func (*WantVrrpVrEventsReply) GetMessageType() api.MessageType

func (*WantVrrpVrEventsReply) Marshal

func (m *WantVrrpVrEventsReply) Marshal(b []byte) ([]byte, error)

func (*WantVrrpVrEventsReply) Reset

func (m *WantVrrpVrEventsReply) Reset()

func (*WantVrrpVrEventsReply) Size

func (m *WantVrrpVrEventsReply) Size() (size int)

func (*WantVrrpVrEventsReply) Unmarshal

func (m *WantVrrpVrEventsReply) Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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