Documentation
¶
Index ¶
- Variables
- type GUE
- func (*GUE) Descriptor() ([]byte, []int)deprecated
- func (x *GUE) GetDstIp() []byte
- func (x *GUE) GetDstPort() uint32
- func (x *GUE) GetIsV6() bool
- func (x *GUE) GetSrcIp() []byte
- func (*GUE) ProtoMessage()
- func (x *GUE) ProtoReflect() protoreflect.Message
- func (x *GUE) Reset()
- func (x *GUE) String() string
- type NextHop
- func (*NextHop) Descriptor() ([]byte, []int)deprecated
- func (m *NextHop) GetEncap() isNextHop_Encap
- func (x *NextHop) GetGue() *GUE
- func (x *NextHop) GetInterface() *OCInterface
- func (x *NextHop) GetNextHopIp() string
- func (*NextHop) ProtoMessage()
- func (x *NextHop) ProtoReflect() protoreflect.Message
- func (x *NextHop) Reset()
- func (x *NextHop) String() string
- type NextHopList
- func (*NextHopList) Descriptor() ([]byte, []int)deprecated
- func (x *NextHopList) GetHops() []*NextHop
- func (x *NextHopList) GetWeights() []uint64
- func (*NextHopList) ProtoMessage()
- func (x *NextHopList) ProtoReflect() protoreflect.Message
- func (x *NextHopList) Reset()
- func (x *NextHopList) String() string
- type NextHop_Gue
- type OCInterface
- func (*OCInterface) Descriptor() ([]byte, []int)deprecated
- func (x *OCInterface) GetInterface() string
- func (x *OCInterface) GetSubinterface() uint32
- func (*OCInterface) ProtoMessage()
- func (x *OCInterface) ProtoReflect() protoreflect.Message
- func (x *OCInterface) Reset()
- func (x *OCInterface) String() string
- type PacketAction
- func (PacketAction) Descriptor() protoreflect.EnumDescriptor
- func (x PacketAction) Enum() *PacketAction
- func (PacketAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x PacketAction) Number() protoreflect.EnumNumber
- func (x PacketAction) String() string
- func (PacketAction) Type() protoreflect.EnumType
- type PortLocation
- func (PortLocation) Descriptor() protoreflect.EnumDescriptor
- func (x PortLocation) Enum() *PortLocation
- func (PortLocation) EnumDescriptor() ([]byte, []int)deprecated
- func (x PortLocation) Number() protoreflect.EnumNumber
- func (x PortLocation) String() string
- func (PortLocation) Type() protoreflect.EnumType
- type Route
- func (*Route) Descriptor() ([]byte, []int)deprecated
- func (x *Route) GetAction() PacketAction
- func (m *Route) GetHop() isRoute_Hop
- func (x *Route) GetInterface() *OCInterface
- func (x *Route) GetNextHops() *NextHopList
- func (x *Route) GetPrefix() *RoutePrefix
- func (*Route) ProtoMessage()
- func (x *Route) ProtoReflect() protoreflect.Message
- func (x *Route) Reset()
- func (x *Route) String() string
- type RoutePrefix
- func (*RoutePrefix) Descriptor() ([]byte, []int)deprecated
- func (x *RoutePrefix) GetCidr() string
- func (x *RoutePrefix) GetNetworkInstance() string
- func (*RoutePrefix) ProtoMessage()
- func (x *RoutePrefix) ProtoReflect() protoreflect.Message
- func (x *RoutePrefix) Reset()
- func (x *RoutePrefix) String() string
- type Route_Interface
- type Route_NextHops
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PortLocation_name = map[int32]string{ 0: "PORT_LOCATION_UNSPECIFIED", 1: "PORT_LOCATION_INTERNAL", 2: "PORT_LOCATION_EXTERNAL", 3: "PORT_LOCATION_CPU", } PortLocation_value = map[string]int32{ "PORT_LOCATION_UNSPECIFIED": 0, "PORT_LOCATION_INTERNAL": 1, "PORT_LOCATION_EXTERNAL": 2, "PORT_LOCATION_CPU": 3, } )
Enum value maps for PortLocation.
View Source
var ( PacketAction_name = map[int32]string{ 0: "PACKET_ACTION_UNSPECIFIED", 1: "PACKET_ACTION_DROP", 2: "PACKET_ACTION_FORWARD", } PacketAction_value = map[string]int32{ "PACKET_ACTION_UNSPECIFIED": 0, "PACKET_ACTION_DROP": 1, "PACKET_ACTION_FORWARD": 2, } )
Enum value maps for PacketAction.
View Source
var File_proto_dataplane_dataplane_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type GUE ¶ added in v0.4.0
type GUE struct { SrcIp []byte `protobuf:"bytes,1,opt,name=src_ip,json=srcIp,proto3" json:"src_ip,omitempty"` DstIp []byte `protobuf:"bytes,2,opt,name=dst_ip,json=dstIp,proto3" json:"dst_ip,omitempty"` DstPort uint32 `protobuf:"varint,3,opt,name=dst_port,json=dstPort,proto3" json:"dst_port,omitempty"` IsV6 bool `protobuf:"varint,4,opt,name=is_v6,json=isV6,proto3" json:"is_v6,omitempty"` // contains filtered or unexported fields }
func (*GUE) Descriptor
deprecated
added in
v0.4.0
func (*GUE) GetDstPort ¶ added in v0.4.0
func (*GUE) ProtoMessage ¶ added in v0.4.0
func (*GUE) ProtoMessage()
func (*GUE) ProtoReflect ¶ added in v0.4.0
func (x *GUE) ProtoReflect() protoreflect.Message
type NextHop ¶
type NextHop struct { Interface *OCInterface `protobuf:"bytes,1,opt,name=interface,proto3" json:"interface,omitempty"` NextHopIp string `protobuf:"bytes,2,opt,name=next_hop_ip,json=nextHopIp,proto3" json:"next_hop_ip,omitempty"` // Types that are assignable to Encap: // // *NextHop_Gue Encap isNextHop_Encap `protobuf_oneof:"encap"` // contains filtered or unexported fields }
func (*NextHop) Descriptor
deprecated
func (*NextHop) GetInterface ¶ added in v0.4.0
func (x *NextHop) GetInterface() *OCInterface
func (*NextHop) GetNextHopIp ¶ added in v0.4.0
func (*NextHop) ProtoMessage ¶
func (*NextHop) ProtoMessage()
func (*NextHop) ProtoReflect ¶
func (x *NextHop) ProtoReflect() protoreflect.Message
type NextHopList ¶ added in v0.4.0
type NextHopList struct { Hops []*NextHop `protobuf:"bytes,1,rep,name=hops,proto3" json:"hops,omitempty"` Weights []uint64 `protobuf:"varint,2,rep,packed,name=weights,proto3" json:"weights,omitempty"` // contains filtered or unexported fields }
func (*NextHopList) Descriptor
deprecated
added in
v0.4.0
func (*NextHopList) Descriptor() ([]byte, []int)
Deprecated: Use NextHopList.ProtoReflect.Descriptor instead.
func (*NextHopList) GetHops ¶ added in v0.4.0
func (x *NextHopList) GetHops() []*NextHop
func (*NextHopList) GetWeights ¶ added in v0.4.0
func (x *NextHopList) GetWeights() []uint64
func (*NextHopList) ProtoMessage ¶ added in v0.4.0
func (*NextHopList) ProtoMessage()
func (*NextHopList) ProtoReflect ¶ added in v0.4.0
func (x *NextHopList) ProtoReflect() protoreflect.Message
func (*NextHopList) Reset ¶ added in v0.4.0
func (x *NextHopList) Reset()
func (*NextHopList) String ¶ added in v0.4.0
func (x *NextHopList) String() string
type NextHop_Gue ¶ added in v0.4.0
type NextHop_Gue struct {
Gue *GUE `protobuf:"bytes,3,opt,name=gue,proto3,oneof"`
}
type OCInterface ¶ added in v0.4.0
type OCInterface struct { Interface string `protobuf:"bytes,1,opt,name=interface,proto3" json:"interface,omitempty"` Subinterface uint32 `protobuf:"varint,2,opt,name=subinterface,proto3" json:"subinterface,omitempty"` // contains filtered or unexported fields }
func (*OCInterface) Descriptor
deprecated
added in
v0.4.0
func (*OCInterface) Descriptor() ([]byte, []int)
Deprecated: Use OCInterface.ProtoReflect.Descriptor instead.
func (*OCInterface) GetInterface ¶ added in v0.4.0
func (x *OCInterface) GetInterface() string
func (*OCInterface) GetSubinterface ¶ added in v0.4.0
func (x *OCInterface) GetSubinterface() uint32
func (*OCInterface) ProtoMessage ¶ added in v0.4.0
func (*OCInterface) ProtoMessage()
func (*OCInterface) ProtoReflect ¶ added in v0.4.0
func (x *OCInterface) ProtoReflect() protoreflect.Message
func (*OCInterface) Reset ¶ added in v0.4.0
func (x *OCInterface) Reset()
func (*OCInterface) String ¶ added in v0.4.0
func (x *OCInterface) String() string
type PacketAction ¶ added in v0.4.0
type PacketAction int32
const ( PacketAction_PACKET_ACTION_UNSPECIFIED PacketAction = 0 PacketAction_PACKET_ACTION_DROP PacketAction = 1 PacketAction_PACKET_ACTION_FORWARD PacketAction = 2 )
func (PacketAction) Descriptor ¶ added in v0.4.0
func (PacketAction) Descriptor() protoreflect.EnumDescriptor
func (PacketAction) Enum ¶ added in v0.4.0
func (x PacketAction) Enum() *PacketAction
func (PacketAction) EnumDescriptor
deprecated
added in
v0.4.0
func (PacketAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use PacketAction.Descriptor instead.
func (PacketAction) Number ¶ added in v0.4.0
func (x PacketAction) Number() protoreflect.EnumNumber
func (PacketAction) String ¶ added in v0.4.0
func (x PacketAction) String() string
func (PacketAction) Type ¶ added in v0.4.0
func (PacketAction) Type() protoreflect.EnumType
type PortLocation ¶ added in v0.4.0
type PortLocation int32
const ( PortLocation_PORT_LOCATION_UNSPECIFIED PortLocation = 0 PortLocation_PORT_LOCATION_INTERNAL PortLocation = 1 PortLocation_PORT_LOCATION_EXTERNAL PortLocation = 2 PortLocation_PORT_LOCATION_CPU PortLocation = 3 )
func (PortLocation) Descriptor ¶ added in v0.4.0
func (PortLocation) Descriptor() protoreflect.EnumDescriptor
func (PortLocation) Enum ¶ added in v0.4.0
func (x PortLocation) Enum() *PortLocation
func (PortLocation) EnumDescriptor
deprecated
added in
v0.4.0
func (PortLocation) EnumDescriptor() ([]byte, []int)
Deprecated: Use PortLocation.Descriptor instead.
func (PortLocation) Number ¶ added in v0.4.0
func (x PortLocation) Number() protoreflect.EnumNumber
func (PortLocation) String ¶ added in v0.4.0
func (x PortLocation) String() string
func (PortLocation) Type ¶ added in v0.4.0
func (PortLocation) Type() protoreflect.EnumType
type Route ¶
type Route struct { Prefix *RoutePrefix `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` Action PacketAction `protobuf:"varint,2,opt,name=action,proto3,enum=lemming.dataplane.PacketAction" json:"action,omitempty"` // Types that are assignable to Hop: // // *Route_NextHops // *Route_Interface Hop isRoute_Hop `protobuf_oneof:"hop"` // contains filtered or unexported fields }
func (*Route) Descriptor
deprecated
func (*Route) GetAction ¶ added in v0.4.0
func (x *Route) GetAction() PacketAction
func (*Route) GetInterface ¶ added in v0.4.0
func (x *Route) GetInterface() *OCInterface
func (*Route) GetNextHops ¶
func (x *Route) GetNextHops() *NextHopList
func (*Route) GetPrefix ¶
func (x *Route) GetPrefix() *RoutePrefix
func (*Route) ProtoMessage ¶
func (*Route) ProtoMessage()
func (*Route) ProtoReflect ¶
func (x *Route) ProtoReflect() protoreflect.Message
type RoutePrefix ¶ added in v0.4.0
type RoutePrefix struct { Cidr string `protobuf:"bytes,1,opt,name=cidr,proto3" json:"cidr,omitempty"` NetworkInstance string `protobuf:"bytes,2,opt,name=network_instance,json=networkInstance,proto3" json:"network_instance,omitempty"` // contains filtered or unexported fields }
func (*RoutePrefix) Descriptor
deprecated
added in
v0.4.0
func (*RoutePrefix) Descriptor() ([]byte, []int)
Deprecated: Use RoutePrefix.ProtoReflect.Descriptor instead.
func (*RoutePrefix) GetCidr ¶ added in v0.4.0
func (x *RoutePrefix) GetCidr() string
func (*RoutePrefix) GetNetworkInstance ¶ added in v0.4.0
func (x *RoutePrefix) GetNetworkInstance() string
func (*RoutePrefix) ProtoMessage ¶ added in v0.4.0
func (*RoutePrefix) ProtoMessage()
func (*RoutePrefix) ProtoReflect ¶ added in v0.4.0
func (x *RoutePrefix) ProtoReflect() protoreflect.Message
func (*RoutePrefix) Reset ¶ added in v0.4.0
func (x *RoutePrefix) Reset()
func (*RoutePrefix) String ¶ added in v0.4.0
func (x *RoutePrefix) String() string
type Route_Interface ¶ added in v0.4.0
type Route_Interface struct {
Interface *OCInterface `protobuf:"bytes,4,opt,name=interface,proto3,oneof"`
}
type Route_NextHops ¶ added in v0.4.0
type Route_NextHops struct {
NextHops *NextHopList `protobuf:"bytes,3,opt,name=next_hops,json=nextHops,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.