Documentation ¶
Index ¶
- Constants
- Variables
- func BondedInterfaceKey(bondIf, slaveIf string) string
- func DHCPClientKey(iface string) string
- func DHCPLeaseKey(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 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)
- func (m *AfpacketLink) GetHostIfName() string
- func (*AfpacketLink) ProtoMessage()
- func (m *AfpacketLink) Reset()
- func (m *AfpacketLink) String() string
- func (m *AfpacketLink) XXX_DiscardUnknown()
- func (m *AfpacketLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AfpacketLink) XXX_Merge(src proto.Message)
- func (*AfpacketLink) XXX_MessageName() string
- func (m *AfpacketLink) XXX_Size() int
- func (m *AfpacketLink) XXX_Unmarshal(b []byte) error
- type BondLink
- func (*BondLink) Descriptor() ([]byte, []int)
- func (m *BondLink) GetBondedInterfaces() []*BondLink_BondedInterface
- func (m *BondLink) GetId() uint32
- func (m *BondLink) GetLb() BondLink_LoadBalance
- func (m *BondLink) GetMode() BondLink_Mode
- func (*BondLink) ProtoMessage()
- func (m *BondLink) Reset()
- func (m *BondLink) String() string
- func (m *BondLink) XXX_DiscardUnknown()
- func (m *BondLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondLink) XXX_Merge(src proto.Message)
- func (*BondLink) XXX_MessageName() string
- func (m *BondLink) XXX_Size() int
- func (m *BondLink) XXX_Unmarshal(b []byte) error
- type BondLink_BondedInterface
- func (*BondLink_BondedInterface) Descriptor() ([]byte, []int)
- func (m *BondLink_BondedInterface) GetIsLongTimeout() bool
- func (m *BondLink_BondedInterface) GetIsPassive() bool
- func (m *BondLink_BondedInterface) GetName() string
- func (*BondLink_BondedInterface) ProtoMessage()
- func (m *BondLink_BondedInterface) Reset()
- func (m *BondLink_BondedInterface) String() string
- func (m *BondLink_BondedInterface) XXX_DiscardUnknown()
- func (m *BondLink_BondedInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondLink_BondedInterface) XXX_Merge(src proto.Message)
- func (*BondLink_BondedInterface) XXX_MessageName() string
- func (m *BondLink_BondedInterface) XXX_Size() int
- func (m *BondLink_BondedInterface) XXX_Unmarshal(b []byte) error
- type BondLink_LoadBalance
- type BondLink_Mode
- type DHCPLease
- func (*DHCPLease) Descriptor() ([]byte, []int)
- func (m *DHCPLease) GetHostIpAddress() string
- func (m *DHCPLease) GetHostName() string
- func (m *DHCPLease) GetHostPhysAddress() string
- func (m *DHCPLease) GetInterfaceName() string
- func (m *DHCPLease) GetIsIpv6() bool
- func (m *DHCPLease) GetRouterIpAddress() string
- func (*DHCPLease) ProtoMessage()
- func (m *DHCPLease) Reset()
- func (m *DHCPLease) String() string
- func (m *DHCPLease) XXX_DiscardUnknown()
- func (m *DHCPLease) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DHCPLease) XXX_Merge(src proto.Message)
- func (*DHCPLease) XXX_MessageName() string
- func (m *DHCPLease) XXX_Size() int
- func (m *DHCPLease) XXX_Unmarshal(b []byte) error
- type GreLink
- func (*GreLink) Descriptor() ([]byte, []int)
- func (m *GreLink) GetDstAddr() string
- func (m *GreLink) GetOuterFibId() uint32
- func (m *GreLink) GetSessionId() uint32
- func (m *GreLink) GetSrcAddr() string
- func (m *GreLink) GetTunnelType() GreLink_Type
- func (*GreLink) ProtoMessage()
- func (m *GreLink) Reset()
- func (m *GreLink) String() string
- func (m *GreLink) XXX_DiscardUnknown()
- func (m *GreLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GreLink) XXX_Merge(src proto.Message)
- func (*GreLink) XXX_MessageName() string
- func (m *GreLink) XXX_Size() int
- func (m *GreLink) XXX_Unmarshal(b []byte) error
- type GreLink_Type
- type IPSecLink
- func (*IPSecLink) Descriptor() ([]byte, []int)
- func (m *IPSecLink) GetAntiReplay() bool
- func (m *IPSecLink) GetCryptoAlg() ipsec.CryptoAlg
- func (m *IPSecLink) GetEnableUdpEncap() bool
- func (m *IPSecLink) GetEsn() bool
- func (m *IPSecLink) GetIntegAlg() ipsec.IntegAlg
- func (m *IPSecLink) GetLocalCryptoKey() string
- func (m *IPSecLink) GetLocalIntegKey() string
- func (m *IPSecLink) GetLocalIp() string
- func (m *IPSecLink) GetLocalSpi() uint32
- func (m *IPSecLink) GetRemoteCryptoKey() string
- func (m *IPSecLink) GetRemoteIntegKey() string
- func (m *IPSecLink) GetRemoteIp() string
- func (m *IPSecLink) GetRemoteSpi() uint32
- func (*IPSecLink) ProtoMessage()
- func (m *IPSecLink) Reset()
- func (m *IPSecLink) String() string
- func (m *IPSecLink) XXX_DiscardUnknown()
- func (m *IPSecLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IPSecLink) XXX_Merge(src proto.Message)
- func (*IPSecLink) XXX_MessageName() string
- func (m *IPSecLink) XXX_Size() int
- func (m *IPSecLink) XXX_Unmarshal(b []byte) error
- type Interface
- func (*Interface) Descriptor() ([]byte, []int)
- func (m *Interface) GetAfpacket() *AfpacketLink
- func (m *Interface) GetBond() *BondLink
- func (m *Interface) GetEnabled() bool
- func (m *Interface) GetGre() *GreLink
- func (m *Interface) GetIpAddresses() []string
- func (m *Interface) GetIpsec() *IPSecLink
- func (m *Interface) GetLink() isInterface_Link
- func (m *Interface) GetMemif() *MemifLink
- func (m *Interface) GetMtu() uint32
- func (m *Interface) GetName() string
- func (m *Interface) GetPhysAddress() string
- func (m *Interface) GetRxModes() []*Interface_RxMode
- func (m *Interface) GetRxPlacements() []*Interface_RxPlacement
- func (m *Interface) GetSetDhcpClient() bool
- func (m *Interface) GetSub() *SubInterface
- func (m *Interface) GetTap() *TapLink
- func (m *Interface) GetType() Interface_Type
- func (m *Interface) GetUnnumbered() *Interface_Unnumbered
- func (m *Interface) GetVmxNet3() *VmxNet3Link
- func (m *Interface) GetVrf() uint32
- func (m *Interface) GetVxlan() *VxlanLink
- func (m *Interface) MarshalJSON() ([]byte, error)
- func (*Interface) ProtoMessage()
- func (m *Interface) Reset()
- func (m *Interface) String() string
- func (m *Interface) UnmarshalJSON(data []byte) error
- func (m *Interface) XXX_DiscardUnknown()
- func (m *Interface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Interface) XXX_Merge(src proto.Message)
- func (*Interface) XXX_MessageName() string
- func (*Interface) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Interface) XXX_Size() int
- func (m *Interface) XXX_Unmarshal(b []byte) error
- type InterfaceNotification
- func (*InterfaceNotification) Descriptor() ([]byte, []int)
- func (m *InterfaceNotification) GetState() *InterfaceState
- func (m *InterfaceNotification) GetType() InterfaceNotification_NotifType
- func (*InterfaceNotification) ProtoMessage()
- func (m *InterfaceNotification) Reset()
- func (m *InterfaceNotification) String() string
- func (m *InterfaceNotification) XXX_DiscardUnknown()
- func (m *InterfaceNotification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InterfaceNotification) XXX_Merge(src proto.Message)
- func (*InterfaceNotification) XXX_MessageName() string
- func (m *InterfaceNotification) XXX_Size() int
- func (m *InterfaceNotification) XXX_Unmarshal(b []byte) error
- type InterfaceNotification_NotifType
- type InterfaceState
- func (*InterfaceState) Descriptor() ([]byte, []int)
- func (m *InterfaceState) GetAdminStatus() InterfaceState_Status
- func (m *InterfaceState) GetDuplex() InterfaceState_Duplex
- func (m *InterfaceState) GetIfIndex() uint32
- func (m *InterfaceState) GetInternalName() string
- func (m *InterfaceState) GetLastChange() int64
- func (m *InterfaceState) GetMtu() uint32
- func (m *InterfaceState) GetName() string
- func (m *InterfaceState) GetOperStatus() InterfaceState_Status
- func (m *InterfaceState) GetPhysAddress() string
- func (m *InterfaceState) GetSpeed() uint64
- func (m *InterfaceState) GetStatistics() *InterfaceState_Statistics
- func (m *InterfaceState) GetType() Interface_Type
- func (*InterfaceState) ProtoMessage()
- func (m *InterfaceState) Reset()
- func (m *InterfaceState) String() string
- func (m *InterfaceState) XXX_DiscardUnknown()
- func (m *InterfaceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InterfaceState) XXX_Merge(src proto.Message)
- func (*InterfaceState) XXX_MessageName() string
- func (m *InterfaceState) XXX_Size() int
- func (m *InterfaceState) XXX_Unmarshal(b []byte) error
- type InterfaceState_Duplex
- type InterfaceState_Statistics
- func (*InterfaceState_Statistics) Descriptor() ([]byte, []int)
- func (m *InterfaceState_Statistics) GetDropPackets() uint64
- func (m *InterfaceState_Statistics) GetInBytes() uint64
- func (m *InterfaceState_Statistics) GetInErrorPackets() uint64
- func (m *InterfaceState_Statistics) GetInMissPackets() uint64
- func (m *InterfaceState_Statistics) GetInNobufPackets() uint64
- func (m *InterfaceState_Statistics) GetInPackets() uint64
- func (m *InterfaceState_Statistics) GetIpv4Packets() uint64
- func (m *InterfaceState_Statistics) GetIpv6Packets() uint64
- func (m *InterfaceState_Statistics) GetOutBytes() uint64
- func (m *InterfaceState_Statistics) GetOutErrorPackets() uint64
- func (m *InterfaceState_Statistics) GetOutPackets() uint64
- func (m *InterfaceState_Statistics) GetPuntPackets() uint64
- func (*InterfaceState_Statistics) ProtoMessage()
- func (m *InterfaceState_Statistics) Reset()
- func (m *InterfaceState_Statistics) String() string
- func (m *InterfaceState_Statistics) XXX_DiscardUnknown()
- func (m *InterfaceState_Statistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InterfaceState_Statistics) XXX_Merge(src proto.Message)
- func (*InterfaceState_Statistics) XXX_MessageName() string
- func (m *InterfaceState_Statistics) XXX_Size() int
- func (m *InterfaceState_Statistics) XXX_Unmarshal(b []byte) error
- type InterfaceState_Status
- type InterfaceStats
- func (*InterfaceStats) Descriptor() ([]byte, []int)
- func (m *InterfaceStats) GetDrops() uint64
- func (m *InterfaceStats) GetIp4() uint64
- func (m *InterfaceStats) GetIp6() uint64
- func (m *InterfaceStats) GetMpls() uint64
- func (m *InterfaceStats) GetName() string
- func (m *InterfaceStats) GetPunts() uint64
- func (m *InterfaceStats) GetRx() *InterfaceStats_CombinedCounter
- func (m *InterfaceStats) GetRxBroadcast() *InterfaceStats_CombinedCounter
- func (m *InterfaceStats) GetRxError() uint64
- func (m *InterfaceStats) GetRxMiss() uint64
- func (m *InterfaceStats) GetRxMulticast() *InterfaceStats_CombinedCounter
- func (m *InterfaceStats) GetRxNoBuf() uint64
- func (m *InterfaceStats) GetRxUnicast() *InterfaceStats_CombinedCounter
- func (m *InterfaceStats) GetTx() *InterfaceStats_CombinedCounter
- func (m *InterfaceStats) GetTxBroadcast() *InterfaceStats_CombinedCounter
- func (m *InterfaceStats) GetTxError() uint64
- func (m *InterfaceStats) GetTxMulticast() *InterfaceStats_CombinedCounter
- func (m *InterfaceStats) GetTxUnicast() *InterfaceStats_CombinedCounter
- func (*InterfaceStats) ProtoMessage()
- func (m *InterfaceStats) Reset()
- func (m *InterfaceStats) String() string
- func (m *InterfaceStats) XXX_DiscardUnknown()
- func (m *InterfaceStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InterfaceStats) XXX_Merge(src proto.Message)
- func (*InterfaceStats) XXX_MessageName() string
- func (m *InterfaceStats) XXX_Size() int
- func (m *InterfaceStats) XXX_Unmarshal(b []byte) error
- type InterfaceStats_CombinedCounter
- func (*InterfaceStats_CombinedCounter) Descriptor() ([]byte, []int)
- func (m *InterfaceStats_CombinedCounter) GetBytes() uint64
- func (m *InterfaceStats_CombinedCounter) GetPackets() uint64
- func (*InterfaceStats_CombinedCounter) ProtoMessage()
- func (m *InterfaceStats_CombinedCounter) Reset()
- func (m *InterfaceStats_CombinedCounter) String() string
- func (m *InterfaceStats_CombinedCounter) XXX_DiscardUnknown()
- func (m *InterfaceStats_CombinedCounter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InterfaceStats_CombinedCounter) XXX_Merge(src proto.Message)
- func (*InterfaceStats_CombinedCounter) XXX_MessageName() string
- func (m *InterfaceStats_CombinedCounter) XXX_Size() int
- func (m *InterfaceStats_CombinedCounter) XXX_Unmarshal(b []byte) error
- type Interface_Afpacket
- type Interface_Bond
- type Interface_Gre
- type Interface_Ipsec
- type Interface_Memif
- type Interface_RxMode
- func (*Interface_RxMode) Descriptor() ([]byte, []int)
- func (m *Interface_RxMode) GetDefaultMode() bool
- func (m *Interface_RxMode) GetMode() Interface_RxMode_Type
- func (m *Interface_RxMode) GetQueue() uint32
- func (*Interface_RxMode) ProtoMessage()
- func (m *Interface_RxMode) Reset()
- func (m *Interface_RxMode) String() string
- func (m *Interface_RxMode) XXX_DiscardUnknown()
- func (m *Interface_RxMode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Interface_RxMode) XXX_Merge(src proto.Message)
- func (*Interface_RxMode) XXX_MessageName() string
- func (m *Interface_RxMode) XXX_Size() int
- func (m *Interface_RxMode) XXX_Unmarshal(b []byte) error
- type Interface_RxMode_Type
- type Interface_RxPlacement
- func (*Interface_RxPlacement) Descriptor() ([]byte, []int)
- func (m *Interface_RxPlacement) GetMainThread() bool
- func (m *Interface_RxPlacement) GetQueue() uint32
- func (m *Interface_RxPlacement) GetWorker() uint32
- func (*Interface_RxPlacement) ProtoMessage()
- func (m *Interface_RxPlacement) Reset()
- func (m *Interface_RxPlacement) String() string
- func (m *Interface_RxPlacement) XXX_DiscardUnknown()
- func (m *Interface_RxPlacement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Interface_RxPlacement) XXX_Merge(src proto.Message)
- func (*Interface_RxPlacement) XXX_MessageName() string
- func (m *Interface_RxPlacement) XXX_Size() int
- func (m *Interface_RxPlacement) XXX_Unmarshal(b []byte) error
- type Interface_Sub
- type Interface_Tap
- type Interface_Type
- type Interface_Unnumbered
- func (*Interface_Unnumbered) Descriptor() ([]byte, []int)
- func (m *Interface_Unnumbered) GetInterfaceWithIp() string
- func (*Interface_Unnumbered) ProtoMessage()
- func (m *Interface_Unnumbered) Reset()
- func (m *Interface_Unnumbered) String() string
- func (m *Interface_Unnumbered) XXX_DiscardUnknown()
- func (m *Interface_Unnumbered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Interface_Unnumbered) XXX_Merge(src proto.Message)
- func (*Interface_Unnumbered) XXX_MessageName() string
- func (m *Interface_Unnumbered) XXX_Size() int
- func (m *Interface_Unnumbered) XXX_Unmarshal(b []byte) error
- type Interface_VmxNet3
- type Interface_Vxlan
- type MemifLink
- func (*MemifLink) Descriptor() ([]byte, []int)
- func (m *MemifLink) GetBufferSize() uint32
- func (m *MemifLink) GetId() uint32
- func (m *MemifLink) GetMaster() bool
- func (m *MemifLink) GetMode() MemifLink_MemifMode
- func (m *MemifLink) GetRingSize() uint32
- func (m *MemifLink) GetRxQueues() uint32
- func (m *MemifLink) GetSecret() string
- func (m *MemifLink) GetSocketFilename() string
- func (m *MemifLink) GetTxQueues() uint32
- func (*MemifLink) ProtoMessage()
- func (m *MemifLink) Reset()
- func (m *MemifLink) String() string
- func (m *MemifLink) XXX_DiscardUnknown()
- func (m *MemifLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MemifLink) XXX_Merge(src proto.Message)
- func (*MemifLink) XXX_MessageName() string
- func (m *MemifLink) XXX_Size() int
- func (m *MemifLink) XXX_Unmarshal(b []byte) error
- type MemifLink_MemifMode
- type Span
- func (*Span) Descriptor() ([]byte, []int)
- func (m *Span) GetDirection() Span_Direction
- func (m *Span) GetInterfaceFrom() string
- func (m *Span) GetInterfaceTo() string
- func (m *Span) GetIsL2() bool
- func (*Span) ProtoMessage()
- func (m *Span) Reset()
- func (m *Span) String() string
- func (m *Span) XXX_DiscardUnknown()
- func (m *Span) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Span) XXX_Merge(src proto.Message)
- func (*Span) XXX_MessageName() string
- func (m *Span) XXX_Size() int
- func (m *Span) XXX_Unmarshal(b []byte) error
- type Span_Direction
- type SubInterface
- func (*SubInterface) Descriptor() ([]byte, []int)
- func (m *SubInterface) GetParentName() string
- func (m *SubInterface) GetPushDot1Q() bool
- func (m *SubInterface) GetSubId() uint32
- func (m *SubInterface) GetTag1() uint32
- func (m *SubInterface) GetTag2() uint32
- func (m *SubInterface) GetTagRwOption() SubInterface_TagRewriteOptions
- func (*SubInterface) ProtoMessage()
- func (m *SubInterface) Reset()
- func (m *SubInterface) String() string
- func (m *SubInterface) XXX_DiscardUnknown()
- func (m *SubInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubInterface) XXX_Merge(src proto.Message)
- func (*SubInterface) XXX_MessageName() string
- func (m *SubInterface) XXX_Size() int
- func (m *SubInterface) XXX_Unmarshal(b []byte) error
- type SubInterface_TagRewriteOptions
- type TapLink
- func (*TapLink) Descriptor() ([]byte, []int)
- func (m *TapLink) GetEnableGso() bool
- func (m *TapLink) GetHostIfName() string
- func (m *TapLink) GetRxRingSize() uint32
- func (m *TapLink) GetToMicroservice() string
- func (m *TapLink) GetTxRingSize() uint32
- func (m *TapLink) GetVersion() uint32
- func (*TapLink) ProtoMessage()
- func (m *TapLink) Reset()
- func (m *TapLink) String() string
- func (m *TapLink) XXX_DiscardUnknown()
- func (m *TapLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TapLink) XXX_Merge(src proto.Message)
- func (*TapLink) XXX_MessageName() string
- func (m *TapLink) XXX_Size() int
- func (m *TapLink) XXX_Unmarshal(b []byte) error
- type VmxNet3Link
- func (*VmxNet3Link) Descriptor() ([]byte, []int)
- func (m *VmxNet3Link) GetEnableElog() bool
- func (m *VmxNet3Link) GetRxqSize() uint32
- func (m *VmxNet3Link) GetTxqSize() uint32
- func (*VmxNet3Link) ProtoMessage()
- func (m *VmxNet3Link) Reset()
- func (m *VmxNet3Link) String() string
- func (m *VmxNet3Link) XXX_DiscardUnknown()
- func (m *VmxNet3Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VmxNet3Link) XXX_Merge(src proto.Message)
- func (*VmxNet3Link) XXX_MessageName() string
- func (m *VmxNet3Link) XXX_Size() int
- func (m *VmxNet3Link) XXX_Unmarshal(b []byte) error
- type VxlanLink
- func (*VxlanLink) Descriptor() ([]byte, []int)
- func (m *VxlanLink) GetDstAddress() string
- func (m *VxlanLink) GetGpe() *VxlanLink_Gpe
- func (m *VxlanLink) GetMulticast() string
- func (m *VxlanLink) GetSrcAddress() string
- func (m *VxlanLink) GetVni() uint32
- func (*VxlanLink) ProtoMessage()
- func (m *VxlanLink) Reset()
- func (m *VxlanLink) String() string
- func (m *VxlanLink) XXX_DiscardUnknown()
- func (m *VxlanLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VxlanLink) XXX_Merge(src proto.Message)
- func (*VxlanLink) XXX_MessageName() string
- func (m *VxlanLink) XXX_Size() int
- func (m *VxlanLink) XXX_Unmarshal(b []byte) error
- type VxlanLink_Gpe
- func (*VxlanLink_Gpe) Descriptor() ([]byte, []int)
- func (m *VxlanLink_Gpe) GetDecapVrfId() uint32
- func (m *VxlanLink_Gpe) GetProtocol() VxlanLink_Gpe_Protocol
- func (*VxlanLink_Gpe) ProtoMessage()
- func (m *VxlanLink_Gpe) Reset()
- func (m *VxlanLink_Gpe) String() string
- func (m *VxlanLink_Gpe) XXX_DiscardUnknown()
- func (m *VxlanLink_Gpe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VxlanLink_Gpe) XXX_Merge(src proto.Message)
- func (*VxlanLink_Gpe) XXX_MessageName() string
- func (m *VxlanLink_Gpe) XXX_Size() int
- func (m *VxlanLink_Gpe) XXX_Unmarshal(b []byte) error
- type VxlanLink_Gpe_Protocol
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 (
// 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 ( 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 BondLink_LoadBalance_name = map[int32]string{
0: "L2",
1: "L34",
2: "L23",
3: "RR",
4: "BC",
5: "AB",
}
var BondLink_LoadBalance_value = map[string]int32{
"L2": 0,
"L34": 1,
"L23": 2,
"RR": 3,
"BC": 4,
"AB": 5,
}
var BondLink_Mode_name = map[int32]string{
0: "UNKNOWN",
1: "ROUND_ROBIN",
2: "ACTIVE_BACKUP",
3: "XOR",
4: "BROADCAST",
5: "LACP",
}
var BondLink_Mode_value = map[string]int32{
"UNKNOWN": 0,
"ROUND_ROBIN": 1,
"ACTIVE_BACKUP": 2,
"XOR": 3,
"BROADCAST": 4,
"LACP": 5,
}
var GreLink_Type_name = map[int32]string{
0: "UNKNOWN",
1: "L3",
2: "TEB",
3: "ERSPAN",
}
var GreLink_Type_value = map[string]int32{
"UNKNOWN": 0,
"L3": 1,
"TEB": 2,
"ERSPAN": 3,
}
var InterfaceNotification_NotifType_name = map[int32]string{
0: "UNKNOWN",
1: "UPDOWN",
2: "COUNTERS",
}
var InterfaceNotification_NotifType_value = map[string]int32{
"UNKNOWN": 0,
"UPDOWN": 1,
"COUNTERS": 2,
}
var InterfaceState_Duplex_name = map[int32]string{
0: "UNKNOWN_DUPLEX",
1: "HALF",
2: "FULL",
}
var InterfaceState_Duplex_value = map[string]int32{
"UNKNOWN_DUPLEX": 0,
"HALF": 1,
"FULL": 2,
}
var InterfaceState_Status_name = map[int32]string{
0: "UNKNOWN_STATUS",
1: "UP",
2: "DOWN",
3: "DELETED",
}
var InterfaceState_Status_value = map[string]int32{
"UNKNOWN_STATUS": 0,
"UP": 1,
"DOWN": 2,
"DELETED": 3,
}
var Interface_RxMode_Type_name = map[int32]string{
0: "UNKNOWN",
1: "POLLING",
2: "INTERRUPT",
3: "ADAPTIVE",
4: "DEFAULT",
}
var Interface_RxMode_Type_value = map[string]int32{
"UNKNOWN": 0,
"POLLING": 1,
"INTERRUPT": 2,
"ADAPTIVE": 3,
"DEFAULT": 4,
}
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",
}
var Interface_Type_value = map[string]int32{
"UNDEFINED_TYPE": 0,
"SUB_INTERFACE": 1,
"SOFTWARE_LOOPBACK": 2,
"DPDK": 3,
"MEMIF": 4,
"TAP": 5,
"AF_PACKET": 6,
"VXLAN_TUNNEL": 7,
"IPSEC_TUNNEL": 8,
"VMXNET3_INTERFACE": 9,
"BOND_INTERFACE": 10,
"GRE_TUNNEL": 11,
}
var MemifLink_MemifMode_name = map[int32]string{
0: "ETHERNET",
1: "IP",
2: "PUNT_INJECT",
}
var MemifLink_MemifMode_value = map[string]int32{
"ETHERNET": 0,
"IP": 1,
"PUNT_INJECT": 2,
}
var Span_Direction_name = map[int32]string{
0: "UNKNOWN",
1: "RX",
2: "TX",
3: "BOTH",
}
var Span_Direction_value = map[string]int32{
"UNKNOWN": 0,
"RX": 1,
"TX": 2,
"BOTH": 3,
}
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",
}
var SubInterface_TagRewriteOptions_value = map[string]int32{
"DISABLED": 0,
"PUSH1": 1,
"PUSH2": 2,
"POP1": 3,
"POP2": 4,
"TRANSLATE11": 5,
"TRANSLATE12": 6,
"TRANSLATE21": 7,
"TRANSLATE22": 8,
}
var VxlanLink_Gpe_Protocol_name = map[int32]string{
0: "UNKNOWN",
1: "IP4",
2: "IP6",
3: "ETHERNET",
4: "NSH",
}
var VxlanLink_Gpe_Protocol_value = map[string]int32{
"UNKNOWN": 0,
"IP4": 1,
"IP6": 2,
"ETHERNET": 3,
"NSH": 4,
}
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 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 interface to bind to (mandatory) HostIfName string `protobuf:"bytes,1,opt,name=host_if_name,json=hostIfName,proto3" json:"host_if_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
AfpacketLink defines configuration for interface type: AF_PACKET
func (*AfpacketLink) Descriptor ¶
func (*AfpacketLink) Descriptor() ([]byte, []int)
func (*AfpacketLink) GetHostIfName ¶
func (m *AfpacketLink) GetHostIfName() string
func (*AfpacketLink) ProtoMessage ¶
func (*AfpacketLink) ProtoMessage()
func (*AfpacketLink) Reset ¶
func (m *AfpacketLink) Reset()
func (*AfpacketLink) String ¶
func (m *AfpacketLink) String() string
func (*AfpacketLink) XXX_DiscardUnknown ¶
func (m *AfpacketLink) XXX_DiscardUnknown()
func (*AfpacketLink) XXX_Marshal ¶
func (m *AfpacketLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AfpacketLink) XXX_Merge ¶
func (m *AfpacketLink) XXX_Merge(src proto.Message)
func (*AfpacketLink) XXX_MessageName ¶
func (*AfpacketLink) XXX_MessageName() string
func (*AfpacketLink) XXX_Size ¶
func (m *AfpacketLink) XXX_Size() int
func (*AfpacketLink) XXX_Unmarshal ¶
func (m *AfpacketLink) XXX_Unmarshal(b []byte) error
type BondLink ¶
type BondLink struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Mode BondLink_Mode `protobuf:"varint,3,opt,name=mode,proto3,enum=vpp.interfaces.BondLink_Mode" json:"mode,omitempty"` // Load balance is optional and valid only for XOR and LACP modes Lb BondLink_LoadBalance `protobuf:"varint,4,opt,name=lb,proto3,enum=vpp.interfaces.BondLink_LoadBalance" json:"lb,omitempty"` BondedInterfaces []*BondLink_BondedInterface `protobuf:"bytes,12,rep,name=bonded_interfaces,json=bondedInterfaces,proto3" json:"bonded_interfaces,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
BondLink defines configuration for interface type: BOND_INTERFACE
func (*BondLink) Descriptor ¶
func (*BondLink) GetBondedInterfaces ¶
func (m *BondLink) GetBondedInterfaces() []*BondLink_BondedInterface
func (*BondLink) GetLb ¶
func (m *BondLink) GetLb() BondLink_LoadBalance
func (*BondLink) GetMode ¶
func (m *BondLink) GetMode() BondLink_Mode
func (*BondLink) ProtoMessage ¶
func (*BondLink) ProtoMessage()
func (*BondLink) XXX_DiscardUnknown ¶
func (m *BondLink) XXX_DiscardUnknown()
func (*BondLink) XXX_Marshal ¶
func (*BondLink) XXX_MessageName ¶
func (*BondLink) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BondLink_BondedInterface) Descriptor ¶
func (*BondLink_BondedInterface) Descriptor() ([]byte, []int)
func (*BondLink_BondedInterface) GetIsLongTimeout ¶
func (m *BondLink_BondedInterface) GetIsLongTimeout() bool
func (*BondLink_BondedInterface) GetIsPassive ¶
func (m *BondLink_BondedInterface) GetIsPassive() bool
func (*BondLink_BondedInterface) GetName ¶
func (m *BondLink_BondedInterface) GetName() string
func (*BondLink_BondedInterface) ProtoMessage ¶
func (*BondLink_BondedInterface) ProtoMessage()
func (*BondLink_BondedInterface) Reset ¶
func (m *BondLink_BondedInterface) Reset()
func (*BondLink_BondedInterface) String ¶
func (m *BondLink_BondedInterface) String() string
func (*BondLink_BondedInterface) XXX_DiscardUnknown ¶
func (m *BondLink_BondedInterface) XXX_DiscardUnknown()
func (*BondLink_BondedInterface) XXX_Marshal ¶
func (m *BondLink_BondedInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BondLink_BondedInterface) XXX_Merge ¶
func (m *BondLink_BondedInterface) XXX_Merge(src proto.Message)
func (*BondLink_BondedInterface) XXX_MessageName ¶
func (*BondLink_BondedInterface) XXX_MessageName() string
func (*BondLink_BondedInterface) XXX_Size ¶
func (m *BondLink_BondedInterface) XXX_Size() int
func (*BondLink_BondedInterface) XXX_Unmarshal ¶
func (m *BondLink_BondedInterface) XXX_Unmarshal(b []byte) error
type BondLink_LoadBalance ¶
type BondLink_LoadBalance int32
const ( BondLink_L2 BondLink_LoadBalance = 0 BondLink_L34 BondLink_LoadBalance = 1 BondLink_L23 BondLink_LoadBalance = 2 BondLink_RR BondLink_LoadBalance = 3 BondLink_BC BondLink_LoadBalance = 4 BondLink_AB BondLink_LoadBalance = 5 )
func (BondLink_LoadBalance) EnumDescriptor ¶
func (BondLink_LoadBalance) EnumDescriptor() ([]byte, []int)
func (BondLink_LoadBalance) String ¶
func (x BondLink_LoadBalance) String() string
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) EnumDescriptor ¶
func (BondLink_Mode) EnumDescriptor() ([]byte, []int)
func (BondLink_Mode) String ¶
func (x BondLink_Mode) String() string
type DHCPLease ¶
type DHCPLease struct { InterfaceName string `protobuf:"bytes,1,opt,name=interface_name,json=interfaceName,proto3" json:"interface_name,omitempty"` HostName string `protobuf:"bytes,2,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` IsIpv6 bool `protobuf:"varint,3,opt,name=is_ipv6,json=isIpv6,proto3" json:"is_ipv6,omitempty"` HostPhysAddress string `protobuf:"bytes,4,opt,name=host_phys_address,json=hostPhysAddress,proto3" json:"host_phys_address,omitempty"` HostIpAddress string `protobuf:"bytes,5,opt,name=host_ip_address,json=hostIpAddress,proto3" json:"host_ip_address,omitempty"` RouterIpAddress string `protobuf:"bytes,6,opt,name=router_ip_address,json=routerIpAddress,proto3" json:"router_ip_address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DHCPLease is a notification, i.e. flows from SB upwards
func (*DHCPLease) Descriptor ¶
func (*DHCPLease) GetHostIpAddress ¶
func (*DHCPLease) GetHostName ¶
func (*DHCPLease) GetHostPhysAddress ¶
func (*DHCPLease) GetInterfaceName ¶
func (*DHCPLease) GetRouterIpAddress ¶
func (*DHCPLease) ProtoMessage ¶
func (*DHCPLease) ProtoMessage()
func (*DHCPLease) XXX_DiscardUnknown ¶
func (m *DHCPLease) XXX_DiscardUnknown()
func (*DHCPLease) XXX_Marshal ¶
func (*DHCPLease) XXX_MessageName ¶
func (*DHCPLease) XXX_Unmarshal ¶
type GreLink ¶
type GreLink struct { TunnelType GreLink_Type `protobuf:"varint,1,opt,name=tunnel_type,json=tunnelType,proto3,enum=vpp.interfaces.GreLink_Type" json:"tunnel_type,omitempty"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GreLink) Descriptor ¶
func (*GreLink) GetDstAddr ¶
func (*GreLink) GetOuterFibId ¶
func (*GreLink) GetSessionId ¶
func (*GreLink) GetSrcAddr ¶
func (*GreLink) GetTunnelType ¶
func (m *GreLink) GetTunnelType() GreLink_Type
func (*GreLink) ProtoMessage ¶
func (*GreLink) ProtoMessage()
func (*GreLink) XXX_DiscardUnknown ¶
func (m *GreLink) XXX_DiscardUnknown()
func (*GreLink) XXX_Marshal ¶
func (*GreLink) XXX_MessageName ¶
func (*GreLink) XXX_Unmarshal ¶
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) EnumDescriptor ¶
func (GreLink_Type) EnumDescriptor() ([]byte, []int)
func (GreLink_Type) String ¶
func (x GreLink_Type) String() string
type IPSecLink ¶
type IPSecLink struct { // Extended sequence number Esn bool `protobuf:"varint,2,opt,name=esn,proto3" json:"esn,omitempty"` // Anti replay option AntiReplay bool `protobuf:"varint,3,opt,name=anti_replay,json=antiReplay,proto3" json:"anti_replay,omitempty"` LocalIp string `protobuf:"bytes,4,opt,name=local_ip,json=localIp,proto3" json:"local_ip,omitempty"` RemoteIp string `protobuf:"bytes,5,opt,name=remote_ip,json=remoteIp,proto3" json:"remote_ip,omitempty"` // Local security parameter index LocalSpi uint32 `protobuf:"varint,6,opt,name=local_spi,json=localSpi,proto3" json:"local_spi,omitempty"` // Remote security parameter index RemoteSpi uint32 `protobuf:"varint,7,opt,name=remote_spi,json=remoteSpi,proto3" json:"remote_spi,omitempty"` // Cryptographic algorithm for encryption CryptoAlg ipsec.CryptoAlg `protobuf:"varint,8,opt,name=crypto_alg,json=cryptoAlg,proto3,enum=vpp.ipsec.CryptoAlg" json:"crypto_alg,omitempty"` LocalCryptoKey string `protobuf:"bytes,9,opt,name=local_crypto_key,json=localCryptoKey,proto3" json:"local_crypto_key,omitempty"` RemoteCryptoKey string `protobuf:"bytes,10,opt,name=remote_crypto_key,json=remoteCryptoKey,proto3" json:"remote_crypto_key,omitempty"` // Cryptographic algorithm for authentication IntegAlg ipsec.IntegAlg `protobuf:"varint,11,opt,name=integ_alg,json=integAlg,proto3,enum=vpp.ipsec.IntegAlg" json:"integ_alg,omitempty"` LocalIntegKey string `protobuf:"bytes,12,opt,name=local_integ_key,json=localIntegKey,proto3" json:"local_integ_key,omitempty"` RemoteIntegKey string `protobuf:"bytes,13,opt,name=remote_integ_key,json=remoteIntegKey,proto3" json:"remote_integ_key,omitempty"` EnableUdpEncap bool `protobuf:"varint,14,opt,name=enable_udp_encap,json=enableUdpEncap,proto3" json:"enable_udp_encap,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
IPSecLink defines configuration for interface type: IPSEC_TUNNEL
func (*IPSecLink) Descriptor ¶
func (*IPSecLink) GetAntiReplay ¶
func (*IPSecLink) GetCryptoAlg ¶
func (*IPSecLink) GetEnableUdpEncap ¶
func (*IPSecLink) GetIntegAlg ¶
func (*IPSecLink) GetLocalCryptoKey ¶
func (*IPSecLink) GetLocalIntegKey ¶
func (*IPSecLink) GetLocalIp ¶
func (*IPSecLink) GetLocalSpi ¶
func (*IPSecLink) GetRemoteCryptoKey ¶
func (*IPSecLink) GetRemoteIntegKey ¶
func (*IPSecLink) GetRemoteIp ¶
func (*IPSecLink) GetRemoteSpi ¶
func (*IPSecLink) ProtoMessage ¶
func (*IPSecLink) ProtoMessage()
func (*IPSecLink) XXX_DiscardUnknown ¶
func (m *IPSecLink) XXX_DiscardUnknown()
func (*IPSecLink) XXX_Marshal ¶
func (*IPSecLink) XXX_MessageName ¶
func (*IPSecLink) XXX_Unmarshal ¶
type Interface ¶
type Interface struct { // Name is mandatory field representing logical name for the interface. // It must be unique across all configured interfaces. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Type represents the type of interface and it must match with actual Link. Type Interface_Type `protobuf:"varint,2,opt,name=type,proto3,enum=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 bool `protobuf:"varint,7,opt,name=set_dhcp_client,json=setDhcpClient,proto3" json:"set_dhcp_client,omitempty"` Mtu uint32 `protobuf:"varint,8,opt,name=mtu,proto3" json:"mtu,omitempty"` Unnumbered *Interface_Unnumbered `protobuf:"bytes,9,opt,name=unnumbered,proto3" json:"unnumbered,omitempty"` 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 valid to be assigned to Link: // *Interface_Sub // *Interface_Memif // *Interface_Afpacket // *Interface_Tap // *Interface_Vxlan // *Interface_Ipsec // *Interface_VmxNet3 // *Interface_Bond // *Interface_Gre Link isInterface_Link `protobuf_oneof:"link"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Interface) Descriptor ¶
func (*Interface) GetAfpacket ¶
func (m *Interface) GetAfpacket() *AfpacketLink
func (*Interface) GetEnabled ¶
func (*Interface) GetIpAddresses ¶
func (*Interface) GetPhysAddress ¶
func (*Interface) GetRxModes ¶
func (m *Interface) GetRxModes() []*Interface_RxMode
func (*Interface) GetRxPlacements ¶
func (m *Interface) GetRxPlacements() []*Interface_RxPlacement
func (*Interface) GetSetDhcpClient ¶
func (*Interface) GetSub ¶
func (m *Interface) GetSub() *SubInterface
func (*Interface) GetType ¶
func (m *Interface) GetType() Interface_Type
func (*Interface) GetUnnumbered ¶
func (m *Interface) GetUnnumbered() *Interface_Unnumbered
func (*Interface) GetVmxNet3 ¶
func (m *Interface) GetVmxNet3() *VmxNet3Link
func (*Interface) MarshalJSON ¶
MarshalJSON ensures that field of type 'oneOf' is correctly marshaled by using gogo lib marshaller
func (*Interface) ProtoMessage ¶
func (*Interface) ProtoMessage()
func (*Interface) UnmarshalJSON ¶
UnmarshalJSON ensures that field of type 'oneOf' is correctly unmarshaled
func (*Interface) XXX_DiscardUnknown ¶
func (m *Interface) XXX_DiscardUnknown()
func (*Interface) XXX_Marshal ¶
func (*Interface) XXX_MessageName ¶
func (*Interface) XXX_OneofFuncs ¶
func (*Interface) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Interface) XXX_Unmarshal ¶
type InterfaceNotification ¶
type InterfaceNotification struct { Type InterfaceNotification_NotifType `protobuf:"varint,1,opt,name=type,proto3,enum=vpp.interfaces.InterfaceNotification_NotifType" json:"type,omitempty"` State *InterfaceState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InterfaceNotification) Descriptor ¶
func (*InterfaceNotification) Descriptor() ([]byte, []int)
func (*InterfaceNotification) GetState ¶
func (m *InterfaceNotification) GetState() *InterfaceState
func (*InterfaceNotification) GetType ¶
func (m *InterfaceNotification) GetType() InterfaceNotification_NotifType
func (*InterfaceNotification) ProtoMessage ¶
func (*InterfaceNotification) ProtoMessage()
func (*InterfaceNotification) Reset ¶
func (m *InterfaceNotification) Reset()
func (*InterfaceNotification) String ¶
func (m *InterfaceNotification) String() string
func (*InterfaceNotification) XXX_DiscardUnknown ¶
func (m *InterfaceNotification) XXX_DiscardUnknown()
func (*InterfaceNotification) XXX_Marshal ¶
func (m *InterfaceNotification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InterfaceNotification) XXX_Merge ¶
func (m *InterfaceNotification) XXX_Merge(src proto.Message)
func (*InterfaceNotification) XXX_MessageName ¶
func (*InterfaceNotification) XXX_MessageName() string
func (*InterfaceNotification) XXX_Size ¶
func (m *InterfaceNotification) XXX_Size() int
func (*InterfaceNotification) XXX_Unmarshal ¶
func (m *InterfaceNotification) XXX_Unmarshal(b []byte) error
type InterfaceNotification_NotifType ¶
type InterfaceNotification_NotifType int32
const ( InterfaceNotification_UNKNOWN InterfaceNotification_NotifType = 0 InterfaceNotification_UPDOWN InterfaceNotification_NotifType = 1 InterfaceNotification_COUNTERS InterfaceNotification_NotifType = 2 )
func (InterfaceNotification_NotifType) EnumDescriptor ¶
func (InterfaceNotification_NotifType) EnumDescriptor() ([]byte, []int)
func (InterfaceNotification_NotifType) String ¶
func (x InterfaceNotification_NotifType) String() string
type InterfaceState ¶
type InterfaceState struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` InternalName string `protobuf:"bytes,2,opt,name=internal_name,json=internalName,proto3" json:"internal_name,omitempty"` Type Interface_Type `protobuf:"varint,3,opt,name=type,proto3,enum=vpp.interfaces.Interface_Type" json:"type,omitempty"` IfIndex uint32 `protobuf:"varint,4,opt,name=if_index,json=ifIndex,proto3" json:"if_index,omitempty"` AdminStatus InterfaceState_Status `` /* 137-byte string literal not displayed */ OperStatus InterfaceState_Status `` /* 134-byte string literal not displayed */ LastChange int64 `protobuf:"varint,7,opt,name=last_change,json=lastChange,proto3" json:"last_change,omitempty"` PhysAddress string `protobuf:"bytes,8,opt,name=phys_address,json=physAddress,proto3" json:"phys_address,omitempty"` Speed uint64 `protobuf:"varint,9,opt,name=speed,proto3" json:"speed,omitempty"` Mtu uint32 `protobuf:"varint,10,opt,name=mtu,proto3" json:"mtu,omitempty"` Duplex InterfaceState_Duplex `protobuf:"varint,11,opt,name=duplex,proto3,enum=vpp.interfaces.InterfaceState_Duplex" json:"duplex,omitempty"` Statistics *InterfaceState_Statistics `protobuf:"bytes,100,opt,name=statistics,proto3" json:"statistics,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InterfaceState) Descriptor ¶
func (*InterfaceState) Descriptor() ([]byte, []int)
func (*InterfaceState) GetAdminStatus ¶
func (m *InterfaceState) GetAdminStatus() InterfaceState_Status
func (*InterfaceState) GetDuplex ¶
func (m *InterfaceState) GetDuplex() InterfaceState_Duplex
func (*InterfaceState) GetIfIndex ¶
func (m *InterfaceState) GetIfIndex() uint32
func (*InterfaceState) GetInternalName ¶
func (m *InterfaceState) GetInternalName() string
func (*InterfaceState) GetLastChange ¶
func (m *InterfaceState) GetLastChange() int64
func (*InterfaceState) GetMtu ¶
func (m *InterfaceState) GetMtu() uint32
func (*InterfaceState) GetName ¶
func (m *InterfaceState) GetName() string
func (*InterfaceState) GetOperStatus ¶
func (m *InterfaceState) GetOperStatus() InterfaceState_Status
func (*InterfaceState) GetPhysAddress ¶
func (m *InterfaceState) GetPhysAddress() string
func (*InterfaceState) GetSpeed ¶
func (m *InterfaceState) GetSpeed() uint64
func (*InterfaceState) GetStatistics ¶
func (m *InterfaceState) GetStatistics() *InterfaceState_Statistics
func (*InterfaceState) GetType ¶
func (m *InterfaceState) GetType() Interface_Type
func (*InterfaceState) ProtoMessage ¶
func (*InterfaceState) ProtoMessage()
func (*InterfaceState) Reset ¶
func (m *InterfaceState) Reset()
func (*InterfaceState) String ¶
func (m *InterfaceState) String() string
func (*InterfaceState) XXX_DiscardUnknown ¶
func (m *InterfaceState) XXX_DiscardUnknown()
func (*InterfaceState) XXX_Marshal ¶
func (m *InterfaceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InterfaceState) XXX_Merge ¶
func (m *InterfaceState) XXX_Merge(src proto.Message)
func (*InterfaceState) XXX_MessageName ¶
func (*InterfaceState) XXX_MessageName() string
func (*InterfaceState) XXX_Size ¶
func (m *InterfaceState) XXX_Size() int
func (*InterfaceState) XXX_Unmarshal ¶
func (m *InterfaceState) XXX_Unmarshal(b []byte) error
type InterfaceState_Duplex ¶
type InterfaceState_Duplex int32
const ( InterfaceState_UNKNOWN_DUPLEX InterfaceState_Duplex = 0 InterfaceState_HALF InterfaceState_Duplex = 1 InterfaceState_FULL InterfaceState_Duplex = 2 )
func (InterfaceState_Duplex) EnumDescriptor ¶
func (InterfaceState_Duplex) EnumDescriptor() ([]byte, []int)
func (InterfaceState_Duplex) String ¶
func (x InterfaceState_Duplex) String() string
type InterfaceState_Statistics ¶
type InterfaceState_Statistics struct { InPackets uint64 `protobuf:"varint,1,opt,name=in_packets,json=inPackets,proto3" json:"in_packets,omitempty"` InBytes uint64 `protobuf:"varint,2,opt,name=in_bytes,json=inBytes,proto3" json:"in_bytes,omitempty"` OutPackets uint64 `protobuf:"varint,3,opt,name=out_packets,json=outPackets,proto3" json:"out_packets,omitempty"` OutBytes uint64 `protobuf:"varint,4,opt,name=out_bytes,json=outBytes,proto3" json:"out_bytes,omitempty"` DropPackets uint64 `protobuf:"varint,5,opt,name=drop_packets,json=dropPackets,proto3" json:"drop_packets,omitempty"` PuntPackets uint64 `protobuf:"varint,6,opt,name=punt_packets,json=puntPackets,proto3" json:"punt_packets,omitempty"` Ipv4Packets uint64 `protobuf:"varint,7,opt,name=ipv4_packets,json=ipv4Packets,proto3" json:"ipv4_packets,omitempty"` Ipv6Packets uint64 `protobuf:"varint,8,opt,name=ipv6_packets,json=ipv6Packets,proto3" json:"ipv6_packets,omitempty"` InNobufPackets uint64 `protobuf:"varint,9,opt,name=in_nobuf_packets,json=inNobufPackets,proto3" json:"in_nobuf_packets,omitempty"` InMissPackets uint64 `protobuf:"varint,10,opt,name=in_miss_packets,json=inMissPackets,proto3" json:"in_miss_packets,omitempty"` InErrorPackets uint64 `protobuf:"varint,11,opt,name=in_error_packets,json=inErrorPackets,proto3" json:"in_error_packets,omitempty"` OutErrorPackets uint64 `protobuf:"varint,12,opt,name=out_error_packets,json=outErrorPackets,proto3" json:"out_error_packets,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InterfaceState_Statistics) Descriptor ¶
func (*InterfaceState_Statistics) Descriptor() ([]byte, []int)
func (*InterfaceState_Statistics) GetDropPackets ¶
func (m *InterfaceState_Statistics) GetDropPackets() uint64
func (*InterfaceState_Statistics) GetInBytes ¶
func (m *InterfaceState_Statistics) GetInBytes() uint64
func (*InterfaceState_Statistics) GetInErrorPackets ¶
func (m *InterfaceState_Statistics) GetInErrorPackets() uint64
func (*InterfaceState_Statistics) GetInMissPackets ¶
func (m *InterfaceState_Statistics) GetInMissPackets() uint64
func (*InterfaceState_Statistics) GetInNobufPackets ¶
func (m *InterfaceState_Statistics) GetInNobufPackets() uint64
func (*InterfaceState_Statistics) GetInPackets ¶
func (m *InterfaceState_Statistics) GetInPackets() uint64
func (*InterfaceState_Statistics) GetIpv4Packets ¶
func (m *InterfaceState_Statistics) GetIpv4Packets() uint64
func (*InterfaceState_Statistics) GetIpv6Packets ¶
func (m *InterfaceState_Statistics) GetIpv6Packets() uint64
func (*InterfaceState_Statistics) GetOutBytes ¶
func (m *InterfaceState_Statistics) GetOutBytes() uint64
func (*InterfaceState_Statistics) GetOutErrorPackets ¶
func (m *InterfaceState_Statistics) GetOutErrorPackets() uint64
func (*InterfaceState_Statistics) GetOutPackets ¶
func (m *InterfaceState_Statistics) GetOutPackets() uint64
func (*InterfaceState_Statistics) GetPuntPackets ¶
func (m *InterfaceState_Statistics) GetPuntPackets() uint64
func (*InterfaceState_Statistics) ProtoMessage ¶
func (*InterfaceState_Statistics) ProtoMessage()
func (*InterfaceState_Statistics) Reset ¶
func (m *InterfaceState_Statistics) Reset()
func (*InterfaceState_Statistics) String ¶
func (m *InterfaceState_Statistics) String() string
func (*InterfaceState_Statistics) XXX_DiscardUnknown ¶
func (m *InterfaceState_Statistics) XXX_DiscardUnknown()
func (*InterfaceState_Statistics) XXX_Marshal ¶
func (m *InterfaceState_Statistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InterfaceState_Statistics) XXX_Merge ¶
func (m *InterfaceState_Statistics) XXX_Merge(src proto.Message)
func (*InterfaceState_Statistics) XXX_MessageName ¶
func (*InterfaceState_Statistics) XXX_MessageName() string
func (*InterfaceState_Statistics) XXX_Size ¶
func (m *InterfaceState_Statistics) XXX_Size() int
func (*InterfaceState_Statistics) XXX_Unmarshal ¶
func (m *InterfaceState_Statistics) XXX_Unmarshal(b []byte) error
type InterfaceState_Status ¶
type InterfaceState_Status int32
const ( InterfaceState_UNKNOWN_STATUS InterfaceState_Status = 0 InterfaceState_UP InterfaceState_Status = 1 InterfaceState_DOWN InterfaceState_Status = 2 InterfaceState_DELETED InterfaceState_Status = 3 )
func (InterfaceState_Status) EnumDescriptor ¶
func (InterfaceState_Status) EnumDescriptor() ([]byte, []int)
func (InterfaceState_Status) String ¶
func (x InterfaceState_Status) String() string
type 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InterfaceStats) Descriptor ¶
func (*InterfaceStats) Descriptor() ([]byte, []int)
func (*InterfaceStats) GetDrops ¶
func (m *InterfaceStats) GetDrops() uint64
func (*InterfaceStats) GetIp4 ¶
func (m *InterfaceStats) GetIp4() uint64
func (*InterfaceStats) GetIp6 ¶
func (m *InterfaceStats) GetIp6() uint64
func (*InterfaceStats) GetMpls ¶
func (m *InterfaceStats) GetMpls() uint64
func (*InterfaceStats) GetName ¶
func (m *InterfaceStats) GetName() string
func (*InterfaceStats) GetPunts ¶
func (m *InterfaceStats) GetPunts() uint64
func (*InterfaceStats) GetRx ¶
func (m *InterfaceStats) GetRx() *InterfaceStats_CombinedCounter
func (*InterfaceStats) GetRxBroadcast ¶
func (m *InterfaceStats) GetRxBroadcast() *InterfaceStats_CombinedCounter
func (*InterfaceStats) GetRxError ¶
func (m *InterfaceStats) GetRxError() uint64
func (*InterfaceStats) GetRxMiss ¶
func (m *InterfaceStats) GetRxMiss() uint64
func (*InterfaceStats) GetRxMulticast ¶
func (m *InterfaceStats) GetRxMulticast() *InterfaceStats_CombinedCounter
func (*InterfaceStats) GetRxNoBuf ¶
func (m *InterfaceStats) GetRxNoBuf() uint64
func (*InterfaceStats) GetRxUnicast ¶
func (m *InterfaceStats) GetRxUnicast() *InterfaceStats_CombinedCounter
func (*InterfaceStats) GetTx ¶
func (m *InterfaceStats) GetTx() *InterfaceStats_CombinedCounter
func (*InterfaceStats) GetTxBroadcast ¶
func (m *InterfaceStats) GetTxBroadcast() *InterfaceStats_CombinedCounter
func (*InterfaceStats) GetTxError ¶
func (m *InterfaceStats) GetTxError() uint64
func (*InterfaceStats) GetTxMulticast ¶
func (m *InterfaceStats) GetTxMulticast() *InterfaceStats_CombinedCounter
func (*InterfaceStats) GetTxUnicast ¶
func (m *InterfaceStats) GetTxUnicast() *InterfaceStats_CombinedCounter
func (*InterfaceStats) ProtoMessage ¶
func (*InterfaceStats) ProtoMessage()
func (*InterfaceStats) Reset ¶
func (m *InterfaceStats) Reset()
func (*InterfaceStats) String ¶
func (m *InterfaceStats) String() string
func (*InterfaceStats) XXX_DiscardUnknown ¶
func (m *InterfaceStats) XXX_DiscardUnknown()
func (*InterfaceStats) XXX_Marshal ¶
func (m *InterfaceStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InterfaceStats) XXX_Merge ¶
func (m *InterfaceStats) XXX_Merge(src proto.Message)
func (*InterfaceStats) XXX_MessageName ¶
func (*InterfaceStats) XXX_MessageName() string
func (*InterfaceStats) XXX_Size ¶
func (m *InterfaceStats) XXX_Size() int
func (*InterfaceStats) XXX_Unmarshal ¶
func (m *InterfaceStats) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InterfaceStats_CombinedCounter) Descriptor ¶
func (*InterfaceStats_CombinedCounter) Descriptor() ([]byte, []int)
func (*InterfaceStats_CombinedCounter) GetBytes ¶
func (m *InterfaceStats_CombinedCounter) GetBytes() uint64
func (*InterfaceStats_CombinedCounter) GetPackets ¶
func (m *InterfaceStats_CombinedCounter) GetPackets() uint64
func (*InterfaceStats_CombinedCounter) ProtoMessage ¶
func (*InterfaceStats_CombinedCounter) ProtoMessage()
func (*InterfaceStats_CombinedCounter) Reset ¶
func (m *InterfaceStats_CombinedCounter) Reset()
func (*InterfaceStats_CombinedCounter) String ¶
func (m *InterfaceStats_CombinedCounter) String() string
func (*InterfaceStats_CombinedCounter) XXX_DiscardUnknown ¶
func (m *InterfaceStats_CombinedCounter) XXX_DiscardUnknown()
func (*InterfaceStats_CombinedCounter) XXX_Marshal ¶
func (m *InterfaceStats_CombinedCounter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InterfaceStats_CombinedCounter) XXX_Merge ¶
func (m *InterfaceStats_CombinedCounter) XXX_Merge(src proto.Message)
func (*InterfaceStats_CombinedCounter) XXX_MessageName ¶
func (*InterfaceStats_CombinedCounter) XXX_MessageName() string
func (*InterfaceStats_CombinedCounter) XXX_Size ¶
func (m *InterfaceStats_CombinedCounter) XXX_Size() int
func (*InterfaceStats_CombinedCounter) XXX_Unmarshal ¶
func (m *InterfaceStats_CombinedCounter) XXX_Unmarshal(b []byte) error
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_Ipsec ¶
type Interface_Ipsec struct {
Ipsec *IPSecLink `protobuf:"bytes,105,opt,name=ipsec,proto3,oneof"`
}
type Interface_Memif ¶
type Interface_Memif struct {
Memif *MemifLink `protobuf:"bytes,101,opt,name=memif,proto3,oneof"`
}
type Interface_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=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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Interface_RxMode) Descriptor ¶
func (*Interface_RxMode) Descriptor() ([]byte, []int)
func (*Interface_RxMode) GetDefaultMode ¶
func (m *Interface_RxMode) GetDefaultMode() bool
func (*Interface_RxMode) GetMode ¶
func (m *Interface_RxMode) GetMode() Interface_RxMode_Type
func (*Interface_RxMode) GetQueue ¶
func (m *Interface_RxMode) GetQueue() uint32
func (*Interface_RxMode) ProtoMessage ¶
func (*Interface_RxMode) ProtoMessage()
func (*Interface_RxMode) Reset ¶
func (m *Interface_RxMode) Reset()
func (*Interface_RxMode) String ¶
func (m *Interface_RxMode) String() string
func (*Interface_RxMode) XXX_DiscardUnknown ¶
func (m *Interface_RxMode) XXX_DiscardUnknown()
func (*Interface_RxMode) XXX_Marshal ¶
func (m *Interface_RxMode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Interface_RxMode) XXX_Merge ¶
func (m *Interface_RxMode) XXX_Merge(src proto.Message)
func (*Interface_RxMode) XXX_MessageName ¶
func (*Interface_RxMode) XXX_MessageName() string
func (*Interface_RxMode) XXX_Size ¶
func (m *Interface_RxMode) XXX_Size() int
func (*Interface_RxMode) XXX_Unmarshal ¶
func (m *Interface_RxMode) XXX_Unmarshal(b []byte) error
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) EnumDescriptor ¶
func (Interface_RxMode_Type) EnumDescriptor() ([]byte, []int)
func (Interface_RxMode_Type) String ¶
func (x Interface_RxMode_Type) String() string
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Interface_RxPlacement) Descriptor ¶
func (*Interface_RxPlacement) Descriptor() ([]byte, []int)
func (*Interface_RxPlacement) GetMainThread ¶
func (m *Interface_RxPlacement) GetMainThread() bool
func (*Interface_RxPlacement) GetQueue ¶
func (m *Interface_RxPlacement) GetQueue() uint32
func (*Interface_RxPlacement) GetWorker ¶
func (m *Interface_RxPlacement) GetWorker() uint32
func (*Interface_RxPlacement) ProtoMessage ¶
func (*Interface_RxPlacement) ProtoMessage()
func (*Interface_RxPlacement) Reset ¶
func (m *Interface_RxPlacement) Reset()
func (*Interface_RxPlacement) String ¶
func (m *Interface_RxPlacement) String() string
func (*Interface_RxPlacement) XXX_DiscardUnknown ¶
func (m *Interface_RxPlacement) XXX_DiscardUnknown()
func (*Interface_RxPlacement) XXX_Marshal ¶
func (m *Interface_RxPlacement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Interface_RxPlacement) XXX_Merge ¶
func (m *Interface_RxPlacement) XXX_Merge(src proto.Message)
func (*Interface_RxPlacement) XXX_MessageName ¶
func (*Interface_RxPlacement) XXX_MessageName() string
func (*Interface_RxPlacement) XXX_Size ¶
func (m *Interface_RxPlacement) XXX_Size() int
func (*Interface_RxPlacement) XXX_Unmarshal ¶
func (m *Interface_RxPlacement) XXX_Unmarshal(b []byte) error
type Interface_Sub ¶
type Interface_Sub struct {
Sub *SubInterface `protobuf:"bytes,100,opt,name=sub,proto3,oneof"`
}
type Interface_Tap ¶
type Interface_Tap struct {
Tap *TapLink `protobuf:"bytes,103,opt,name=tap,proto3,oneof"`
}
type Interface_Type ¶
type Interface_Type int32
const ( Interface_UNDEFINED_TYPE Interface_Type = 0 Interface_SUB_INTERFACE Interface_Type = 1 Interface_SOFTWARE_LOOPBACK Interface_Type = 2 Interface_DPDK Interface_Type = 3 Interface_MEMIF Interface_Type = 4 Interface_TAP Interface_Type = 5 Interface_AF_PACKET Interface_Type = 6 Interface_VXLAN_TUNNEL Interface_Type = 7 Interface_IPSEC_TUNNEL Interface_Type = 8 Interface_VMXNET3_INTERFACE Interface_Type = 9 Interface_BOND_INTERFACE Interface_Type = 10 Interface_GRE_TUNNEL Interface_Type = 11 )
func (Interface_Type) EnumDescriptor ¶
func (Interface_Type) EnumDescriptor() ([]byte, []int)
func (Interface_Type) String ¶
func (x Interface_Type) String() string
type Interface_Unnumbered ¶
type Interface_Unnumbered struct { InterfaceWithIp string `protobuf:"bytes,1,opt,name=interface_with_ip,json=interfaceWithIp,proto3" json:"interface_with_ip,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Interface_Unnumbered) Descriptor ¶
func (*Interface_Unnumbered) Descriptor() ([]byte, []int)
func (*Interface_Unnumbered) GetInterfaceWithIp ¶
func (m *Interface_Unnumbered) GetInterfaceWithIp() string
func (*Interface_Unnumbered) ProtoMessage ¶
func (*Interface_Unnumbered) ProtoMessage()
func (*Interface_Unnumbered) Reset ¶
func (m *Interface_Unnumbered) Reset()
func (*Interface_Unnumbered) String ¶
func (m *Interface_Unnumbered) String() string
func (*Interface_Unnumbered) XXX_DiscardUnknown ¶
func (m *Interface_Unnumbered) XXX_DiscardUnknown()
func (*Interface_Unnumbered) XXX_Marshal ¶
func (m *Interface_Unnumbered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Interface_Unnumbered) XXX_Merge ¶
func (m *Interface_Unnumbered) XXX_Merge(src proto.Message)
func (*Interface_Unnumbered) XXX_MessageName ¶
func (*Interface_Unnumbered) XXX_MessageName() string
func (*Interface_Unnumbered) XXX_Size ¶
func (m *Interface_Unnumbered) XXX_Size() int
func (*Interface_Unnumbered) XXX_Unmarshal ¶
func (m *Interface_Unnumbered) XXX_Unmarshal(b []byte) error
type Interface_VmxNet3 ¶
type Interface_VmxNet3 struct {
VmxNet3 *VmxNet3Link `protobuf:"bytes,106,opt,name=vmx_net3,json=vmxNet3,proto3,oneof"`
}
type Interface_Vxlan ¶
type Interface_Vxlan struct {
Vxlan *VxlanLink `protobuf:"bytes,104,opt,name=vxlan,proto3,oneof"`
}
type MemifLink ¶
type MemifLink struct { Mode MemifLink_MemifMode `protobuf:"varint,1,opt,name=mode,proto3,enum=vpp.interfaces.MemifLink_MemifMode" json:"mode,omitempty"` Master bool `protobuf:"varint,2,opt,name=master,proto3" json:"master,omitempty"` // Id 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
MemifLink defines configuration for interface type: MEMIF
func (*MemifLink) Descriptor ¶
func (*MemifLink) GetBufferSize ¶
func (*MemifLink) GetMode ¶
func (m *MemifLink) GetMode() MemifLink_MemifMode
func (*MemifLink) GetRingSize ¶
func (*MemifLink) GetRxQueues ¶
func (*MemifLink) GetSocketFilename ¶
func (*MemifLink) GetTxQueues ¶
func (*MemifLink) ProtoMessage ¶
func (*MemifLink) ProtoMessage()
func (*MemifLink) XXX_DiscardUnknown ¶
func (m *MemifLink) XXX_DiscardUnknown()
func (*MemifLink) XXX_Marshal ¶
func (*MemifLink) XXX_MessageName ¶
func (*MemifLink) XXX_Unmarshal ¶
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) EnumDescriptor ¶
func (MemifLink_MemifMode) EnumDescriptor() ([]byte, []int)
func (MemifLink_MemifMode) String ¶
func (x MemifLink_MemifMode) String() string
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=vpp.interfaces.Span_Direction" json:"direction,omitempty"` IsL2 bool `protobuf:"varint,4,opt,name=is_l2,json=isL2,proto3" json:"is_l2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Span) Descriptor ¶
func (*Span) GetDirection ¶
func (m *Span) GetDirection() Span_Direction
func (*Span) GetInterfaceFrom ¶
func (*Span) GetInterfaceTo ¶
func (*Span) ProtoMessage ¶
func (*Span) ProtoMessage()
func (*Span) XXX_DiscardUnknown ¶
func (m *Span) XXX_DiscardUnknown()
func (*Span) XXX_MessageName ¶
func (*Span) XXX_Unmarshal ¶
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) EnumDescriptor ¶
func (Span_Direction) EnumDescriptor() ([]byte, []int)
func (Span_Direction) String ¶
func (x Span_Direction) String() string
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"` TagRwOption SubInterface_TagRewriteOptions `` /* 148-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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SubInterface defines configuration for interface type: SUB_INTERFACE
func (*SubInterface) Descriptor ¶
func (*SubInterface) Descriptor() ([]byte, []int)
func (*SubInterface) GetParentName ¶
func (m *SubInterface) GetParentName() string
func (*SubInterface) GetPushDot1Q ¶
func (m *SubInterface) GetPushDot1Q() bool
func (*SubInterface) GetSubId ¶
func (m *SubInterface) GetSubId() uint32
func (*SubInterface) GetTag1 ¶
func (m *SubInterface) GetTag1() uint32
func (*SubInterface) GetTag2 ¶
func (m *SubInterface) GetTag2() uint32
func (*SubInterface) GetTagRwOption ¶
func (m *SubInterface) GetTagRwOption() SubInterface_TagRewriteOptions
func (*SubInterface) ProtoMessage ¶
func (*SubInterface) ProtoMessage()
func (*SubInterface) Reset ¶
func (m *SubInterface) Reset()
func (*SubInterface) String ¶
func (m *SubInterface) String() string
func (*SubInterface) XXX_DiscardUnknown ¶
func (m *SubInterface) XXX_DiscardUnknown()
func (*SubInterface) XXX_Marshal ¶
func (m *SubInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubInterface) XXX_Merge ¶
func (m *SubInterface) XXX_Merge(src proto.Message)
func (*SubInterface) XXX_MessageName ¶
func (*SubInterface) XXX_MessageName() string
func (*SubInterface) XXX_Size ¶
func (m *SubInterface) XXX_Size() int
func (*SubInterface) XXX_Unmarshal ¶
func (m *SubInterface) XXX_Unmarshal(b []byte) error
type SubInterface_TagRewriteOptions ¶
type SubInterface_TagRewriteOptions int32
VLAN tag rewrite rule applied for given tag for sub-interface
const ( SubInterface_DISABLED SubInterface_TagRewriteOptions = 0 SubInterface_PUSH1 SubInterface_TagRewriteOptions = 1 SubInterface_PUSH2 SubInterface_TagRewriteOptions = 2 SubInterface_POP1 SubInterface_TagRewriteOptions = 3 SubInterface_POP2 SubInterface_TagRewriteOptions = 4 SubInterface_TRANSLATE11 SubInterface_TagRewriteOptions = 5 SubInterface_TRANSLATE12 SubInterface_TagRewriteOptions = 6 SubInterface_TRANSLATE21 SubInterface_TagRewriteOptions = 7 SubInterface_TRANSLATE22 SubInterface_TagRewriteOptions = 8 )
func (SubInterface_TagRewriteOptions) EnumDescriptor ¶
func (SubInterface_TagRewriteOptions) EnumDescriptor() ([]byte, []int)
func (SubInterface_TagRewriteOptions) String ¶
func (x SubInterface_TagRewriteOptions) String() string
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 bool `protobuf:"varint,6,opt,name=enable_gso,json=enableGso,proto3" json:"enable_gso,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TapLink defines configuration for interface type: TAP
func (*TapLink) Descriptor ¶
func (*TapLink) GetEnableGso ¶
func (*TapLink) GetHostIfName ¶
func (*TapLink) GetRxRingSize ¶
func (*TapLink) GetToMicroservice ¶
func (*TapLink) GetTxRingSize ¶
func (*TapLink) GetVersion ¶
func (*TapLink) ProtoMessage ¶
func (*TapLink) ProtoMessage()
func (*TapLink) XXX_DiscardUnknown ¶
func (m *TapLink) XXX_DiscardUnknown()
func (*TapLink) XXX_Marshal ¶
func (*TapLink) XXX_MessageName ¶
func (*TapLink) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 ¶
func (*VmxNet3Link) Descriptor() ([]byte, []int)
func (*VmxNet3Link) GetEnableElog ¶
func (m *VmxNet3Link) GetEnableElog() bool
func (*VmxNet3Link) GetRxqSize ¶
func (m *VmxNet3Link) GetRxqSize() uint32
func (*VmxNet3Link) GetTxqSize ¶
func (m *VmxNet3Link) GetTxqSize() uint32
func (*VmxNet3Link) ProtoMessage ¶
func (*VmxNet3Link) ProtoMessage()
func (*VmxNet3Link) Reset ¶
func (m *VmxNet3Link) Reset()
func (*VmxNet3Link) String ¶
func (m *VmxNet3Link) String() string
func (*VmxNet3Link) XXX_DiscardUnknown ¶
func (m *VmxNet3Link) XXX_DiscardUnknown()
func (*VmxNet3Link) XXX_Marshal ¶
func (m *VmxNet3Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VmxNet3Link) XXX_Merge ¶
func (m *VmxNet3Link) XXX_Merge(src proto.Message)
func (*VmxNet3Link) XXX_MessageName ¶
func (*VmxNet3Link) XXX_MessageName() string
func (*VmxNet3Link) XXX_Size ¶
func (m *VmxNet3Link) XXX_Size() int
func (*VmxNet3Link) XXX_Unmarshal ¶
func (m *VmxNet3Link) XXX_Unmarshal(b []byte) error
type VxlanLink ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
VxlanLink defines configuration for interface type: VXLAN_TUNNEL
func (*VxlanLink) Descriptor ¶
func (*VxlanLink) GetDstAddress ¶
func (*VxlanLink) GetGpe ¶
func (m *VxlanLink) GetGpe() *VxlanLink_Gpe
func (*VxlanLink) GetMulticast ¶
func (*VxlanLink) GetSrcAddress ¶
func (*VxlanLink) ProtoMessage ¶
func (*VxlanLink) ProtoMessage()
func (*VxlanLink) XXX_DiscardUnknown ¶
func (m *VxlanLink) XXX_DiscardUnknown()
func (*VxlanLink) XXX_Marshal ¶
func (*VxlanLink) XXX_MessageName ¶
func (*VxlanLink) XXX_Unmarshal ¶
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=vpp.interfaces.VxlanLink_Gpe_Protocol" json:"protocol,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Gpe (Generic Protocol Extension) allows encapsulating not only Ethernet frame payload.
func (*VxlanLink_Gpe) Descriptor ¶
func (*VxlanLink_Gpe) Descriptor() ([]byte, []int)
func (*VxlanLink_Gpe) GetDecapVrfId ¶
func (m *VxlanLink_Gpe) GetDecapVrfId() uint32
func (*VxlanLink_Gpe) GetProtocol ¶
func (m *VxlanLink_Gpe) GetProtocol() VxlanLink_Gpe_Protocol
func (*VxlanLink_Gpe) ProtoMessage ¶
func (*VxlanLink_Gpe) ProtoMessage()
func (*VxlanLink_Gpe) Reset ¶
func (m *VxlanLink_Gpe) Reset()
func (*VxlanLink_Gpe) String ¶
func (m *VxlanLink_Gpe) String() string
func (*VxlanLink_Gpe) XXX_DiscardUnknown ¶
func (m *VxlanLink_Gpe) XXX_DiscardUnknown()
func (*VxlanLink_Gpe) XXX_Marshal ¶
func (m *VxlanLink_Gpe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VxlanLink_Gpe) XXX_Merge ¶
func (m *VxlanLink_Gpe) XXX_Merge(src proto.Message)
func (*VxlanLink_Gpe) XXX_MessageName ¶
func (*VxlanLink_Gpe) XXX_MessageName() string
func (*VxlanLink_Gpe) XXX_Size ¶
func (m *VxlanLink_Gpe) XXX_Size() int
func (*VxlanLink_Gpe) XXX_Unmarshal ¶
func (m *VxlanLink_Gpe) XXX_Unmarshal(b []byte) error
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) EnumDescriptor ¶
func (VxlanLink_Gpe_Protocol) EnumDescriptor() ([]byte, []int)
func (VxlanLink_Gpe_Protocol) String ¶
func (x VxlanLink_Gpe_Protocol) String() string