proto

package
v0.0.0-...-2275388 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BgpApi_Health_FullMethodName      = "/sart.v1.BgpApi/Health"
	BgpApi_GetBgpInfo_FullMethodName  = "/sart.v1.BgpApi/GetBgpInfo"
	BgpApi_GetNeighbor_FullMethodName = "/sart.v1.BgpApi/GetNeighbor"
	BgpApi_GetPath_FullMethodName     = "/sart.v1.BgpApi/GetPath"
	BgpApi_SetAS_FullMethodName       = "/sart.v1.BgpApi/SetAS"
	BgpApi_SetRouterId_FullMethodName = "/sart.v1.BgpApi/SetRouterId"
	BgpApi_AddPeer_FullMethodName     = "/sart.v1.BgpApi/AddPeer"
	BgpApi_DeletePeer_FullMethodName  = "/sart.v1.BgpApi/DeletePeer"
	BgpApi_AddPath_FullMethodName     = "/sart.v1.BgpApi/AddPath"
	BgpApi_DeletePath_FullMethodName  = "/sart.v1.BgpApi/DeletePath"
)
View Source
const (
	FibApi_GetRoute_FullMethodName             = "/sart.v1.FibApi/GetRoute"
	FibApi_ListRoutes_FullMethodName           = "/sart.v1.FibApi/ListRoutes"
	FibApi_AddRoute_FullMethodName             = "/sart.v1.FibApi/AddRoute"
	FibApi_DeleteRoute_FullMethodName          = "/sart.v1.FibApi/DeleteRoute"
	FibApi_AddMultiPathRoute_FullMethodName    = "/sart.v1.FibApi/AddMultiPathRoute"
	FibApi_DeleteMultiPathRoute_FullMethodName = "/sart.v1.FibApi/DeleteMultiPathRoute"
)

Variables

View Source
var (
	AddressFamily_Afi_name = map[int32]string{
		0: "AFI_UNKNOWN",
		1: "AFI_IP4",
		2: "AFI_IP6",
	}
	AddressFamily_Afi_value = map[string]int32{
		"AFI_UNKNOWN": 0,
		"AFI_IP4":     1,
		"AFI_IP6":     2,
	}
)

Enum value maps for AddressFamily_Afi.

View Source
var (
	AddressFamily_Safi_name = map[int32]string{
		0: "SAFI_UNKNOWN",
		1: "SAFI_UNICAST",
		2: "SAFI_MULTICAST",
	}
	AddressFamily_Safi_value = map[string]int32{
		"SAFI_UNKNOWN":   0,
		"SAFI_UNICAST":   1,
		"SAFI_MULTICAST": 2,
	}
)

Enum value maps for AddressFamily_Safi.

View Source
var (
	Peer_State_name = map[int32]string{
		0: "UNKNOWN",
		1: "IDLE",
		2: "CONNECT",
		3: "ACTIVE",
		4: "OPEN_SENT",
		5: "OPEN_CONFIRM",
		6: "ESTABLISHED",
	}
	Peer_State_value = map[string]int32{
		"UNKNOWN":      0,
		"IDLE":         1,
		"CONNECT":      2,
		"ACTIVE":       3,
		"OPEN_SENT":    4,
		"OPEN_CONFIRM": 5,
		"ESTABLISHED":  6,
	}
)

Enum value maps for Peer_State.

View Source
var (
	AsSegment_Type_name = map[int32]string{
		0: "UNKNOWN",
		1: "AS_SET",
		2: "AS_SEQUENCE",
	}
	AsSegment_Type_value = map[string]int32{
		"UNKNOWN":     0,
		"AS_SET":      1,
		"AS_SEQUENCE": 2,
	}
)

Enum value maps for AsSegment_Type.

View Source
var (
	IpVersion_name = map[int32]string{
		0:  "Unkown",
		2:  "V4",
		10: "V6",
	}
	IpVersion_value = map[string]int32{
		"Unkown": 0,
		"V4":     2,
		"V6":     10,
	}
)

Enum value maps for IpVersion.

View Source
var (
	AdministrativeDistance_name = map[int32]string{
		0:   "ADConnected",
		1:   "ADStatic",
		20:  "ADEBGP",
		110: "ADOSPF",
		120: "ADRIP",
		200: "ADIBGP",
	}
	AdministrativeDistance_value = map[string]int32{
		"ADConnected": 0,
		"ADStatic":    1,
		"ADEBGP":      20,
		"ADOSPF":      110,
		"ADRIP":       120,
		"ADIBGP":      200,
	}
)

Enum value maps for AdministrativeDistance.

View Source
var (
	Protocol_name = map[int32]string{
		0:   "Unspec",
		1:   "Redirect",
		2:   "Kernel",
		3:   "Boot",
		4:   "Static",
		186: "Bgp",
		187: "IsIs",
		188: "Ospf",
		189: "Rip",
	}
	Protocol_value = map[string]int32{
		"Unspec":   0,
		"Redirect": 1,
		"Kernel":   2,
		"Boot":     3,
		"Static":   4,
		"Bgp":      186,
		"IsIs":     187,
		"Ospf":     188,
		"Rip":      189,
	}
)

Enum value maps for Protocol.

View Source
var (
	Type_name = map[int32]string{
		0:  "UnspecType",
		1:  "Unicast",
		2:  "Local",
		3:  "Broadcast",
		4:  "Anycast",
		5:  "Multicast",
		6:  "Blackhole",
		7:  "Unreachable",
		8:  "Prohibit",
		9:  "Throw",
		10: "Nat",
	}
	Type_value = map[string]int32{
		"UnspecType":  0,
		"Unicast":     1,
		"Local":       2,
		"Broadcast":   3,
		"Anycast":     4,
		"Multicast":   5,
		"Blackhole":   6,
		"Unreachable": 7,
		"Prohibit":    8,
		"Throw":       9,
		"Nat":         10,
	}
)

Enum value maps for Type.

View Source
var (
	Scope_name = map[int32]string{
		0:   "Universe",
		200: "Site",
		253: "Link",
		254: "Host",
		255: "Nowhere",
	}
	Scope_value = map[string]int32{
		"Universe": 0,
		"Site":     200,
		"Link":     253,
		"Host":     254,
		"Nowhere":  255,
	}
)

Enum value maps for Scope.

View Source
var (
	NextHop_NextHopFlags_name = map[int32]string{
		0:  "EMPTY",
		1:  "DEAD",
		2:  "PERVASIVE",
		3:  "ONLINK",
		4:  "OFFLOAD",
		16: "LINKDOWN",
		32: "UNRESOLVED",
	}
	NextHop_NextHopFlags_value = map[string]int32{
		"EMPTY":      0,
		"DEAD":       1,
		"PERVASIVE":  2,
		"ONLINK":     3,
		"OFFLOAD":    4,
		"LINKDOWN":   16,
		"UNRESOLVED": 32,
	}
)

Enum value maps for NextHop_NextHopFlags.

View Source
var BgpApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sart.v1.BgpApi",
	HandlerType: (*BgpApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Health",
			Handler:    _BgpApi_Health_Handler,
		},
		{
			MethodName: "GetBgpInfo",
			Handler:    _BgpApi_GetBgpInfo_Handler,
		},
		{
			MethodName: "GetNeighbor",
			Handler:    _BgpApi_GetNeighbor_Handler,
		},
		{
			MethodName: "GetPath",
			Handler:    _BgpApi_GetPath_Handler,
		},
		{
			MethodName: "SetAS",
			Handler:    _BgpApi_SetAS_Handler,
		},
		{
			MethodName: "SetRouterId",
			Handler:    _BgpApi_SetRouterId_Handler,
		},
		{
			MethodName: "AddPeer",
			Handler:    _BgpApi_AddPeer_Handler,
		},
		{
			MethodName: "DeletePeer",
			Handler:    _BgpApi_DeletePeer_Handler,
		},
		{
			MethodName: "AddPath",
			Handler:    _BgpApi_AddPath_Handler,
		},
		{
			MethodName: "DeletePath",
			Handler:    _BgpApi_DeletePath_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "bgp.proto",
}

BgpApi_ServiceDesc is the grpc.ServiceDesc for BgpApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var FibApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sart.v1.FibApi",
	HandlerType: (*FibApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetRoute",
			Handler:    _FibApi_GetRoute_Handler,
		},
		{
			MethodName: "ListRoutes",
			Handler:    _FibApi_ListRoutes_Handler,
		},
		{
			MethodName: "AddRoute",
			Handler:    _FibApi_AddRoute_Handler,
		},
		{
			MethodName: "DeleteRoute",
			Handler:    _FibApi_DeleteRoute_Handler,
		},
		{
			MethodName: "AddMultiPathRoute",
			Handler:    _FibApi_AddMultiPathRoute_Handler,
		},
		{
			MethodName: "DeleteMultiPathRoute",
			Handler:    _FibApi_DeleteMultiPathRoute_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "fib.proto",
}

