Documentation ¶
Index ¶
- Variables
- type NextHop
- func (*NextHop) Descriptor() ([]byte, []int)deprecated
- func (x *NextHop) GetIp() string
- func (x *NextHop) GetPort() string
- func (x *NextHop) GetPreTransmitActions() []*forwarding.ActionDesc
- func (x *NextHop) GetWeight() uint64
- func (*NextHop) ProtoMessage()
- func (x *NextHop) ProtoReflect() protoreflect.Message
- func (x *NextHop) Reset()
- func (x *NextHop) String() string
- type Route
Constants ¶
This section is empty.
Variables ¶
View Source
var File_dataplane_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type NextHop ¶
type NextHop struct { Port string `protobuf:"bytes,1,opt,name=port,proto3" json:"port,omitempty"` Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` Weight uint64 `protobuf:"varint,3,opt,name=weight,proto3" json:"weight,omitempty"` // pre_transmit_actions are extra actions that are applied just prior to // transmitting the packet to the output port (at which time the output // actions are applied). PreTransmitActions []*forwarding.ActionDesc `protobuf:"bytes,4,rep,name=pre_transmit_actions,json=preTransmitActions,proto3" json:"pre_transmit_actions,omitempty"` // contains filtered or unexported fields }
func (*NextHop) Descriptor
deprecated
func (*NextHop) GetPreTransmitActions ¶
func (x *NextHop) GetPreTransmitActions() []*forwarding.ActionDesc
func (*NextHop) ProtoMessage ¶
func (*NextHop) ProtoMessage()
func (*NextHop) ProtoReflect ¶
func (x *NextHop) ProtoReflect() protoreflect.Message
type Route ¶
type Route struct { Vrf uint64 `protobuf:"varint,1,opt,name=vrf,proto3" json:"vrf,omitempty"` Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"` NextHops []*NextHop `protobuf:"bytes,3,rep,name=next_hops,json=nextHops,proto3" json:"next_hops,omitempty"` // contains filtered or unexported fields }
func (*Route) Descriptor
deprecated
func (*Route) GetNextHops ¶
func (*Route) ProtoMessage ¶
func (*Route) ProtoMessage()
func (*Route) ProtoReflect ¶
func (x *Route) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.