vpp_interfaces

package
v2.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2019 License: Apache-2.0 Imports: 9 Imported by: 504

Documentation

Index

Constants

View Source
const (
	// DHCPClientKeyPrefix is used as a common prefix for keys derived from
	// interfaces to represent enabled DHCP clients.
	DHCPClientKeyPrefix = "vpp/interface/dhcp-client/"

	// DHCPLeaseKeyPrefix is used as a common prefix for keys representing
	// notifications with DHCP leases.
	DHCPLeaseKeyPrefix = "vpp/interface/dhcp-lease/"
)

DHCP (client - derived, lease - notification)

View Source
const (
	// AddressKeyPrefix is used as a common prefix for keys derived from
	// interfaces to represent assigned IP addresses.
	AddressKeyPrefix = "vpp/interface/address/"
)

Interface Address (derived)

View Source
const (
	// BondedInterfacePrefix is used as a common prefix for keys derived from
	// interfaces to represent interface slaves for bond interface.
	BondedInterfacePrefix = "vpp/bond/{bond}/interface/{iface}/"
)

Bond interface enslavement (derived)

View Source
const (
	// ErrorPrefix is a key prefix used in NB DB to store interface errors.
	ErrorPrefix = "vpp/status/v2/interface/error/"
)

Interface Error

View Source
const (
	// InvalidKeyPart is used in key for parts which are invalid
	InvalidKeyPart = "<invalid>"
)
View Source
const ModuleName = "vpp"

ModuleName is the module name used for models.

View Source
const (
	// StatePrefix is a key prefix used in NB DB to store interface states.
	StatePrefix = "vpp/status/v2/interface/"
)

Interface State

View Source
const (
	// UnnumberedKeyPrefix is used as a common prefix for keys derived from
	// interfaces to represent unnumbered interfaces.
	UnnumberedKeyPrefix = "vpp/interface/unnumbered/"
)

Unnumbered interface (derived)

Variables

View Source
var BondLink_LoadBalance_name = map[int32]string{
	0: "L2",
	1: "L34",
	2: "L23",
}
View Source
var BondLink_LoadBalance_value = map[string]int32{
	"L2":  0,
	"L34": 1,
	"L23": 2,
}
View Source
var BondLink_Mode_name = map[int32]string{
	0: "UNKNOWN",
	1: "ROUND_ROBIN",
	2: "ACTIVE_BACKUP",
	3: "XOR",
	4: "BROADCAST",
	5: "LACP",
}
View Source
var BondLink_Mode_value = map[string]int32{
	"UNKNOWN":       0,
	"ROUND_ROBIN":   1,
	"ACTIVE_BACKUP": 2,
	"XOR":           3,
	"BROADCAST":     4,
	"LACP":          5,
}
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 InterfaceState_Duplex_name = map[int32]string{
	0: "UNKNOWN_DUPLEX",
	1: "HALF",
	2: "FULL",
}
View Source
var InterfaceState_Duplex_value = map[string]int32{
	"UNKNOWN_DUPLEX": 0,
	"HALF":           1,
	"FULL":           2,
}
View Source
var InterfaceState_Status_name = map[int32]string{
	0: "UNKNOWN_STATUS",
	1: "UP",
	2: "DOWN",
	3: "DELETED",
}
View Source
var InterfaceState_Status_value = map[string]int32{
	"UNKNOWN_STATUS": 0,
	"UP":             1,
	"DOWN":           2,
	"DELETED":        3,
}
View Source
var Interface_RxModeSettings_RxModeType_name = map[int32]string{
	0: "UNKNOWN",
	1: "POLLING",
	2: "INTERRUPT",
	3: "ADAPTIVE",
	4: "DEFAULT",
}
View Source
var Interface_RxModeSettings_RxModeType_value = map[string]int32{
	"UNKNOWN":   0,
	"POLLING":   1,
	"INTERRUPT": 2,
	"ADAPTIVE":  3,
	"DEFAULT":   4,
}
View Source
var Interface_Type_name = map[int32]string{
	0:  "UNDEFINED_TYPE",
	1:  "SUB_INTERFACE",
	2:  "SOFTWARE_LOOPBACK",
	3:  "DPDK",
	4:  "MEMIF",
	5:  "TAP",
	6:  "AF_PACKET",
	7:  "VXLAN_TUNNEL",
	8:  "IPSEC_TUNNEL",
	9:  "VMXNET3_INTERFACE",
	10: "BOND_INTERFACE",
}
View Source
var Interface_Type_value = map[string]int32{
	"UNDEFINED_TYPE":    0,
	"SUB_INTERFACE":     1,
	"SOFTWARE_LOOPBACK": 2,
	"DPDK":              3,
	"MEMIF":             4,
	"TAP":               5,
	"AF_PACKET":         6,
	"VXLAN_TUNNEL":      7,
	"IPSEC_TUNNEL":      8,
	"VMXNET3_INTERFACE": 9,
	"BOND_INTERFACE":    10,
}
View Source
var MemifLink_MemifMode_name = map[int32]string{
	0: "ETHERNET",
	1: "IP",
	2: "PUNT_INJECT",
}
View Source
var MemifLink_MemifMode_value = map[string]int32{
	"ETHERNET":    0,
	"IP":          1,
	"PUNT_INJECT": 2,
}
View Source
var (
	ModelInterface = models.Register(&Interface{}, models.Spec{
		Module:  ModuleName,
		Version: "v2",
		Type:    "interfaces",
	})
)
View Source
var SubInterface_TagRewriteOptions_name = map[int32]string{
	0: "DISABLED",
	1: "PUSH1",
	2: "PUSH2",
	3: "POP1",
	4: "POP2",
	5: "TRANSLATE11",
	6: "TRANSLATE12",
	7: "TRANSLATE21",
	8: "TRANSLATE22",
}
View Source
var SubInterface_TagRewriteOptions_value = map[string]int32{
	"DISABLED":    0,
	"PUSH1":       1,
	"PUSH2":       2,
	"POP1":        3,
	"POP2":        4,
	"TRANSLATE11": 5,
	"TRANSLATE12": 6,
	"TRANSLATE21": 7,
	"TRANSLATE22": 8,
}