FibApi_ServiceDesc is the grpc.ServiceDesc for FibApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterBgpApiServer

func RegisterBgpApiServer(s grpc.ServiceRegistrar, srv BgpApiServer)

func RegisterFibApiServer

func RegisterFibApiServer(s grpc.ServiceRegistrar, srv FibApiServer)

Types

type AddMultiPathRouteRequest

type AddMultiPathRouteRequest struct {
	Table       uint32     `protobuf:"varint,1,opt,name=table,proto3" json:"table,omitempty"`
	Version     IpVersion  `protobuf:"varint,2,opt,name=version,proto3,enum=sart.v1.IpVersion" json:"version,omitempty"`
	Destination string     `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"`
	NextHops    []*NextHop `protobuf:"bytes,4,rep,name=next_hops,json=nextHops,proto3" json:"next_hops,omitempty"`
	// contains filtered or unexported fields
}

func (*AddMultiPathRouteRequest) Descriptor deprecated

func (*AddMultiPathRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddMultiPathRouteRequest.ProtoReflect.Descriptor instead.

func (*AddMultiPathRouteRequest) GetDestination

func (x *AddMultiPathRouteRequest) GetDestination() string

func (*AddMultiPathRouteRequest) GetNextHops

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

func (*AddMultiPathRouteRequest) GetTable

func (x *AddMultiPathRouteRequest) GetTable() uint32

func (*AddMultiPathRouteRequest) GetVersion

func (x *AddMultiPathRouteRequest) GetVersion() IpVersion

func (*AddMultiPathRouteRequest) ProtoMessage

func (*AddMultiPathRouteRequest) ProtoMessage()

func (*AddMultiPathRouteRequest) ProtoReflect

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

func (*AddMultiPathRouteRequest) Reset

func (x *AddMultiPathRouteRequest) Reset()

func (*AddMultiPathRouteRequest) String

func (x *AddMultiPathRouteRequest) String() string

type AddPathRequest

type AddPathRequest struct {
	Family     *AddressFamily `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"`
	Prefixes   []string       `protobuf:"bytes,2,rep,name=prefixes,proto3" json:"prefixes,omitempty"`
	Attributes []*any1.Any    `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*AddPathRequest) Descriptor deprecated

func (*AddPathRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddPathRequest.ProtoReflect.Descriptor instead.

func (*AddPathRequest) GetAttributes

func (x *AddPathRequest) GetAttributes() []*any1.Any

func (*AddPathRequest) GetFamily

func (x *AddPathRequest) GetFamily() *AddressFamily

func (*AddPathRequest) GetPrefixes

func (x *AddPathRequest) GetPrefixes() []string

func (*AddPathRequest) ProtoMessage

func (*AddPathRequest) ProtoMessage()

func (*AddPathRequest) ProtoReflect

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

func (*AddPathRequest) Reset

func (x *AddPathRequest) Reset()

func (*AddPathRequest) String

func (x *AddPathRequest) String() string

type AddPathResponse

type AddPathResponse struct {
	// contains filtered or unexported fields
}

func (*AddPathResponse) Descriptor deprecated

func (*AddPathResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddPathResponse.ProtoReflect.Descriptor instead.

func (*AddPathResponse) ProtoMessage

func (*AddPathResponse) ProtoMessage()

func (*AddPathResponse) ProtoReflect

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

func (*AddPathResponse) Reset

func (x *AddPathResponse) Reset()

func (*AddPathResponse) String

func (x *AddPathResponse) String() string

type AddPeerRequest

type AddPeerRequest struct {
	Peer *Peer `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"`
	// contains filtered or unexported fields
}

func (*AddPeerRequest) Descriptor deprecated

func (*AddPeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddPeerRequest.ProtoReflect.Descriptor instead.

func (*AddPeerRequest) GetPeer

func (x *AddPeerRequest) GetPeer() *Peer

func (*AddPeerRequest) ProtoMessage

func (*AddPeerRequest) ProtoMessage()

func (*AddPeerRequest) ProtoReflect

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

func (*AddPeerRequest) Reset

func (x *AddPeerRequest) Reset()

func (*AddPeerRequest) String

func (x *AddPeerRequest) String() string

type AddRouteRequest

type AddRouteRequest struct {
	Table   uint32    `protobuf:"varint,1,opt,name=table,proto3" json:"table,omitempty"`
	Version IpVersion `protobuf:"varint,2,opt,name=version,proto3,enum=sart.v1.IpVersion" json:"version,omitempty"`
	Route   *Route    `protobuf:"bytes,3,opt,name=route,proto3" json:"route,omitempty"`
	Replace bool      `protobuf:"varint,4,opt,name=replace,proto3" json:"replace,omitempty"`
	// contains filtered or unexported fields
}

func (*AddRouteRequest) Descriptor deprecated

func (*AddRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddRouteRequest.ProtoReflect.Descriptor instead.

func (*AddRouteRequest) GetReplace

func (x *AddRouteRequest) GetReplace() bool

func (*AddRouteRequest) GetRoute

func (x *AddRouteRequest) GetRoute() *Route

func (*AddRouteRequest) GetTable

func (x *AddRouteRequest) GetTable() uint32

func (*AddRouteRequest) GetVersion

func (x *AddRouteRequest) GetVersion() IpVersion

func (*AddRouteRequest) ProtoMessage

func (*AddRouteRequest) ProtoMessage()

func (*AddRouteRequest) ProtoReflect

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

func (*AddRouteRequest) Reset

func (x *AddRouteRequest) Reset()

func (*AddRouteRequest) String

func (x *AddRouteRequest) String() string

type AddressFamily

type AddressFamily struct {
	Afi  AddressFamily_Afi  `protobuf:"varint,1,opt,name=afi,proto3,enum=sart.v1.AddressFamily_Afi" json:"afi,omitempty"`
	Safi AddressFamily_Safi `protobuf:"varint,2,opt,name=safi,proto3,enum=sart.v1.AddressFamily_Safi" json:"safi,omitempty"`
	// contains filtered or unexported fields
}

func (*AddressFamily) Descriptor deprecated

func (*AddressFamily) Descriptor() ([]byte, []int)

Deprecated: Use AddressFamily.ProtoReflect.Descriptor instead.

func (*AddressFamily) GetAfi

func (x *AddressFamily) GetAfi() AddressFamily_Afi

func (*AddressFamily) GetSafi

func (x *AddressFamily) GetSafi() AddressFamily_Safi

func (*AddressFamily) ProtoMessage

func (*AddressFamily) ProtoMessage()

func (*AddressFamily) ProtoReflect

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

func (*AddressFamily) Reset

func (x *AddressFamily) Reset()

func (*AddressFamily) String

func (x *AddressFamily) String() string

type AddressFamily_Afi

type AddressFamily_Afi int32
const (
	AddressFamily_AFI_UNKNOWN AddressFamily_Afi = 0
	AddressFamily_AFI_IP4     AddressFamily_Afi = 1
	AddressFamily_AFI_IP6     AddressFamily_Afi = 2
)

func (AddressFamily_Afi) Descriptor

func (AddressFamily_Afi) Enum

func (AddressFamily_Afi) EnumDescriptor deprecated

func (AddressFamily_Afi) EnumDescriptor() ([]byte, []int)

Deprecated: Use AddressFamily_Afi.Descriptor instead.

func (AddressFamily_Afi) Number

func (AddressFamily_Afi) String

func (x AddressFamily_Afi) String() string

func (AddressFamily_Afi) Type

type AddressFamily_Safi

type AddressFamily_Safi int32
const (
	AddressFamily_SAFI_UNKNOWN   AddressFamily_Safi = 0
	AddressFamily_SAFI_UNICAST   AddressFamily_Safi = 1
	AddressFamily_SAFI_MULTICAST AddressFamily_Safi = 2
)

func (AddressFamily_Safi) Descriptor

func (AddressFamily_Safi) Enum

func (AddressFamily_Safi) EnumDescriptor deprecated

func (AddressFamily_Safi) EnumDescriptor() ([]byte, []int)

Deprecated: Use AddressFamily_Safi.Descriptor instead.

func (AddressFamily_Safi) Number

func (AddressFamily_Safi) String

func (x AddressFamily_Safi) String() string

func (AddressFamily_Safi) Type

type AdministrativeDistance

type AdministrativeDistance int32
const (
	AdministrativeDistance_ADConnected AdministrativeDistance = 0
	AdministrativeDistance_ADStatic    AdministrativeDistance = 1
	AdministrativeDistance_ADEBGP      AdministrativeDistance = 20
	AdministrativeDistance_ADOSPF      AdministrativeDistance = 110
	AdministrativeDistance_ADRIP       AdministrativeDistance = 120
	AdministrativeDistance_ADIBGP      AdministrativeDistance = 200
)

func (AdministrativeDistance) Descriptor

func (AdministrativeDistance) Enum

func (AdministrativeDistance) EnumDescriptor deprecated

func (AdministrativeDistance) EnumDescriptor() ([]byte, []int)

Deprecated: Use AdministrativeDistance.Descriptor instead.

func (AdministrativeDistance) Number

func (AdministrativeDistance) String

func (x AdministrativeDistance) String() string

func (AdministrativeDistance) Type

type AggregatorAttribute

type AggregatorAttribute struct {
	Asn     uint32 `protobuf:"varint,1,opt,name=asn,proto3" json:"asn,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*AggregatorAttribute) Descriptor deprecated

func (*AggregatorAttribute) Descriptor() ([]byte, []int)

Deprecated: Use AggregatorAttribute.ProtoReflect.Descriptor instead.

func (*AggregatorAttribute) GetAddress

func (x *AggregatorAttribute) GetAddress() string

func (*AggregatorAttribute) GetAsn

func (x *AggregatorAttribute) GetAsn() uint32

func (*AggregatorAttribute) ProtoMessage

func (*AggregatorAttribute) ProtoMessage()

func (*AggregatorAttribute) ProtoReflect

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

func (*AggregatorAttribute) Reset

func (x *AggregatorAttribute) Reset()

func (*AggregatorAttribute) String

func (x *AggregatorAttribute) String() string

type AsPathAttribute

type AsPathAttribute struct {
	Segments []*AsSegment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"`
	// contains filtered or unexported fields
}

func (*AsPathAttribute) Descriptor deprecated

func (*AsPathAttribute) Descriptor() ([]byte, []int)

Deprecated: Use AsPathAttribute.ProtoReflect.Descriptor instead.

func (*AsPathAttribute) GetSegments

func (x *AsPathAttribute) GetSegments() []*AsSegment

func (*AsPathAttribute) ProtoMessage

func (*AsPathAttribute) ProtoMessage()

func (*AsPathAttribute) ProtoReflect

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

func (*AsPathAttribute) Reset

func (x *AsPathAttribute) Reset()

func (*AsPathAttribute) String

func (x *AsPathAttribute) String() string

type AsSegment

type AsSegment struct {
	Type AsSegment_Type `protobuf:"varint,1,opt,name=type,proto3,enum=sart.v1.AsSegment_Type" json:"type,omitempty"`
	Elm  []uint32       `protobuf:"varint,2,rep,packed,name=elm,proto3" json:"elm,omitempty"`
	// contains filtered or unexported fields
}

func (*AsSegment) Descriptor deprecated

func (*AsSegment) Descriptor() ([]byte, []int)

Deprecated: Use AsSegment.ProtoReflect.Descriptor instead.

func (*AsSegment) GetElm

func (x *AsSegment) GetElm() []uint32

func (*AsSegment) GetType

func (x *AsSegment) GetType() AsSegment_Type

func (*AsSegment) ProtoMessage

func (*AsSegment) ProtoMessage()

func (*AsSegment) ProtoReflect

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

func (*AsSegment) Reset

func (x *AsSegment) Reset()

func (*AsSegment) String

func (x *AsSegment) String() string

type AsSegment_Type

type AsSegment_Type int32
const (
	AsSegment_UNKNOWN     AsSegment_Type = 0
	AsSegment_AS_SET      AsSegment_Type = 1
	AsSegment_AS_SEQUENCE AsSegment_Type = 2
)

func (AsSegment_Type) Descriptor

func (AsSegment_Type) Enum

func (x AsSegment_Type) Enum() *AsSegment_Type

func (AsSegment_Type) EnumDescriptor deprecated

func (AsSegment_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use AsSegment_Type.Descriptor instead.

func (AsSegment_Type) Number

func (AsSegment_Type) String

func (x AsSegment_Type) String() string

func (AsSegment_Type) Type

type AtomicAggregateAttribute

type AtomicAggregateAttribute struct {
	// contains filtered or unexported fields
}

func (*AtomicAggregateAttribute) Descriptor deprecated

func (*AtomicAggregateAttribute) Descriptor() ([]byte, []int)

Deprecated: Use AtomicAggregateAttribute.ProtoReflect.Descriptor instead.

func (*AtomicAggregateAttribute) ProtoMessage

func (*AtomicAggregateAttribute) ProtoMessage()

func (*AtomicAggregateAttribute) ProtoReflect

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

func (*AtomicAggregateAttribute) Reset

func (x *AtomicAggregateAttribute) Reset()

func (*AtomicAggregateAttribute) String

func (x *AtomicAggregateAttribute) String() string

type BgpApiClient

type BgpApiClient interface {
	Health(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	GetBgpInfo(ctx context.Context, in *GetBgpInfoRequest, opts ...grpc.CallOption) (*GetBgpInfoResponse, error)
	GetNeighbor(ctx context.Context, in *GetNeighborRequest, opts ...grpc.CallOption) (*GetNeighborResponse, error)
	// rpc ListNeighbor(ListNeighborRequest) returns (ListNeighborResponse);
	GetPath(ctx context.Context, in *GetPathRequest, opts ...grpc.CallOption) (*GetPathResponse, error)
	SetAS(ctx context.Context, in *SetASRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	SetRouterId(ctx context.Context, in *SetRouterIdRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	AddPeer(ctx context.Context, in *AddPeerRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	DeletePeer(ctx context.Context, in *DeletePeerRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	AddPath(ctx context.Context, in *AddPathRequest, opts ...grpc.CallOption) (*AddPathResponse, error)
	DeletePath(ctx context.Context, in *DeletePathRequest, opts ...grpc.CallOption) (*DeletePathResponse, error)
}

BgpApiClient is the client API for BgpApi service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewBgpApiClient

func NewBgpApiClient(cc grpc.ClientConnInterface) BgpApiClient

type BgpApiServer

type BgpApiServer interface {
	Health(context.Context, *HealthRequest) (*empty.Empty, error)
	GetBgpInfo(context.Context, *GetBgpInfoRequest) (*GetBgpInfoResponse, error)
	GetNeighbor(context.Context, *GetNeighborRequest) (*GetNeighborResponse, error)
	// rpc ListNeighbor(ListNeighborRequest) returns (ListNeighborResponse);
	GetPath(context.Context, *GetPathRequest) (*GetPathResponse, error)
	SetAS(context.Context, *SetASRequest) (*empty.Empty, error)
	SetRouterId(context.Context, *SetRouterIdRequest) (*empty.Empty, error)
	AddPeer(context.Context, *AddPeerRequest) (*empty.Empty, error)
	DeletePeer(context.Context, *DeletePeerRequest) (*empty.Empty, error)
	AddPath(context.Context, *AddPathRequest) (*AddPathResponse, error)
	DeletePath(context.Context, *DeletePathRequest) (*DeletePathResponse, error)
	// contains filtered or unexported methods
}

BgpApiServer is the server API for BgpApi service. All implementations must embed UnimplementedBgpApiServer for forward compatibility

type BgpInfo

type BgpInfo struct {
	Asn      uint32 `protobuf:"varint,1,opt,name=asn,proto3" json:"asn,omitempty"`
	RouterId string `protobuf:"bytes,2,opt,name=router_id,json=routerId,proto3" json:"router_id,omitempty"`
	Port     uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*BgpInfo) Descriptor deprecated

func (*BgpInfo) Descriptor() ([]byte, []int)

Deprecated: Use BgpInfo.ProtoReflect.Descriptor instead.

func (*BgpInfo) GetAsn

func (x *BgpInfo) GetAsn() uint32

func (*BgpInfo) GetPort

func (x *BgpInfo) GetPort() uint32

func (*BgpInfo) GetRouterId

func (x *BgpInfo) GetRouterId() string

func (*BgpInfo) ProtoMessage

func (*BgpInfo) ProtoMessage()

func (*BgpInfo) ProtoReflect

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

func (*BgpInfo) Reset

func (x *BgpInfo) Reset()

func (*BgpInfo) String

func (x *BgpInfo) String() string

type DeleteMultiPathRouteRequest

type DeleteMultiPathRouteRequest struct {
	Table       uint32    `protobuf:"varint,1,opt,name=table,proto3" json:"table,omitempty"`
	Version     IpVersion `protobuf:"varint,2,opt,name=version,proto3,enum=sart.v1.IpVersion" json:"version,omitempty"`
	Destination string    `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"`
	Gateways    []string  `protobuf:"bytes,4,rep,name=gateways,proto3" json:"gateways,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteMultiPathRouteRequest) Descriptor deprecated

func (*DeleteMultiPathRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteMultiPathRouteRequest.ProtoReflect.Descriptor instead.

func (*DeleteMultiPathRouteRequest) GetDestination

func (x *DeleteMultiPathRouteRequest) GetDestination() string

func (*DeleteMultiPathRouteRequest) GetGateways

func (x *DeleteMultiPathRouteRequest) GetGateways() []string

func (*DeleteMultiPathRouteRequest) GetTable

func (x *DeleteMultiPathRouteRequest) GetTable() uint32

func (*DeleteMultiPathRouteRequest) GetVersion

func (x *DeleteMultiPathRouteRequest) GetVersion() IpVersion

func (*DeleteMultiPathRouteRequest) ProtoMessage

func (*DeleteMultiPathRouteRequest) ProtoMessage()

func (*DeleteMultiPathRouteRequest) ProtoReflect

func (*DeleteMultiPathRouteRequest) Reset

func (x *DeleteMultiPathRouteRequest) Reset()

func (*DeleteMultiPathRouteRequest) String

func (x *DeleteMultiPathRouteRequest) String() string

type DeletePathRequest

type DeletePathRequest struct {
	Family   *AddressFamily `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"`
	Prefixes []string       `protobuf:"bytes,2,rep,name=prefixes,proto3" json:"prefixes,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePathRequest) Descriptor deprecated

func (*DeletePathRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeletePathRequest.ProtoReflect.Descriptor instead.

func (*DeletePathRequest) GetFamily

func (x *DeletePathRequest) GetFamily() *AddressFamily

func (*DeletePathRequest) GetPrefixes

func (x *DeletePathRequest) GetPrefixes() []string

func (*DeletePathRequest) ProtoMessage

func (*DeletePathRequest) ProtoMessage()

func (*DeletePathRequest) ProtoReflect

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

func (*DeletePathRequest) Reset

func (x *DeletePathRequest) Reset()

func (*DeletePathRequest) String

func (x *DeletePathRequest) String() string

type DeletePathResponse

type DeletePathResponse struct {
	// contains filtered or unexported fields
}

func (*DeletePathResponse) Descriptor deprecated

func (*DeletePathResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeletePathResponse.ProtoReflect.Descriptor instead.

func (*DeletePathResponse) ProtoMessage

func (*DeletePathResponse) ProtoMessage()

func (*DeletePathResponse) ProtoReflect

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

func (*DeletePathResponse) Reset

func (x *DeletePathResponse) Reset()

func (*DeletePathResponse) String

func (x *DeletePathResponse) String() string

type DeletePeerRequest

type DeletePeerRequest struct {
	Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePeerRequest) Descriptor deprecated

func (*DeletePeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeletePeerRequest.ProtoReflect.Descriptor instead.

func (*DeletePeerRequest) GetAddr

func (x *DeletePeerRequest) GetAddr() string

func (*DeletePeerRequest) ProtoMessage

func (*DeletePeerRequest) ProtoMessage()

func (*DeletePeerRequest) ProtoReflect

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

func (*DeletePeerRequest) Reset

func (x *DeletePeerRequest) Reset()

func (*DeletePeerRequest) String

func (x *DeletePeerRequest) String() string

type DeleteRouteRequest

type DeleteRouteRequest struct {
	Table       uint32    `protobuf:"varint,1,opt,name=table,proto3" json:"table,omitempty"`
	Version     IpVersion `protobuf:"varint,2,opt,name=version,proto3,enum=sart.v1.IpVersion" json:"version,omitempty"`
	Destination string    `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRouteRequest) Descriptor deprecated

func (*DeleteRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRouteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRouteRequest) GetDestination

func (x *DeleteRouteRequest) GetDestination() string

func (*DeleteRouteRequest) GetTable

func (x *DeleteRouteRequest) GetTable() uint32

func (*DeleteRouteRequest) GetVersion

func (x *DeleteRouteRequest) GetVersion() IpVersion

func (*DeleteRouteRequest) ProtoMessage

func (*DeleteRouteRequest) ProtoMessage()

func (*DeleteRouteRequest) ProtoReflect

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

func (*DeleteRouteRequest) Reset

func (x *DeleteRouteRequest) Reset()

func (*DeleteRouteRequest) String

func (x *DeleteRouteRequest) String() string

type EnhancedRouteRefreshCapability

type EnhancedRouteRefreshCapability struct {
	// contains filtered or unexported fields
}

func (*EnhancedRouteRefreshCapability) Descriptor deprecated

func (*EnhancedRouteRefreshCapability) Descriptor() ([]byte, []int)

Deprecated: Use EnhancedRouteRefreshCapability.ProtoReflect.Descriptor instead.

func (*EnhancedRouteRefreshCapability) ProtoMessage

func (*EnhancedRouteRefreshCapability) ProtoMessage()

func (*EnhancedRouteRefreshCapability) ProtoReflect

func (*EnhancedRouteRefreshCapability) Reset

func (x *EnhancedRouteRefreshCapability) Reset()

func (*EnhancedRouteRefreshCapability) String

type FibApiClient

type FibApiClient interface {
	GetRoute(ctx context.Context, in *GetRouteRequest, opts ...grpc.CallOption) (*GetRouteResponse, error)
	ListRoutes(ctx context.Context, in *ListRoutesRequest, opts ...grpc.CallOption) (*ListRoutesResponse, error)
	AddRoute(ctx context.Context, in *AddRouteRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	DeleteRoute(ctx context.Context, in *DeleteRouteRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	AddMultiPathRoute(ctx context.Context, in *AddMultiPathRouteRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	DeleteMultiPathRoute(ctx context.Context, in *DeleteMultiPathRouteRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

FibApiClient is the client API for FibApi service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewFibApiClient

func NewFibApiClient(cc grpc.ClientConnInterface) FibApiClient

type FibApiServer

type FibApiServer interface {
	GetRoute(context.Context, *GetRouteRequest) (*GetRouteResponse, error)
	ListRoutes(context.Context, *ListRoutesRequest) (*ListRoutesResponse, error)
	AddRoute(context.Context, *AddRouteRequest) (*empty.Empty, error)
	DeleteRoute(context.Context, *DeleteRouteRequest) (*empty.Empty, error)
	AddMultiPathRoute(context.Context, *AddMultiPathRouteRequest) (*empty.Empty, error)
	DeleteMultiPathRoute(context.Context, *DeleteMultiPathRouteRequest) (*empty.Empty, error)
	// contains filtered or unexported methods
}

FibApiServer is the server API for FibApi service. All implementations must embed UnimplementedFibApiServer for forward compatibility

type FourOctedASNCapability

type FourOctedASNCapability struct {
	Asn uint32 `protobuf:"varint,1,opt,name=asn,proto3" json:"asn,omitempty"`
	// contains filtered or unexported fields
}

func (*FourOctedASNCapability) Descriptor deprecated

func (*FourOctedASNCapability) Descriptor() ([]byte, []int)

Deprecated: Use FourOctedASNCapability.ProtoReflect.Descriptor instead.

func (*FourOctedASNCapability) GetAsn

func (x *FourOctedASNCapability) GetAsn() uint32

func (*FourOctedASNCapability) ProtoMessage

func (*FourOctedASNCapability) ProtoMessage()

func (*FourOctedASNCapability) ProtoReflect

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

func (*FourOctedASNCapability) Reset

func (x *FourOctedASNCapability) Reset()

func (*FourOctedASNCapability) String

func (x *FourOctedASNCapability) String() string

type GetBgpInfoRequest

type GetBgpInfoRequest struct {
	// contains filtered or unexported fields
}

func (*GetBgpInfoRequest) Descriptor deprecated

func (*GetBgpInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBgpInfoRequest.ProtoReflect.Descriptor instead.

func (*GetBgpInfoRequest) ProtoMessage

func (*GetBgpInfoRequest) ProtoMessage()

func (*GetBgpInfoRequest) ProtoReflect

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

func (*GetBgpInfoRequest) Reset

func (x *GetBgpInfoRequest) Reset()

func (*GetBgpInfoRequest) String

func (x *GetBgpInfoRequest) String() string

type GetBgpInfoResponse

type GetBgpInfoResponse struct {
	Info *BgpInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBgpInfoResponse) Descriptor deprecated

func (*GetBgpInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetBgpInfoResponse.ProtoReflect.Descriptor instead.

func (*GetBgpInfoResponse) GetInfo

func (x *GetBgpInfoResponse) GetInfo() *BgpInfo

func (*GetBgpInfoResponse) ProtoMessage

func (*GetBgpInfoResponse) ProtoMessage()

func (*GetBgpInfoResponse) ProtoReflect

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

func (*GetBgpInfoResponse) Reset

func (x *GetBgpInfoResponse) Reset()

func (*GetBgpInfoResponse) String

func (x *GetBgpInfoResponse) String() string

type GetNeighborRequest

type GetNeighborRequest struct {
	Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNeighborRequest) Descriptor deprecated

func (*GetNeighborRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetNeighborRequest.ProtoReflect.Descriptor instead.

func (*GetNeighborRequest) GetAddr

func (x *GetNeighborRequest) GetAddr() string

func (*GetNeighborRequest) ProtoMessage

func (*GetNeighborRequest) ProtoMessage()

func (*GetNeighborRequest) ProtoReflect

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

func (*GetNeighborRequest) Reset

func (x *GetNeighborRequest) Reset()

func (*GetNeighborRequest) String

func (x *GetNeighborRequest) String() string

type GetNeighborResponse

type GetNeighborResponse struct {
	Peer *Peer `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNeighborResponse) Descriptor deprecated

func (*GetNeighborResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetNeighborResponse.ProtoReflect.Descriptor instead.

func (*GetNeighborResponse) GetPeer

func (x *GetNeighborResponse) GetPeer() *Peer

func (*GetNeighborResponse) ProtoMessage

func (*GetNeighborResponse) ProtoMessage()

func (*GetNeighborResponse) ProtoReflect

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

func (*GetNeighborResponse) Reset

func (x *GetNeighborResponse) Reset()

func (*GetNeighborResponse) String

func (x *GetNeighborResponse) String() string

type GetPathRequest

type GetPathRequest struct {
	Family *AddressFamily `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPathRequest) Descriptor deprecated

func (*GetPathRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPathRequest.ProtoReflect.Descriptor instead.

func (*GetPathRequest) GetFamily

func (x *GetPathRequest) GetFamily() *AddressFamily

func (*GetPathRequest) ProtoMessage

func (*GetPathRequest) ProtoMessage()

func (*GetPathRequest) ProtoReflect

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

func (*GetPathRequest) Reset

func (x *GetPathRequest) Reset()

func (*GetPathRequest) String

func (x *GetPathRequest) String() string

type GetPathResponse

type GetPathResponse struct {
	Paths []*Path `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPathResponse) Descriptor deprecated

func (*GetPathResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetPathResponse.ProtoReflect.Descriptor instead.

func (*GetPathResponse) GetPaths

func (x *GetPathResponse) GetPaths() []*Path

func (*GetPathResponse) ProtoMessage

func (*GetPathResponse) ProtoMessage()

func (*GetPathResponse) ProtoReflect

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

func (*GetPathResponse) Reset

func (x *GetPathResponse) Reset()

func (*GetPathResponse) String

func (x *GetPathResponse) String() string

type GetRouteRequest

type GetRouteRequest struct {
	Table       uint32    `protobuf:"varint,1,opt,name=table,proto3" json:"table,omitempty"`
	Version     IpVersion `protobuf:"varint,2,opt,name=version,proto3,enum=sart.v1.IpVersion" json:"version,omitempty"`
	Destination string    `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRouteRequest) Descriptor deprecated

func (*GetRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRouteRequest.ProtoReflect.Descriptor instead.

func (*GetRouteRequest) GetDestination

func (x *GetRouteRequest) GetDestination() string

func (*GetRouteRequest) GetTable

func (x *GetRouteRequest) GetTable() uint32

func (*GetRouteRequest) GetVersion

func (x *GetRouteRequest) GetVersion() IpVersion

func (*GetRouteRequest) ProtoMessage

func (*GetRouteRequest) ProtoMessage()

func (*GetRouteRequest) ProtoReflect

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

func (*GetRouteRequest) Reset

func (x *GetRouteRequest) Reset()

func (*GetRouteRequest) String

func (x *GetRouteRequest) String() string

type GetRouteResponse

type GetRouteResponse struct {
	Route *Route `protobuf:"bytes,1,opt,name=route,proto3" json:"route,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRouteResponse) Descriptor deprecated

func (*GetRouteResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetRouteResponse.ProtoReflect.Descriptor instead.

func (*GetRouteResponse) GetRoute

func (x *GetRouteResponse) GetRoute() *Route

func (*GetRouteResponse) ProtoMessage

func (*GetRouteResponse) ProtoMessage()

func (*GetRouteResponse) ProtoReflect

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

func (*GetRouteResponse) Reset

func (x *GetRouteResponse) Reset()

func (*GetRouteResponse) String

func (x *GetRouteResponse) String() string

type GracefulRestartCapability

type GracefulRestartCapability struct {
	Flags  uint32                            `protobuf:"varint,1,opt,name=flags,proto3" json:"flags,omitempty"`
	Time   uint32                            `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"`
	Tuples []*GracefulRestartCapabilityTuple `protobuf:"bytes,3,rep,name=tuples,proto3" json:"tuples,omitempty"`
	// contains filtered or unexported fields
}

func (*GracefulRestartCapability) Descriptor deprecated

func (*GracefulRestartCapability) Descriptor() ([]byte, []int)

Deprecated: Use GracefulRestartCapability.ProtoReflect.Descriptor instead.

func (*GracefulRestartCapability) GetFlags

func (x *GracefulRestartCapability) GetFlags() uint32

func (*GracefulRestartCapability) GetTime

func (x *GracefulRestartCapability) GetTime() uint32

func (*GracefulRestartCapability) GetTuples

func (*GracefulRestartCapability) ProtoMessage

func (*GracefulRestartCapability) ProtoMessage()

func (*GracefulRestartCapability) ProtoReflect

func (*GracefulRestartCapability) Reset

func (x *GracefulRestartCapability) Reset()

func (*GracefulRestartCapability) String

func (x *GracefulRestartCapability) String() string

type GracefulRestartCapabilityTuple

type GracefulRestartCapabilityTuple struct {
	Family *AddressFamily `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"`
	Flags  uint32         `protobuf:"varint,2,opt,name=flags,proto3" json:"flags,omitempty"`
	// contains filtered or unexported fields
}

func (*GracefulRestartCapabilityTuple) Descriptor deprecated

func (*GracefulRestartCapabilityTuple) Descriptor() ([]byte, []int)

Deprecated: Use GracefulRestartCapabilityTuple.ProtoReflect.Descriptor instead.

func (*GracefulRestartCapabilityTuple) GetFamily

func (*GracefulRestartCapabilityTuple) GetFlags

func (x *GracefulRestartCapabilityTuple) GetFlags() uint32

func (*GracefulRestartCapabilityTuple) ProtoMessage

func (*GracefulRestartCapabilityTuple) ProtoMessage()

func (*GracefulRestartCapabilityTuple) ProtoReflect

func (*GracefulRestartCapabilityTuple) Reset

func (x *GracefulRestartCapabilityTuple) Reset()

func (*GracefulRestartCapabilityTuple) String

type HealthRequest

type HealthRequest struct {
	// contains filtered or unexported fields
}

func (*HealthRequest) Descriptor deprecated

func (*HealthRequest) Descriptor() ([]byte, []int)

Deprecated: Use HealthRequest.ProtoReflect.Descriptor instead.

func (*HealthRequest) ProtoMessage

func (*HealthRequest) ProtoMessage()

func (*HealthRequest) ProtoReflect

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

func (*HealthRequest) Reset

func (x *HealthRequest) Reset()

func (*HealthRequest) String

func (x *HealthRequest) String() string

type IpVersion

type IpVersion int32

message

const (
	IpVersion_Unkown IpVersion = 0
	IpVersion_V4     IpVersion = 2
	IpVersion_V6     IpVersion = 10
)

func (IpVersion) Descriptor

func (IpVersion) Descriptor() protoreflect.EnumDescriptor

func (IpVersion) Enum

func (x IpVersion) Enum() *IpVersion

func (IpVersion) EnumDescriptor deprecated

func (IpVersion) EnumDescriptor() ([]byte, []int)

Deprecated: Use IpVersion.Descriptor instead.

func (IpVersion) Number

func (x IpVersion) Number() protoreflect.EnumNumber

func (IpVersion) String

func (x IpVersion) String() string

func (IpVersion) Type

type ListRoutesRequest

type ListRoutesRequest struct {
	Table   uint32    `protobuf:"varint,1,opt,name=table,proto3" json:"table,omitempty"`
	Version IpVersion `protobuf:"varint,2,opt,name=version,proto3,enum=sart.v1.IpVersion" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRoutesRequest) Descriptor deprecated

func (*ListRoutesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRoutesRequest.ProtoReflect.Descriptor instead.

func (*ListRoutesRequest) GetTable

func (x *ListRoutesRequest) GetTable() uint32

func (*ListRoutesRequest) GetVersion

func (x *ListRoutesRequest) GetVersion() IpVersion

func (*ListRoutesRequest) ProtoMessage

func (*ListRoutesRequest) ProtoMessage()

func (*ListRoutesRequest) ProtoReflect

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

func (*ListRoutesRequest) Reset

func (x *ListRoutesRequest) Reset()

func (*ListRoutesRequest) String

func (x *ListRoutesRequest) String() string

type ListRoutesResponse

type ListRoutesResponse struct {
	Routes []*Route `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRoutesResponse) Descriptor deprecated

func (*ListRoutesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListRoutesResponse.ProtoReflect.Descriptor instead.

func (*ListRoutesResponse) GetRoutes

func (x *ListRoutesResponse) GetRoutes() []*Route

func (*ListRoutesResponse) ProtoMessage

func (*ListRoutesResponse) ProtoMessage()

func (*ListRoutesResponse) ProtoReflect

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

func (*ListRoutesResponse) Reset

func (x *ListRoutesResponse) Reset()

func (*ListRoutesResponse) String

func (x *ListRoutesResponse) String() string

type LocalPrefAttribute

type LocalPrefAttribute struct {
	Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*LocalPrefAttribute) Descriptor deprecated

func (*LocalPrefAttribute) Descriptor() ([]byte, []int)

Deprecated: Use LocalPrefAttribute.ProtoReflect.Descriptor instead.

func (*LocalPrefAttribute) GetValue

func (x *LocalPrefAttribute) GetValue() uint32

func (*LocalPrefAttribute) ProtoMessage

func (*LocalPrefAttribute) ProtoMessage()

func (*LocalPrefAttribute) ProtoReflect

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

func (*LocalPrefAttribute) Reset

func (x *LocalPrefAttribute) Reset()

func (*LocalPrefAttribute) String

func (x *LocalPrefAttribute) String() string

type MessageCounter

type MessageCounter struct {
	Open         uint32 `protobuf:"varint,1,opt,name=open,proto3" json:"open,omitempty"`
	Update       uint32 `protobuf:"varint,2,opt,name=update,proto3" json:"update,omitempty"`
	Keepalive    uint32 `protobuf:"varint,3,opt,name=keepalive,proto3" json:"keepalive,omitempty"`
	Notification uint32 `protobuf:"varint,4,opt,name=notification,proto3" json:"notification,omitempty"`
	RouteRefresh uint32 `protobuf:"varint,5,opt,name=route_refresh,json=routeRefresh,proto3" json:"route_refresh,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageCounter) Descriptor deprecated

func (*MessageCounter) Descriptor() ([]byte, []int)

Deprecated: Use MessageCounter.ProtoReflect.Descriptor instead.

func (*MessageCounter) GetKeepalive

func (x *MessageCounter) GetKeepalive() uint32

func (*MessageCounter) GetNotification

func (x *MessageCounter) GetNotification() uint32

func (*MessageCounter) GetOpen

func (x *MessageCounter) GetOpen() uint32

func (*MessageCounter) GetRouteRefresh

func (x *MessageCounter) GetRouteRefresh() uint32

func (*MessageCounter) GetUpdate

func (x *MessageCounter) GetUpdate() uint32

func (*MessageCounter) ProtoMessage

func (*MessageCounter) ProtoMessage()

func (*MessageCounter) ProtoReflect

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

func (*MessageCounter) Reset

func (x *MessageCounter) Reset()

func (*MessageCounter) String

func (x *MessageCounter) String() string

type MultiExitDiscAttribute

type MultiExitDiscAttribute struct {
	Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*MultiExitDiscAttribute) Descriptor deprecated

func (*MultiExitDiscAttribute) Descriptor() ([]byte, []int)

Deprecated: Use MultiExitDiscAttribute.ProtoReflect.Descriptor instead.

func (*MultiExitDiscAttribute) GetValue

func (x *MultiExitDiscAttribute) GetValue() uint32

func (*MultiExitDiscAttribute) ProtoMessage

func (*MultiExitDiscAttribute) ProtoMessage()

func (*MultiExitDiscAttribute) ProtoReflect

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

func (*MultiExitDiscAttribute) Reset

func (x *MultiExitDiscAttribute) Reset()

func (*MultiExitDiscAttribute) String

func (x *MultiExitDiscAttribute) String() string

type MultiProtocolCapability

type MultiProtocolCapability struct {
	Family *AddressFamily `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"`
	// contains filtered or unexported fields
}

func (*MultiProtocolCapability) Descriptor deprecated

func (*MultiProtocolCapability) Descriptor() ([]byte, []int)

Deprecated: Use MultiProtocolCapability.ProtoReflect.Descriptor instead.

func (*MultiProtocolCapability) GetFamily

func (x *MultiProtocolCapability) GetFamily() *AddressFamily

func (*MultiProtocolCapability) ProtoMessage

func (*MultiProtocolCapability) ProtoMessage()

func (*MultiProtocolCapability) ProtoReflect

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

func (*MultiProtocolCapability) Reset

func (x *MultiProtocolCapability) Reset()

func (*MultiProtocolCapability) String

func (x *MultiProtocolCapability) String() string

type NextHop

type NextHop struct {
	Gateway   string               `protobuf:"bytes,1,opt,name=gateway,proto3" json:"gateway,omitempty"`
	Weight    uint32               `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
	Flags     NextHop_NextHopFlags `protobuf:"varint,3,opt,name=flags,proto3,enum=sart.v1.NextHop_NextHopFlags" json:"flags,omitempty"`
	Interface uint32               `protobuf:"varint,4,opt,name=interface,proto3" json:"interface,omitempty"`
	// contains filtered or unexported fields
}

func (*NextHop) Descriptor deprecated

func (*NextHop) Descriptor() ([]byte, []int)

Deprecated: Use NextHop.ProtoReflect.Descriptor instead.

func (*NextHop) GetFlags

func (x *NextHop) GetFlags() NextHop_NextHopFlags

func (*NextHop) GetGateway

func (x *NextHop) GetGateway() string

func (*NextHop) GetInterface

func (x *NextHop) GetInterface() uint32

func (*NextHop) GetWeight

func (x *NextHop) GetWeight() uint32

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 NextHopAttribute

type NextHopAttribute struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*NextHopAttribute) Descriptor deprecated

func (*NextHopAttribute) Descriptor() ([]byte, []int)

Deprecated: Use NextHopAttribute.ProtoReflect.Descriptor instead.

func (*NextHopAttribute) GetValue

func (x *NextHopAttribute) GetValue() string

func (*NextHopAttribute) ProtoMessage

func (*NextHopAttribute) ProtoMessage()

func (*NextHopAttribute) ProtoReflect

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

func (*NextHopAttribute) Reset

func (x *NextHopAttribute) Reset()

func (*NextHopAttribute) String

func (x *NextHopAttribute) String() string

type NextHop_NextHopFlags

type NextHop_NextHopFlags int32
const (
	NextHop_EMPTY      NextHop_NextHopFlags = 0
	NextHop_DEAD       NextHop_NextHopFlags = 1
	NextHop_PERVASIVE  NextHop_NextHopFlags = 2
	NextHop_ONLINK     NextHop_NextHopFlags = 3
	NextHop_OFFLOAD    NextHop_NextHopFlags = 4
	NextHop_LINKDOWN   NextHop_NextHopFlags = 16
	NextHop_UNRESOLVED NextHop_NextHopFlags = 32
)

func (NextHop_NextHopFlags) Descriptor

func (NextHop_NextHopFlags) Enum

func (NextHop_NextHopFlags) EnumDescriptor deprecated

func (NextHop_NextHopFlags) EnumDescriptor() ([]byte, []int)

Deprecated: Use NextHop_NextHopFlags.Descriptor instead.

func (NextHop_NextHopFlags) Number

func (NextHop_NextHopFlags) String

func (x NextHop_NextHopFlags) String() string

func (NextHop_NextHopFlags) Type

type OriginAttribute

type OriginAttribute struct {
	Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*OriginAttribute) Descriptor deprecated

func (*OriginAttribute) Descriptor() ([]byte, []int)

Deprecated: Use OriginAttribute.ProtoReflect.Descriptor instead.

func (*OriginAttribute) GetValue

func (x *OriginAttribute) GetValue() uint32

func (*OriginAttribute) ProtoMessage

func (*OriginAttribute) ProtoMessage()

func (*OriginAttribute) ProtoReflect

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

func (*OriginAttribute) Reset

func (x *OriginAttribute) Reset()

func (*OriginAttribute) String

func (x *OriginAttribute) String() string

type Path

type Path struct {
	Nlri      string               `protobuf:"bytes,1,opt,name=nlri,proto3" json:"nlri,omitempty"`
	Family    *AddressFamily       `protobuf:"bytes,2,opt,name=family,proto3" json:"family,omitempty"`
	Origin    uint32               `protobuf:"varint,3,opt,name=origin,proto3" json:"origin,omitempty"`
	NextHops  []string             `protobuf:"bytes,4,rep,name=next_hops,json=nextHops,proto3" json:"next_hops,omitempty"`
	Segments  []*AsSegment         `protobuf:"bytes,5,rep,name=segments,proto3" json:"segments,omitempty"`
	LocalPref uint32               `protobuf:"varint,6,opt,name=local_pref,json=localPref,proto3" json:"local_pref,omitempty"`
	Med       uint32               `protobuf:"varint,7,opt,name=med,proto3" json:"med,omitempty"`
	PeerAsn   uint32               `protobuf:"varint,8,opt,name=peer_asn,json=peerAsn,proto3" json:"peer_asn,omitempty"`
	PeerAddr  string               `protobuf:"bytes,9,opt,name=peer_addr,json=peerAddr,proto3" json:"peer_addr,omitempty"`
	Best      bool                 `protobuf:"varint,10,opt,name=best,proto3" json:"best,omitempty"`
	Timestamp *timestamp.Timestamp `protobuf:"bytes,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*Path) Descriptor deprecated

func (*Path) Descriptor() ([]byte, []int)

Deprecated: Use Path.ProtoReflect.Descriptor instead.

func (*Path) GetBest

func (x *Path) GetBest() bool

func (*Path) GetFamily

func (x *Path) GetFamily() *AddressFamily

func (*Path) GetLocalPref

func (x *Path) GetLocalPref() uint32

func (*Path) GetMed

func (x *Path) GetMed() uint32

func (*Path) GetNextHops

func (x *Path) GetNextHops() []string

func (*Path) GetNlri

func (x *Path) GetNlri() string

func (*Path) GetOrigin

func (x *Path) GetOrigin() uint32

func (*Path) GetPeerAddr

func (x *Path) GetPeerAddr() string

func (*Path) GetPeerAsn

func (x *Path) GetPeerAsn() uint32

func (*Path) GetSegments

func (x *Path) GetSegments() []*AsSegment

func (*Path) GetTimestamp

func (x *Path) GetTimestamp() *timestamp.Timestamp

func (*Path) ProtoMessage

func (*Path) ProtoMessage()

func (*Path) ProtoReflect

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

func (*Path) Reset

func (x *Path) Reset()

func (*Path) String

func (x *Path) String() string

type Peer

type Peer struct {
	Asn           uint32               `protobuf:"varint,1,opt,name=asn,proto3" json:"asn,omitempty"`
	Address       string               `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	RouterId      string               `protobuf:"bytes,3,opt,name=router_id,json=routerId,proto3" json:"router_id,omitempty"`
	Families      []*AddressFamily     `protobuf:"bytes,4,rep,name=families,proto3" json:"families,omitempty"`
	HoldTime      uint32               `protobuf:"varint,5,opt,name=hold_time,json=holdTime,proto3" json:"hold_time,omitempty"`
	KeepaliveTime uint32               `protobuf:"varint,6,opt,name=keepalive_time,json=keepaliveTime,proto3" json:"keepalive_time,omitempty"`
	Uptime        *timestamp.Timestamp `protobuf:"bytes,7,opt,name=uptime,proto3" json:"uptime,omitempty"`
	SendCounter   *MessageCounter      `protobuf:"bytes,8,opt,name=send_counter,json=sendCounter,proto3" json:"send_counter,omitempty"`
	RecvCounter   *MessageCounter      `protobuf:"bytes,9,opt,name=recv_counter,json=recvCounter,proto3" json:"recv_counter,omitempty"`
	State         Peer_State           `protobuf:"varint,10,opt,name=state,proto3,enum=sart.v1.Peer_State" json:"state,omitempty"`
	PassiveOpen   bool                 `protobuf:"varint,11,opt,name=passive_open,json=passiveOpen,proto3" json:"passive_open,omitempty"`
	// contains filtered or unexported fields
}

func (*Peer) Descriptor deprecated

func (*Peer) Descriptor() ([]byte, []int)

Deprecated: Use Peer.ProtoReflect.Descriptor instead.

func (*Peer) GetAddress

func (x *Peer) GetAddress() string

func (*Peer) GetAsn

func (x *Peer) GetAsn() uint32

func (*Peer) GetFamilies

func (x *Peer) GetFamilies() []*AddressFamily

func (*Peer) GetHoldTime

func (x *Peer) GetHoldTime() uint32

func (*Peer) GetKeepaliveTime

func (x *Peer) GetKeepaliveTime() uint32

func (*Peer) GetPassiveOpen

func (x *Peer) GetPassiveOpen() bool

func (*Peer) GetRecvCounter

func (x *Peer) GetRecvCounter() *MessageCounter

func (*Peer) GetRouterId

func (x *Peer) GetRouterId() string

func (*Peer) GetSendCounter

func (x *Peer) GetSendCounter() *MessageCounter

func (*Peer) GetState

func (x *Peer) GetState() Peer_State

func (*Peer) GetUptime

func (x *Peer) GetUptime() *timestamp.Timestamp

func (*Peer) ProtoMessage

func (*Peer) ProtoMessage()

func (*Peer) ProtoReflect

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

func (*Peer) Reset

func (x *Peer) Reset()

func (*Peer) String

func (x *Peer) String() string

type Peer_State

type Peer_State int32
const (
	Peer_UNKNOWN      Peer_State = 0
	Peer_IDLE         Peer_State = 1
	Peer_CONNECT      Peer_State = 2
	Peer_ACTIVE       Peer_State = 3
	Peer_OPEN_SENT    Peer_State = 4
	Peer_OPEN_CONFIRM Peer_State = 5
	Peer_ESTABLISHED  Peer_State = 6
)

func (Peer_State) Descriptor

func (Peer_State) Descriptor() protoreflect.EnumDescriptor

func (Peer_State) Enum

func (x Peer_State) Enum() *Peer_State

func (Peer_State) EnumDescriptor deprecated

func (Peer_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Peer_State.Descriptor instead.

func (Peer_State) Number

func (x Peer_State) Number() protoreflect.EnumNumber

func (Peer_State) String

func (x Peer_State) String() string

func (Peer_State) Type

type Protocol

type Protocol int32
const (
	Protocol_Unspec   Protocol = 0
	Protocol_Redirect Protocol = 1
	Protocol_Kernel   Protocol = 2
	Protocol_Boot     Protocol = 3
	Protocol_Static   Protocol = 4
	Protocol_Bgp      Protocol = 186
	Protocol_IsIs     Protocol = 187
	Protocol_Ospf     Protocol = 188
	Protocol_Rip      Protocol = 189
)

func (Protocol) Descriptor

func (Protocol) Descriptor() protoreflect.EnumDescriptor

func (Protocol) Enum

func (x Protocol) Enum() *Protocol

func (Protocol) EnumDescriptor deprecated

func (Protocol) EnumDescriptor() ([]byte, []int)

Deprecated: Use Protocol.Descriptor instead.

func (Protocol) Number

func (x Protocol) Number() protoreflect.EnumNumber

func (Protocol) String

func (x Protocol) String() string

func (Protocol) Type

type Route

type Route struct {
	Table       uint32                 `protobuf:"varint,1,opt,name=table,proto3" json:"table,omitempty"`
	Version     IpVersion              `protobuf:"varint,2,opt,name=version,proto3,enum=sart.v1.IpVersion" json:"version,omitempty"`
	Destination string                 `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"`
	Protocol    Protocol               `protobuf:"varint,4,opt,name=protocol,proto3,enum=sart.v1.Protocol" json:"protocol,omitempty"`
	Scope       Scope                  `protobuf:"varint,5,opt,name=scope,proto3,enum=sart.v1.Scope" json:"scope,omitempty"`
	Type        Type                   `protobuf:"varint,6,opt,name=type,proto3,enum=sart.v1.Type" json:"type,omitempty"`
	NextHops    []*NextHop             `protobuf:"bytes,7,rep,name=next_hops,json=nextHops,proto3" json:"next_hops,omitempty"`
	Source      string                 `protobuf:"bytes,8,opt,name=source,proto3" json:"source,omitempty"`
	Ad          AdministrativeDistance `protobuf:"varint,9,opt,name=ad,proto3,enum=sart.v1.AdministrativeDistance" json:"ad,omitempty"`
	Priority    uint32                 `protobuf:"varint,10,opt,name=priority,proto3" json:"priority,omitempty"`
	Ibgp        bool                   `protobuf:"varint,11,opt,name=ibgp,proto3" json:"ibgp,omitempty"`
	// contains filtered or unexported fields
}

func (*Route) Descriptor deprecated

func (*Route) Descriptor() ([]byte, []int)

Deprecated: Use Route.ProtoReflect.Descriptor instead.

func (*Route) GetAd

func (x *Route) GetAd() AdministrativeDistance

func (*Route) GetDestination

func (x *Route) GetDestination() string

func (*Route) GetIbgp

func (x *Route) GetIbgp() bool

func (*Route) GetNextHops

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

func (*Route) GetPriority

func (x *Route) GetPriority() uint32

func (*Route) GetProtocol

func (x *Route) GetProtocol() Protocol

func (*Route) GetScope

func (x *Route) GetScope() Scope

func (*Route) GetSource

func (x *Route) GetSource() string

func (*Route) GetTable

func (x *Route) GetTable() uint32

func (*Route) GetType

func (x *Route) GetType() Type

func (*Route) GetVersion

func (x *Route) GetVersion() IpVersion

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

type RouteRefreshCapability

type RouteRefreshCapability struct {
	// contains filtered or unexported fields
}

func (*RouteRefreshCapability) Descriptor deprecated

func (*RouteRefreshCapability) Descriptor() ([]byte, []int)

Deprecated: Use RouteRefreshCapability.ProtoReflect.Descriptor instead.

func (*RouteRefreshCapability) ProtoMessage

func (*RouteRefreshCapability) ProtoMessage()

func (*RouteRefreshCapability) ProtoReflect

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

func (*RouteRefreshCapability) Reset

func (x *RouteRefreshCapability) Reset()

func (*RouteRefreshCapability) String

func (x *RouteRefreshCapability) String() string

type Scope

type Scope int32
const (
	Scope_Universe Scope = 0
	Scope_Site     Scope = 200
	Scope_Link     Scope = 253
	Scope_Host     Scope = 254
	Scope_Nowhere  Scope = 255
)

func (Scope) Descriptor

func (Scope) Descriptor() protoreflect.EnumDescriptor

func (Scope) Enum

func (x Scope) Enum() *Scope

func (Scope) EnumDescriptor deprecated

func (Scope) EnumDescriptor() ([]byte, []int)

Deprecated: Use Scope.Descriptor instead.

func (Scope) Number

func (x Scope) Number() protoreflect.EnumNumber

func (Scope) String

func (x Scope) String() string

func (Scope) Type

func (Scope) Type() protoreflect.EnumType

type SetASRequest

type SetASRequest struct {
	Asn uint32 `protobuf:"varint,1,opt,name=asn,proto3" json:"asn,omitempty"`
	// contains filtered or unexported fields
}

func (*SetASRequest) Descriptor deprecated

func (*SetASRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetASRequest.ProtoReflect.Descriptor instead.

func (*SetASRequest) GetAsn

func (x *SetASRequest) GetAsn() uint32

func (*SetASRequest) ProtoMessage

func (*SetASRequest) ProtoMessage()

func (*SetASRequest) ProtoReflect

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

func (*SetASRequest) Reset

func (x *SetASRequest) Reset()

func (*SetASRequest) String

func (x *SetASRequest) String() string

type SetRouterIdRequest

type SetRouterIdRequest struct {
	RouterId string `protobuf:"bytes,1,opt,name=router_id,json=routerId,proto3" json:"router_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SetRouterIdRequest) Descriptor deprecated

func (*SetRouterIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetRouterIdRequest.ProtoReflect.Descriptor instead.

func (*SetRouterIdRequest) GetRouterId

func (x *SetRouterIdRequest) GetRouterId() string

func (*SetRouterIdRequest) ProtoMessage

func (*SetRouterIdRequest) ProtoMessage()

func (*SetRouterIdRequest) ProtoReflect

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

func (*SetRouterIdRequest) Reset

func (x *SetRouterIdRequest) Reset()

func (*SetRouterIdRequest) String

func (x *SetRouterIdRequest) String() string

type Type

type Type int32
const (
	Type_UnspecType  Type = 0
	Type_Unicast     Type = 1
	Type_Local       Type = 2
	Type_Broadcast   Type = 3
	Type_Anycast     Type = 4
	Type_Multicast   Type = 5
	Type_Blackhole   Type = 6
	Type_Unreachable Type = 7
	Type_Prohibit    Type = 8
	Type_Throw       Type = 9
	Type_Nat         Type = 10
)

func (Type) Descriptor

func (Type) Descriptor() protoreflect.EnumDescriptor

func (Type) Enum

func (x Type) Enum() *Type

func (Type) EnumDescriptor deprecated

func (Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Type.Descriptor instead.

func (Type) Number

func (x Type) Number() protoreflect.EnumNumber

func (Type) String

func (x Type) String() string

func (Type) Type

func (Type) Type() protoreflect.EnumType

type UnimplementedBgpApiServer

type UnimplementedBgpApiServer struct {
}

UnimplementedBgpApiServer must be embedded to have forward compatible implementations.

func (UnimplementedBgpApiServer) AddPath

func (UnimplementedBgpApiServer) AddPeer

func (UnimplementedBgpApiServer) DeletePath

func (UnimplementedBgpApiServer) DeletePeer

func (UnimplementedBgpApiServer) GetBgpInfo

func (UnimplementedBgpApiServer) GetNeighbor

func (UnimplementedBgpApiServer) GetPath

func (UnimplementedBgpApiServer) Health

func (UnimplementedBgpApiServer) SetAS

func (UnimplementedBgpApiServer) SetRouterId

type UnimplementedFibApiServer

type UnimplementedFibApiServer struct {
}

UnimplementedFibApiServer must be embedded to have forward compatible implementations.

func (UnimplementedFibApiServer) AddMultiPathRoute

func (UnimplementedFibApiServer) AddRoute

func (UnimplementedFibApiServer) DeleteMultiPathRoute

func (UnimplementedFibApiServer) DeleteRoute

func (UnimplementedFibApiServer) GetRoute

func (UnimplementedFibApiServer) ListRoutes

type UnknownAttribute

type UnknownAttribute struct {
	Flags uint32 `protobuf:"varint,1,opt,name=flags,proto3" json:"flags,omitempty"`
	Code  uint32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
	Data  []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*UnknownAttribute) Descriptor deprecated

func (*UnknownAttribute) Descriptor() ([]byte, []int)

Deprecated: Use UnknownAttribute.ProtoReflect.Descriptor instead.

func (*UnknownAttribute) GetCode

func (x *UnknownAttribute) GetCode() uint32

func (*UnknownAttribute) GetData

func (x *UnknownAttribute) GetData() []byte

func (*UnknownAttribute) GetFlags

func (x *UnknownAttribute) GetFlags() uint32

func (*UnknownAttribute) ProtoMessage

func (*UnknownAttribute) ProtoMessage()

func (*UnknownAttribute) ProtoReflect

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

func (*UnknownAttribute) Reset

func (x *UnknownAttribute) Reset()

func (*UnknownAttribute) String

func (x *UnknownAttribute) String() string

type UnknownCapability

type UnknownCapability struct {
	Code  uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*UnknownCapability) Descriptor deprecated

func (*UnknownCapability) Descriptor() ([]byte, []int)

Deprecated: Use UnknownCapability.ProtoReflect.Descriptor instead.

func (*UnknownCapability) GetCode

func (x *UnknownCapability) GetCode() uint32

func (*UnknownCapability) GetValue

func (x *UnknownCapability) GetValue() []byte

func (*UnknownCapability) ProtoMessage

func (*UnknownCapability) ProtoMessage()

func (*UnknownCapability) ProtoReflect

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

func (*UnknownCapability) Reset

func (x *UnknownCapability) Reset()

func (*UnknownCapability) String

func (x *UnknownCapability) String() string

type UnsafeBgpApiServer

type UnsafeBgpApiServer interface {
	// contains filtered or unexported methods
}

UnsafeBgpApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BgpApiServer will result in compilation errors.

type UnsafeFibApiServer

type UnsafeFibApiServer interface {
	// contains filtered or unexported methods
}

UnsafeFibApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FibApiServer will result in compilation errors.

Jump to

Keyboard shortcuts

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