dataplane

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use NextHop.ProtoReflect.Descriptor instead.

func (*NextHop) GetIp

func (x *NextHop) GetIp() string

func (*NextHop) GetPort

func (x *NextHop) GetPort() string

func (*NextHop) GetPreTransmitActions

func (x *NextHop) GetPreTransmitActions() []*forwarding.ActionDesc

func (*NextHop) GetWeight

func (x *NextHop) GetWeight() uint64

func (*NextHop) ProtoMessage

func (*NextHop) ProtoMessage()

func (*NextHop) ProtoReflect

func (x *NextHop) ProtoReflect() protoreflect.Message

func (*NextHop) Reset

func (x *NextHop) Reset()

func (*NextHop) String

func (x *NextHop) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Route.ProtoReflect.Descriptor instead.

func (*Route) GetNextHops

func (x *Route) GetNextHops() []*NextHop

func (*Route) GetPrefix

func (x *Route) GetPrefix() string

func (*Route) GetVrf

func (x *Route) GetVrf() uint64

func (*Route) ProtoMessage

func (*Route) ProtoMessage()

func (*Route) ProtoReflect

func (x *Route) ProtoReflect() protoreflect.Message

func (*Route) Reset

func (x *Route) Reset()

func (*Route) String

func (x *Route) String() string

Jump to

Keyboard shortcuts

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