Functions

func BondedInterfaceKey

func BondedInterfaceKey(bondIf, slaveIf string) string

BondedInterfaceKey returns a key with bond and slave interface set

func DHCPClientKey

func DHCPClientKey(iface string) string

DHCPClientKey returns a (derived) key used to represent enabled DHCP lease.

func DHCPLeaseKey

func DHCPLeaseKey(iface string) string

DHCPLeaseKey returns a key used to represent DHCP lease for the given interface.

func InterfaceAddressKey

func InterfaceAddressKey(iface string, address string) string

InterfaceAddressKey returns key representing IP address assigned to VPP interface.

func InterfaceAddressPrefix

func InterfaceAddressPrefix(iface string) string

InterfaceAddressPrefix returns longest-common prefix of keys representing assigned IP addresses to a specific VPP interface.

func InterfaceErrorKey

func InterfaceErrorKey(iface string) string

InterfaceErrorKey returns the key used in NB DB to store the interface errors.

func InterfaceKey

func InterfaceKey(name string) string

InterfaceKey returns the key used in NB DB to store the configuration of the given vpp interface.

func InterfaceStateKey

func InterfaceStateKey(iface string) string

InterfaceStateKey returns the key used in NB DB to store the state data of the given vpp interface.

func ParseBondedInterfaceKey

func ParseBondedInterfaceKey(key string) (bondIf, slaveIf string, isBondSlaveInterfaceKey bool)

ParseBondedInterfaceKey returns names of interfaces of the key.

func ParseInterfaceAddressKey

func ParseInterfaceAddressKey(key string) (iface string, ipAddr net.IP, ipAddrNet *net.IPNet, isAddrKey bool)

ParseInterfaceAddressKey parses interface address from key derived from interface by InterfaceAddressKey().

func ParseNameFromDHCPClientKey

func ParseNameFromDHCPClientKey(key string) (iface string, isDHCPClientKey bool)

ParseNameFromDHCPClientKey returns suffix of the key.

func ParseNameFromDHCPLeaseKey

func ParseNameFromDHCPLeaseKey(key string) (iface string, isDHCPLeaseKey bool)

ParseNameFromDHCPLeaseKey returns suffix of the key.

func ParseNameFromUnnumberedKey

func ParseNameFromUnnumberedKey(key string) (iface string, isUnnumberedKey bool)

ParseNameFromUnnumberedKey returns suffix of the key.

func UnnumberedKey

func UnnumberedKey(iface string) string

UnnumberedKey returns key representing unnumbered interface.

Types

type AfpacketLink 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 (*AfpacketLink) Descriptor

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

func (*AfpacketLink) GetHostIfName

func (m *AfpacketLink) GetHostIfName() string

func (*AfpacketLink) ProtoMessage

func (*AfpacketLink) ProtoMessage()

func (*AfpacketLink) Reset

func (m *AfpacketLink) Reset()

func (*AfpacketLink) String

func (m *AfpacketLink) String() string

func (*AfpacketLink) XXX_DiscardUnknown

func (m *AfpacketLink) XXX_DiscardUnknown()

func (*AfpacketLink) XXX_Marshal

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

func (*AfpacketLink) XXX_Merge

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

func (*AfpacketLink) XXX_MessageName

func (*AfpacketLink) XXX_MessageName() string

func (*AfpacketLink) XXX_Size

func (m *AfpacketLink) XXX_Size() int

func (*AfpacketLink) XXX_Unmarshal

