interfaces

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Prefix is interface prefix
	Prefix = "vpp/config/v1/interface/"
	// StatePrefix is interface state prefix
	StatePrefix = "vpp/status/v1/interface/"
	// ErrorPrefix is interface error prefix
	ErrorPrefix = "vpp/status/v1/interface/error/"
)

Variables

View Source
var InterfaceNotification_NotifType_name = map[int32]string{
	0: "UNKNOWN",
	1: "UPDOWN",
	2: "COUNTERS",
}
View Source
var InterfaceNotification_NotifType_value = map[string]int32{
	"UNKNOWN":  0,
	"UPDOWN":   1,
	"COUNTERS": 2,
}
View Source
var InterfaceType_name = map[int32]string{
	0: "SOFTWARE_LOOPBACK",
	1: "ETHERNET_CSMACD",
	2: "MEMORY_INTERFACE",
	3: "TAP_INTERFACE",
	4: "AF_PACKET_INTERFACE",
	5: "VXLAN_TUNNEL",
	6: "IPSEC_TUNNEL",
	7: "VMXNET3_INTERFACE",
}
View Source
var InterfaceType_value = map[string]int32{
	"SOFTWARE_LOOPBACK":   0,
	"ETHERNET_CSMACD":     1,
	"MEMORY_INTERFACE":    2,
	"TAP_INTERFACE":       3,
	"AF_PACKET_INTERFACE": 4,
	"VXLAN_TUNNEL":        5,
	"IPSEC_TUNNEL":        6,
	"VMXNET3_INTERFACE":   7,
}
View Source
var InterfacesState_Interface_Duplex_name = map[int32]string{
	0: "UNKNOWN_DUPLEX",
	1: "HALF",
	2: "FULL",
}
View Source
var InterfacesState_Interface_Duplex_value = map[string]int32{
	"UNKNOWN_DUPLEX": 0,
	"HALF":           1,
	"FULL":           2,
}
View Source
var InterfacesState_Interface_Status_name = map[int32]string{
	0: "UNKNOWN_STATUS",
	1: "UP",
	2: "DOWN",
	3: "DELETED",
}
View Source
var InterfacesState_Interface_Status_value = map[string]int32{
	"UNKNOWN_STATUS": 0,
	"UP":             1,
	"DOWN":           2,
	"DELETED":        3,
}
View Source
var Interfaces_Interface_Memif_MemifMode_name = map[int32]string{
	0: "ETHERNET",
	1: "IP",
	2: "PUNT_INJECT",
}
View Source
var Interfaces_Interface_Memif_MemifMode_value = map[string]int32{
	"ETHERNET":    0,
	"IP":          1,
	"PUNT_INJECT": 2,
}
View Source
var RxModeType_name = map[int32]string{
	0: "UNKNOWN",
	1: "POLLING",
	2: "INTERRUPT",
	3: "ADAPTIVE",
	4: "DEFAULT",
}
View Source
var RxModeType_value = map[string]int32{
	"UNKNOWN":   0,
	"POLLING":   1,
	"INTERRUPT": 2,
	"ADAPTIVE":  3,
	"DEFAULT":   4,
}

Functions

func InterfaceErrorKey

func InterfaceErrorKey(ifaceLabel string) string

InterfaceErrorKey returns the key used in ETCD to store the interface errors.

func InterfaceKey

func InterfaceKey(ifaceLabel string) string

InterfaceKey returns the prefix used in ETCD to store the vpp interface config of a particular interface in selected vpp instance.

func InterfaceStateKey

func InterfaceStateKey(ifaceLabel string) string

InterfaceStateKey returns the prefix used in ETCD to store the vpp interface state data of particular interface in selected vpp instance.

func ParseNameFromKey

func ParseNameFromKey(key string) (name string, err error)

ParseNameFromKey returns suffix of the key.

Types

type InterfaceErrors

type InterfaceErrors struct {
	Interfaces           []*InterfaceErrors_Interface `protobuf:"bytes,1,rep,name=interfaces" json:"interfaces,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (*InterfaceErrors) Descriptor

func (*InterfaceErrors) Descriptor() ([]byte, []int)

func (*InterfaceErrors) GetInterfaces

func (m *InterfaceErrors) GetInterfaces() []*InterfaceErrors_Interface

func (*InterfaceErrors) ProtoMessage

func (*InterfaceErrors) ProtoMessage()

func (*InterfaceErrors) Reset

func (m *InterfaceErrors) Reset()

func (*InterfaceErrors) String

func (m *InterfaceErrors) String() string

func (*InterfaceErrors) XXX_DiscardUnknown added in v1.8.1

func (m *InterfaceErrors) XXX_DiscardUnknown()

func (*InterfaceErrors) XXX_Marshal added in v1.8.1

func (m *InterfaceErrors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InterfaceErrors) XXX_Merge added in v1.8.1

func (dst *InterfaceErrors) XXX_Merge(src proto.Message)

func (*InterfaceErrors) XXX_Size added in v1.8.1

func (m *InterfaceErrors) XXX_Size() int

func (*InterfaceErrors) XXX_Unmarshal added in v1.8.1

func (m *InterfaceErrors) XXX_Unmarshal(b []byte) error

type InterfaceErrors_Interface

type InterfaceErrors_Interface struct {
	InterfaceName        string                                 `protobuf:"bytes,1,opt,name=interface_name,json=interfaceName,proto3" json:"interface_name,omitempty"`
	ErrorData            []*InterfaceErrors_Interface_ErrorData `protobuf:"bytes,2,rep,name=error_data,json=errorData" json:"error_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                               `json:"-"`
	XXX_unrecognized     []byte                                 `json:"-"`
	XXX_sizecache        int32                                  `json:"-"`
}

func (*InterfaceErrors_Interface) Descriptor

func (*InterfaceErrors_Interface) Descriptor() ([]byte, []int)

func (*InterfaceErrors_Interface) GetErrorData

func (*InterfaceErrors_Interface) GetInterfaceName

func (m *InterfaceErrors_Interface) GetInterfaceName() string

func (*InterfaceErrors_Interface) ProtoMessage

func (*InterfaceErrors_Interface) ProtoMessage()

func (*InterfaceErrors_Interface) Reset

func (m *InterfaceErrors_Interface) Reset()

