Documentation ¶
Index ¶
- Constants
- Variables
- func BondedInterfaceKey(bondIf, slaveIf string) string
- func DHCPClientKey(iface string) string
- func DHCPLeaseKey(iface string) string
- func IP6NDKey(iface string) string
- func InterfaceAddressKey(iface string, address string, source netalloc.IPAddressSource) string
- func InterfaceAddressPrefix(iface string) string
- func InterfaceErrorKey(iface string) string
- func InterfaceInheritedVrfKey(iface string, fromIface string) string
- func InterfaceKey(name string) string
- func InterfaceStateKey(iface string) string
- func InterfaceVrfKey(iface string, vrf int, ipv4, ipv6 bool) string
- func InterfaceVrfKeyPrefix(iface string) string
- func InterfaceWithIPKey(ifaceName string) string
- func LinkStateKey(ifaceName string, linkIsUp bool) string
- func ParseBondedInterfaceKey(key string) (bondIf, slaveIf string, isBondSlaveInterfaceKey bool)
- func ParseInterfaceAddressKey(key string) (iface, address string, source netalloc.IPAddressSource, ...)
- func ParseInterfaceInheritedVrfKey(key string) (iface, fromIface string, isIfaceInherVrfKey bool)
- func ParseInterfaceVrfKey(key string) (iface string, vrf int, ipv4, ipv6, isIfaceVrfKey bool)
- func ParseInterfaceWithIPKey(key string) (ifaceName string, isInterfaceWithIPKey bool)
- func ParseLinkStateKey(key string) (ifaceName string, isLinkUp bool, isLinkStateKey bool)
- func ParseNameFromDHCPClientKey(key string) (iface string, isDHCPClientKey bool)
- func ParseNameFromDHCPLeaseKey(key string) (iface string, isDHCPLeaseKey bool)
- func ParseNameFromIP6NDKey(key string) (iface string, isIP6NDKey bool)
- func ParseNameFromUnnumberedKey(key string) (iface string, isUnnumberedKey bool)
- func ParseRxModesKey(key string) (ifaceName string, isRxModesKey bool)
- func ParseRxPlacementKey(key string) (ifaceName string, queue uint32, isRxPlacementKey bool)
- func RxModesKey(ifaceName string) string
- func RxPlacementKey(ifaceName string, queue uint32) string
- func SpanKey(ifaceFrom, ifaceTo string) string
- func UnnumberedKey(iface string) string
- type AfpacketLink
- func (*AfpacketLink) Descriptor() ([]byte, []int)deprecated
- func (x *AfpacketLink) GetHostIfName() string
- func (x *AfpacketLink) GetLinuxInterface() string
- func (*AfpacketLink) ProtoMessage()
- func (x *AfpacketLink) ProtoReflect() protoreflect.Message
- func (x *AfpacketLink) Reset()
- func (x *AfpacketLink) String() string
- type BondLink
- func (*BondLink) Descriptor() ([]byte, []int)deprecated
- func (x *BondLink) GetBondedInterfaces() []*BondLink_BondedInterface
- func (x *BondLink) GetId() uint32
- func (x *BondLink) GetLb() BondLink_LoadBalance
- func (x *BondLink) GetMode() BondLink_Mode
- func (*BondLink) ProtoMessage()
- func (x *BondLink) ProtoReflect() protoreflect.Message
- func (x *BondLink) Reset()
- func (x *BondLink) String() string
- type BondLink_BondedInterface
- func (*BondLink_BondedInterface) Descriptor() ([]byte, []int)deprecated
- func (x *BondLink_BondedInterface) GetIsLongTimeout() bool
- func (x *BondLink_BondedInterface) GetIsPassive() bool
- func (x *BondLink_BondedInterface) GetName() string
- func (*BondLink_BondedInterface) ProtoMessage()
- func (x *BondLink_BondedInterface) ProtoReflect() protoreflect.Message
- func (x *BondLink_BondedInterface) Reset()
- func (x *BondLink_BondedInterface) String() string
- type BondLink_LoadBalance
- func (BondLink_LoadBalance) Descriptor() protoreflect.EnumDescriptor
- func (x BondLink_LoadBalance) Enum() *BondLink_LoadBalance
- func (BondLink_LoadBalance) EnumDescriptor() ([]byte, []int)deprecated
- func (x BondLink_LoadBalance) Number() protoreflect.EnumNumber
- func (x BondLink_LoadBalance) String() string
- func (BondLink_LoadBalance) Type() protoreflect.EnumType
- type BondLink_Mode
- func (BondLink_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x BondLink_Mode) Enum() *BondLink_Mode
- func (BondLink_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x BondLink_Mode) Number() protoreflect.EnumNumber
- func (x BondLink_Mode) String() string
- func (BondLink_Mode) Type() protoreflect.EnumType
- type DHCPLease
- func (*DHCPLease) Descriptor() ([]byte, []int)deprecated
- func (x *DHCPLease) GetHostIpAddress() string
- func (x *DHCPLease) GetHostName() string
- func (x *DHCPLease) GetHostPhysAddress() string
- func (x *DHCPLease) GetInterfaceName() string
- func (x *DHCPLease) GetIsIpv6() bool
- func (x *DHCPLease) GetRouterIpAddress() string
- func (*DHCPLease) ProtoMessage()
- func (x *DHCPLease) ProtoReflect() protoreflect.Message
- func (x *DHCPLease) Reset()
- func (x *DHCPLease) String() string
- type GreLink
- func (*GreLink) Descriptor() ([]byte, []int)deprecated
- func (x *GreLink) GetDstAddr() string
- func (x *GreLink) GetOuterFibId() uint32
- func (x *GreLink) GetSessionId() uint32
- func (x *GreLink) GetSrcAddr() string
- func (x *GreLink) GetTunnelType() GreLink_Type
- func (*GreLink) ProtoMessage()
- func (x *GreLink) ProtoReflect() protoreflect.Message
- func (x *GreLink) Reset()
- func (x *GreLink) String() string
- type GreLink_Type
- func (GreLink_Type) Descriptor() protoreflect.EnumDescriptor
- func (x GreLink_Type) Enum() *GreLink_Type
- func (GreLink_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x GreLink_Type) Number() protoreflect.EnumNumber
- func (x GreLink_Type) String() string
- func (GreLink_Type) Type() protoreflect.EnumType
- type GtpuLink
- func (*GtpuLink) Descriptor() ([]byte, []int)deprecated
- func (x *GtpuLink) GetDecapNext() GtpuLink_NextNodedeprecated
- func (x *GtpuLink) GetDecapNextNode() uint32
- func (x *GtpuLink) GetDstAddr() string
- func (x *GtpuLink) GetEncapVrfId() uint32
- func (x *GtpuLink) GetMulticast() string
- func (x *GtpuLink) GetRemoteTeid() uint32
- func (x *GtpuLink) GetSrcAddr() string
- func (x *GtpuLink) GetTeid() uint32
- func (*GtpuLink) ProtoMessage()
- func (x *GtpuLink) ProtoReflect() protoreflect.Message
- func (x *GtpuLink) Reset()
- func (x *GtpuLink) String() string
- type GtpuLink_NextNode
- func (GtpuLink_NextNode) Descriptor() protoreflect.EnumDescriptor
- func (x GtpuLink_NextNode) Enum() *GtpuLink_NextNode
- func (GtpuLink_NextNode) EnumDescriptor() ([]byte, []int)deprecated
- func (x GtpuLink_NextNode) Number() protoreflect.EnumNumber
- func (x GtpuLink_NextNode) String() string
- func (GtpuLink_NextNode) Type() protoreflect.EnumType
- type IPIPLink
- func (*IPIPLink) Descriptor() ([]byte, []int)deprecated
- func (x *IPIPLink) GetDstAddr() string
- func (x *IPIPLink) GetSrcAddr() string
- func (x *IPIPLink) GetTunnelMode() IPIPLink_Mode
- func (*IPIPLink) ProtoMessage()
- func (x *IPIPLink) ProtoReflect() protoreflect.Message
- func (x *IPIPLink) Reset()
- func (x *IPIPLink) String() string
- type IPIPLink_Mode
- func (IPIPLink_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x IPIPLink_Mode) Enum() *IPIPLink_Mode
- func (IPIPLink_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x IPIPLink_Mode) Number() protoreflect.EnumNumber
- func (x IPIPLink_Mode) String() string
- func (IPIPLink_Mode) Type() protoreflect.EnumType
- type IPSecLink
- func (*IPSecLink) Descriptor() ([]byte, []int)deprecated
- func (x *IPSecLink) GetAntiReplay() booldeprecated
- func (x *IPSecLink) GetCryptoAlg() ipsec.CryptoAlgdeprecated
- func (x *IPSecLink) GetEnableUdpEncap() booldeprecated
- func (x *IPSecLink) GetEsn() booldeprecated
- func (x *IPSecLink) GetIntegAlg() ipsec.IntegAlgdeprecated
- func (x *IPSecLink) GetLocalCryptoKey() stringdeprecated
- func (x *IPSecLink) GetLocalIntegKey() stringdeprecated
- func (x *IPSecLink) GetLocalIp() stringdeprecated
- func (x *IPSecLink) GetLocalSpi() uint32deprecated
- func (x *IPSecLink) GetRemoteCryptoKey() stringdeprecated
- func (x *IPSecLink) GetRemoteIntegKey() stringdeprecated
- func (x *IPSecLink) GetRemoteIp() stringdeprecated
- func (x *IPSecLink) GetRemoteSpi() uint32deprecated
- func (x *IPSecLink) GetTunnelMode() IPSecLink_Mode
- func (*IPSecLink) ProtoMessage()
- func (x *IPSecLink) ProtoReflect() protoreflect.Message
- func (x *IPSecLink) Reset()
- func (x *IPSecLink) String() string
- type IPSecLink_Mode
- func (IPSecLink_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x IPSecLink_Mode) Enum() *IPSecLink_Mode
- func (IPSecLink_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x IPSecLink_Mode) Number() protoreflect.EnumNumber
- func (x IPSecLink_Mode) String() string
- func (IPSecLink_Mode) Type() protoreflect.EnumType
- type Interface
- func (*Interface) Descriptor() ([]byte, []int)deprecated
- func (x *Interface) GetAfpacket() *AfpacketLink
- func (x *Interface) GetBond() *BondLink
- func (x *Interface) GetEnabled() bool
- func (x *Interface) GetGre() *GreLink
- func (x *Interface) GetGtpu() *GtpuLink
- func (x *Interface) GetIp6Nd() *Interface_IP6ND
- func (x *Interface) GetIpAddresses() []string
- func (x *Interface) GetIpip() *IPIPLink
- func (x *Interface) GetIpsec() *IPSecLinkdeprecated
- func (m *Interface) GetLink() isInterface_Link
- func (x *Interface) GetMemif() *MemifLink
- func (x *Interface) GetMtu() uint32
- func (x *Interface) GetName() string
- func (x *Interface) GetPhysAddress() string
- func (x *Interface) GetRdma() *RDMALink
- func (x *Interface) GetRxModes() []*Interface_RxMode
- func (x *Interface) GetRxPlacements() []*Interface_RxPlacement
- func (x *Interface) GetSetDhcpClient() bool
- func (x *Interface) GetSub() *SubInterface
- func (x *Interface) GetTap() *TapLink
- func (x *Interface) GetType() Interface_Type
- func (x *Interface) GetUnnumbered() *Interface_Unnumbered
- func (x *Interface) GetVmxNet3() *VmxNet3Link
- func (x *Interface) GetVrf() uint32
- func (x *Interface) GetVxlan() *VxlanLink
- func (x *Interface) GetWireguard() *WireguardLink
- func (*Interface) ProtoMessage()
- func (x *Interface) ProtoReflect() protoreflect.Message
- func (x *Interface) Reset()
- func (x *Interface) String() string
- type InterfaceNotification
- func (*InterfaceNotification) Descriptor() ([]byte, []int)deprecated
- func (x *InterfaceNotification) GetState() *InterfaceState
- func (x *InterfaceNotification) GetType() InterfaceNotification_NotifType
- func (*InterfaceNotification) ProtoMessage()
- func (x *InterfaceNotification) ProtoReflect() protoreflect.Message
- func (x *InterfaceNotification) Reset()
- func (x *InterfaceNotification) String() string
- type InterfaceNotification_NotifType
- func (InterfaceNotification_NotifType) Descriptor() protoreflect.EnumDescriptor
- func (x InterfaceNotification_NotifType) Enum() *InterfaceNotification_NotifType
- func (InterfaceNotification_NotifType) EnumDescriptor() ([]byte, []int)deprecated
- func (x InterfaceNotification_NotifType) Number() protoreflect.EnumNumber
- func (x InterfaceNotification_NotifType) String() string
- func (InterfaceNotification_NotifType) Type() protoreflect.EnumType
- type InterfaceState
- func (*InterfaceState) Descriptor() ([]byte, []int)deprecated
- func (x *InterfaceState) GetAdminStatus() InterfaceState_Status
- func (x *InterfaceState) GetDuplex() InterfaceState_Duplex
- func (x *InterfaceState) GetIfIndex() uint32
- func (x *InterfaceState) GetInternalName() string
- func (x *InterfaceState) GetLastChange() int64
- func (x *InterfaceState) GetMtu() uint32
- func (x *InterfaceState) GetName() string
- func (x *InterfaceState) GetOperStatus() InterfaceState_Status
- func (x *InterfaceState) GetPhysAddress() string
- func (x *InterfaceState) GetSpeed() uint64
- func (x *InterfaceState) GetStatistics() *InterfaceState_Statistics
- func (x *InterfaceState) GetType() Interface_Type
- func (*InterfaceState) ProtoMessage()
- func (x *InterfaceState) ProtoReflect() protoreflect.Message
- func (x *InterfaceState) Reset()
- func (x *InterfaceState) String() string
- type InterfaceState_Duplex
- func (InterfaceState_Duplex) Descriptor() protoreflect.EnumDescriptor
- func (x InterfaceState_Duplex) Enum() *InterfaceState_Duplex
- func (InterfaceState_Duplex) EnumDescriptor() ([]byte, []int)deprecated
- func (x InterfaceState_Duplex) Number() protoreflect.EnumNumber
- func (x InterfaceState_Duplex) String() string
- func (InterfaceState_Duplex) Type() protoreflect.EnumType
- type InterfaceState_Statistics
- func (*InterfaceState_Statistics) Descriptor() ([]byte, []int)deprecated
- func (x *InterfaceState_Statistics) GetDropPackets() uint64
- func (x *InterfaceState_Statistics) GetInBytes() uint64
- func (x *InterfaceState_Statistics) GetInErrorPackets() uint64
- func (x *InterfaceState_Statistics) GetInMissPackets() uint64
- func (x *InterfaceState_Statistics) GetInNobufPackets() uint64
- func (x *InterfaceState_Statistics) GetInPackets() uint64
- func (x *InterfaceState_Statistics) GetIpv4Packets() uint64
- func (x *InterfaceState_Statistics) GetIpv6Packets() uint64
- func (x *InterfaceState_Statistics) GetOutBytes() uint64
- func (x *InterfaceState_Statistics) GetOutErrorPackets() uint64
- func (x *InterfaceState_Statistics) GetOutPackets() uint64
- func (x *InterfaceState_Statistics) GetPuntPackets() uint64
- func (*InterfaceState_Statistics) ProtoMessage()
- func (x *InterfaceState_Statistics) ProtoReflect() protoreflect.Message
- func (x *InterfaceState_Statistics) Reset()
- func (x *InterfaceState_Statistics) String() string
- type InterfaceState_Status
- func (InterfaceState_Status) Descriptor() protoreflect.EnumDescriptor
- func (x InterfaceState_Status) Enum() *InterfaceState_Status
- func (InterfaceState_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x InterfaceState_Status) Number() protoreflect.EnumNumber
- func (x InterfaceState_Status) String() string
- func (InterfaceState_Status) Type() protoreflect.EnumType
- type InterfaceStats
- func (*InterfaceStats) Descriptor() ([]byte, []int)deprecated
- func (x *InterfaceStats) GetDrops() uint64
- func (x *InterfaceStats) GetIp4() uint64
- func (x *InterfaceStats) GetIp6() uint64
- func (x *InterfaceStats) GetMpls() uint64
- func (x *InterfaceStats) GetName() string
- func (x *InterfaceStats) GetPunts() uint64
- func (x *InterfaceStats) GetRx() *InterfaceStats_CombinedCounter
- func (x *InterfaceStats) GetRxBroadcast() *InterfaceStats_CombinedCounter
- func (x *InterfaceStats) GetRxError() uint64
- func (x *InterfaceStats) GetRxMiss() uint64
- func (x *InterfaceStats) GetRxMulticast() *InterfaceStats_CombinedCounter
- func (x *InterfaceStats) GetRxNoBuf() uint64
- func (x *InterfaceStats) GetRxUnicast() *InterfaceStats_CombinedCounter
- func (x *InterfaceStats) GetTx() *InterfaceStats_CombinedCounter
- func (x *InterfaceStats) GetTxBroadcast() *InterfaceStats_CombinedCounter
- func (x *InterfaceStats) GetTxError() uint64
- func (x *InterfaceStats) GetTxMulticast() *InterfaceStats_CombinedCounter
- func (x *InterfaceStats) GetTxUnicast() *InterfaceStats_CombinedCounter
- func (*InterfaceStats) ProtoMessage()
- func (x *InterfaceStats) ProtoReflect() protoreflect.Message
- func (x *InterfaceStats) Reset()
- func (x *InterfaceStats) String() string
- type InterfaceStats_CombinedCounter
- func (*InterfaceStats_CombinedCounter) Descriptor() ([]byte, []int)deprecated
- func (x *InterfaceStats_CombinedCounter) GetBytes() uint64
- func (x *InterfaceStats_CombinedCounter) GetPackets() uint64
- func (*InterfaceStats_CombinedCounter) ProtoMessage()
- func (x *InterfaceStats_CombinedCounter) ProtoReflect() protoreflect.Message
- func (x *InterfaceStats_CombinedCounter) Reset()
- func (x *InterfaceStats_CombinedCounter) String() string
- type Interface_Afpacket
- type Interface_Bond
- type Interface_Gre
- type Interface_Gtpu
- type Interface_IP6ND
- func (*Interface_IP6ND) Descriptor() ([]byte, []int)deprecated
- func (x *Interface_IP6ND) GetAddressAutoconfig() bool
- func (x *Interface_IP6ND) GetInstallDefaultRoutes() bool
- func (*Interface_IP6ND) ProtoMessage()
- func (x *Interface_IP6ND) ProtoReflect() protoreflect.Message
- func (x *Interface_IP6ND) Reset()
- func (x *Interface_IP6ND) String() string
- type Interface_Ipip
- type Interface_Ipsec
- type Interface_Memif
- type Interface_Rdma
- type Interface_RxMode
- func (*Interface_RxMode) Descriptor() ([]byte, []int)deprecated
- func (x *Interface_RxMode) GetDefaultMode() bool
- func (x *Interface_RxMode) GetMode() Interface_RxMode_Type
- func (x *Interface_RxMode) GetQueue() uint32
- func (*Interface_RxMode) ProtoMessage()
- func (x *Interface_RxMode) ProtoReflect() protoreflect.Message
- func (x *Interface_RxMode) Reset()
- func (x *Interface_RxMode) String() string
- type Interface_RxMode_Type
- func (Interface_RxMode_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Interface_RxMode_Type) Enum() *Interface_RxMode_Type
- func (Interface_RxMode_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Interface_RxMode_Type) Number() protoreflect.EnumNumber
- func (x Interface_RxMode_Type) String() string
- func (Interface_RxMode_Type) Type() protoreflect.EnumType
- type Interface_RxPlacement
- func (*Interface_RxPlacement) Descriptor() ([]byte, []int)deprecated
- func (x *Interface_RxPlacement) GetMainThread() bool
- func (x *Interface_RxPlacement) GetQueue() uint32
- func (x *Interface_RxPlacement) GetWorker() uint32
- func (*Interface_RxPlacement) ProtoMessage()
- func (x *Interface_RxPlacement) ProtoReflect() protoreflect.Message
- func (x *Interface_RxPlacement) Reset()
- func (x *Interface_RxPlacement) String() string
- type Interface_Sub
- type Interface_Tap
- type Interface_Type
- func (Interface_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Interface_Type) Enum() *Interface_Type
- func (Interface_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Interface_Type) Number() protoreflect.EnumNumber
- func (x Interface_Type) String() string
- func (Interface_Type) Type() protoreflect.EnumType
- type Interface_Unnumbered
- func (*Interface_Unnumbered) Descriptor() ([]byte, []int)deprecated
- func (x *Interface_Unnumbered) GetInterfaceWithIp() string
- func (*Interface_Unnumbered) ProtoMessage()
- func (x *Interface_Unnumbered) ProtoReflect() protoreflect.Message
- func (x *Interface_Unnumbered) Reset()
- func (x *Interface_Unnumbered) String() string
- type Interface_VmxNet3
- type Interface_Vxlan
- type Interface_Wireguard
- type MemifLink
- func (*MemifLink) Descriptor() ([]byte, []int)deprecated
- func (x *MemifLink) GetBufferSize() uint32
- func (x *MemifLink) GetId() uint32
- func (x *MemifLink) GetMaster() bool
- func (x *MemifLink) GetMode() MemifLink_MemifMode
- func (x *MemifLink) GetRingSize() uint32
- func (x *MemifLink) GetRxQueues() uint32
- func (x *MemifLink) GetSecret() string
- func (x *MemifLink) GetSocketFilename() string
- func (x *MemifLink) GetTxQueues() uint32
- func (*MemifLink) ProtoMessage()
- func (x *MemifLink) ProtoReflect() protoreflect.Message
- func (x *MemifLink) Reset()
- func (x *MemifLink) String() string
- type MemifLink_MemifMode
- func (MemifLink_MemifMode) Descriptor() protoreflect.EnumDescriptor
- func (x MemifLink_MemifMode) Enum() *MemifLink_MemifMode
- func (MemifLink_MemifMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x MemifLink_MemifMode) Number() protoreflect.EnumNumber
- func (x MemifLink_MemifMode) String() string
- func (MemifLink_MemifMode) Type() protoreflect.EnumType
- type RDMALink
- func (*RDMALink) Descriptor() ([]byte, []int)deprecated
- func (x *RDMALink) GetHostIfName() string
- func (x *RDMALink) GetMode() RDMALink_Mode
- func (x *RDMALink) GetRxqNum() uint32
- func (x *RDMALink) GetRxqSize() uint32
- func (x *RDMALink) GetTxqSize() uint32
- func (*RDMALink) ProtoMessage()
- func (x *RDMALink) ProtoReflect() protoreflect.Message
- func (x *RDMALink) Reset()
- func (x *RDMALink) String() string
- type RDMALink_Mode
- func (RDMALink_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x RDMALink_Mode) Enum() *RDMALink_Mode
- func (RDMALink_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x RDMALink_Mode) Number() protoreflect.EnumNumber
- func (x RDMALink_Mode) String() string
- func (RDMALink_Mode) Type() protoreflect.EnumType
- type Span
- func (*Span) Descriptor() ([]byte, []int)deprecated
- func (x *Span) GetDirection() Span_Direction
- func (x *Span) GetInterfaceFrom() string
- func (x *Span) GetInterfaceTo() string
- func (x *Span) GetIsL2() bool
- func (*Span) ProtoMessage()
- func (x *Span) ProtoReflect() protoreflect.Message
- func (x *Span) Reset()
- func (x *Span) String() string
- type Span_Direction
- func (Span_Direction) Descriptor() protoreflect.EnumDescriptor
- func (x Span_Direction) Enum() *Span_Direction
- func (Span_Direction) EnumDescriptor() ([]byte, []int)deprecated
- func (x Span_Direction) Number() protoreflect.EnumNumber
- func (x Span_Direction) String() string
- func (Span_Direction) Type() protoreflect.EnumType
- type SubInterface
- func (*SubInterface) Descriptor() ([]byte, []int)deprecated
- func (x *SubInterface) GetParentName() string
- func (x *SubInterface) GetPushDot1Q() bool
- func (x *SubInterface) GetSubId() uint32
- func (x *SubInterface) GetTag1() uint32
- func (x *SubInterface) GetTag2() uint32
- func (x *SubInterface) GetTagRwOption() SubInterface_TagRewriteOptions
- func (*SubInterface) ProtoMessage()
- func (x *SubInterface) ProtoReflect() protoreflect.Message
- func (x *SubInterface) Reset()
- func (x *SubInterface) String() string
- type SubInterface_TagRewriteOptions
- func (SubInterface_TagRewriteOptions) Descriptor() protoreflect.EnumDescriptor
- func (x SubInterface_TagRewriteOptions) Enum() *SubInterface_TagRewriteOptions
- func (SubInterface_TagRewriteOptions) EnumDescriptor() ([]byte, []int)deprecated
- func (x SubInterface_TagRewriteOptions) Number() protoreflect.EnumNumber
- func (x SubInterface_TagRewriteOptions) String() string
- func (SubInterface_TagRewriteOptions) Type() protoreflect.EnumType
- type TapLink
- func (*TapLink) Descriptor() ([]byte, []int)deprecated
- func (x *TapLink) GetEnableGso() bool
- func (x *TapLink) GetEnableTunnel() bool
- func (x *TapLink) GetHostIfName() string
- func (x *TapLink) GetRxRingSize() uint32
- func (x *TapLink) GetToMicroservice() string
- func (x *TapLink) GetTxRingSize() uint32
- func (x *TapLink) GetVersion() uint32
- func (*TapLink) ProtoMessage()
- func (x *TapLink) ProtoReflect() protoreflect.Message
- func (x *TapLink) Reset()
- func (x *TapLink) String() string
- type VmxNet3Link
- func (*VmxNet3Link) Descriptor() ([]byte, []int)deprecated
- func (x *VmxNet3Link) GetEnableElog() bool
- func (x *VmxNet3Link) GetRxqSize() uint32
- func (x *VmxNet3Link) GetTxqSize() uint32
- func (*VmxNet3Link) ProtoMessage()
- func (x *VmxNet3Link) ProtoReflect() protoreflect.Message
- func (x *VmxNet3Link) Reset()
- func (x *VmxNet3Link) String() string
- type VxlanLink
- func (*VxlanLink) Descriptor() ([]byte, []int)deprecated
- func (x *VxlanLink) GetDstAddress() string
- func (x *VxlanLink) GetGpe() *VxlanLink_Gpe
- func (x *VxlanLink) GetMulticast() string
- func (x *VxlanLink) GetSrcAddress() string
- func (x *VxlanLink) GetVni() uint32
- func (*VxlanLink) ProtoMessage()
- func (x *VxlanLink) ProtoReflect() protoreflect.Message
- func (x *VxlanLink) Reset()
- func (x *VxlanLink) String() string
- type VxlanLink_Gpe
- func (*VxlanLink_Gpe) Descriptor() ([]byte, []int)deprecated
- func (x *VxlanLink_Gpe) GetDecapVrfId() uint32
- func (x *VxlanLink_Gpe) GetProtocol() VxlanLink_Gpe_Protocol
- func (*VxlanLink_Gpe) ProtoMessage()
- func (x *VxlanLink_Gpe) ProtoReflect() protoreflect.Message
- func (x *VxlanLink_Gpe) Reset()
- func (x *VxlanLink_Gpe) String() string
- type VxlanLink_Gpe_Protocol
- func (VxlanLink_Gpe_Protocol) Descriptor() protoreflect.EnumDescriptor
- func (x VxlanLink_Gpe_Protocol) Enum() *VxlanLink_Gpe_Protocol
- func (VxlanLink_Gpe_Protocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x VxlanLink_Gpe_Protocol) Number() protoreflect.EnumNumber
- func (x VxlanLink_Gpe_Protocol) String() string
- func (VxlanLink_Gpe_Protocol) Type() protoreflect.EnumType
- type WireguardLink
- func (*WireguardLink) Descriptor() ([]byte, []int)deprecated
- func (x *WireguardLink) GetPort() uint32
- func (x *WireguardLink) GetPrivateKey() string
- func (x *WireguardLink) GetSrcAddr() string
- func (*WireguardLink) ProtoMessage()
- func (x *WireguardLink) ProtoReflect() protoreflect.Message
- func (x *WireguardLink) Reset()
- func (x *WireguardLink) String() string
Constants ¶
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)
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)
const (
// ErrorPrefix is a key prefix used in NB DB to store interface errors.
ErrorPrefix = "vpp/status/v2/interface/error/"
)
Interface Error
const ( // IP6NDKeyPrefix is used as a common prefix for keys derived from // interfaces to represent enabled IP6 ND. IP6NDKeyPrefix = "vpp/interface/ip6nd/" )
DHCP (client - derived, lease - notification)
const (
// InvalidKeyPart is used in key for parts which are invalid
InvalidKeyPart = "<invalid>"
)
const ModuleName = "vpp"
ModuleName is the module name used for models.
const (
// StatePrefix is a key prefix used in NB DB to store interface states.
StatePrefix = "vpp/status/v2/interface/"
)
Interface State
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 ¶
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", 11: "GRE_TUNNEL", 12: "GTPU_TUNNEL", 13: "IPIP_TUNNEL", 14: "WIREGUARD_TUNNEL", 15: "RDMA", } 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, "GRE_TUNNEL": 11, "GTPU_TUNNEL": 12, "IPIP_TUNNEL": 13, "WIREGUARD_TUNNEL": 14, "RDMA": 15, } )
Enum value maps for Interface_Type.
var ( Interface_RxMode_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "POLLING", 2: "INTERRUPT", 3: "ADAPTIVE", 4: "DEFAULT", } Interface_RxMode_Type_value = map[string]int32{ "UNKNOWN": 0, "POLLING": 1, "INTERRUPT": 2, "ADAPTIVE": 3, "DEFAULT": 4, } )
Enum value maps for Interface_RxMode_Type.
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", } SubInterface_TagRewriteOptions_value = map[string]int32{ "DISABLED": 0, "PUSH1": 1, "PUSH2": 2, "POP1": 3, "POP2": 4, "TRANSLATE11": 5, "TRANSLATE12": 6, "TRANSLATE21": 7, "TRANSLATE22": 8, } )
Enum value maps for SubInterface_TagRewriteOptions.
var ( MemifLink_MemifMode_name = map[int32]string{ 0: "ETHERNET", 1: "IP", 2: "PUNT_INJECT", } MemifLink_MemifMode_value = map[string]int32{ "ETHERNET": 0, "IP": 1, "PUNT_INJECT": 2, } )
Enum value maps for MemifLink_MemifMode.
var ( VxlanLink_Gpe_Protocol_name = map[int32]string{ 0: "UNKNOWN", 1: "IP4", 2: "IP6", 3: "ETHERNET", 4: "NSH", } VxlanLink_Gpe_Protocol_value = map[string]int32{ "UNKNOWN": 0, "IP4": 1, "IP6": 2, "ETHERNET": 3, "NSH": 4, } )
Enum value maps for VxlanLink_Gpe_Protocol.
var ( IPSecLink_Mode_name = map[int32]string{ 0: "POINT_TO_POINT", 1: "POINT_TO_MULTIPOINT", } IPSecLink_Mode_value = map[string]int32{ "POINT_TO_POINT": 0, "POINT_TO_MULTIPOINT": 1, } )
Enum value maps for IPSecLink_Mode.
var ( BondLink_Mode_name = map[int32]string{ 0: "UNKNOWN", 1: "ROUND_ROBIN", 2: "ACTIVE_BACKUP", 3: "XOR", 4: "BROADCAST", 5: "LACP", } BondLink_Mode_value = map[string]int32{ "UNKNOWN": 0, "ROUND_ROBIN": 1, "ACTIVE_BACKUP": 2, "XOR": 3, "BROADCAST": 4, "LACP": 5, } )
Enum value maps for BondLink_Mode.
var ( BondLink_LoadBalance_name = map[int32]string{ 0: "L2", 1: "L34", 2: "L23", 3: "RR", 4: "BC", 5: "AB", } BondLink_LoadBalance_value = map[string]int32{ "L2": 0, "L34": 1, "L23": 2, "RR": 3, "BC": 4, "AB": 5, } )
Enum value maps for BondLink_LoadBalance.
var ( GreLink_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "L3", 2: "TEB", 3: "ERSPAN", } GreLink_Type_value = map[string]int32{ "UNKNOWN": 0, "L3": 1, "TEB": 2, "ERSPAN": 3, } )
Enum value maps for GreLink_Type.
var ( GtpuLink_NextNode_name = map[int32]string{ 0: "DEFAULT", 1: "L2", 2: "IP4", 3: "IP6", } GtpuLink_NextNode_value = map[string]int32{ "DEFAULT": 0, "L2": 1, "IP4": 2, "IP6": 3, } )
Enum value maps for GtpuLink_NextNode.
var ( IPIPLink_Mode_name = map[int32]string{ 0: "POINT_TO_POINT", 1: "POINT_TO_MULTIPOINT", } IPIPLink_Mode_value = map[string]int32{ "POINT_TO_POINT": 0, "POINT_TO_MULTIPOINT": 1, } )
Enum value maps for IPIPLink_Mode.
var ( RDMALink_Mode_name = map[int32]string{ 0: "AUTO", 1: "IBV", 2: "DV", } RDMALink_Mode_value = map[string]int32{ "AUTO": 0, "IBV": 1, "DV": 2, } )
Enum value maps for RDMALink_Mode.
var ( ModelInterface = models.Register(&Interface{}, models.Spec{ Module: ModuleName, Version: "v2", Type: "interfaces", }) ModelSpan = models.Register(&Span{}, models.Spec{ Module: ModuleName, Version: "v2", Type: "span", }, models.WithNameTemplate("{{.InterfaceFrom}}/to/{{.InterfaceTo}}")) )
var ( Span_Direction_name = map[int32]string{ 0: "UNKNOWN", 1: "RX", 2: "TX", 3: "BOTH", } Span_Direction_value = map[string]int32{ "UNKNOWN": 0, "RX": 1, "TX": 2, "BOTH": 3, } )
Enum value maps for Span_Direction.
var ( InterfaceState_Status_name = map[int32]string{ 0: "UNKNOWN_STATUS", 1: "UP", 2: "DOWN", 3: "DELETED", } InterfaceState_Status_value = map[string]int32{ "UNKNOWN_STATUS": 0, "UP": 1, "DOWN": 2, "DELETED": 3, } )
Enum value maps for InterfaceState_Status.
var ( InterfaceState_Duplex_name = map[int32]string{ 0: "UNKNOWN_DUPLEX", 1: "HALF", 2: "FULL", } InterfaceState_Duplex_value = map[string]int32{ "UNKNOWN_DUPLEX": 0, "HALF": 1, "FULL": 2, } )
Enum value maps for InterfaceState_Duplex.
var ( InterfaceNotification_NotifType_name = map[int32]string{ 0: "UNKNOWN", 1: "UPDOWN", 2: "COUNTERS", } InterfaceNotification_NotifType_value = map[string]int32{ "UNKNOWN": 0, "UPDOWN": 1, "COUNTERS": 2, } )
Enum value maps for InterfaceNotification_NotifType.
var File_ligato_vpp_interfaces_dhcp_proto protoreflect.FileDescriptor
var File_ligato_vpp_interfaces_interface_proto protoreflect.FileDescriptor
var File_ligato_vpp_interfaces_span_proto protoreflect.FileDescriptor
var File_ligato_vpp_interfaces_state_proto protoreflect.FileDescriptor
Functions ¶
func BondedInterfaceKey ¶
BondedInterfaceKey returns a key with bond and slave interface set
func DHCPClientKey ¶
DHCPClientKey returns a (derived) key used to represent enabled DHCP lease.
func DHCPLeaseKey ¶
DHCPLeaseKey returns a key used to represent DHCP lease for the given interface.
func InterfaceAddressKey ¶
func InterfaceAddressKey(iface string, address string, source netalloc.IPAddressSource) string
InterfaceAddressKey returns key representing IP address assigned to VPP interface.
func InterfaceAddressPrefix ¶
InterfaceAddressPrefix returns longest-common prefix of keys representing assigned IP addresses to a specific VPP interface.
func InterfaceErrorKey ¶
InterfaceErrorKey returns the key used in NB DB to store the interface errors.
func InterfaceInheritedVrfKey ¶
InterfaceInheritedVrfKey returns key representing assignment of the given interface into a VRF inherited from another interface. Used by unnumbered interfaces.
func InterfaceKey ¶
InterfaceKey returns the key used in NB DB to store the configuration of the given vpp interface.
func InterfaceStateKey ¶
InterfaceStateKey returns the key used in NB DB to store the state data of the given vpp interface.
func InterfaceVrfKey ¶
InterfaceVrfKey returns key representing assignment of the given interface into the given VRF.
func InterfaceVrfKeyPrefix ¶
InterfaceVrfKeyPrefix returns prefix of the key representing assignment of the given interface into unspecified VRF table.
func InterfaceWithIPKey ¶
InterfaceWithIPKey returns key derived from every VPP interface but created only after at least one IP address was assigned to it.
func LinkStateKey ¶
LinkStateKey returns key representing link state of a VPP interface.
func ParseBondedInterfaceKey ¶
ParseBondedInterfaceKey returns names of interfaces of the key.
func ParseInterfaceAddressKey ¶
func ParseInterfaceAddressKey(key string) (iface, address string, source netalloc.IPAddressSource, invalidKey, isAddrKey bool)
ParseInterfaceAddressKey parses interface address from key derived from interface by InterfaceAddressKey().
func ParseInterfaceInheritedVrfKey ¶
ParseInterfaceInheritedVrfKey parses details from key derived from interface by InterfaceInheritedVrfKey().
func ParseInterfaceVrfKey ¶
ParseInterfaceVrfKey parses details from key derived from interface by InterfaceVrfKey().
func ParseInterfaceWithIPKey ¶
ParseInterfaceWithIPKey parses key derived from every VPP interface but created only after at least one IP address was assigned to it
func ParseLinkStateKey ¶
ParseLinkStateKey parses key representing link state of a VPP interface.
func ParseNameFromDHCPClientKey ¶
ParseNameFromDHCPClientKey returns suffix of the key.
func ParseNameFromDHCPLeaseKey ¶
ParseNameFromDHCPLeaseKey returns suffix of the key.
func ParseNameFromIP6NDKey ¶ added in v3.2.0
ParseNameFromIP6NDKey returns suffix of the key.
func ParseNameFromUnnumberedKey ¶
ParseNameFromUnnumberedKey returns suffix of the key.
func ParseRxModesKey ¶
ParseRxModesKey parses key representing rx-mode configuration for all queues of a given interface.
func ParseRxPlacementKey ¶
ParseRxPlacementKey parses key representing rx-placement configured for a given interface queue.
func RxModesKey ¶
RxModesKey returns a key representing rx-mode configuration for all queues of a given interface.
func RxPlacementKey ¶
RxPlacementKey returns a key representing rx-placement configured for a given interface queue.
func SpanKey ¶
SpanKey returns the key used in NB DB to store the configuration of the given vpp span.
func UnnumberedKey ¶
UnnumberedKey returns key representing unnumbered interface.
Types ¶
type AfpacketLink ¶
type AfpacketLink struct { // Name of the host (Linux) interface to bind to. // This type of reference is suitable for scenarios when the target interface // is not managed (and should not be touched) by the agent. In such cases the interface // does not have logical name in the agent's namespace and can only be referenced // by the host interface name (i.e. the name used in the Linux network stack). // Please note that agent learns about externally created interfaces through netlink // notifications. // If, however, the target interface is managed by the agent, then it is recommended // to use the alternative reference <linux_interface> (see below), pointing to the interface // by its logical name. One advantage of such approach is, that if AF-PACKET and the target // Linux interface are requested to be created at the same time, then it can be done inside // the same transaction because the agent does not rely on any notification from the Linux. // It is mandatory to define either <host_if_name> or <linux_interface>. HostIfName string `protobuf:"bytes,1,opt,name=host_if_name,json=hostIfName,proto3" json:"host_if_name,omitempty"` // Logical name of the Linux interface to bind to. // This is an alternative interface reference to <host_if_name> and preferred // if the target interface is managed by the agent and not created externally // (see comments for <host_if_name> for explanation). // It is mandatory to define either <host_if_name> or <linux_interface>. LinuxInterface string `protobuf:"bytes,2,opt,name=linux_interface,json=linuxInterface,proto3" json:"linux_interface,omitempty"` // contains filtered or unexported fields }
AfpacketLink defines configuration for interface type: AF_PACKET
func (*AfpacketLink) Descriptor
deprecated
func (*AfpacketLink) Descriptor() ([]byte, []int)
Deprecated: Use AfpacketLink.ProtoReflect.Descriptor instead.
func (*AfpacketLink) GetHostIfName ¶
func (x *AfpacketLink) GetHostIfName() string
func (*AfpacketLink) GetLinuxInterface ¶
func (x *AfpacketLink) GetLinuxInterface() string
func (*AfpacketLink) ProtoMessage ¶
func (*AfpacketLink) ProtoMessage()
func (*AfpacketLink) ProtoReflect ¶ added in v3.2.0
func (x *AfpacketLink) ProtoReflect() protoreflect.Message
func (*AfpacketLink) Reset ¶
func (x *AfpacketLink) Reset()
func (*AfpacketLink) String ¶
func (x *AfpacketLink) String() string
type BondLink ¶
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=ligato.vpp.interfaces.BondLink_Mode" json:"mode,omitempty"` // Load balance is optional and valid only for XOR and LACP modes Lb BondLink_LoadBalance `protobuf:"varint,4,opt,name=lb,proto3,enum=ligato.vpp.interfaces.BondLink_LoadBalance" json:"lb,omitempty"` BondedInterfaces []*BondLink_BondedInterface `protobuf:"bytes,12,rep,name=bonded_interfaces,json=bondedInterfaces,proto3" json:"bonded_interfaces,omitempty"` // contains filtered or unexported fields }
BondLink defines configuration for interface type: BOND_INTERFACE
func (*BondLink) Descriptor
deprecated
func (*BondLink) GetBondedInterfaces ¶
func (x *BondLink) GetBondedInterfaces() []*BondLink_BondedInterface
func (*BondLink) GetLb ¶
func (x *BondLink) GetLb() BondLink_LoadBalance
func (*BondLink) GetMode ¶
func (x *BondLink) GetMode() BondLink_Mode
func (*BondLink) ProtoMessage ¶
func (*BondLink) ProtoMessage()
func (*BondLink) ProtoReflect ¶ added in v3.2.0
func (x *BondLink) ProtoReflect() protoreflect.Message
type BondLink_BondedInterface ¶
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"` // contains filtered or unexported fields }
func (*BondLink_BondedInterface) Descriptor
deprecated
func (*BondLink_BondedInterface) Descriptor() ([]byte, []int)
Deprecated: Use BondLink_BondedInterface.ProtoReflect.Descriptor instead.
func (*BondLink_BondedInterface) GetIsLongTimeout ¶
func (x *BondLink_BondedInterface) GetIsLongTimeout() bool
func (*BondLink_BondedInterface) GetIsPassive ¶
func (x *BondLink_BondedInterface) GetIsPassive() bool
func (*BondLink_BondedInterface) GetName ¶
func (x *BondLink_BondedInterface) GetName() string
func (*BondLink_BondedInterface) ProtoMessage ¶
func (*BondLink_BondedInterface) ProtoMessage()
func (*BondLink_BondedInterface) ProtoReflect ¶ added in v3.2.0
func (x *BondLink_BondedInterface) ProtoReflect() protoreflect.Message
func (*BondLink_BondedInterface) Reset ¶
func (x *BondLink_BondedInterface) Reset()
func (*BondLink_BondedInterface) String ¶
func (x *BondLink_BondedInterface) String() string
type BondLink_LoadBalance ¶
type BondLink_LoadBalance int32
const ( BondLink_L2 BondLink_LoadBalance = 0 BondLink_L34 BondLink_LoadBalance = 1 BondLink_L23 BondLink_LoadBalance = 2 // Round robin BondLink_RR BondLink_LoadBalance = 3 // Broadcast BondLink_BC BondLink_LoadBalance = 4 // Active backup BondLink_AB BondLink_LoadBalance = 5 )
func (BondLink_LoadBalance) Descriptor ¶ added in v3.2.0
func (BondLink_LoadBalance) Descriptor() protoreflect.EnumDescriptor
func (BondLink_LoadBalance) Enum ¶ added in v3.2.0
func (x BondLink_LoadBalance) Enum() *BondLink_LoadBalance
func (BondLink_LoadBalance) EnumDescriptor
deprecated
func (BondLink_LoadBalance) EnumDescriptor() ([]byte, []int)
Deprecated: Use BondLink_LoadBalance.Descriptor instead.
func (BondLink_LoadBalance) Number ¶ added in v3.2.0
func (x BondLink_LoadBalance) Number() protoreflect.EnumNumber
func (BondLink_LoadBalance) String ¶
func (x BondLink_LoadBalance) String() string
func (BondLink_LoadBalance) Type ¶ added in v3.2.0
func (BondLink_LoadBalance) Type() protoreflect.EnumType
type BondLink_Mode ¶
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) Descriptor ¶ added in v3.2.0
func (BondLink_Mode) Descriptor() protoreflect.EnumDescriptor
func (BondLink_Mode) Enum ¶ added in v3.2.0
func (x BondLink_Mode) Enum() *BondLink_Mode
func (BondLink_Mode) EnumDescriptor
deprecated
func (BondLink_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use BondLink_Mode.Descriptor instead.
func (BondLink_Mode) Number ¶ added in v3.2.0
func (x BondLink_Mode) Number() protoreflect.EnumNumber
func (BondLink_Mode) String ¶
func (x BondLink_Mode) String() string
func (BondLink_Mode) Type ¶ added in v3.2.0
func (BondLink_Mode) Type() protoreflect.EnumType
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"` // IP addresses in the format <ipAddress>/<ipPrefix> RouterIpAddress string `protobuf:"bytes,6,opt,name=router_ip_address,json=routerIpAddress,proto3" json:"router_ip_address,omitempty"` // IP addresses in the format <ipAddress>/<ipPrefix> // contains filtered or unexported fields }
DHCPLease is a notification, i.e. flows from SB upwards
func (*DHCPLease) Descriptor
deprecated
func (*DHCPLease) GetHostIpAddress ¶
func (*DHCPLease) GetHostName ¶
func (*DHCPLease) GetHostPhysAddress ¶
func (*DHCPLease) GetInterfaceName ¶
func (*DHCPLease) GetRouterIpAddress ¶
func (*DHCPLease) ProtoMessage ¶
func (*DHCPLease) ProtoMessage()
func (*DHCPLease) ProtoReflect ¶ added in v3.2.0
func (x *DHCPLease) ProtoReflect() protoreflect.Message
type GreLink ¶
type GreLink struct { TunnelType GreLink_Type `` /* 132-byte string literal not displayed */ SrcAddr string `protobuf:"bytes,2,opt,name=src_addr,json=srcAddr,proto3" json:"src_addr,omitempty"` DstAddr string `protobuf:"bytes,3,opt,name=dst_addr,json=dstAddr,proto3" json:"dst_addr,omitempty"` OuterFibId uint32 `protobuf:"varint,4,opt,name=outer_fib_id,json=outerFibId,proto3" json:"outer_fib_id,omitempty"` SessionId uint32 `protobuf:"varint,5,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // contains filtered or unexported fields }
func (*GreLink) Descriptor
deprecated
func (*GreLink) GetDstAddr ¶
func (*GreLink) GetOuterFibId ¶
func (*GreLink) GetSessionId ¶
func (*GreLink) GetSrcAddr ¶
func (*GreLink) GetTunnelType ¶
func (x *GreLink) GetTunnelType() GreLink_Type
func (*GreLink) ProtoMessage ¶
func (*GreLink) ProtoMessage()
func (*GreLink) ProtoReflect ¶ added in v3.2.0
func (x *GreLink) ProtoReflect() protoreflect.Message
type GreLink_Type ¶
type GreLink_Type int32
const ( GreLink_UNKNOWN GreLink_Type = 0 // L3 GRE (i.e. this tunnel is in L3 mode) GreLink_L3 GreLink_Type = 1 // TEB - Transparent Ethernet Bridging - the tunnel is in L2 mode GreLink_TEB GreLink_Type = 2 // ERSPAN - the tunnel is for port mirror SPAN output GreLink_ERSPAN GreLink_Type = 3 )
func (GreLink_Type) Descriptor ¶ added in v3.2.0
func (GreLink_Type) Descriptor() protoreflect.EnumDescriptor
func (GreLink_Type) Enum ¶ added in v3.2.0
func (x GreLink_Type) Enum() *GreLink_Type
func (GreLink_Type) EnumDescriptor
deprecated
func (GreLink_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use GreLink_Type.Descriptor instead.
func (GreLink_Type) Number ¶ added in v3.2.0
func (x GreLink_Type) Number() protoreflect.EnumNumber
func (GreLink_Type) String ¶
func (x GreLink_Type) String() string
func (GreLink_Type) Type ¶ added in v3.2.0
func (GreLink_Type) Type() protoreflect.EnumType
type GtpuLink ¶
type GtpuLink struct { // Source VTEP address SrcAddr string `protobuf:"bytes,1,opt,name=src_addr,json=srcAddr,proto3" json:"src_addr,omitempty"` // Destination VTEP address DstAddr string `protobuf:"bytes,2,opt,name=dst_addr,json=dstAddr,proto3" json:"dst_addr,omitempty"` // Name of multicast interface Multicast string `protobuf:"bytes,3,opt,name=multicast,proto3" json:"multicast,omitempty"` // Tunnel endpoint identifier - local Teid uint32 `protobuf:"varint,4,opt,name=teid,proto3" json:"teid,omitempty"` // Tunnel endpoint identifier - remote RemoteTeid uint32 `protobuf:"varint,7,opt,name=remote_teid,json=remoteTeid,proto3" json:"remote_teid,omitempty"` // VRF id for the encapsulated packets EncapVrfId uint32 `protobuf:"varint,5,opt,name=encap_vrf_id,json=encapVrfId,proto3" json:"encap_vrf_id,omitempty"` // DEPRECATED - use decap_next_node // // Deprecated: Do not use. DecapNext GtpuLink_NextNode `` /* 134-byte string literal not displayed */ // Next VPP node after decapsulation DecapNextNode uint32 `protobuf:"varint,8,opt,name=decap_next_node,json=decapNextNode,proto3" json:"decap_next_node,omitempty"` // contains filtered or unexported fields }
func (*GtpuLink) Descriptor
deprecated
func (*GtpuLink) GetDecapNext
deprecated
func (x *GtpuLink) GetDecapNext() GtpuLink_NextNode
Deprecated: Do not use.
func (*GtpuLink) GetDecapNextNode ¶ added in v3.2.0
func (*GtpuLink) GetDstAddr ¶
func (*GtpuLink) GetEncapVrfId ¶
func (*GtpuLink) GetMulticast ¶
func (*GtpuLink) GetRemoteTeid ¶ added in v3.2.0
func (*GtpuLink) GetSrcAddr ¶
func (*GtpuLink) ProtoMessage ¶
func (*GtpuLink) ProtoMessage()
func (*GtpuLink) ProtoReflect ¶ added in v3.2.0
func (x *GtpuLink) ProtoReflect() protoreflect.Message
type GtpuLink_NextNode ¶
type GtpuLink_NextNode int32
const ( // The default next node is l2-input GtpuLink_DEFAULT GtpuLink_NextNode = 0 // l2-input GtpuLink_L2 GtpuLink_NextNode = 1 // ip4-input GtpuLink_IP4 GtpuLink_NextNode = 2 // ip6-input GtpuLink_IP6 GtpuLink_NextNode = 3 )
func (GtpuLink_NextNode) Descriptor ¶ added in v3.2.0
func (GtpuLink_NextNode) Descriptor() protoreflect.EnumDescriptor
func (GtpuLink_NextNode) Enum ¶ added in v3.2.0
func (x GtpuLink_NextNode) Enum() *GtpuLink_NextNode
func (GtpuLink_NextNode) EnumDescriptor
deprecated
func (GtpuLink_NextNode) EnumDescriptor() ([]byte, []int)
Deprecated: Use GtpuLink_NextNode.Descriptor instead.
func (GtpuLink_NextNode) Number ¶ added in v3.2.0
func (x GtpuLink_NextNode) Number() protoreflect.EnumNumber
func (GtpuLink_NextNode) String ¶
func (x GtpuLink_NextNode) String() string
func (GtpuLink_NextNode) Type ¶ added in v3.2.0
func (GtpuLink_NextNode) Type() protoreflect.EnumType
type IPIPLink ¶ added in v3.1.0
type IPIPLink struct { // Mode of the IPIP tunnel TunnelMode IPIPLink_Mode `` /* 133-byte string literal not displayed */ // Source VTEP IP address SrcAddr string `protobuf:"bytes,2,opt,name=src_addr,json=srcAddr,proto3" json:"src_addr,omitempty"` // Destination VTEP IP address DstAddr string `protobuf:"bytes,3,opt,name=dst_addr,json=dstAddr,proto3" json:"dst_addr,omitempty"` // contains filtered or unexported fields }
func (*IPIPLink) Descriptor
deprecated
added in
v3.1.0
func (*IPIPLink) GetDstAddr ¶ added in v3.1.0
func (*IPIPLink) GetSrcAddr ¶ added in v3.1.0
func (*IPIPLink) GetTunnelMode ¶ added in v3.1.0
func (x *IPIPLink) GetTunnelMode() IPIPLink_Mode
func (*IPIPLink) ProtoMessage ¶ added in v3.1.0
func (*IPIPLink) ProtoMessage()
func (*IPIPLink) ProtoReflect ¶ added in v3.2.0
func (x *IPIPLink) ProtoReflect() protoreflect.Message
type IPIPLink_Mode ¶ added in v3.1.0
type IPIPLink_Mode int32
const ( // point-to-point tunnel IPIPLink_POINT_TO_POINT IPIPLink_Mode = 0 // point-to multipoint tunnel (supported starting from VPP 20.05) IPIPLink_POINT_TO_MULTIPOINT IPIPLink_Mode = 1 )
func (IPIPLink_Mode) Descriptor ¶ added in v3.2.0
func (IPIPLink_Mode) Descriptor() protoreflect.EnumDescriptor
func (IPIPLink_Mode) Enum ¶ added in v3.2.0
func (x IPIPLink_Mode) Enum() *IPIPLink_Mode
func (IPIPLink_Mode) EnumDescriptor
deprecated
added in
v3.1.0
func (IPIPLink_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use IPIPLink_Mode.Descriptor instead.
func (IPIPLink_Mode) Number ¶ added in v3.2.0
func (x IPIPLink_Mode) Number() protoreflect.EnumNumber
func (IPIPLink_Mode) String ¶ added in v3.1.0
func (x IPIPLink_Mode) String() string
func (IPIPLink_Mode) Type ¶ added in v3.2.0
func (IPIPLink_Mode) Type() protoreflect.EnumType
type IPSecLink ¶
type IPSecLink struct { // Mode of the IPIP tunnel TunnelMode IPSecLink_Mode `` /* 134-byte string literal not displayed */ // Extended sequence number // // Deprecated: Do not use. Esn bool `protobuf:"varint,2,opt,name=esn,proto3" json:"esn,omitempty"` // Anti replay option // // Deprecated: Do not use. AntiReplay bool `protobuf:"varint,3,opt,name=anti_replay,json=antiReplay,proto3" json:"anti_replay,omitempty"` // Local IP address // // Deprecated: Do not use. LocalIp string `protobuf:"bytes,4,opt,name=local_ip,json=localIp,proto3" json:"local_ip,omitempty"` // Remote IP address // // Deprecated: Do not use. RemoteIp string `protobuf:"bytes,5,opt,name=remote_ip,json=remoteIp,proto3" json:"remote_ip,omitempty"` // Local security parameter index // // Deprecated: Do not use. LocalSpi uint32 `protobuf:"varint,6,opt,name=local_spi,json=localSpi,proto3" json:"local_spi,omitempty"` // Remote security parameter index // // Deprecated: Do not use. RemoteSpi uint32 `protobuf:"varint,7,opt,name=remote_spi,json=remoteSpi,proto3" json:"remote_spi,omitempty"` // Cryptographic algorithm for encryption // // Deprecated: Do not use. CryptoAlg ipsec.CryptoAlg `protobuf:"varint,8,opt,name=crypto_alg,json=cryptoAlg,proto3,enum=ligato.vpp.ipsec.CryptoAlg" json:"crypto_alg,omitempty"` // Deprecated: Do not use. LocalCryptoKey string `protobuf:"bytes,9,opt,name=local_crypto_key,json=localCryptoKey,proto3" json:"local_crypto_key,omitempty"` // Deprecated: Do not use. RemoteCryptoKey string `protobuf:"bytes,10,opt,name=remote_crypto_key,json=remoteCryptoKey,proto3" json:"remote_crypto_key,omitempty"` // Cryptographic algorithm for authentication // // Deprecated: Do not use. IntegAlg ipsec.IntegAlg `protobuf:"varint,11,opt,name=integ_alg,json=integAlg,proto3,enum=ligato.vpp.ipsec.IntegAlg" json:"integ_alg,omitempty"` // Deprecated: Do not use. LocalIntegKey string `protobuf:"bytes,12,opt,name=local_integ_key,json=localIntegKey,proto3" json:"local_integ_key,omitempty"` // Deprecated: Do not use. RemoteIntegKey string `protobuf:"bytes,13,opt,name=remote_integ_key,json=remoteIntegKey,proto3" json:"remote_integ_key,omitempty"` // Deprecated: Do not use. EnableUdpEncap bool `protobuf:"varint,14,opt,name=enable_udp_encap,json=enableUdpEncap,proto3" json:"enable_udp_encap,omitempty"` // contains filtered or unexported fields }
IPSecLink defines configuration for interface type: IPSEC_TUNNEL In VPP 21.06 and newer, IPSecLink serves just for creation of the link and thus only tunnel_mode is taken into account and all of the remaining (deprecated) fields are ignored. Please use separate SecurityPolicy, SecurityAssociation and TunnelProtection messages from ligato.vpp.ipsec package to associate SA, SP and tunnel protection with the link.
func (*IPSecLink) Descriptor
deprecated
func (*IPSecLink) GetAntiReplay
deprecated
func (*IPSecLink) GetCryptoAlg
deprecated
func (*IPSecLink) GetEnableUdpEncap
deprecated
func (*IPSecLink) GetIntegAlg
deprecated
func (*IPSecLink) GetLocalCryptoKey
deprecated
func (*IPSecLink) GetLocalIntegKey
deprecated
func (*IPSecLink) GetLocalIp
deprecated
func (*IPSecLink) GetLocalSpi
deprecated
func (*IPSecLink) GetRemoteCryptoKey
deprecated
func (*IPSecLink) GetRemoteIntegKey
deprecated
func (*IPSecLink) GetRemoteIp
deprecated
func (*IPSecLink) GetRemoteSpi
deprecated
func (*IPSecLink) GetTunnelMode ¶ added in v3.3.0
func (x *IPSecLink) GetTunnelMode() IPSecLink_Mode
func (*IPSecLink) ProtoMessage ¶
func (*IPSecLink) ProtoMessage()
func (*IPSecLink) ProtoReflect ¶ added in v3.2.0
func (x *IPSecLink) ProtoReflect() protoreflect.Message
type IPSecLink_Mode ¶ added in v3.3.0
type IPSecLink_Mode int32
const ( // point-to-point tunnel IPSecLink_POINT_TO_POINT IPSecLink_Mode = 0 // point-to multipoint tunnel (supported starting from VPP 20.05) IPSecLink_POINT_TO_MULTIPOINT IPSecLink_Mode = 1 )
func (IPSecLink_Mode) Descriptor ¶ added in v3.3.0
func (IPSecLink_Mode) Descriptor() protoreflect.EnumDescriptor
func (IPSecLink_Mode) Enum ¶ added in v3.3.0
func (x IPSecLink_Mode) Enum() *IPSecLink_Mode
func (IPSecLink_Mode) EnumDescriptor
deprecated
added in
v3.3.0
func (IPSecLink_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use IPSecLink_Mode.Descriptor instead.
func (IPSecLink_Mode) Number ¶ added in v3.3.0
func (x IPSecLink_Mode) Number() protoreflect.EnumNumber
func (IPSecLink_Mode) String ¶ added in v3.3.0
func (x IPSecLink_Mode) String() string
func (IPSecLink_Mode) Type ¶ added in v3.3.0
func (IPSecLink_Mode) Type() protoreflect.EnumType
type Interface ¶
type Interface struct { // Name is mandatory field representing logical name for the interface. // It must be unique across all configured VPP interfaces. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Type represents the type of VPP interface and it must match the actual Link. Type Interface_Type `protobuf:"varint,2,opt,name=type,proto3,enum=ligato.vpp.interfaces.Interface_Type" json:"type,omitempty"` // Enabled controls if the interface should be UP. Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` // PhysAddress represents physical address (MAC) of the interface. // Random address will be assigned if left empty. PhysAddress string `protobuf:"bytes,4,opt,name=phys_address,json=physAddress,proto3" json:"phys_address,omitempty"` // IPAddresses define list of IP addresses for the interface and must be // defined in the following format: <ipAddress>/<ipPrefix>. // Interface IP address can be also allocated via netalloc plugin and // referenced here, see: api/models/netalloc/netalloc.proto IpAddresses []string `protobuf:"bytes,5,rep,name=ip_addresses,json=ipAddresses,proto3" json:"ip_addresses,omitempty"` // Vrf defines the ID of VRF table that the interface is assigned to. // The VRF table must be explicitely configured (see api/models/vpp/l3/vrf.proto). // When using unnumbered interface the actual vrf is inherited from // the interface referenced by the numbered interface and this field is ignored. Vrf uint32 `protobuf:"varint,6,opt,name=vrf,proto3" json:"vrf,omitempty"` // SetDhcpClient enables DHCP client on interface. SetDhcpClient bool `protobuf:"varint,7,opt,name=set_dhcp_client,json=setDhcpClient,proto3" json:"set_dhcp_client,omitempty"` Ip6Nd *Interface_IP6ND `protobuf:"bytes,14,opt,name=ip6_nd,json=ip6Nd,proto3" json:"ip6_nd,omitempty"` // Mtu sets MTU (Maximum Transmission Unit) for this interface. // If set to zero, default MTU (usually 9216) will be used. 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"` RxModes []*Interface_RxMode `protobuf:"bytes,12,rep,name=rx_modes,json=rxModes,proto3" json:"rx_modes,omitempty"` RxPlacements []*Interface_RxPlacement `protobuf:"bytes,13,rep,name=rx_placements,json=rxPlacements,proto3" json:"rx_placements,omitempty"` // Link defines configuration for specific interface types. // It can be nil for some interfaces types like: loopback and DPDK. // // Types that are assignable to Link: // *Interface_Sub // *Interface_Memif // *Interface_Afpacket // *Interface_Tap // *Interface_Vxlan // *Interface_Ipsec // *Interface_VmxNet3 // *Interface_Bond // *Interface_Gre // *Interface_Gtpu // *Interface_Ipip // *Interface_Wireguard // *Interface_Rdma Link isInterface_Link `protobuf_oneof:"link"` // contains filtered or unexported fields }
Interface defines a VPP interface.
func (*Interface) Descriptor
deprecated
func (*Interface) GetAfpacket ¶
func (x *Interface) GetAfpacket() *AfpacketLink
func (*Interface) GetEnabled ¶
func (*Interface) GetIp6Nd ¶ added in v3.2.0
func (x *Interface) GetIp6Nd() *Interface_IP6ND
func (*Interface) GetIpAddresses ¶
func (*Interface) GetPhysAddress ¶
func (*Interface) GetRxModes ¶
func (x *Interface) GetRxModes() []*Interface_RxMode
func (*Interface) GetRxPlacements ¶
func (x *Interface) GetRxPlacements() []*Interface_RxPlacement
func (*Interface) GetSetDhcpClient ¶
func (*Interface) GetSub ¶
func (x *Interface) GetSub() *SubInterface
func (*Interface) GetType ¶
func (x *Interface) GetType() Interface_Type
func (*Interface) GetUnnumbered ¶
func (x *Interface) GetUnnumbered() *Interface_Unnumbered
func (*Interface) GetVmxNet3 ¶
func (x *Interface) GetVmxNet3() *VmxNet3Link
func (*Interface) GetWireguard ¶ added in v3.2.0
func (x *Interface) GetWireguard() *WireguardLink
func (*Interface) ProtoMessage ¶
func (*Interface) ProtoMessage()
func (*Interface) ProtoReflect ¶ added in v3.2.0
func (x *Interface) ProtoReflect() protoreflect.Message
type InterfaceNotification ¶
type InterfaceNotification struct { Type InterfaceNotification_NotifType `protobuf:"varint,1,opt,name=type,proto3,enum=ligato.vpp.interfaces.InterfaceNotification_NotifType" json:"type,omitempty"` State *InterfaceState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*InterfaceNotification) Descriptor
deprecated
func (*InterfaceNotification) Descriptor() ([]byte, []int)
Deprecated: Use InterfaceNotification.ProtoReflect.Descriptor instead.
func (*InterfaceNotification) GetState ¶
func (x *InterfaceNotification) GetState() *InterfaceState
func (*InterfaceNotification) GetType ¶
func (x *InterfaceNotification) GetType() InterfaceNotification_NotifType
func (*InterfaceNotification) ProtoMessage ¶
func (*InterfaceNotification) ProtoMessage()
func (*InterfaceNotification) ProtoReflect ¶ added in v3.2.0
func (x *InterfaceNotification) ProtoReflect() protoreflect.Message
func (*InterfaceNotification) Reset ¶
func (x *InterfaceNotification) Reset()
func (*InterfaceNotification) String ¶
func (x *InterfaceNotification) String() string
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) Descriptor ¶ added in v3.2.0
func (InterfaceNotification_NotifType) Descriptor() protoreflect.EnumDescriptor
func (InterfaceNotification_NotifType) Enum ¶ added in v3.2.0
func (x InterfaceNotification_NotifType) Enum() *InterfaceNotification_NotifType
func (InterfaceNotification_NotifType) EnumDescriptor
deprecated
func (InterfaceNotification_NotifType) EnumDescriptor() ([]byte, []int)
Deprecated: Use InterfaceNotification_NotifType.Descriptor instead.
func (InterfaceNotification_NotifType) Number ¶ added in v3.2.0
func (x InterfaceNotification_NotifType) Number() protoreflect.EnumNumber
func (InterfaceNotification_NotifType) String ¶
func (x InterfaceNotification_NotifType) String() string
func (InterfaceNotification_NotifType) Type ¶ added in v3.2.0
func (InterfaceNotification_NotifType) Type() protoreflect.EnumType
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=ligato.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 `` /* 144-byte string literal not displayed */ OperStatus InterfaceState_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 InterfaceState_Duplex `protobuf:"varint,11,opt,name=duplex,proto3,enum=ligato.vpp.interfaces.InterfaceState_Duplex" json:"duplex,omitempty"` Statistics *InterfaceState_Statistics `protobuf:"bytes,100,opt,name=statistics,proto3" json:"statistics,omitempty"` // contains filtered or unexported fields }
func (*InterfaceState) Descriptor
deprecated
func (*InterfaceState) Descriptor() ([]byte, []int)
Deprecated: Use InterfaceState.ProtoReflect.Descriptor instead.
func (*InterfaceState) GetAdminStatus ¶
func (x *InterfaceState) GetAdminStatus() InterfaceState_Status
func (*InterfaceState) GetDuplex ¶
func (x *InterfaceState) GetDuplex() InterfaceState_Duplex
func (*InterfaceState) GetIfIndex ¶
func (x *InterfaceState) GetIfIndex() uint32
func (*InterfaceState) GetInternalName ¶
func (x *InterfaceState) GetInternalName() string
func (*InterfaceState) GetLastChange ¶
func (x *InterfaceState) GetLastChange() int64
func (*InterfaceState) GetMtu ¶
func (x *InterfaceState) GetMtu() uint32
func (*InterfaceState) GetName ¶
func (x *InterfaceState) GetName() string
func (*InterfaceState) GetOperStatus ¶
func (x *InterfaceState) GetOperStatus() InterfaceState_Status
func (*InterfaceState) GetPhysAddress ¶
func (x *InterfaceState) GetPhysAddress() string
func (*InterfaceState) GetSpeed ¶
func (x *InterfaceState) GetSpeed() uint64
func (*InterfaceState) GetStatistics ¶
func (x *InterfaceState) GetStatistics() *InterfaceState_Statistics
func (*InterfaceState) GetType ¶
func (x *InterfaceState) GetType() Interface_Type
func (*InterfaceState) ProtoMessage ¶
func (*InterfaceState) ProtoMessage()
func (*InterfaceState) ProtoReflect ¶ added in v3.2.0
func (x *InterfaceState) ProtoReflect() protoreflect.Message
func (*InterfaceState) Reset ¶
func (x *InterfaceState) Reset()
func (*InterfaceState) String ¶
func (x *InterfaceState) String() string
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) Descriptor ¶ added in v3.2.0
func (InterfaceState_Duplex) Descriptor() protoreflect.EnumDescriptor
func (InterfaceState_Duplex) Enum ¶ added in v3.2.0
func (x InterfaceState_Duplex) Enum() *InterfaceState_Duplex
func (InterfaceState_Duplex) EnumDescriptor
deprecated
func (InterfaceState_Duplex) EnumDescriptor() ([]byte, []int)
Deprecated: Use InterfaceState_Duplex.Descriptor instead.
func (InterfaceState_Duplex) Number ¶ added in v3.2.0
func (x InterfaceState_Duplex) Number() protoreflect.EnumNumber
func (InterfaceState_Duplex) String ¶
func (x InterfaceState_Duplex) String() string
func (InterfaceState_Duplex) Type ¶ added in v3.2.0
func (InterfaceState_Duplex) Type() protoreflect.EnumType
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"` // contains filtered or unexported fields }
func (*InterfaceState_Statistics) Descriptor
deprecated
func (*InterfaceState_Statistics) Descriptor() ([]byte, []int)
Deprecated: Use InterfaceState_Statistics.ProtoReflect.Descriptor instead.
func (*InterfaceState_Statistics) GetDropPackets ¶
func (x *InterfaceState_Statistics) GetDropPackets() uint64
func (*InterfaceState_Statistics) GetInBytes ¶
func (x *InterfaceState_Statistics) GetInBytes() uint64
func (*InterfaceState_Statistics) GetInErrorPackets ¶
func (x *InterfaceState_Statistics) GetInErrorPackets() uint64
func (*InterfaceState_Statistics) GetInMissPackets ¶
func (x *InterfaceState_Statistics) GetInMissPackets() uint64
func (*InterfaceState_Statistics) GetInNobufPackets ¶
func (x *InterfaceState_Statistics) GetInNobufPackets() uint64
func (*InterfaceState_Statistics) GetInPackets ¶
func (x *InterfaceState_Statistics) GetInPackets() uint64
func (*InterfaceState_Statistics) GetIpv4Packets ¶
func (x *InterfaceState_Statistics) GetIpv4Packets() uint64
func (*InterfaceState_Statistics) GetIpv6Packets ¶
func (x *InterfaceState_Statistics) GetIpv6Packets() uint64
func (*InterfaceState_Statistics) GetOutBytes ¶
func (x *InterfaceState_Statistics) GetOutBytes() uint64
func (*InterfaceState_Statistics) GetOutErrorPackets ¶
func (x *InterfaceState_Statistics) GetOutErrorPackets() uint64
func (*InterfaceState_Statistics) GetOutPackets ¶
func (x *InterfaceState_Statistics) GetOutPackets() uint64
func (*InterfaceState_Statistics) GetPuntPackets ¶
func (x *InterfaceState_Statistics) GetPuntPackets() uint64
func (*InterfaceState_Statistics) ProtoMessage ¶
func (*InterfaceState_Statistics) ProtoMessage()
func (*InterfaceState_Statistics) ProtoReflect ¶ added in v3.2.0
func (x *InterfaceState_Statistics) ProtoReflect() protoreflect.Message
func (*InterfaceState_Statistics) Reset ¶
func (x *InterfaceState_Statistics) Reset()
func (*InterfaceState_Statistics) String ¶
func (x *InterfaceState_Statistics) String() string
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) Descriptor ¶ added in v3.2.0
func (InterfaceState_Status) Descriptor() protoreflect.EnumDescriptor
func (InterfaceState_Status) Enum ¶ added in v3.2.0
func (x InterfaceState_Status) Enum() *InterfaceState_Status
func (InterfaceState_Status) EnumDescriptor
deprecated
func (InterfaceState_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use InterfaceState_Status.Descriptor instead.
func (InterfaceState_Status) Number ¶ added in v3.2.0
func (x InterfaceState_Status) Number() protoreflect.EnumNumber
func (InterfaceState_Status) String ¶
func (x InterfaceState_Status) String() string
func (InterfaceState_Status) Type ¶ added in v3.2.0
func (InterfaceState_Status) Type() protoreflect.EnumType
type InterfaceStats ¶
type InterfaceStats struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Rx *InterfaceStats_CombinedCounter `protobuf:"bytes,2,opt,name=rx,proto3" json:"rx,omitempty"` Tx *InterfaceStats_CombinedCounter `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"` RxUnicast *InterfaceStats_CombinedCounter `protobuf:"bytes,4,opt,name=rx_unicast,json=rxUnicast,proto3" json:"rx_unicast,omitempty"` RxMulticast *InterfaceStats_CombinedCounter `protobuf:"bytes,5,opt,name=rx_multicast,json=rxMulticast,proto3" json:"rx_multicast,omitempty"` RxBroadcast *InterfaceStats_CombinedCounter `protobuf:"bytes,6,opt,name=rx_broadcast,json=rxBroadcast,proto3" json:"rx_broadcast,omitempty"` TxUnicast *InterfaceStats_CombinedCounter `protobuf:"bytes,7,opt,name=tx_unicast,json=txUnicast,proto3" json:"tx_unicast,omitempty"` TxMulticast *InterfaceStats_CombinedCounter `protobuf:"bytes,8,opt,name=tx_multicast,json=txMulticast,proto3" json:"tx_multicast,omitempty"` TxBroadcast *InterfaceStats_CombinedCounter `protobuf:"bytes,9,opt,name=tx_broadcast,json=txBroadcast,proto3" json:"tx_broadcast,omitempty"` RxError uint64 `protobuf:"varint,12,opt,name=rx_error,json=rxError,proto3" json:"rx_error,omitempty"` TxError uint64 `protobuf:"varint,13,opt,name=tx_error,json=txError,proto3" json:"tx_error,omitempty"` RxNoBuf uint64 `protobuf:"varint,10,opt,name=rx_no_buf,json=rxNoBuf,proto3" json:"rx_no_buf,omitempty"` RxMiss uint64 `protobuf:"varint,11,opt,name=rx_miss,json=rxMiss,proto3" json:"rx_miss,omitempty"` Drops uint64 `protobuf:"varint,14,opt,name=drops,proto3" json:"drops,omitempty"` Punts uint64 `protobuf:"varint,15,opt,name=punts,proto3" json:"punts,omitempty"` Ip4 uint64 `protobuf:"varint,16,opt,name=ip4,proto3" json:"ip4,omitempty"` Ip6 uint64 `protobuf:"varint,17,opt,name=ip6,proto3" json:"ip6,omitempty"` Mpls uint64 `protobuf:"varint,18,opt,name=mpls,proto3" json:"mpls,omitempty"` // contains filtered or unexported fields }
func (*InterfaceStats) Descriptor
deprecated
func (*InterfaceStats) Descriptor() ([]byte, []int)
Deprecated: Use InterfaceStats.ProtoReflect.Descriptor instead.
func (*InterfaceStats) GetDrops ¶
func (x *InterfaceStats) GetDrops() uint64
func (*InterfaceStats) GetIp4 ¶
func (x *InterfaceStats) GetIp4() uint64
func (*InterfaceStats) GetIp6 ¶
func (x *InterfaceStats) GetIp6() uint64
func (*InterfaceStats) GetMpls ¶
func (x *InterfaceStats) GetMpls() uint64
func (*InterfaceStats) GetName ¶
func (x *InterfaceStats) GetName() string
func (*InterfaceStats) GetPunts ¶
func (x *InterfaceStats) GetPunts() uint64
func (*InterfaceStats) GetRx ¶
func (x *InterfaceStats) GetRx() *InterfaceStats_CombinedCounter
func (*InterfaceStats) GetRxBroadcast ¶
func (x *InterfaceStats) GetRxBroadcast() *InterfaceStats_CombinedCounter
func (*InterfaceStats) GetRxError ¶
func (x *InterfaceStats) GetRxError() uint64
func (*InterfaceStats) GetRxMiss ¶
func (x *InterfaceStats) GetRxMiss() uint64
func (*InterfaceStats) GetRxMulticast ¶
func (x *InterfaceStats) GetRxMulticast() *InterfaceStats_CombinedCounter
func (*InterfaceStats) GetRxNoBuf ¶
func (x *InterfaceStats) GetRxNoBuf() uint64
func (*InterfaceStats) GetRxUnicast ¶
func (x *InterfaceStats) GetRxUnicast() *InterfaceStats_CombinedCounter
func (*InterfaceStats) GetTx ¶
func (x *InterfaceStats) GetTx() *InterfaceStats_CombinedCounter
func (*InterfaceStats) GetTxBroadcast ¶
func (x *InterfaceStats) GetTxBroadcast() *InterfaceStats_CombinedCounter
func (*InterfaceStats) GetTxError ¶
func (x *InterfaceStats) GetTxError() uint64
func (*InterfaceStats) GetTxMulticast ¶
func (x *InterfaceStats) GetTxMulticast() *InterfaceStats_CombinedCounter
func (*InterfaceStats) GetTxUnicast ¶
func (x *InterfaceStats) GetTxUnicast() *InterfaceStats_CombinedCounter
func (*InterfaceStats) ProtoMessage ¶
func (*InterfaceStats) ProtoMessage()
func (*InterfaceStats) ProtoReflect ¶ added in v3.2.0
func (x *InterfaceStats) ProtoReflect() protoreflect.Message
func (*InterfaceStats) Reset ¶
func (x *InterfaceStats) Reset()
func (*InterfaceStats) String ¶
func (x *InterfaceStats) String() string
type InterfaceStats_CombinedCounter ¶
type InterfaceStats_CombinedCounter struct { Packets uint64 `protobuf:"varint,1,opt,name=packets,proto3" json:"packets,omitempty"` Bytes uint64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"` // contains filtered or unexported fields }
func (*InterfaceStats_CombinedCounter) Descriptor
deprecated
func (*InterfaceStats_CombinedCounter) Descriptor() ([]byte, []int)
Deprecated: Use InterfaceStats_CombinedCounter.ProtoReflect.Descriptor instead.
func (*InterfaceStats_CombinedCounter) GetBytes ¶
func (x *InterfaceStats_CombinedCounter) GetBytes() uint64
func (*InterfaceStats_CombinedCounter) GetPackets ¶
func (x *InterfaceStats_CombinedCounter) GetPackets() uint64
func (*InterfaceStats_CombinedCounter) ProtoMessage ¶
func (*InterfaceStats_CombinedCounter) ProtoMessage()
func (*InterfaceStats_CombinedCounter) ProtoReflect ¶ added in v3.2.0
func (x *InterfaceStats_CombinedCounter) ProtoReflect() protoreflect.Message
func (*InterfaceStats_CombinedCounter) Reset ¶
func (x *InterfaceStats_CombinedCounter) Reset()
func (*InterfaceStats_CombinedCounter) String ¶
func (x *InterfaceStats_CombinedCounter) 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_Gre ¶
type Interface_Gre struct {
Gre *GreLink `protobuf:"bytes,108,opt,name=gre,proto3,oneof"`
}
type Interface_Gtpu ¶
type Interface_Gtpu struct {
Gtpu *GtpuLink `protobuf:"bytes,109,opt,name=gtpu,proto3,oneof"`
}
type Interface_IP6ND ¶ added in v3.2.0
type Interface_IP6ND struct { // Enable IPv6 ND address autoconfiguration. AddressAutoconfig bool `protobuf:"varint,1,opt,name=address_autoconfig,json=addressAutoconfig,proto3" json:"address_autoconfig,omitempty"` // Enable installing default routes. InstallDefaultRoutes bool `protobuf:"varint,2,opt,name=install_default_routes,json=installDefaultRoutes,proto3" json:"install_default_routes,omitempty"` // contains filtered or unexported fields }
Ip6Nd is used to enable/disable IPv6 ND address autoconfiguration and setting up default routes
func (*Interface_IP6ND) Descriptor
deprecated
added in
v3.2.0
func (*Interface_IP6ND) Descriptor() ([]byte, []int)
Deprecated: Use Interface_IP6ND.ProtoReflect.Descriptor instead.
func (*Interface_IP6ND) GetAddressAutoconfig ¶ added in v3.2.0
func (x *Interface_IP6ND) GetAddressAutoconfig() bool
func (*Interface_IP6ND) GetInstallDefaultRoutes ¶ added in v3.2.0
func (x *Interface_IP6ND) GetInstallDefaultRoutes() bool
func (*Interface_IP6ND) ProtoMessage ¶ added in v3.2.0
func (*Interface_IP6ND) ProtoMessage()
func (*Interface_IP6ND) ProtoReflect ¶ added in v3.2.0
func (x *Interface_IP6ND) ProtoReflect() protoreflect.Message
func (*Interface_IP6ND) Reset ¶ added in v3.2.0
func (x *Interface_IP6ND) Reset()
func (*Interface_IP6ND) String ¶ added in v3.2.0
func (x *Interface_IP6ND) String() string
type Interface_Ipip ¶ added in v3.1.0
type Interface_Ipip struct {
Ipip *IPIPLink `protobuf:"bytes,110,opt,name=ipip,proto3,oneof"`
}
type Interface_Ipsec ¶
type Interface_Ipsec struct { // Deprecated: Do not use. Ipsec *IPSecLink `protobuf:"bytes,105,opt,name=ipsec,proto3,oneof"` // Deprecated in VPP 20.01+. Use IPIP_TUNNEL + ipsec.TunnelProtection instead. }
type Interface_Memif ¶
type Interface_Memif struct {
Memif *MemifLink `protobuf:"bytes,101,opt,name=memif,proto3,oneof"`
}
type Interface_Rdma ¶ added in v3.3.0
type Interface_Rdma struct {
Rdma *RDMALink `protobuf:"bytes,112,opt,name=rdma,proto3,oneof"`
}
type Interface_RxMode ¶
type Interface_RxMode struct { Queue uint32 `protobuf:"varint,1,opt,name=queue,proto3" json:"queue,omitempty"` Mode Interface_RxMode_Type `protobuf:"varint,2,opt,name=mode,proto3,enum=ligato.vpp.interfaces.Interface_RxMode_Type" json:"mode,omitempty"` // DefaultMode, if set to true, the <queue> field will be ignored // and the <mode> will be used as a default for all the queues. DefaultMode bool `protobuf:"varint,3,opt,name=default_mode,json=defaultMode,proto3" json:"default_mode,omitempty"` // contains filtered or unexported fields }
func (*Interface_RxMode) Descriptor
deprecated
func (*Interface_RxMode) Descriptor() ([]byte, []int)
Deprecated: Use Interface_RxMode.ProtoReflect.Descriptor instead.
func (*Interface_RxMode) GetDefaultMode ¶
func (x *Interface_RxMode) GetDefaultMode() bool
func (*Interface_RxMode) GetMode ¶
func (x *Interface_RxMode) GetMode() Interface_RxMode_Type
func (*Interface_RxMode) GetQueue ¶
func (x *Interface_RxMode) GetQueue() uint32
func (*Interface_RxMode) ProtoMessage ¶
func (*Interface_RxMode) ProtoMessage()
func (*Interface_RxMode) ProtoReflect ¶ added in v3.2.0
func (x *Interface_RxMode) ProtoReflect() protoreflect.Message
func (*Interface_RxMode) Reset ¶
func (x *Interface_RxMode) Reset()
func (*Interface_RxMode) String ¶
func (x *Interface_RxMode) String() string
type Interface_RxMode_Type ¶
type Interface_RxMode_Type int32
Type definition is from: vpp/include/vnet/interface.h
const ( Interface_RxMode_UNKNOWN Interface_RxMode_Type = 0 Interface_RxMode_POLLING Interface_RxMode_Type = 1 Interface_RxMode_INTERRUPT Interface_RxMode_Type = 2 Interface_RxMode_ADAPTIVE Interface_RxMode_Type = 3 Interface_RxMode_DEFAULT Interface_RxMode_Type = 4 )
func (Interface_RxMode_Type) Descriptor ¶ added in v3.2.0
func (Interface_RxMode_Type) Descriptor() protoreflect.EnumDescriptor
func (Interface_RxMode_Type) Enum ¶ added in v3.2.0
func (x Interface_RxMode_Type) Enum() *Interface_RxMode_Type
func (Interface_RxMode_Type) EnumDescriptor
deprecated
func (Interface_RxMode_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Interface_RxMode_Type.Descriptor instead.
func (Interface_RxMode_Type) Number ¶ added in v3.2.0
func (x Interface_RxMode_Type) Number() protoreflect.EnumNumber
func (Interface_RxMode_Type) String ¶
func (x Interface_RxMode_Type) String() string
func (Interface_RxMode_Type) Type ¶ added in v3.2.0
func (Interface_RxMode_Type) Type() protoreflect.EnumType
type Interface_RxPlacement ¶
type Interface_RxPlacement struct { // Select from interval <0, number-of-queues) Queue uint32 `protobuf:"varint,1,opt,name=queue,proto3" json:"queue,omitempty"` // Select from interval <0, number-of-workers) Worker uint32 `protobuf:"varint,2,opt,name=worker,proto3" json:"worker,omitempty"` // Let the main thread to process the given queue // - if enabled, value of <worker> is ignored MainThread bool `protobuf:"varint,3,opt,name=main_thread,json=mainThread,proto3" json:"main_thread,omitempty"` // contains filtered or unexported fields }
func (*Interface_RxPlacement) Descriptor
deprecated
func (*Interface_RxPlacement) Descriptor() ([]byte, []int)
Deprecated: Use Interface_RxPlacement.ProtoReflect.Descriptor instead.
func (*Interface_RxPlacement) GetMainThread ¶
func (x *Interface_RxPlacement) GetMainThread() bool
func (*Interface_RxPlacement) GetQueue ¶
func (x *Interface_RxPlacement) GetQueue() uint32
func (*Interface_RxPlacement) GetWorker ¶
func (x *Interface_RxPlacement) GetWorker() uint32
func (*Interface_RxPlacement) ProtoMessage ¶
func (*Interface_RxPlacement) ProtoMessage()
func (*Interface_RxPlacement) ProtoReflect ¶ added in v3.2.0
func (x *Interface_RxPlacement) ProtoReflect() protoreflect.Message
func (*Interface_RxPlacement) Reset ¶
func (x *Interface_RxPlacement) Reset()
func (*Interface_RxPlacement) String ¶
func (x *Interface_RxPlacement) String() string
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
Type defines VPP interface types.
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 // Deprecated: Do not use. Interface_IPSEC_TUNNEL Interface_Type = 8 // Deprecated in VPP 20.01+. Use IPIP_TUNNEL + ipsec.TunnelProtection instead. Interface_VMXNET3_INTERFACE Interface_Type = 9 Interface_BOND_INTERFACE Interface_Type = 10 Interface_GRE_TUNNEL Interface_Type = 11 Interface_GTPU_TUNNEL Interface_Type = 12 Interface_IPIP_TUNNEL Interface_Type = 13 Interface_WIREGUARD_TUNNEL Interface_Type = 14 Interface_RDMA Interface_Type = 15 )
func (Interface_Type) Descriptor ¶ added in v3.2.0
func (Interface_Type) Descriptor() protoreflect.EnumDescriptor
func (Interface_Type) Enum ¶ added in v3.2.0
func (x Interface_Type) Enum() *Interface_Type
func (Interface_Type) EnumDescriptor
deprecated
func (Interface_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Interface_Type.Descriptor instead.
func (Interface_Type) Number ¶ added in v3.2.0
func (x Interface_Type) Number() protoreflect.EnumNumber
func (Interface_Type) String ¶
func (x Interface_Type) String() string
func (Interface_Type) Type ¶ added in v3.2.0
func (Interface_Type) Type() protoreflect.EnumType
type Interface_Unnumbered ¶
type Interface_Unnumbered struct { // InterfaceWithIp is the name of interface to inherit IP address from. InterfaceWithIp string `protobuf:"bytes,1,opt,name=interface_with_ip,json=interfaceWithIp,proto3" json:"interface_with_ip,omitempty"` // contains filtered or unexported fields }
Unnumbered is used for inheriting IP address from another interface.
func (*Interface_Unnumbered) Descriptor
deprecated
func (*Interface_Unnumbered) Descriptor() ([]byte, []int)
Deprecated: Use Interface_Unnumbered.ProtoReflect.Descriptor instead.
func (*Interface_Unnumbered) GetInterfaceWithIp ¶
func (x *Interface_Unnumbered) GetInterfaceWithIp() string
func (*Interface_Unnumbered) ProtoMessage ¶
func (*Interface_Unnumbered) ProtoMessage()
func (*Interface_Unnumbered) ProtoReflect ¶ added in v3.2.0
func (x *Interface_Unnumbered) ProtoReflect() protoreflect.Message
func (*Interface_Unnumbered) Reset ¶
func (x *Interface_Unnumbered) Reset()
func (*Interface_Unnumbered) String ¶
func (x *Interface_Unnumbered) String() string
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 Interface_Wireguard ¶ added in v3.2.0
type Interface_Wireguard struct {
Wireguard *WireguardLink `protobuf:"bytes,111,opt,name=wireguard,proto3,oneof"`
}
type MemifLink ¶
type MemifLink struct { Mode MemifLink_MemifMode `protobuf:"varint,1,opt,name=mode,proto3,enum=ligato.vpp.interfaces.MemifLink_MemifMode" json:"mode,omitempty"` Master bool `protobuf:"varint,2,opt,name=master,proto3" json:"master,omitempty"` // Id is a 32bit integer used to authenticate and match opposite sides of the connection Id uint32 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` // Filename of the socket used for connection establishment 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"` // The number of entries of RX/TX rings RingSize uint32 `protobuf:"varint,6,opt,name=ring_size,json=ringSize,proto3" json:"ring_size,omitempty"` // Size of the buffer allocated for each ring entry BufferSize uint32 `protobuf:"varint,7,opt,name=buffer_size,json=bufferSize,proto3" json:"buffer_size,omitempty"` // Number of rx queues (only valid for slave) RxQueues uint32 `protobuf:"varint,8,opt,name=rx_queues,json=rxQueues,proto3" json:"rx_queues,omitempty"` // Number of tx queues (only valid for slave) TxQueues uint32 `protobuf:"varint,9,opt,name=tx_queues,json=txQueues,proto3" json:"tx_queues,omitempty"` // contains filtered or unexported fields }
MemifLink defines configuration for interface type: MEMIF
func (*MemifLink) Descriptor
deprecated
func (*MemifLink) GetBufferSize ¶
func (*MemifLink) GetMode ¶
func (x *MemifLink) GetMode() MemifLink_MemifMode
func (*MemifLink) GetRingSize ¶
func (*MemifLink) GetRxQueues ¶
func (*MemifLink) GetSocketFilename ¶
func (*MemifLink) GetTxQueues ¶
func (*MemifLink) ProtoMessage ¶
func (*MemifLink) ProtoMessage()
func (*MemifLink) ProtoReflect ¶ added in v3.2.0
func (x *MemifLink) ProtoReflect() protoreflect.Message
type MemifLink_MemifMode ¶
type MemifLink_MemifMode int32
const ( MemifLink_ETHERNET MemifLink_MemifMode = 0 MemifLink_IP MemifLink_MemifMode = 1 MemifLink_PUNT_INJECT MemifLink_MemifMode = 2 )
func (MemifLink_MemifMode) Descriptor ¶ added in v3.2.0
func (MemifLink_MemifMode) Descriptor() protoreflect.EnumDescriptor
func (MemifLink_MemifMode) Enum ¶ added in v3.2.0
func (x MemifLink_MemifMode) Enum() *MemifLink_MemifMode
func (MemifLink_MemifMode) EnumDescriptor
deprecated
func (MemifLink_MemifMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use MemifLink_MemifMode.Descriptor instead.
func (MemifLink_MemifMode) Number ¶ added in v3.2.0
func (x MemifLink_MemifMode) Number() protoreflect.EnumNumber
func (MemifLink_MemifMode) String ¶
func (x MemifLink_MemifMode) String() string
func (MemifLink_MemifMode) Type ¶ added in v3.2.0
func (MemifLink_MemifMode) Type() protoreflect.EnumType
type RDMALink ¶ added in v3.3.0
type RDMALink struct { // Linux interface name representing the RDMA-enabled network device to attach into. HostIfName string `protobuf:"bytes,1,opt,name=host_if_name,json=hostIfName,proto3" json:"host_if_name,omitempty"` // Mode at which the RDMA driver operates. Mode RDMALink_Mode `protobuf:"varint,2,opt,name=mode,proto3,enum=ligato.vpp.interfaces.RDMALink_Mode" json:"mode,omitempty"` // Number of receive queues. // By default only one RX queue is used. RxqNum uint32 `protobuf:"varint,3,opt,name=rxq_num,json=rxqNum,proto3" json:"rxq_num,omitempty"` // The size of each RX queue. // Default is 1024 bytes. RxqSize uint32 `protobuf:"varint,4,opt,name=rxq_size,json=rxqSize,proto3" json:"rxq_size,omitempty"` // The size of each TX queue. // Default is 1024 bytes. TxqSize uint32 `protobuf:"varint,5,opt,name=txq_size,json=txqSize,proto3" json:"txq_size,omitempty"` // contains filtered or unexported fields }
https://github.com/FDio/vpp/blob/master/src/plugins/rdma/rdma_doc.md
func (*RDMALink) Descriptor
deprecated
added in
v3.3.0
func (*RDMALink) GetHostIfName ¶ added in v3.3.0
func (*RDMALink) GetMode ¶ added in v3.3.0
func (x *RDMALink) GetMode() RDMALink_Mode
func (*RDMALink) GetRxqSize ¶ added in v3.3.0
func (*RDMALink) GetTxqSize ¶ added in v3.3.0
func (*RDMALink) ProtoMessage ¶ added in v3.3.0
func (*RDMALink) ProtoMessage()
func (*RDMALink) ProtoReflect ¶ added in v3.3.0
func (x *RDMALink) ProtoReflect() protoreflect.Message
type RDMALink_Mode ¶ added in v3.3.0
type RDMALink_Mode int32
const ( RDMALink_AUTO RDMALink_Mode = 0 // InfiniBand Verb (using libibverb). RDMALink_IBV RDMALink_Mode = 1 // Direct Verb allows the driver to access the NIC HW RX/TX rings directly // instead of having to go through libibverb and suffering associated overhead. // It will be automatically selected if the adapter supports it. RDMALink_DV RDMALink_Mode = 2 )
func (RDMALink_Mode) Descriptor ¶ added in v3.3.0
func (RDMALink_Mode) Descriptor() protoreflect.EnumDescriptor
func (RDMALink_Mode) Enum ¶ added in v3.3.0
func (x RDMALink_Mode) Enum() *RDMALink_Mode
func (RDMALink_Mode) EnumDescriptor
deprecated
added in
v3.3.0
func (RDMALink_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use RDMALink_Mode.Descriptor instead.
func (RDMALink_Mode) Number ¶ added in v3.3.0
func (x RDMALink_Mode) Number() protoreflect.EnumNumber
func (RDMALink_Mode) String ¶ added in v3.3.0
func (x RDMALink_Mode) String() string
func (RDMALink_Mode) Type ¶ added in v3.3.0
func (RDMALink_Mode) Type() protoreflect.EnumType
type Span ¶
type Span struct { InterfaceFrom string `protobuf:"bytes,1,opt,name=interface_from,json=interfaceFrom,proto3" json:"interface_from,omitempty"` InterfaceTo string `protobuf:"bytes,2,opt,name=interface_to,json=interfaceTo,proto3" json:"interface_to,omitempty"` Direction Span_Direction `protobuf:"varint,3,opt,name=direction,proto3,enum=ligato.vpp.interfaces.Span_Direction" json:"direction,omitempty"` IsL2 bool `protobuf:"varint,4,opt,name=is_l2,json=isL2,proto3" json:"is_l2,omitempty"` // contains filtered or unexported fields }
func (*Span) Descriptor
deprecated
func (*Span) GetDirection ¶
func (x *Span) GetDirection() Span_Direction
func (*Span) GetInterfaceFrom ¶
func (*Span) GetInterfaceTo ¶
func (*Span) ProtoMessage ¶
func (*Span) ProtoMessage()
func (*Span) ProtoReflect ¶ added in v3.2.0
func (x *Span) ProtoReflect() protoreflect.Message
type Span_Direction ¶
type Span_Direction int32
const ( Span_UNKNOWN Span_Direction = 0 Span_RX Span_Direction = 1 Span_TX Span_Direction = 2 Span_BOTH Span_Direction = 3 )
func (Span_Direction) Descriptor ¶ added in v3.2.0
func (Span_Direction) Descriptor() protoreflect.EnumDescriptor
func (Span_Direction) Enum ¶ added in v3.2.0
func (x Span_Direction) Enum() *Span_Direction
func (Span_Direction) EnumDescriptor
deprecated
func (Span_Direction) EnumDescriptor() ([]byte, []int)
Deprecated: Use Span_Direction.Descriptor instead.
func (Span_Direction) Number ¶ added in v3.2.0
func (x Span_Direction) Number() protoreflect.EnumNumber
func (Span_Direction) String ¶
func (x Span_Direction) String() string
func (Span_Direction) Type ¶ added in v3.2.0
func (Span_Direction) Type() protoreflect.EnumType
type SubInterface ¶
type SubInterface struct { // Name of the parent (super) interface ParentName string `protobuf:"bytes,1,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"` // SubInterface ID, used as VLAN SubId uint32 `protobuf:"varint,2,opt,name=sub_id,json=subId,proto3" json:"sub_id,omitempty"` // VLAN tag rewrite rule applied for given tag for sub-interface TagRwOption SubInterface_TagRewriteOptions `` /* 155-byte string literal not displayed */ // Set ether-type of the first tag to dot1q if true, dot1ad otherwise PushDot1Q bool `protobuf:"varint,4,opt,name=push_dot1q,json=pushDot1q,proto3" json:"push_dot1q,omitempty"` // First tag (required for PUSH1 and any TRANSLATE) Tag1 uint32 `protobuf:"varint,5,opt,name=tag1,proto3" json:"tag1,omitempty"` // Second tag (required for PUSH2 and any TRANSLATE) Tag2 uint32 `protobuf:"varint,6,opt,name=tag2,proto3" json:"tag2,omitempty"` // contains filtered or unexported fields }
SubInterface defines configuration for interface type: SUB_INTERFACE
func (*SubInterface) Descriptor
deprecated
func (*SubInterface) Descriptor() ([]byte, []int)
Deprecated: Use SubInterface.ProtoReflect.Descriptor instead.
func (*SubInterface) GetParentName ¶
func (x *SubInterface) GetParentName() string
func (*SubInterface) GetPushDot1Q ¶
func (x *SubInterface) GetPushDot1Q() bool
func (*SubInterface) GetSubId ¶
func (x *SubInterface) GetSubId() uint32
func (*SubInterface) GetTag1 ¶
func (x *SubInterface) GetTag1() uint32
func (*SubInterface) GetTag2 ¶
func (x *SubInterface) GetTag2() uint32
func (*SubInterface) GetTagRwOption ¶
func (x *SubInterface) GetTagRwOption() SubInterface_TagRewriteOptions
func (*SubInterface) ProtoMessage ¶
func (*SubInterface) ProtoMessage()
func (*SubInterface) ProtoReflect ¶ added in v3.2.0
func (x *SubInterface) ProtoReflect() protoreflect.Message
func (*SubInterface) Reset ¶
func (x *SubInterface) Reset()
func (*SubInterface) String ¶
func (x *SubInterface) String() string
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) Descriptor ¶ added in v3.2.0
func (SubInterface_TagRewriteOptions) Descriptor() protoreflect.EnumDescriptor
func (SubInterface_TagRewriteOptions) Enum ¶ added in v3.2.0
func (x SubInterface_TagRewriteOptions) Enum() *SubInterface_TagRewriteOptions
func (SubInterface_TagRewriteOptions) EnumDescriptor
deprecated
func (SubInterface_TagRewriteOptions) EnumDescriptor() ([]byte, []int)
Deprecated: Use SubInterface_TagRewriteOptions.Descriptor instead.
func (SubInterface_TagRewriteOptions) Number ¶ added in v3.2.0
func (x SubInterface_TagRewriteOptions) Number() protoreflect.EnumNumber
func (SubInterface_TagRewriteOptions) String ¶
func (x SubInterface_TagRewriteOptions) String() string
func (SubInterface_TagRewriteOptions) Type ¶ added in v3.2.0
func (SubInterface_TagRewriteOptions) Type() protoreflect.EnumType
type TapLink ¶
type TapLink struct { // 1 / unset = use the original TAP interface; 2 = use a fast virtio-based TAP Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // Name of the TAP interface in the host OS; // if empty, it will be auto-generated (suitable for combination with TAP_TO_VPP // interface from Linux ifplugin, because then this name is only temporary anyway) HostIfName string `protobuf:"bytes,2,opt,name=host_if_name,json=hostIfName,proto3" json:"host_if_name,omitempty"` // If TAP connects VPP with microservice, fill this parameter with the target // microservice name - should match with the namespace reference of the associated // TAP_TO_VPP interface (it is still moved to the namespace by Linux-ifplugin but // VPP-ifplugin needs to be aware of this dependency) ToMicroservice string `protobuf:"bytes,3,opt,name=to_microservice,json=toMicroservice,proto3" json:"to_microservice,omitempty"` // Rx ring buffer size; must be power of 2; default is 256; only for TAP v.2 RxRingSize uint32 `protobuf:"varint,4,opt,name=rx_ring_size,json=rxRingSize,proto3" json:"rx_ring_size,omitempty"` // Tx ring buffer size; must be power of 2; default is 256; only for TAP v.2 TxRingSize uint32 `protobuf:"varint,5,opt,name=tx_ring_size,json=txRingSize,proto3" json:"tx_ring_size,omitempty"` // EnableGso enables GSO mode for TAP interface. EnableGso bool `protobuf:"varint,6,opt,name=enable_gso,json=enableGso,proto3" json:"enable_gso,omitempty"` // EnableTunnel enables tunnel mode for TAP interface. EnableTunnel bool `protobuf:"varint,7,opt,name=enable_tunnel,json=enableTunnel,proto3" json:"enable_tunnel,omitempty"` // contains filtered or unexported fields }
TapLink defines configuration for interface type: TAP
func (*TapLink) Descriptor
deprecated
func (*TapLink) GetEnableGso ¶
func (*TapLink) GetEnableTunnel ¶ added in v3.2.0
func (*TapLink) GetHostIfName ¶
func (*TapLink) GetRxRingSize ¶
func (*TapLink) GetToMicroservice ¶
func (*TapLink) GetTxRingSize ¶
func (*TapLink) GetVersion ¶
func (*TapLink) ProtoMessage ¶
func (*TapLink) ProtoMessage()
func (*TapLink) ProtoReflect ¶ added in v3.2.0
func (x *TapLink) ProtoReflect() protoreflect.Message
type VmxNet3Link ¶
type VmxNet3Link struct { // Turn on elog EnableElog bool `protobuf:"varint,2,opt,name=enable_elog,json=enableElog,proto3" json:"enable_elog,omitempty"` // Receive queue size (default is 1024) RxqSize uint32 `protobuf:"varint,3,opt,name=rxq_size,json=rxqSize,proto3" json:"rxq_size,omitempty"` // Transmit queue size (default is 1024) TxqSize uint32 `protobuf:"varint,4,opt,name=txq_size,json=txqSize,proto3" json:"txq_size,omitempty"` // contains filtered or unexported fields }
VmxNet3Link defines configuration for interface type: VMXNET3_INTERFACE 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
deprecated
func (*VmxNet3Link) Descriptor() ([]byte, []int)
Deprecated: Use VmxNet3Link.ProtoReflect.Descriptor instead.
func (*VmxNet3Link) GetEnableElog ¶
func (x *VmxNet3Link) GetEnableElog() bool
func (*VmxNet3Link) GetRxqSize ¶
func (x *VmxNet3Link) GetRxqSize() uint32
func (*VmxNet3Link) GetTxqSize ¶
func (x *VmxNet3Link) GetTxqSize() uint32
func (*VmxNet3Link) ProtoMessage ¶
func (*VmxNet3Link) ProtoMessage()
func (*VmxNet3Link) ProtoReflect ¶ added in v3.2.0
func (x *VmxNet3Link) ProtoReflect() protoreflect.Message
func (*VmxNet3Link) Reset ¶
func (x *VmxNet3Link) Reset()
func (*VmxNet3Link) String ¶
func (x *VmxNet3Link) String() string
type VxlanLink ¶
type VxlanLink struct { // SrcAddress is source VTEP address SrcAddress string `protobuf:"bytes,1,opt,name=src_address,json=srcAddress,proto3" json:"src_address,omitempty"` // DstAddress is destination VTEP address DstAddress string `protobuf:"bytes,2,opt,name=dst_address,json=dstAddress,proto3" json:"dst_address,omitempty"` // Vni stands for VXLAN Network Identifier Vni uint32 `protobuf:"varint,3,opt,name=vni,proto3" json:"vni,omitempty"` // Multicast defines name of multicast interface Multicast string `protobuf:"bytes,4,opt,name=multicast,proto3" json:"multicast,omitempty"` Gpe *VxlanLink_Gpe `protobuf:"bytes,5,opt,name=gpe,proto3" json:"gpe,omitempty"` // contains filtered or unexported fields }
VxlanLink defines configuration for interface type: VXLAN_TUNNEL
func (*VxlanLink) Descriptor
deprecated
func (*VxlanLink) GetDstAddress ¶
func (*VxlanLink) GetGpe ¶
func (x *VxlanLink) GetGpe() *VxlanLink_Gpe
func (*VxlanLink) GetMulticast ¶
func (*VxlanLink) GetSrcAddress ¶
func (*VxlanLink) ProtoMessage ¶
func (*VxlanLink) ProtoMessage()
func (*VxlanLink) ProtoReflect ¶ added in v3.2.0
func (x *VxlanLink) ProtoReflect() protoreflect.Message
type VxlanLink_Gpe ¶
type VxlanLink_Gpe struct { DecapVrfId uint32 `protobuf:"varint,1,opt,name=decap_vrf_id,json=decapVrfId,proto3" json:"decap_vrf_id,omitempty"` // Protocol defines encapsulated protocol Protocol VxlanLink_Gpe_Protocol `protobuf:"varint,2,opt,name=protocol,proto3,enum=ligato.vpp.interfaces.VxlanLink_Gpe_Protocol" json:"protocol,omitempty"` // contains filtered or unexported fields }
Gpe (Generic Protocol Extension) allows encapsulating not only Ethernet frame payload.
func (*VxlanLink_Gpe) Descriptor
deprecated
func (*VxlanLink_Gpe) Descriptor() ([]byte, []int)
Deprecated: Use VxlanLink_Gpe.ProtoReflect.Descriptor instead.
func (*VxlanLink_Gpe) GetDecapVrfId ¶
func (x *VxlanLink_Gpe) GetDecapVrfId() uint32
func (*VxlanLink_Gpe) GetProtocol ¶
func (x *VxlanLink_Gpe) GetProtocol() VxlanLink_Gpe_Protocol
func (*VxlanLink_Gpe) ProtoMessage ¶
func (*VxlanLink_Gpe) ProtoMessage()
func (*VxlanLink_Gpe) ProtoReflect ¶ added in v3.2.0
func (x *VxlanLink_Gpe) ProtoReflect() protoreflect.Message
func (*VxlanLink_Gpe) Reset ¶
func (x *VxlanLink_Gpe) Reset()
func (*VxlanLink_Gpe) String ¶
func (x *VxlanLink_Gpe) String() string
type VxlanLink_Gpe_Protocol ¶
type VxlanLink_Gpe_Protocol int32
const ( VxlanLink_Gpe_UNKNOWN VxlanLink_Gpe_Protocol = 0 VxlanLink_Gpe_IP4 VxlanLink_Gpe_Protocol = 1 VxlanLink_Gpe_IP6 VxlanLink_Gpe_Protocol = 2 VxlanLink_Gpe_ETHERNET VxlanLink_Gpe_Protocol = 3 VxlanLink_Gpe_NSH VxlanLink_Gpe_Protocol = 4 )
func (VxlanLink_Gpe_Protocol) Descriptor ¶ added in v3.2.0
func (VxlanLink_Gpe_Protocol) Descriptor() protoreflect.EnumDescriptor
func (VxlanLink_Gpe_Protocol) Enum ¶ added in v3.2.0
func (x VxlanLink_Gpe_Protocol) Enum() *VxlanLink_Gpe_Protocol
func (VxlanLink_Gpe_Protocol) EnumDescriptor
deprecated
func (VxlanLink_Gpe_Protocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use VxlanLink_Gpe_Protocol.Descriptor instead.
func (VxlanLink_Gpe_Protocol) Number ¶ added in v3.2.0
func (x VxlanLink_Gpe_Protocol) Number() protoreflect.EnumNumber
func (VxlanLink_Gpe_Protocol) String ¶
func (x VxlanLink_Gpe_Protocol) String() string
func (VxlanLink_Gpe_Protocol) Type ¶ added in v3.2.0
func (VxlanLink_Gpe_Protocol) Type() protoreflect.EnumType
type WireguardLink ¶ added in v3.2.0
type WireguardLink struct { // Private-key base64 PrivateKey string `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` // Listen UDP port Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` // Source IP address SrcAddr string `protobuf:"bytes,4,opt,name=src_addr,json=srcAddr,proto3" json:"src_addr,omitempty"` // contains filtered or unexported fields }
func (*WireguardLink) Descriptor
deprecated
added in
v3.2.0
func (*WireguardLink) Descriptor() ([]byte, []int)
Deprecated: Use WireguardLink.ProtoReflect.Descriptor instead.
func (*WireguardLink) GetPort ¶ added in v3.2.0
func (x *WireguardLink) GetPort() uint32
func (*WireguardLink) GetPrivateKey ¶ added in v3.2.0
func (x *WireguardLink) GetPrivateKey() string
func (*WireguardLink) GetSrcAddr ¶ added in v3.2.0
func (x *WireguardLink) GetSrcAddr() string
func (*WireguardLink) ProtoMessage ¶ added in v3.2.0
func (*WireguardLink) ProtoMessage()
func (*WireguardLink) ProtoReflect ¶ added in v3.2.0
func (x *WireguardLink) ProtoReflect() protoreflect.Message
func (*WireguardLink) Reset ¶ added in v3.2.0
func (x *WireguardLink) Reset()
func (*WireguardLink) String ¶ added in v3.2.0
func (x *WireguardLink) String() string