func (m *AfpacketLink) XXX_Unmarshal(b []byte) error
type BondLink struct {
	Id                   uint32                      `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Mode                 BondLink_Mode               `protobuf:"varint,3,opt,name=mode,proto3,enum=vpp.interfaces.BondLink_Mode" json:"mode,omitempty"`
	Lb                   BondLink_LoadBalance        `protobuf:"varint,4,opt,name=lb,proto3,enum=vpp.interfaces.BondLink_LoadBalance" json:"lb,omitempty"`
	BondedInterfaces     []*BondLink_BondedInterface `protobuf:"bytes,12,rep,name=bonded_interfaces,json=bondedInterfaces,proto3" json:"bonded_interfaces,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*BondLink) Descriptor

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

func (*BondLink) GetBondedInterfaces

func (m *BondLink) GetBondedInterfaces() []*BondLink_BondedInterface

func (*BondLink) GetId

func (m *BondLink) GetId() uint32

func (*BondLink) GetLb

func (m *BondLink) GetLb() BondLink_LoadBalance

func (*BondLink) GetMode

func (m *BondLink) GetMode() BondLink_Mode

func (*BondLink) ProtoMessage

func (*BondLink) ProtoMessage()

func (*BondLink) Reset

func (m *BondLink) Reset()

func (*BondLink) String

func (m *BondLink) String() string

func (*BondLink) XXX_DiscardUnknown

func (m *BondLink) XXX_DiscardUnknown()

func (*BondLink) XXX_Marshal

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

func (*BondLink) XXX_Merge

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

func (*BondLink) XXX_MessageName

func (*BondLink) XXX_MessageName() string

func (*BondLink) XXX_Size

func (m *BondLink) XXX_Size() int

func (*BondLink) XXX_Unmarshal

func (m *BondLink) XXX_Unmarshal(b []byte) error
type BondLink_BondedInterface struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	IsPassive            bool     `protobuf:"varint,2,opt,name=is_passive,json=isPassive,proto3" json:"is_passive,omitempty"`
	IsLongTimeout        bool     `protobuf:"varint,3,opt,name=is_long_timeout,json=isLongTimeout,proto3" json:"is_long_timeout,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}
func (*BondLink_BondedInterface) Descriptor() ([]byte, []int)
func (m *BondLink_BondedInterface) GetIsLongTimeout() bool
func (m *BondLink_BondedInterface) GetIsPassive() bool
func (m *BondLink_BondedInterface) GetName() string
func (*BondLink_BondedInterface) ProtoMessage()
func (m *BondLink_BondedInterface) Reset()
func (m *BondLink_BondedInterface) String() string
func (m *BondLink_BondedInterface) XXX_DiscardUnknown()
func (m *BondLink_BondedInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (dst *BondLink_BondedInterface) XXX_Merge(src proto.Message)
func (*BondLink_BondedInterface) XXX_MessageName() string
func (m *BondLink_BondedInterface) XXX_Size() int
func (m *BondLink_BondedInterface) XXX_Unmarshal(b []byte) error
type BondLink_LoadBalance int32
const (
	BondLink_L2  BondLink_LoadBalance = 0
	BondLink_L34 BondLink_LoadBalance = 1
	BondLink_L23 BondLink_LoadBalance = 2
)
func (BondLink_LoadBalance) EnumDescriptor() ([]byte, []int)
func (x BondLink_LoadBalance) String() string
type BondLink_Mode int32
const (
	BondLink_UNKNOWN       BondLink_Mode = 0
	BondLink_ROUND_ROBIN   BondLink_Mode = 1
	BondLink_ACTIVE_BACKUP BondLink_Mode = 2
	BondLink_XOR           BondLink_Mode = 3
	BondLink_BROADCAST     BondLink_Mode = 4
	BondLink_LACP          BondLink_Mode = 5
)
func (BondLink_Mode) EnumDescriptor() ([]byte, []int)
func (x BondLink_Mode) String() string

type DHCPLease

type DHCPLease struct {
	InterfaceName        string   `protobuf:"bytes,1,opt,name=interface_name,json=interfaceName,proto3" json:"interface_name,omitempty"`
	HostName             string   `protobuf:"bytes,2,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
	IsIpv6               bool     `protobuf:"varint,3,opt,name=is_ipv6,json=isIpv6,proto3" json:"is_ipv6,omitempty"`
	HostPhysAddress      string   `protobuf:"bytes,4,opt,name=host_phys_address,json=hostPhysAddress,proto3" json:"host_phys_address,omitempty"`
	HostIpAddress        string   `protobuf:"bytes,5,opt,name=host_ip_address,json=hostIpAddress,proto3" json:"host_ip_address,omitempty"`
	RouterIpAddress      string   `protobuf:"bytes,6,opt,name=router_ip_address,json=routerIpAddress,proto3" json:"router_ip_address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DHCPLease is a notification, i.e. flows from SB upwards

func (*DHCPLease) Descriptor

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

func (*DHCPLease) GetHostIpAddress

func (m *DHCPLease) GetHostIpAddress() string

func (*DHCPLease) GetHostName

func (m *DHCPLease) GetHostName() string

func (*DHCPLease) GetHostPhysAddress

func (m *DHCPLease) GetHostPhysAddress() string

func (*DHCPLease) GetInterfaceName

func (m *DHCPLease) GetInterfaceName() string

func (*DHCPLease) GetIsIpv6

func (m *DHCPLease) GetIsIpv6() bool

func (*DHCPLease) GetRouterIpAddress

func (m *DHCPLease) GetRouterIpAddress() string

func (*DHCPLease) ProtoMessage

func (*DHCPLease) ProtoMessage()

func (*DHCPLease) Reset

func (m *DHCPLease) Reset()

func (*DHCPLease) String

func (m *DHCPLease) String() string

func (*DHCPLease) XXX_DiscardUnknown

func (m *DHCPLease) XXX_DiscardUnknown()

func (*DHCPLease) XXX_Marshal

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

func (*DHCPLease) XXX_Merge

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

func (*DHCPLease) XXX_MessageName

func (*DHCPLease) XXX_MessageName() string

func (*DHCPLease) XXX_Size

func (m *DHCPLease) XXX_Size() int

func (*DHCPLease) XXX_Unmarshal

func (m *DHCPLease) XXX_Unmarshal(b []byte) error
type IPSecLink struct {
	Esn                  bool            `protobuf:"varint,2,opt,name=esn,proto3" json:"esn,omitempty"`
	AntiReplay           bool            `protobuf:"varint,3,opt,name=anti_replay,json=antiReplay,proto3" json:"anti_replay,omitempty"`
	LocalIp              string          `protobuf:"bytes,4,opt,name=local_ip,json=localIp,proto3" json:"local_ip,omitempty"`
	RemoteIp             string          `protobuf:"bytes,5,opt,name=remote_ip,json=remoteIp,proto3" json:"remote_ip,omitempty"`
	LocalSpi             uint32          `protobuf:"varint,6,opt,name=local_spi,json=localSpi,proto3" json:"local_spi,omitempty"`
	RemoteSpi            uint32          `protobuf:"varint,7,opt,name=remote_spi,json=remoteSpi,proto3" json:"remote_spi,omitempty"`
	CryptoAlg            ipsec.CryptoAlg `protobuf:"varint,8,opt,name=crypto_alg,json=cryptoAlg,proto3,enum=vpp.ipsec.CryptoAlg" json:"crypto_alg,omitempty"`
	LocalCryptoKey       string          `protobuf:"bytes,9,opt,name=local_crypto_key,json=localCryptoKey,proto3" json:"local_crypto_key,omitempty"`
	RemoteCryptoKey      string          `protobuf:"bytes,10,opt,name=remote_crypto_key,json=remoteCryptoKey,proto3" json:"remote_crypto_key,omitempty"`
	IntegAlg             ipsec.IntegAlg  `protobuf:"varint,11,opt,name=integ_alg,json=integAlg,proto3,enum=vpp.ipsec.IntegAlg" json:"integ_alg,omitempty"`
	LocalIntegKey        string          `protobuf:"bytes,12,opt,name=local_integ_key,json=localIntegKey,proto3" json:"local_integ_key,omitempty"`
	RemoteIntegKey       string          `protobuf:"bytes,13,opt,name=remote_integ_key,json=remoteIntegKey,proto3" json:"remote_integ_key,omitempty"`
	EnableUdpEncap       bool            `protobuf:"varint,14,opt,name=enable_udp_encap,json=enableUdpEncap,proto3" json:"enable_udp_encap,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*IPSecLink) Descriptor

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

func (*IPSecLink) GetAntiReplay

func (m *IPSecLink) GetAntiReplay() bool

func (*IPSecLink) GetCryptoAlg

func (m *IPSecLink) GetCryptoAlg() ipsec.CryptoAlg

func (*IPSecLink) GetEnableUdpEncap

func (m *IPSecLink) GetEnableUdpEncap() bool

func (*IPSecLink) GetEsn

func (m *IPSecLink) GetEsn() bool

func (*IPSecLink) GetIntegAlg

func (m *IPSecLink) GetIntegAlg() ipsec.IntegAlg

func (*IPSecLink) GetLocalCryptoKey

func (m *IPSecLink) GetLocalCryptoKey() string

func (*IPSecLink) GetLocalIntegKey

func (m *IPSecLink) GetLocalIntegKey() string

func (*IPSecLink) GetLocalIp

func (m *IPSecLink) GetLocalIp() string

func (*IPSecLink) GetLocalSpi

func (m *IPSecLink) GetLocalSpi() uint32

func (*IPSecLink) GetRemoteCryptoKey

func (m *IPSecLink) GetRemoteCryptoKey() string

func (*IPSecLink) GetRemoteIntegKey

func (m *IPSecLink) GetRemoteIntegKey() string

func (*IPSecLink) GetRemoteIp

func (m *IPSecLink) GetRemoteIp() string

func (*IPSecLink) GetRemoteSpi

func (m *IPSecLink) GetRemoteSpi() uint32

func (*IPSecLink) ProtoMessage

func (*IPSecLink) ProtoMessage()

func (*IPSecLink) Reset

func (m *IPSecLink) Reset()

func (*IPSecLink) String

func (m *IPSecLink) String() string

func (*IPSecLink) XXX_DiscardUnknown

func (m *IPSecLink) XXX_DiscardUnknown()

func (*IPSecLink) XXX_Marshal

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

func (*IPSecLink) XXX_Merge

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

func (*IPSecLink) XXX_MessageName

func (*IPSecLink) XXX_MessageName() string

func (*IPSecLink) XXX_Size

func (m *IPSecLink) XXX_Size() int

func (*IPSecLink) XXX_Unmarshal

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

type Interface

type Interface struct {
	Name                string                         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type                Interface_Type                 `protobuf:"varint,2,opt,name=type,proto3,enum=vpp.interfaces.Interface_Type" json:"type,omitempty"`
	Enabled             bool                           `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
	PhysAddress         string                         `protobuf:"bytes,4,opt,name=phys_address,json=physAddress,proto3" json:"phys_address,omitempty"`
	IpAddresses         []string                       `protobuf:"bytes,5,rep,name=ip_addresses,json=ipAddresses,proto3" json:"ip_addresses,omitempty"`
	Vrf                 uint32                         `protobuf:"varint,6,opt,name=vrf,proto3" json:"vrf,omitempty"`
	SetDhcpClient       bool                           `protobuf:"varint,7,opt,name=set_dhcp_client,json=setDhcpClient,proto3" json:"set_dhcp_client,omitempty"`
	Mtu                 uint32                         `protobuf:"varint,8,opt,name=mtu,proto3" json:"mtu,omitempty"`
	Unnumbered          *Interface_Unnumbered          `protobuf:"bytes,9,opt,name=unnumbered,proto3" json:"unnumbered,omitempty"`
	RxModeSettings      *Interface_RxModeSettings      `protobuf:"bytes,10,opt,name=rx_mode_settings,json=rxModeSettings,proto3" json:"rx_mode_settings,omitempty"`
	RxPlacementSettings *Interface_RxPlacementSettings `protobuf:"bytes,11,opt,name=rx_placement_settings,json=rxPlacementSettings,proto3" json:"rx_placement_settings,omitempty"`
	// Types that are valid to be assigned to Link:
	//	*Interface_Sub
	//	*Interface_Memif
	//	*Interface_Afpacket
	//	*Interface_Tap
	//	*Interface_Vxlan
	//	*Interface_Ipsec
	//	*Interface_VmxNet3
	//	*Interface_Bond
	Link                 isInterface_Link `protobuf_oneof:"link"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*Interface) Descriptor

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

func (*Interface) GetAfpacket

func (m *Interface) GetAfpacket() *AfpacketLink

func (*Interface) GetBond

func (m *Interface) GetBond() *BondLink

func (*Interface) GetEnabled

func (m *Interface) GetEnabled() bool

func (*Interface) GetIpAddresses

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

func (*Interface) GetIpsec

func (m *Interface) GetIpsec() *IPSecLink
func (m *Interface) GetLink() isInterface_Link

func (*Interface) GetMemif

func (m *Interface) GetMemif() *MemifLink

func (*Interface) GetMtu

func (m *Interface) GetMtu() uint32

func (*Interface) GetName

func (m *Interface) GetName() string

func (*Interface) GetPhysAddress

func (m *Interface) GetPhysAddress() string

func (*Interface) GetRxModeSettings

func (m *Interface) GetRxModeSettings() *Interface_RxModeSettings

func (*Interface) GetRxPlacementSettings

func (m *Interface) GetRxPlacementSettings() *Interface_RxPlacementSettings

func (*Interface) GetSetDhcpClient

func (m *Interface) GetSetDhcpClient() bool

func (*Interface) GetSub

func (m *Interface) GetSub() *SubInterface

func (*Interface) GetTap

func (m *Interface) GetTap() *TapLink

func (*Interface) GetType

func (m *Interface) GetType() Interface_Type

func (*Interface) GetUnnumbered

func (m *Interface) GetUnnumbered() *Interface_Unnumbered

func (*Interface) GetVmxNet3

func (m *Interface) GetVmxNet3() *VmxNet3Link

func (*Interface) GetVrf

func (m *Interface) GetVrf() uint32

func (*Interface) GetVxlan

func (m *Interface) GetVxlan() *VxlanLink

func (*Interface) MarshalJSON

func (m *Interface) MarshalJSON() ([]byte, error)

MarshalJSON ensures that field of type 'oneOf' is correctly marshaled by using gogo lib marshaller

func (*Interface) ProtoMessage

func (*Interface) ProtoMessage()

func (*Interface) Reset

func (m *Interface) Reset()

func (*Interface) String

func (m *Interface) String() string

func (*Interface) UnmarshalJSON

func (m *Interface) UnmarshalJSON(data []byte) error

UnmarshalJSON ensures that field of type 'oneOf' is correctly unmarshaled

func (*Interface) XXX_DiscardUnknown

func (m *Interface) XXX_DiscardUnknown()

func (*Interface) XXX_Marshal

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

func (*Interface) XXX_Merge

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

func (*Interface) XXX_MessageName

func (*Interface) XXX_MessageName() string

func (*Interface) XXX_OneofFuncs

func (*Interface) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*Interface) XXX_Size