func (*InterfaceErrors_Interface) String

func (m *InterfaceErrors_Interface) String() string

func (*InterfaceErrors_Interface) XXX_DiscardUnknown added in v1.8.1

func (m *InterfaceErrors_Interface) XXX_DiscardUnknown()

func (*InterfaceErrors_Interface) XXX_Marshal added in v1.8.1

func (m *InterfaceErrors_Interface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InterfaceErrors_Interface) XXX_Merge added in v1.8.1

func (dst *InterfaceErrors_Interface) XXX_Merge(src proto.Message)

func (*InterfaceErrors_Interface) XXX_Size added in v1.8.1

func (m *InterfaceErrors_Interface) XXX_Size() int

func (*InterfaceErrors_Interface) XXX_Unmarshal added in v1.8.1

func (m *InterfaceErrors_Interface) XXX_Unmarshal(b []byte) error

type InterfaceErrors_Interface_ErrorData

type InterfaceErrors_Interface_ErrorData struct {
	ChangeType           string   `protobuf:"bytes,1,opt,name=change_type,json=changeType,proto3" json:"change_type,omitempty"`
	ErrorMessage         string   `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	LastChange           int64    `protobuf:"varint,3,opt,name=last_change,json=lastChange,proto3" json:"last_change,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InterfaceErrors_Interface_ErrorData) Descriptor

func (*InterfaceErrors_Interface_ErrorData) Descriptor() ([]byte, []int)

func (*InterfaceErrors_Interface_ErrorData) GetChangeType

func (m *InterfaceErrors_Interface_ErrorData) GetChangeType() string

func (*InterfaceErrors_Interface_ErrorData) GetErrorMessage

func (m *InterfaceErrors_Interface_ErrorData) GetErrorMessage() string

func (*InterfaceErrors_Interface_ErrorData) GetLastChange

func (m *InterfaceErrors_Interface_ErrorData) GetLastChange() int64

func (*InterfaceErrors_Interface_ErrorData) ProtoMessage

func (*InterfaceErrors_Interface_ErrorData) ProtoMessage()

func (*InterfaceErrors_Interface_ErrorData) Reset

func (*InterfaceErrors_Interface_ErrorData) String

func (*InterfaceErrors_Interface_ErrorData) XXX_DiscardUnknown added in v1.8.1

func (m *InterfaceErrors_Interface_ErrorData) XXX_DiscardUnknown()

func (*InterfaceErrors_Interface_ErrorData) XXX_Marshal added in v1.8.1

func (m *InterfaceErrors_Interface_ErrorData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InterfaceErrors_Interface_ErrorData) XXX_Merge added in v1.8.1

func (*InterfaceErrors_Interface_ErrorData) XXX_Size added in v1.8.1

func (*InterfaceErrors_Interface_ErrorData) XXX_Unmarshal added in v1.8.1

func (m *InterfaceErrors_Interface_ErrorData) XXX_Unmarshal(b []byte) error

type InterfaceNotification

type InterfaceNotification struct {
	Type                 InterfaceNotification_NotifType `protobuf:"varint,1,opt,name=Type,json=type,proto3,enum=interfaces.InterfaceNotification_NotifType" json:"Type,omitempty"`
	State                *InterfacesState_Interface      `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

func (*InterfaceNotification) Descriptor

func (*InterfaceNotification) Descriptor() ([]byte, []int)

func (*InterfaceNotification) GetState

func (*InterfaceNotification) GetType

func (*InterfaceNotification) ProtoMessage

func (*InterfaceNotification) ProtoMessage()

func (*InterfaceNotification) Reset

func (m *InterfaceNotification) Reset()

func (*InterfaceNotification) String

func (m *InterfaceNotification) String() string

func (*InterfaceNotification) XXX_DiscardUnknown added in v1.8.1

func (m *InterfaceNotification) XXX_DiscardUnknown()

func (*InterfaceNotification) XXX_Marshal added in v1.8.1

func (m *InterfaceNotification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InterfaceNotification) XXX_Merge added in v1.8.1

func (dst *InterfaceNotification) XXX_Merge(src proto.Message)

func (*InterfaceNotification) XXX_Size added in v1.8.1

func (m *InterfaceNotification) XXX_Size() int

func (*InterfaceNotification) XXX_Unmarshal added in v1.8.1

func (m *InterfaceNotification) XXX_Unmarshal(b []byte) error

type InterfaceNotification_NotifType

type InterfaceNotification_NotifType int32
const (
	InterfaceNotification_UNKNOWN  InterfaceNotification_NotifType = 0
	InterfaceNotification_UPDOWN   InterfaceNotification_NotifType = 1
	InterfaceNotification_COUNTERS InterfaceNotification_NotifType = 2
)

func (InterfaceNotification_NotifType) EnumDescriptor

func (InterfaceNotification_NotifType) EnumDescriptor() ([]byte, []int)

func (InterfaceNotification_NotifType) String

type InterfaceType

type InterfaceType int32
const (
	InterfaceType_SOFTWARE_LOOPBACK   InterfaceType = 0
	InterfaceType_ETHERNET_CSMACD     InterfaceType = 1
	InterfaceType_MEMORY_INTERFACE    InterfaceType = 2
	InterfaceType_TAP_INTERFACE       InterfaceType = 3
	InterfaceType_AF_PACKET_INTERFACE InterfaceType = 4
	InterfaceType_VXLAN_TUNNEL        InterfaceType = 5
	InterfaceType_IPSEC_TUNNEL        InterfaceType = 6
	InterfaceType_VMXNET3_INTERFACE   InterfaceType = 7
)

func (InterfaceType) EnumDescriptor

func (InterfaceType) EnumDescriptor() ([]byte, []int)

func (InterfaceType) String

func (x InterfaceType) String() string

type Interfaces

type Interfaces struct {
	Interfaces           []*Interfaces_Interface `protobuf:"bytes,1,rep,name=interfaces" json:"interfaces,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*Interfaces) Descriptor

func (*Interfaces) Descriptor() ([]byte, []int)

func (*Interfaces) GetInterfaces

func (m *Interfaces) GetInterfaces() []*Interfaces_Interface

func (*Interfaces) ProtoMessage

func (*Interfaces) ProtoMessage()

func (*Interfaces) Reset

func (m *Interfaces) Reset()

func (*Interfaces) String

func (m *Interfaces) String() string

func (*Interfaces) XXX_DiscardUnknown added in v1.8.1

func (m *Interfaces) XXX_DiscardUnknown()

func (*Interfaces) XXX_Marshal added in v1.8.1

func (m *Interfaces) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Interfaces) XXX_Merge added in v1.8.1

func (dst *Interfaces) XXX_Merge(src proto.Message)

func (*Interfaces) XXX_Size added in v1.8.1

func (m *Interfaces) XXX_Size() int

func (*Interfaces) XXX_Unmarshal added in v1.8.1

func (m *Interfaces) XXX_Unmarshal(b []byte) error

type InterfacesState

type InterfacesState struct {
	Interfaces           []*InterfacesState_Interface `protobuf:"bytes,1,rep,name=interfaces" json:"interfaces,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (*InterfacesState) Descriptor

func (*InterfacesState) Descriptor() ([]byte, []int)

func (*InterfacesState) GetInterfaces

func (m *InterfacesState) GetInterfaces() []*InterfacesState_Interface

func (*InterfacesState) ProtoMessage

func (*InterfacesState) ProtoMessage()

func (*InterfacesState) Reset

func (m *InterfacesState) Reset()

func (*InterfacesState) String

func (m *InterfacesState) String() string

func (*InterfacesState) XXX_DiscardUnknown added in v1.8.1

func (m *InterfacesState) XXX_DiscardUnknown()

func (*InterfacesState) XXX_Marshal added in v1.8.1

func (m *InterfacesState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InterfacesState) XXX_Merge added in v1.8.1

func (dst *InterfacesState) XXX_Merge(src proto.Message)

func (*InterfacesState) XXX_Size added in v1.8.1

func (m *InterfacesState) XXX_Size() int

func (*InterfacesState) XXX_Unmarshal added in v1.8.1

func (m *InterfacesState) XXX_Unmarshal(b []byte) error

type InterfacesState_Interface

type InterfacesState_Interface struct {
	Name                 string                                `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	InternalName         string                                `protobuf:"bytes,2,opt,name=internal_name,json=internalName,proto3" json:"internal_name,omitempty"`
	Type                 InterfaceType                         `protobuf:"varint,3,opt,name=type,proto3,enum=interfaces.InterfaceType" json:"type,omitempty"`
	IfIndex              uint32                                `protobuf:"varint,4,opt,name=if_index,json=ifIndex,proto3" json:"if_index,omitempty"`
	AdminStatus          InterfacesState_Interface_Status      `` /* 144-byte string literal not displayed */
	OperStatus           InterfacesState_Interface_Status      `` /* 141-byte string literal not displayed */
	LastChange           int64                                 `protobuf:"varint,7,opt,name=last_change,json=lastChange,proto3" json:"last_change,omitempty"`
	PhysAddress          string                                `protobuf:"bytes,8,opt,name=phys_address,json=physAddress,proto3" json:"phys_address,omitempty"`
	Speed                uint64                                `protobuf:"varint,9,opt,name=speed,proto3" json:"speed,omitempty"`
	Mtu                  uint32                                `protobuf:"varint,10,opt,name=mtu,proto3" json:"mtu,omitempty"`
	Duplex               InterfacesState_Interface_Duplex      `protobuf:"varint,11,opt,name=duplex,proto3,enum=interfaces.InterfacesState_Interface_Duplex" json:"duplex,omitempty"`
	Statistics           *InterfacesState_Interface_Statistics `protobuf:"bytes,100,opt,name=statistics" json:"statistics,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

func (*InterfacesState_Interface) Descriptor

func (*InterfacesState_Interface) Descriptor() ([]byte, []int)

func (*InterfacesState_Interface) GetAdminStatus

func (*InterfacesState_Interface) GetDuplex

func (*InterfacesState_Interface) GetIfIndex

func (m *InterfacesState_Interface) GetIfIndex() uint32

func (*InterfacesState_Interface) GetInternalName

func (m *InterfacesState_Interface) GetInternalName() string

func (*InterfacesState_Interface) GetLastChange

func (m *InterfacesState_Interface) GetLastChange() int64

func (*InterfacesState_Interface) GetMtu

func (m *InterfacesState_Interface) GetMtu() uint32

func (*InterfacesState_Interface) GetName

func (m *InterfacesState_Interface) GetName() string

func (*InterfacesState_Interface) GetOperStatus

func (*InterfacesState_Interface) GetPhysAddress

func (m *InterfacesState_Interface) GetPhysAddress() string

func (*InterfacesState_Interface) GetSpeed

func (m *InterfacesState_Interface) GetSpeed() uint64

func (*InterfacesState_Interface) GetStatistics

func (*InterfacesState_Interface) GetType

func (*InterfacesState_Interface) ProtoMessage

func (*InterfacesState_Interface) ProtoMessage()

func (*InterfacesState_Interface) Reset

func (m *InterfacesState_Interface) Reset()

func (*InterfacesState_Interface) String

func (m *InterfacesState_Interface) String() string

func (*InterfacesState_Interface) XXX_DiscardUnknown added in v1.8.1

func (m *InterfacesState_Interface) XXX_DiscardUnknown()

func (*InterfacesState_Interface) XXX_Marshal added in v1.8.1

func (m *InterfacesState_Interface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InterfacesState_Interface) XXX_Merge added in v1.8.1

func (dst *InterfacesState_Interface) XXX_Merge(src proto.Message)

func (*InterfacesState_Interface) XXX_Size added in v1.8.1

func (m *InterfacesState_Interface) XXX_Size() int

func (*InterfacesState_Interface) XXX_Unmarshal added in v1.8.1

func (m *InterfacesState_Interface) XXX_Unmarshal(b []byte) error

type InterfacesState_Interface_Duplex

type InterfacesState_Interface_Duplex int32
const (
	InterfacesState_Interface_UNKNOWN_DUPLEX InterfacesState_Interface_Duplex = 0
	InterfacesState_Interface_HALF           InterfacesState_Interface_Duplex = 1
	InterfacesState_Interface_FULL           InterfacesState_Interface_Duplex = 2
)

func (InterfacesState_Interface_Duplex) EnumDescriptor

func (InterfacesState_Interface_Duplex) EnumDescriptor() ([]byte, []int)

func (InterfacesState_Interface_Duplex) String

type InterfacesState_Interface_Statistics

type InterfacesState_Interface_Statistics struct {
	InPackets            uint64   `protobuf:"varint,1,opt,name=in_packets,json=inPackets,proto3" json:"in_packets,omitempty"`
	InBytes              uint64   `protobuf:"varint,2,opt,name=in_bytes,json=inBytes,proto3" json:"in_bytes,omitempty"`
	OutPackets           uint64   `protobuf:"varint,3,opt,name=out_packets,json=outPackets,proto3" json:"out_packets,omitempty"`
	OutBytes             uint64   `protobuf:"varint,4,opt,name=out_bytes,json=outBytes,proto3" json:"out_bytes,omitempty"`
	DropPackets          uint64   `protobuf:"varint,5,opt,name=drop_packets,json=dropPackets,proto3" json:"drop_packets,omitempty"`
	PuntPackets          uint64   `protobuf:"varint,6,opt,name=punt_packets,json=puntPackets,proto3" json:"punt_packets,omitempty"`
	Ipv4Packets          uint64   `protobuf:"varint,7,opt,name=ipv4_packets,json=ipv4Packets,proto3" json:"ipv4_packets,omitempty"`
	Ipv6Packets          uint64   `protobuf:"varint,8,opt,name=ipv6_packets,json=ipv6Packets,proto3" json:"ipv6_packets,omitempty"`
	InNobufPackets       uint64   `protobuf:"varint,9,opt,name=in_nobuf_packets,json=inNobufPackets,proto3" json:"in_nobuf_packets,omitempty"`
	InMissPackets        uint64   `protobuf:"varint,10,opt,name=in_miss_packets,json=inMissPackets,proto3" json:"in_miss_packets,omitempty"`
	InErrorPackets       uint64   `protobuf:"varint,11,opt,name=in_error_packets,json=inErrorPackets,proto3" json:"in_error_packets,omitempty"`
	OutErrorPackets      uint64   `protobuf:"varint,12,opt,name=out_error_packets,json=outErrorPackets,proto3" json:"out_error_packets,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InterfacesState_Interface_Statistics) Descriptor

func (*InterfacesState_Interface_Statistics) Descriptor() ([]byte, []int)

func (*InterfacesState_Interface_Statistics) GetDropPackets

func (m *InterfacesState_Interface_Statistics) GetDropPackets() uint64

func (*InterfacesState_Interface_Statistics) GetInBytes

func (*InterfacesState_Interface_Statistics) GetInErrorPackets

func (m *InterfacesState_Interface_Statistics) GetInErrorPackets() uint64

func (*InterfacesState_Interface_Statistics) GetInMissPackets

func (m *InterfacesState_Interface_Statistics) GetInMissPackets() uint64

func (*InterfacesState_Interface_Statistics) GetInNobufPackets

func (m *InterfacesState_Interface_Statistics) GetInNobufPackets() uint64

func (*InterfacesState_Interface_Statistics) GetInPackets

func (m *InterfacesState_Interface_Statistics) GetInPackets() uint64

func (*InterfacesState_Interface_Statistics) GetIpv4Packets

func (m *InterfacesState_Interface_Statistics) GetIpv4Packets() uint64

func (*InterfacesState_Interface_Statistics) GetIpv6Packets

func (m *InterfacesState_Interface_Statistics) GetIpv6Packets() uint64

func (*InterfacesState_Interface_Statistics) GetOutBytes

func (*InterfacesState_Interface_Statistics) GetOutErrorPackets

func (m *InterfacesState_Interface_Statistics) GetOutErrorPackets() uint64

func (*InterfacesState_Interface_Statistics) GetOutPackets

func (m *InterfacesState_Interface_Statistics) GetOutPackets() uint64

func (*InterfacesState_Interface_Statistics) GetPuntPackets

func (m *InterfacesState_Interface_Statistics) GetPuntPackets() uint64

func (*InterfacesState_Interface_Statistics) ProtoMessage

func (*InterfacesState_Interface_Statistics) ProtoMessage()

func (*InterfacesState_Interface_Statistics) Reset

func (*InterfacesState_Interface_Statistics) String

func (*InterfacesState_Interface_Statistics) XXX_DiscardUnknown added in v1.8.1

func (m *InterfacesState_Interface_Statistics) XXX_DiscardUnknown()

func (*InterfacesState_Interface_Statistics) XXX_Marshal added in v1.8.1

func (m *InterfacesState_Interface_Statistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InterfacesState_Interface_Statistics) XXX_Merge added in v1.8.1

func (*InterfacesState_Interface_Statistics) XXX_Size added in v1.8.1

func (*InterfacesState_Interface_Statistics) XXX_Unmarshal added in v1.8.1

func (m *InterfacesState_Interface_Statistics) XXX_Unmarshal(b []byte) error

type InterfacesState_Interface_Status

type InterfacesState_Interface_Status int32
const (
	InterfacesState_Interface_UNKNOWN_STATUS InterfacesState_Interface_Status = 0
	InterfacesState_Interface_UP             InterfacesState_Interface_Status = 1
	InterfacesState_Interface_DOWN           InterfacesState_Interface_Status = 2
	InterfacesState_Interface_DELETED        InterfacesState_Interface_Status = 3
)

func (InterfacesState_Interface_Status) EnumDescriptor

func (InterfacesState_Interface_Status) EnumDescriptor() ([]byte, []int)

func (InterfacesState_Interface_Status) String

type Interfaces_Interface

type Interfaces_Interface struct {
	Name               string        `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description        string        `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Type               InterfaceType `protobuf:"varint,3,opt,name=type,proto3,enum=interfaces.InterfaceType" json:"type,omitempty"`
	Enabled            bool          `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	PhysAddress        string        `protobuf:"bytes,5,opt,name=phys_address,json=physAddress,proto3" json:"phys_address,omitempty"`
	Mtu                uint32        `protobuf:"varint,6,opt,name=mtu,proto3" json:"mtu,omitempty"`
	Vrf                uint32        `protobuf:"varint,7,opt,name=vrf,proto3" json:"vrf,omitempty"`
	ContainerIpAddress string        `protobuf:"bytes,8,opt,name=container_ip_address,json=containerIpAddress,proto3" json:"container_ip_address,omitempty"`
	SetDhcpClient      bool          `protobuf:"varint,9,opt,name=set_dhcp_client,json=setDhcpClient,proto3" json:"set_dhcp_client,omitempty"`
	// Required format is "ipAddress/ipPrefix"
	IpAddresses          []string                                  `protobuf:"bytes,10,rep,name=ip_addresses,json=ipAddresses" json:"ip_addresses,omitempty"`
	Unnumbered           *Interfaces_Interface_Unnumbered          `protobuf:"bytes,11,opt,name=unnumbered" json:"unnumbered,omitempty"`
	RxModeSettings       *Interfaces_Interface_RxModeSettings      `protobuf:"bytes,12,opt,name=rx_mode_settings,json=rxModeSettings" json:"rx_mode_settings,omitempty"`
	RxPlacementSettings  *Interfaces_Interface_RxPlacementSettings `protobuf:"bytes,13,opt,name=rx_placement_settings,json=rxPlacementSettings" json:"rx_placement_settings,omitempty"`
	Memif                *Interfaces_Interface_Memif               `protobuf:"bytes,101,opt,name=memif" json:"memif,omitempty"`
	Vxlan                *Interfaces_Interface_Vxlan               `protobuf:"bytes,102,opt,name=vxlan" json:"vxlan,omitempty"`
	Afpacket             *Interfaces_Interface_Afpacket            `protobuf:"bytes,103,opt,name=afpacket" json:"afpacket,omitempty"`
	Tap                  *Interfaces_Interface_Tap                 `protobuf:"bytes,104,opt,name=tap" json:"tap,omitempty"`
	VmxNet3              *Interfaces_Interface_VmxNet3             `protobuf:"bytes,105,opt,name=vmx_net3,json=vmxNet3" json:"vmx_net3,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                  `json:"-"`
	XXX_unrecognized     []byte                                    `json:"-"`
	XXX_sizecache        int32                                     `json:"-"`
}

func (*Interfaces_Interface) Descriptor

func (*Interfaces_Interface) Descriptor() ([]byte, []int)

func (*Interfaces_Interface) GetAfpacket

func (*Interfaces_Interface) GetContainerIpAddress

func (m *Interfaces_Interface) GetContainerIpAddress() string

func (*Interfaces_Interface) GetDescription

func (m *Interfaces_Interface) GetDescription() string

func (*Interfaces_Interface) GetEnabled

func (m *Interfaces_Interface) GetEnabled() bool

func (*Interfaces_Interface) GetIpAddresses

func (m *Interfaces_Interface) GetIpAddresses() []string

func (*Interfaces_Interface) GetMemif

func (*Interfaces_Interface) GetMtu

func (m *Interfaces_Interface) GetMtu() uint32

func (*Interfaces_Interface) GetName

func (m *Interfaces_Interface) GetName() string

func (*Interfaces_Interface) GetPhysAddress

func (m *Interfaces_Interface) GetPhysAddress() string

func (*Interfaces_Interface) GetRxModeSettings

func (*Interfaces_Interface) GetRxPlacementSettings

func (*Interfaces_Interface) GetSetDhcpClient

func (m *Interfaces_Interface) GetSetDhcpClient() bool

func (*Interfaces_Interface) GetTap

func (*Interfaces_Interface) GetType

func (m *Interfaces_Interface) GetType() InterfaceType

func (*Interfaces_Interface) GetUnnumbered

func (*Interfaces_Interface) GetVmxNet3 added in v1.8.1

func (*Interfaces_Interface) GetVrf

func (m *Interfaces_Interface) GetVrf() uint32

func (*Interfaces_Interface) GetVxlan

func (*Interfaces_Interface) ProtoMessage

func (*Interfaces_Interface) ProtoMessage()

func (*Interfaces_Interface) Reset

func (m *Interfaces_Interface) Reset()

func (*Interfaces_Interface) String

func (m *Interfaces_Interface) String() string

func (*Interfaces_Interface) XXX_DiscardUnknown added in v1.8.1

func (m *Interfaces_Interface) XXX_DiscardUnknown()

func (*Interfaces_Interface) XXX_Marshal added in v1.8.1

func (m *Interfaces_Interface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Interfaces_Interface) XXX_Merge added in v1.8.1

func (dst *Interfaces_Interface) XXX_Merge(src proto.Message)

func (*Interfaces_Interface) XXX_Size added in v1.8.1

func (m *Interfaces_Interface) XXX_Size() int

func (*Interfaces_Interface) XXX_Unmarshal added in v1.8.1

func (m *Interfaces_Interface) XXX_Unmarshal(b []byte) error

type Interfaces_Interface_Afpacket

type Interfaces_Interface_Afpacket struct {
	HostIfName           string   `protobuf:"bytes,1,opt,name=host_if_name,json=hostIfName,proto3" json:"host_if_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Interfaces_Interface_Afpacket) Descriptor

func (*Interfaces_Interface_Afpacket) Descriptor() ([]byte, []int)

func (*Interfaces_Interface_Afpacket) GetHostIfName

func (m *Interfaces_Interface_Afpacket) GetHostIfName() string

func (*Interfaces_Interface_Afpacket) ProtoMessage

func (*Interfaces_Interface_Afpacket) ProtoMessage()

func (*Interfaces_Interface_Afpacket) Reset

func (m *Interfaces_Interface_Afpacket) Reset()

func (*Interfaces_Interface_Afpacket) String

func (*Interfaces_Interface_Afpacket) XXX_DiscardUnknown added in v1.8.1

func (m *Interfaces_Interface_Afpacket) XXX_DiscardUnknown()

func (*Interfaces_Interface_Afpacket) XXX_Marshal added in v1.8.1

func (m *Interfaces_Interface_Afpacket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Interfaces_Interface_Afpacket) XXX_Merge added in v1.8.1

func (dst *Interfaces_Interface_Afpacket) XXX_Merge(src proto.Message)

func (*Interfaces_Interface_Afpacket) XXX_Size added in v1.8.1

func (m *Interfaces_Interface_Afpacket) XXX_Size() int

func (*Interfaces_Interface_Afpacket) XXX_Unmarshal added in v1.8.1

func (m *Interfaces_Interface_Afpacket) XXX_Unmarshal(b []byte) error

type Interfaces_Interface_Memif

type Interfaces_Interface_Memif struct {
	Master               bool                                 `protobuf:"varint,1,opt,name=master,proto3" json:"master,omitempty"`
	Mode                 Interfaces_Interface_Memif_MemifMode `protobuf:"varint,2,opt,name=mode,proto3,enum=interfaces.Interfaces_Interface_Memif_MemifMode" json:"mode,omitempty"`
	Id                   uint32                               `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
	SocketFilename       string                               `protobuf:"bytes,4,opt,name=socket_filename,json=socketFilename,proto3" json:"socket_filename,omitempty"`
	Secret               string                               `protobuf:"bytes,5,opt,name=secret,proto3" json:"secret,omitempty"`
	RingSize             uint32                               `protobuf:"varint,6,opt,name=ring_size,json=ringSize,proto3" json:"ring_size,omitempty"`
	BufferSize           uint32                               `protobuf:"varint,7,opt,name=buffer_size,json=bufferSize,proto3" json:"buffer_size,omitempty"`
	RxQueues             uint32                               `protobuf:"varint,8,opt,name=rx_queues,json=rxQueues,proto3" json:"rx_queues,omitempty"`
	TxQueues             uint32                               `protobuf:"varint,9,opt,name=tx_queues,json=txQueues,proto3" json:"tx_queues,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                             `json:"-"`
	XXX_unrecognized     []byte                               `json:"-"`
	XXX_sizecache        int32                                `json:"-"`
}

func (*Interfaces_Interface_Memif) Descriptor

func (*Interfaces_Interface_Memif) Descriptor() ([]byte, []int)

func (*Interfaces_Interface_Memif) GetBufferSize

func (m *Interfaces_Interface_Memif) GetBufferSize() uint32

func (*Interfaces_Interface_Memif) GetId

func (*Interfaces_Interface_Memif) GetMaster

func (m *Interfaces_Interface_Memif) GetMaster() bool

func (*Interfaces_Interface_Memif) GetMode

func (*Interfaces_Interface_Memif) GetRingSize

func (m *Interfaces_Interface_Memif) GetRingSize() uint32

func (*Interfaces_Interface_Memif) GetRxQueues

func (m *Interfaces_Interface_Memif) GetRxQueues() uint32

func (*Interfaces_Interface_Memif) GetSecret

func (m *Interfaces_Interface_Memif) GetSecret() string

func (*Interfaces_Interface_Memif) GetSocketFilename

func (m *Interfaces_Interface_Memif) GetSocketFilename() string

func (*Interfaces_Interface_Memif) GetTxQueues

func (m *Interfaces_Interface_Memif) GetTxQueues() uint32

func (*Interfaces_Interface_Memif) ProtoMessage

func (*Interfaces_Interface_Memif) ProtoMessage()

func (*Interfaces_Interface_Memif) Reset

func (m *Interfaces_Interface_Memif) Reset()

func (*Interfaces_Interface_Memif) String

func (m *Interfaces_Interface_Memif) String() string

func (*Interfaces_Interface_Memif) XXX_DiscardUnknown added in v1.8.1

func (m *Interfaces_Interface_Memif) XXX_DiscardUnknown()

func (*Interfaces_Interface_Memif) XXX_Marshal added in v1.8.1

func (m *Interfaces_Interface_Memif) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Interfaces_Interface_Memif) XXX_Merge added in v1.8.1

func (dst *Interfaces_Interface_Memif) XXX_Merge(src proto.Message)

func (*Interfaces_Interface_Memif) XXX_Size added in v1.8.1

func (m *Interfaces_Interface_Memif) XXX_Size() int

func (*Interfaces_Interface_Memif) XXX_Unmarshal added in v1.8.1

func (m *Interfaces_Interface_Memif) XXX_Unmarshal(b []byte) error

type Interfaces_Interface_Memif_MemifMode

type Interfaces_Interface_Memif_MemifMode int32
const (
	Interfaces_Interface_Memif_ETHERNET    Interfaces_Interface_Memif_MemifMode = 0
	Interfaces_Interface_Memif_IP          Interfaces_Interface_Memif_MemifMode = 1
	Interfaces_Interface_Memif_PUNT_INJECT Interfaces_Interface_Memif_MemifMode = 2
)

func (Interfaces_Interface_Memif_MemifMode) EnumDescriptor

func (Interfaces_Interface_Memif_MemifMode) EnumDescriptor() ([]byte, []int)

func (Interfaces_Interface_Memif_MemifMode) String

type Interfaces_Interface_RxModeSettings

type Interfaces_Interface_RxModeSettings struct {
	RxMode               RxModeType `protobuf:"varint,1,opt,name=rx_mode,json=rxMode,proto3,enum=interfaces.RxModeType" json:"rx_mode,omitempty"`
	QueueId              uint32     `protobuf:"varint,2,opt,name=queue_id,json=queueId,proto3" json:"queue_id,omitempty"`
	QueueIdValid         uint32     `protobuf:"varint,3,opt,name=queue_id_valid,json=queueIdValid,proto3" json:"queue_id_valid,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*Interfaces_Interface_RxModeSettings) Descriptor

func (*Interfaces_Interface_RxModeSettings) Descriptor() ([]byte, []int)

func (*Interfaces_Interface_RxModeSettings) GetQueueId

func (*Interfaces_Interface_RxModeSettings) GetQueueIdValid

func (m *Interfaces_Interface_RxModeSettings) GetQueueIdValid() uint32

func (*Interfaces_Interface_RxModeSettings) GetRxMode

func (*Interfaces_Interface_RxModeSettings) ProtoMessage

func (*Interfaces_Interface_RxModeSettings) ProtoMessage()

func (*Interfaces_Interface_RxModeSettings) Reset

func (*Interfaces_Interface_RxModeSettings) String

func (*Interfaces_Interface_RxModeSettings) XXX_DiscardUnknown added in v1.8.1

func (m *Interfaces_Interface_RxModeSettings) XXX_DiscardUnknown()

func (*Interfaces_Interface_RxModeSettings) XXX_Marshal added in v1.8.1

func (m *Interfaces_Interface_RxModeSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Interfaces_Interface_RxModeSettings) XXX_Merge added in v1.8.1

func (*Interfaces_Interface_RxModeSettings) XXX_Size added in v1.8.1

func (*Interfaces_Interface_RxModeSettings) XXX_Unmarshal added in v1.8.1

func (m *Interfaces_Interface_RxModeSettings) XXX_Unmarshal(b []byte) error

type Interfaces_Interface_RxPlacementSettings

type Interfaces_Interface_RxPlacementSettings struct {
	Queue                uint32   `protobuf:"varint,1,opt,name=queue,proto3" json:"queue,omitempty"`
	Worker               uint32   `protobuf:"varint,2,opt,name=worker,proto3" json:"worker,omitempty"`
	IsMain               bool     `protobuf:"varint,3,opt,name=is_main,json=isMain,proto3" json:"is_main,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Interfaces_Interface_RxPlacementSettings) Descriptor

func (*Interfaces_Interface_RxPlacementSettings) Descriptor() ([]byte, []int)

func (*Interfaces_Interface_RxPlacementSettings) GetIsMain added in v1.8.1

func (*Interfaces_Interface_RxPlacementSettings) GetQueue

func (*Interfaces_Interface_RxPlacementSettings) GetWorker

func (*Interfaces_Interface_RxPlacementSettings) ProtoMessage

func (*Interfaces_Interface_RxPlacementSettings) Reset

func (*Interfaces_Interface_RxPlacementSettings) String

func (*Interfaces_Interface_RxPlacementSettings) XXX_DiscardUnknown added in v1.8.1

func (m *Interfaces_Interface_RxPlacementSettings) XXX_DiscardUnknown()

func (*Interfaces_Interface_RxPlacementSettings) XXX_Marshal added in v1.8.1

func (m *Interfaces_Interface_RxPlacementSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Interfaces_Interface_RxPlacementSettings) XXX_Merge added in v1.8.1

func (*Interfaces_Interface_RxPlacementSettings) XXX_Size added in v1.8.1

func (*Interfaces_Interface_RxPlacementSettings) XXX_Unmarshal added in v1.8.1

func (m *Interfaces_Interface_RxPlacementSettings) XXX_Unmarshal(b []byte) error

type Interfaces_Interface_Tap

type Interfaces_Interface_Tap struct {
	Version              uint32   `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	HostIfName           string   `protobuf:"bytes,2,opt,name=host_if_name,json=hostIfName,proto3" json:"host_if_name,omitempty"`
	Namespace            string   `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	RxRingSize           uint32   `protobuf:"varint,4,opt,name=rx_ring_size,json=rxRingSize,proto3" json:"rx_ring_size,omitempty"`
	TxRingSize           uint32   `protobuf:"varint,5,opt,name=tx_ring_size,json=txRingSize,proto3" json:"tx_ring_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Interfaces_Interface_Tap) Descriptor

func (*Interfaces_Interface_Tap) Descriptor() ([]byte, []int)

func (*Interfaces_Interface_Tap) GetHostIfName

func (m *Interfaces_Interface_Tap) GetHostIfName() string

func (*Interfaces_Interface_Tap) GetNamespace

func (m *Interfaces_Interface_Tap) GetNamespace() string

func (*Interfaces_Interface_Tap) GetRxRingSize

func (m *Interfaces_Interface_Tap) GetRxRingSize() uint32

func (*Interfaces_Interface_Tap) GetTxRingSize

func (m *Interfaces_Interface_Tap) GetTxRingSize() uint32

func (*Interfaces_Interface_Tap) GetVersion

func (m *Interfaces_Interface_Tap) GetVersion() uint32

func (*Interfaces_Interface_Tap) ProtoMessage

func (*Interfaces_Interface_Tap) ProtoMessage()

func (*Interfaces_Interface_Tap) Reset

func (m *Interfaces_Interface_Tap) Reset()

func (*Interfaces_Interface_Tap) String

func (m *Interfaces_Interface_Tap) String() string

func (*Interfaces_Interface_Tap) XXX_DiscardUnknown added in v1.8.1

func (m *Interfaces_Interface_Tap) XXX_DiscardUnknown()

func (*Interfaces_Interface_Tap) XXX_Marshal added in v1.8.1

func (m *Interfaces_Interface_Tap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Interfaces_Interface_Tap) XXX_Merge added in v1.8.1

func (dst *Interfaces_Interface_Tap) XXX_Merge(src proto.Message)

func (*Interfaces_Interface_Tap) XXX_Size added in v1.8.1

func (m *Interfaces_Interface_Tap) XXX_Size() int

func (*Interfaces_Interface_Tap) XXX_Unmarshal added in v1.8.1

func (m *Interfaces_Interface_Tap) XXX_Unmarshal(b []byte) error

type Interfaces_Interface_Unnumbered

type Interfaces_Interface_Unnumbered struct {
	IsUnnumbered         bool     `protobuf:"varint,1,opt,name=is_unnumbered,json=isUnnumbered,proto3" json:"is_unnumbered,omitempty"`
	InterfaceWithIp      string   `protobuf:"bytes,2,opt,name=interface_with_ip,json=interfaceWithIp,proto3" json:"interface_with_ip,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Interfaces_Interface_Unnumbered) Descriptor

func (*Interfaces_Interface_Unnumbered) Descriptor() ([]byte, []int)

func (*Interfaces_Interface_Unnumbered) GetInterfaceWithIp

func (m *Interfaces_Interface_Unnumbered) GetInterfaceWithIp() string

func (*Interfaces_Interface_Unnumbered) GetIsUnnumbered

func (m *Interfaces_Interface_Unnumbered) GetIsUnnumbered() bool

func (*Interfaces_Interface_Unnumbered) ProtoMessage

func (*Interfaces_Interface_Unnumbered) ProtoMessage()

func (*Interfaces_Interface_Unnumbered) Reset

func (*Interfaces_Interface_Unnumbered) String

func (*Interfaces_Interface_Unnumbered) XXX_DiscardUnknown added in v1.8.1

func (m *Interfaces_Interface_Unnumbered) XXX_DiscardUnknown()

func (*Interfaces_Interface_Unnumbered) XXX_Marshal added in v1.8.1

func (m *Interfaces_Interface_Unnumbered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Interfaces_Interface_Unnumbered) XXX_Merge added in v1.8.1

func (dst *Interfaces_Interface_Unnumbered) XXX_Merge(src proto.Message)

func (*Interfaces_Interface_Unnumbered) XXX_Size added in v1.8.1

func (m *Interfaces_Interface_Unnumbered) XXX_Size() int

func (*Interfaces_Interface_Unnumbered) XXX_Unmarshal added in v1.8.1

func (m *Interfaces_Interface_Unnumbered) XXX_Unmarshal(b []byte) error

type Interfaces_Interface_VmxNet3 added in v1.8.1

type Interfaces_Interface_VmxNet3 struct {
	EnableElog           bool     `protobuf:"varint,2,opt,name=enable_elog,json=enableElog,proto3" json:"enable_elog,omitempty"`
	RxqSize              uint32   `protobuf:"varint,3,opt,name=rxq_size,json=rxqSize,proto3" json:"rxq_size,omitempty"`
	TxqSize              uint32   `protobuf:"varint,4,opt,name=txq_size,json=txqSize,proto3" json:"txq_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

PCI address (unsigned 32bit int) is derived from vmxnet3 interface name. It is expected that the interface name is in format "vmxnet3-<d>/<b>/<s>/<f>", where 'd' stands for domain (max ffff), 'b' is bus (max ff), 's' is slot (max 1f) and 'f is function' (max 7). All values are base 16

func (*Interfaces_Interface_VmxNet3) Descriptor added in v1.8.1

func (*Interfaces_Interface_VmxNet3) Descriptor() ([]byte, []int)

func (*Interfaces_Interface_VmxNet3) GetEnableElog added in v1.8.1

func (m *Interfaces_Interface_VmxNet3) GetEnableElog() bool

func (*Interfaces_Interface_VmxNet3) GetRxqSize added in v1.8.1

func (m *Interfaces_Interface_VmxNet3) GetRxqSize() uint32

func (*Interfaces_Interface_VmxNet3) GetTxqSize added in v1.8.1

func (m *Interfaces_Interface_VmxNet3) GetTxqSize() uint32

func (*Interfaces_Interface_VmxNet3) ProtoMessage added in v1.8.1

func (*Interfaces_Interface_VmxNet3) ProtoMessage()

func (*Interfaces_Interface_VmxNet3) Reset added in v1.8.1

func (m *Interfaces_Interface_VmxNet3) Reset()

func (*Interfaces_Interface_VmxNet3) String added in v1.8.1

func (*Interfaces_Interface_VmxNet3) XXX_DiscardUnknown added in v1.8.1

func (m *Interfaces_Interface_VmxNet3) XXX_DiscardUnknown()

func (*Interfaces_Interface_VmxNet3) XXX_Marshal added in v1.8.1

func (m *Interfaces_Interface_VmxNet3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Interfaces_Interface_VmxNet3) XXX_Merge added in v1.8.1

func (dst *Interfaces_Interface_VmxNet3) XXX_Merge(src proto.Message)

func (*Interfaces_Interface_VmxNet3) XXX_Size added in v1.8.1

func (m *Interfaces_Interface_VmxNet3) XXX_Size() int

func (*Interfaces_Interface_VmxNet3) XXX_Unmarshal added in v1.8.1

func (m *Interfaces_Interface_VmxNet3) XXX_Unmarshal(b []byte) error

type Interfaces_Interface_Vxlan

type Interfaces_Interface_Vxlan struct {
	SrcAddress           string   `protobuf:"bytes,1,opt,name=src_address,json=srcAddress,proto3" json:"src_address,omitempty"`
	DstAddress           string   `protobuf:"bytes,2,opt,name=dst_address,json=dstAddress,proto3" json:"dst_address,omitempty"`
	Vni                  uint32   `protobuf:"varint,3,opt,name=vni,proto3" json:"vni,omitempty"`
	Multicast            string   `protobuf:"bytes,4,opt,name=multicast,proto3" json:"multicast,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Interfaces_Interface_Vxlan) Descriptor

func (*Interfaces_Interface_Vxlan) Descriptor() ([]byte, []int)

func (*Interfaces_Interface_Vxlan) GetDstAddress

func (m *Interfaces_Interface_Vxlan) GetDstAddress() string

func (*Interfaces_Interface_Vxlan) GetMulticast

func (m *Interfaces_Interface_Vxlan) GetMulticast() string

func (*Interfaces_Interface_Vxlan) GetSrcAddress

func (m *Interfaces_Interface_Vxlan) GetSrcAddress() string

func (*Interfaces_Interface_Vxlan) GetVni

func (m *Interfaces_Interface_Vxlan) GetVni() uint32

func (*Interfaces_Interface_Vxlan) ProtoMessage

func (*Interfaces_Interface_Vxlan) ProtoMessage()

func (*Interfaces_Interface_Vxlan) Reset

func (m *Interfaces_Interface_Vxlan) Reset()

func (*Interfaces_Interface_Vxlan) String

func (m *Interfaces_Interface_Vxlan) String() string

func (*Interfaces_Interface_Vxlan) XXX_DiscardUnknown added in v1.8.1

func (m *Interfaces_Interface_Vxlan) XXX_DiscardUnknown()

func (*Interfaces_Interface_Vxlan) XXX_Marshal added in v1.8.1

func (m *Interfaces_Interface_Vxlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Interfaces_Interface_Vxlan) XXX_Merge added in v1.8.1

func (dst *Interfaces_Interface_Vxlan) XXX_Merge(src proto.Message)

func (*Interfaces_Interface_Vxlan) XXX_Size added in v1.8.1

func (m *Interfaces_Interface_Vxlan) XXX_Size() int

func (*Interfaces_Interface_Vxlan) XXX_Unmarshal added in v1.8.1

func (m *Interfaces_Interface_Vxlan) XXX_Unmarshal(b []byte) error

type RxModeType

type RxModeType int32

from vpp/build-root/install-vpp-native/vpp/include/vnet/interface.h

const (
	RxModeType_UNKNOWN   RxModeType = 0
	RxModeType_POLLING   RxModeType = 1
	RxModeType_INTERRUPT RxModeType = 2
	RxModeType_ADAPTIVE  RxModeType = 3
	RxModeType_DEFAULT   RxModeType = 4
)

func (RxModeType) EnumDescriptor

func (RxModeType) EnumDescriptor() ([]byte, []int)

func (RxModeType) String

func (x RxModeType) String() string

Jump to

Keyboard shortcuts

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