func (m *Interface) XXX_Size() int

func (*Interface) XXX_Unmarshal

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

type InterfaceNotification

type InterfaceNotification struct {
	Type                 InterfaceNotification_NotifType `protobuf:"varint,1,opt,name=type,proto3,enum=vpp.interfaces.InterfaceNotification_NotifType" json:"type,omitempty"`
	State                *InterfaceState                 `protobuf:"bytes,2,opt,name=state,proto3" 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 (m *InterfaceNotification) GetState() *InterfaceState

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

func (m *InterfaceNotification) XXX_DiscardUnknown()

func (*InterfaceNotification) XXX_Marshal

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

func (*InterfaceNotification) XXX_Merge

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

func (*InterfaceNotification) XXX_MessageName

func (*InterfaceNotification) XXX_MessageName() string

func (*InterfaceNotification) XXX_Size

func (m *InterfaceNotification) XXX_Size() int

func (*InterfaceNotification) XXX_Unmarshal

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 InterfaceState

type InterfaceState 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                 Interface_Type             `protobuf:"varint,3,opt,name=type,proto3,enum=vpp.interfaces.Interface_Type" json:"type,omitempty"`
	IfIndex              uint32                     `protobuf:"varint,4,opt,name=if_index,json=ifIndex,proto3" json:"if_index,omitempty"`
	AdminStatus          InterfaceState_Status      `` /* 137-byte string literal not displayed */
	OperStatus           InterfaceState_Status      `` /* 134-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               InterfaceState_Duplex      `protobuf:"varint,11,opt,name=duplex,proto3,enum=vpp.interfaces.InterfaceState_Duplex" json:"duplex,omitempty"`
	Statistics           *InterfaceState_Statistics `protobuf:"bytes,100,opt,name=statistics,proto3" json:"statistics,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*InterfaceState) Descriptor

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

func (*InterfaceState) GetAdminStatus

func (m *InterfaceState) GetAdminStatus() InterfaceState_Status

func (*InterfaceState) GetDuplex

func (m *InterfaceState) GetDuplex() InterfaceState_Duplex

func (*InterfaceState) GetIfIndex

func (m *InterfaceState) GetIfIndex() uint32

func (*InterfaceState) GetInternalName

func (m *InterfaceState) GetInternalName() string

func (*InterfaceState) GetLastChange

func (m *InterfaceState) GetLastChange() int64

func (*InterfaceState) GetMtu

func (m *InterfaceState) GetMtu() uint32

func (*InterfaceState) GetName

func (m *InterfaceState) GetName() string

func (*InterfaceState) GetOperStatus

func (m *InterfaceState) GetOperStatus() InterfaceState_Status

func (*InterfaceState) GetPhysAddress

func (m *InterfaceState) GetPhysAddress() string

func (*InterfaceState) GetSpeed

func (m *InterfaceState) GetSpeed() uint64

func (*InterfaceState) GetStatistics

func (m *InterfaceState) GetStatistics() *InterfaceState_Statistics

func (*InterfaceState) GetType

func (m *InterfaceState) GetType() Interface_Type

func (*InterfaceState) ProtoMessage

func (*InterfaceState) ProtoMessage()

func (*InterfaceState) Reset

func (m *InterfaceState) Reset()

func (*InterfaceState) String

func (m *InterfaceState) String() string

func (*InterfaceState) XXX_DiscardUnknown

func (m *InterfaceState) XXX_DiscardUnknown()

func (*InterfaceState) XXX_Marshal

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

func (*InterfaceState) XXX_Merge

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

func (*InterfaceState) XXX_MessageName

func (*InterfaceState) XXX_MessageName() string

func (*InterfaceState) XXX_Size

func (m *InterfaceState) XXX_Size() int

func (*InterfaceState) XXX_Unmarshal

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

type InterfaceState_Duplex

type InterfaceState_Duplex int32
const (
	InterfaceState_UNKNOWN_DUPLEX InterfaceState_Duplex = 0
	InterfaceState_HALF           InterfaceState_Duplex = 1
	InterfaceState_FULL           InterfaceState_Duplex = 2
)

func (InterfaceState_Duplex) EnumDescriptor

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

func (InterfaceState_Duplex) String

func (x InterfaceState_Duplex) String() string

type InterfaceState_Statistics

type InterfaceState_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 (*InterfaceState_Statistics) Descriptor

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

func (*InterfaceState_Statistics) GetDropPackets

func (m *InterfaceState_Statistics) GetDropPackets() uint64

func (*InterfaceState_Statistics) GetInBytes

func (m *InterfaceState_Statistics) GetInBytes() uint64

func (*InterfaceState_Statistics) GetInErrorPackets

func (m *InterfaceState_Statistics) GetInErrorPackets() uint64

func (*InterfaceState_Statistics) GetInMissPackets

func (m *InterfaceState_Statistics) GetInMissPackets() uint64

func (*InterfaceState_Statistics) GetInNobufPackets

func (m *InterfaceState_Statistics) GetInNobufPackets() uint64

func (*InterfaceState_Statistics) GetInPackets

func (m *InterfaceState_Statistics) GetInPackets() uint64

func (*InterfaceState_Statistics) GetIpv4Packets

func (m *InterfaceState_Statistics) GetIpv4Packets() uint64

func (*InterfaceState_Statistics) GetIpv6Packets

func (m *InterfaceState_Statistics) GetIpv6Packets() uint64

func (*InterfaceState_Statistics) GetOutBytes

func (m *InterfaceState_Statistics) GetOutBytes() uint64

func (*InterfaceState_Statistics) GetOutErrorPackets

func (m *InterfaceState_Statistics) GetOutErrorPackets() uint64

func (*InterfaceState_Statistics) GetOutPackets

func (m *InterfaceState_Statistics) GetOutPackets() uint64

func (*InterfaceState_Statistics) GetPuntPackets

func (m *InterfaceState_Statistics) GetPuntPackets() uint64

func (*InterfaceState_Statistics) ProtoMessage

func (*InterfaceState_Statistics) ProtoMessage()

func (*InterfaceState_Statistics) Reset

func (m *InterfaceState_Statistics) Reset()

func (*InterfaceState_Statistics) String

func (m *InterfaceState_Statistics) String() string

func (*InterfaceState_Statistics) XXX_DiscardUnknown

func (m *InterfaceState_Statistics) XXX_DiscardUnknown()

func (*InterfaceState_Statistics) XXX_Marshal

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

func (*InterfaceState_Statistics) XXX_Merge

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

func (*InterfaceState_Statistics) XXX_MessageName

func (*InterfaceState_Statistics) XXX_MessageName() string

func (*InterfaceState_Statistics) XXX_Size

func (m *InterfaceState_Statistics) XXX_Size() int

func (*InterfaceState_Statistics) XXX_Unmarshal

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

type InterfaceState_Status

type InterfaceState_Status int32
const (
	InterfaceState_UNKNOWN_STATUS InterfaceState_Status = 0
	InterfaceState_UP             InterfaceState_Status = 1
	InterfaceState_DOWN           InterfaceState_Status = 2
	InterfaceState_DELETED        InterfaceState_Status = 3
)

func (InterfaceState_Status) EnumDescriptor

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

func (InterfaceState_Status) String

func (x InterfaceState_Status) String() string

type Interface_Afpacket

type Interface_Afpacket struct {
	Afpacket *AfpacketLink `protobuf:"bytes,102,opt,name=afpacket,proto3,oneof"`
}

type Interface_Bond

type Interface_Bond struct {
	Bond *BondLink `protobuf:"bytes,107,opt,name=bond,proto3,oneof"`
}

type Interface_Ipsec

type Interface_Ipsec struct {
	Ipsec *IPSecLink `protobuf:"bytes,105,opt,name=ipsec,proto3,oneof"`
}

type Interface_Memif

type Interface_Memif struct {
	Memif *MemifLink `protobuf:"bytes,101,opt,name=memif,proto3,oneof"`
}

type Interface_RxModeSettings

type Interface_RxModeSettings struct {
	RxMode               Interface_RxModeSettings_RxModeType `` /* 136-byte string literal not displayed */
	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 (*Interface_RxModeSettings) Descriptor

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

func (*Interface_RxModeSettings) GetQueueId

func (m *Interface_RxModeSettings) GetQueueId() uint32

func (*Interface_RxModeSettings) GetQueueIdValid

func (m *Interface_RxModeSettings) GetQueueIdValid() uint32

func (*Interface_RxModeSettings) GetRxMode

func (*Interface_RxModeSettings) ProtoMessage

func (*Interface_RxModeSettings) ProtoMessage()

func (*Interface_RxModeSettings) Reset

func (m *Interface_RxModeSettings) Reset()

func (*Interface_RxModeSettings) String

func (m *Interface_RxModeSettings) String() string

func (*Interface_RxModeSettings) XXX_DiscardUnknown

func (m *Interface_RxModeSettings) XXX_DiscardUnknown()

func (*Interface_RxModeSettings) XXX_Marshal

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

func (*Interface_RxModeSettings) XXX_Merge

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

func (*Interface_RxModeSettings) XXX_MessageName

func (*Interface_RxModeSettings) XXX_MessageName() string

func (*Interface_RxModeSettings) XXX_Size

func (m *Interface_RxModeSettings) XXX_Size() int

func (*Interface_RxModeSettings) XXX_Unmarshal

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

type Interface_RxModeSettings_RxModeType

type Interface_RxModeSettings_RxModeType int32

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

const (
	Interface_RxModeSettings_UNKNOWN   Interface_RxModeSettings_RxModeType = 0
	Interface_RxModeSettings_POLLING   Interface_RxModeSettings_RxModeType = 1
	Interface_RxModeSettings_INTERRUPT Interface_RxModeSettings_RxModeType = 2
	Interface_RxModeSettings_ADAPTIVE  Interface_RxModeSettings_RxModeType = 3
	Interface_RxModeSettings_DEFAULT   Interface_RxModeSettings_RxModeType = 4
)

func (Interface_RxModeSettings_RxModeType) EnumDescriptor

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

func (Interface_RxModeSettings_RxModeType) String

type Interface_RxPlacementSettings

type 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 (*Interface_RxPlacementSettings) Descriptor

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

func (*Interface_RxPlacementSettings) GetIsMain

func (m *Interface_RxPlacementSettings) GetIsMain() bool

func (*Interface_RxPlacementSettings) GetQueue

func (m *Interface_RxPlacementSettings) GetQueue() uint32

func (*Interface_RxPlacementSettings) GetWorker

func (m *Interface_RxPlacementSettings) GetWorker() uint32

func (*Interface_RxPlacementSettings) ProtoMessage

func (*Interface_RxPlacementSettings) ProtoMessage()

func (*Interface_RxPlacementSettings) Reset

func (m *Interface_RxPlacementSettings) Reset()

func (*Interface_RxPlacementSettings) String

func (*Interface_RxPlacementSettings) XXX_DiscardUnknown

func (m *Interface_RxPlacementSettings) XXX_DiscardUnknown()

func (*Interface_RxPlacementSettings) XXX_Marshal

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

func (*Interface_RxPlacementSettings) XXX_Merge

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

func (*Interface_RxPlacementSettings) XXX_MessageName

func (*Interface_RxPlacementSettings) XXX_MessageName() string

func (*Interface_RxPlacementSettings) XXX_Size

func (m *Interface_RxPlacementSettings) XXX_Size() int

func (*Interface_RxPlacementSettings) XXX_Unmarshal

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

type Interface_Sub

type Interface_Sub struct {
	Sub *SubInterface `protobuf:"bytes,100,opt,name=sub,proto3,oneof"`
}

type Interface_Tap

type Interface_Tap struct {
	Tap *TapLink `protobuf:"bytes,103,opt,name=tap,proto3,oneof"`
}

type Interface_Type

type Interface_Type int32
const (
	Interface_UNDEFINED_TYPE    Interface_Type = 0
	Interface_SUB_INTERFACE     Interface_Type = 1
	Interface_SOFTWARE_LOOPBACK Interface_Type = 2
	Interface_DPDK              Interface_Type = 3
	Interface_MEMIF             Interface_Type = 4
	Interface_TAP               Interface_Type = 5
	Interface_AF_PACKET         Interface_Type = 6
	Interface_VXLAN_TUNNEL      Interface_Type = 7
	Interface_IPSEC_TUNNEL      Interface_Type = 8
	Interface_VMXNET3_INTERFACE Interface_Type = 9
	Interface_BOND_INTERFACE    Interface_Type = 10
)

func (Interface_Type) EnumDescriptor

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

func (Interface_Type) String

func (x Interface_Type) String() string

type Interface_Unnumbered

type Interface_Unnumbered struct {
	InterfaceWithIp      string   `protobuf:"bytes,1,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 (*Interface_Unnumbered) Descriptor

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

func (*Interface_Unnumbered) GetInterfaceWithIp

func (m *Interface_Unnumbered) GetInterfaceWithIp() string

func (*Interface_Unnumbered) ProtoMessage

func (*Interface_Unnumbered) ProtoMessage()

func (*Interface_Unnumbered) Reset

func (m *Interface_Unnumbered) Reset()

func (*Interface_Unnumbered) String

func (m *Interface_Unnumbered) String() string

func (*Interface_Unnumbered) XXX_DiscardUnknown

func (m *Interface_Unnumbered) XXX_DiscardUnknown()

func (*Interface_Unnumbered) XXX_Marshal

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

func (*Interface_Unnumbered) XXX_Merge

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

func (*Interface_Unnumbered) XXX_MessageName

func (*Interface_Unnumbered) XXX_MessageName() string

func (*Interface_Unnumbered) XXX_Size

func (m *Interface_Unnumbered) XXX_Size() int

func (*Interface_Unnumbered) XXX_Unmarshal

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

type Interface_VmxNet3

type Interface_VmxNet3 struct {
	VmxNet3 *VmxNet3Link `protobuf:"bytes,106,opt,name=vmx_net3,json=vmxNet3,proto3,oneof"`
}

type Interface_Vxlan

type Interface_Vxlan struct {
	Vxlan *VxlanLink `protobuf:"bytes,104,opt,name=vxlan,proto3,oneof"`
}
type MemifLink struct {
	Mode                 MemifLink_MemifMode `protobuf:"varint,1,opt,name=mode,proto3,enum=vpp.interfaces.MemifLink_MemifMode" json:"mode,omitempty"`
	Master               bool                `protobuf:"varint,2,opt,name=master,proto3" json:"master,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 (*MemifLink) Descriptor

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

func (*MemifLink) GetBufferSize

func (m *MemifLink) GetBufferSize() uint32

func (*MemifLink) GetId

func (m *MemifLink) GetId() uint32

func (*MemifLink) GetMaster

func (m *MemifLink) GetMaster() bool

func (*MemifLink) GetMode

func (m *MemifLink) GetMode() MemifLink_MemifMode

func (*MemifLink) GetRingSize

func (m *MemifLink) GetRingSize() uint32

func (*MemifLink) GetRxQueues

func (m *MemifLink) GetRxQueues() uint32

func (*MemifLink) GetSecret

func (m *MemifLink) GetSecret() string

func (*MemifLink) GetSocketFilename

func (m *MemifLink) GetSocketFilename() string

func (*MemifLink) GetTxQueues

func (m *MemifLink) GetTxQueues() uint32

func (*MemifLink) ProtoMessage

func (*MemifLink) ProtoMessage()

func (*MemifLink) Reset

func (m *MemifLink) Reset()

func (*MemifLink) String

func (m *MemifLink) String() string

func (*MemifLink) XXX_DiscardUnknown

func (m *MemifLink) XXX_DiscardUnknown()

func (*MemifLink) XXX_Marshal

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

func (*MemifLink) XXX_Merge

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

func (*MemifLink) XXX_MessageName

func (*MemifLink) XXX_MessageName() string

func (*MemifLink) XXX_Size

func (m *MemifLink) XXX_Size() int

func (*MemifLink) XXX_Unmarshal

func (m *MemifLink) XXX_Unmarshal(b []byte) error
type MemifLink_MemifMode int32
const (
	MemifLink_ETHERNET    MemifLink_MemifMode = 0
	MemifLink_IP          MemifLink_MemifMode = 1
	MemifLink_PUNT_INJECT MemifLink_MemifMode = 2
)
func (MemifLink_MemifMode) EnumDescriptor() ([]byte, []int)
func (x MemifLink_MemifMode) String() string

type SubInterface

type SubInterface struct {
	ParentName           string                         `protobuf:"bytes,1,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"`
	SubId                uint32                         `protobuf:"varint,2,opt,name=sub_id,json=subId,proto3" json:"sub_id,omitempty"`
	TagRwOption          SubInterface_TagRewriteOptions `` /* 148-byte string literal not displayed */
	PushDot1Q            bool                           `protobuf:"varint,4,opt,name=push_dot1q,json=pushDot1q,proto3" json:"push_dot1q,omitempty"`
	Tag1                 uint32                         `protobuf:"varint,5,opt,name=tag1,proto3" json:"tag1,omitempty"`
	Tag2                 uint32                         `protobuf:"varint,6,opt,name=tag2,proto3" json:"tag2,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (*SubInterface) Descriptor

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

func (*SubInterface) GetParentName

func (m *SubInterface) GetParentName() string

func (*SubInterface) GetPushDot1Q

func (m *SubInterface) GetPushDot1Q() bool

func (*SubInterface) GetSubId

func (m *SubInterface) GetSubId() uint32

func (*SubInterface) GetTag1

func (m *SubInterface) GetTag1() uint32

func (*SubInterface) GetTag2

func (m *SubInterface) GetTag2() uint32

func (*SubInterface) GetTagRwOption

func (m *SubInterface) GetTagRwOption() SubInterface_TagRewriteOptions

func (*SubInterface) ProtoMessage

func (*SubInterface) ProtoMessage()

func (*SubInterface) Reset

func (m *SubInterface) Reset()

func (*SubInterface) String

func (m *SubInterface) String() string

func (*SubInterface) XXX_DiscardUnknown

func (m *SubInterface) XXX_DiscardUnknown()

func (*SubInterface) XXX_Marshal

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

func (*SubInterface) XXX_Merge

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

func (*SubInterface) XXX_MessageName

func (*SubInterface) XXX_MessageName() string

func (*SubInterface) XXX_Size

func (m *SubInterface) XXX_Size() int

func (*SubInterface) XXX_Unmarshal

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

type SubInterface_TagRewriteOptions

type SubInterface_TagRewriteOptions int32
const (
	SubInterface_DISABLED    SubInterface_TagRewriteOptions = 0
	SubInterface_PUSH1       SubInterface_TagRewriteOptions = 1
	SubInterface_PUSH2       SubInterface_TagRewriteOptions = 2
	SubInterface_POP1        SubInterface_TagRewriteOptions = 3
	SubInterface_POP2        SubInterface_TagRewriteOptions = 4
	SubInterface_TRANSLATE11 SubInterface_TagRewriteOptions = 5
	SubInterface_TRANSLATE12 SubInterface_TagRewriteOptions = 6
	SubInterface_TRANSLATE21 SubInterface_TagRewriteOptions = 7
	SubInterface_TRANSLATE22 SubInterface_TagRewriteOptions = 8
)

func (SubInterface_TagRewriteOptions) EnumDescriptor

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

func (SubInterface_TagRewriteOptions) String

type TapLink 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"`
	ToMicroservice       string   `protobuf:"bytes,3,opt,name=to_microservice,json=toMicroservice,proto3" json:"to_microservice,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 (*TapLink) Descriptor

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

func (*TapLink) GetHostIfName

func (m *TapLink) GetHostIfName() string

func (*TapLink) GetRxRingSize

func (m *TapLink) GetRxRingSize() uint32

func (*TapLink) GetToMicroservice

func (m *TapLink) GetToMicroservice() string

func (*TapLink) GetTxRingSize

func (m *TapLink) GetTxRingSize() uint32

func (*TapLink) GetVersion

func (m *TapLink) GetVersion() uint32

func (*TapLink) ProtoMessage

func (*TapLink) ProtoMessage()

func (*TapLink) Reset

func (m *TapLink) Reset()

func (*TapLink) String

func (m *TapLink) String() string

func (*TapLink) XXX_DiscardUnknown

func (m *TapLink) XXX_DiscardUnknown()

func (*TapLink) XXX_Marshal

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

func (*TapLink) XXX_Merge

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

func (*TapLink) XXX_MessageName

func (*TapLink) XXX_MessageName() string

func (*TapLink) XXX_Size

func (m *TapLink) XXX_Size() int

func (*TapLink) XXX_Unmarshal

func (m *TapLink) XXX_Unmarshal(b []byte) error
type VmxNet3Link 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 (*VmxNet3Link) Descriptor

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

func (*VmxNet3Link) GetEnableElog

func (m *VmxNet3Link) GetEnableElog() bool

func (*VmxNet3Link) GetRxqSize

func (m *VmxNet3Link) GetRxqSize() uint32

func (*VmxNet3Link) GetTxqSize

func (m *VmxNet3Link) GetTxqSize() uint32

func (*VmxNet3Link) ProtoMessage

func (*VmxNet3Link) ProtoMessage()

func (*VmxNet3Link) Reset

func (m *VmxNet3Link) Reset()

func (*VmxNet3Link) String

func (m *VmxNet3Link) String() string

func (*VmxNet3Link) XXX_DiscardUnknown

func (m *VmxNet3Link) XXX_DiscardUnknown()

func (*VmxNet3Link) XXX_Marshal

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

func (*VmxNet3Link) XXX_Merge

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

func (*VmxNet3Link) XXX_MessageName

func (*VmxNet3Link) XXX_MessageName() string

func (*VmxNet3Link) XXX_Size

func (m *VmxNet3Link) XXX_Size() int

func (*VmxNet3Link) XXX_Unmarshal

func (m *VmxNet3Link) XXX_Unmarshal(b []byte) error
type VxlanLink 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 (*VxlanLink) Descriptor

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

func (*VxlanLink) GetDstAddress

func (m *VxlanLink) GetDstAddress() string

func (*VxlanLink) GetMulticast

func (m *VxlanLink) GetMulticast() string

func (*VxlanLink) GetSrcAddress

func (m *VxlanLink) GetSrcAddress() string

func (*VxlanLink) GetVni

func (m *VxlanLink) GetVni() uint32

func (*VxlanLink) ProtoMessage

func (*VxlanLink) ProtoMessage()

func (*VxlanLink) Reset

func (m *VxlanLink) Reset()

func (*VxlanLink) String

func (m *VxlanLink) String() string

func (*VxlanLink) XXX_DiscardUnknown

func (m *VxlanLink) XXX_DiscardUnknown()

func (*VxlanLink) XXX_Marshal

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

func (*VxlanLink) XXX_Merge

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

func (*VxlanLink) XXX_MessageName

func (*VxlanLink) XXX_MessageName() string

func (*VxlanLink) XXX_Size

func (m *VxlanLink) XXX_Size() int

func (*VxlanLink) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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