api

package
Version: v0.0.3-pre7 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DumpRIBRequest_AFISAFI_name = map[int32]string{
	0: "IPv4Unicast",
	1: "IPv6Unicast",
}
View Source
var DumpRIBRequest_AFISAFI_value = map[string]int32{
	"IPv4Unicast": 0,
	"IPv6Unicast": 1,
}
View Source
var ObserveRIBRequest_AFISAFI_name = map[int32]string{
	0: "IPv4Unicast",
	1: "IPv6Unicast",
}
View Source
var ObserveRIBRequest_AFISAFI_value = map[string]int32{
	"IPv4Unicast": 0,
	"IPv6Unicast": 1,
}

Functions

func RegisterRoutingInformationServiceServer

func RegisterRoutingInformationServiceServer(s *grpc.Server, srv RoutingInformationServiceServer)

Types

type DumpRIBReply

type DumpRIBReply struct {
	Route                *api1.Route `protobuf:"bytes,1,opt,name=route,proto3" json:"route,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*DumpRIBReply) Descriptor

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

func (*DumpRIBReply) GetRoute

func (m *DumpRIBReply) GetRoute() *api1.Route

func (*DumpRIBReply) ProtoMessage

func (*DumpRIBReply) ProtoMessage()

func (*DumpRIBReply) Reset

func (m *DumpRIBReply) Reset()

func (*DumpRIBReply) String

func (m *DumpRIBReply) String() string

func (*DumpRIBReply) XXX_DiscardUnknown

func (m *DumpRIBReply) XXX_DiscardUnknown()

func (*DumpRIBReply) XXX_Marshal

func (m *DumpRIBReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DumpRIBReply) XXX_Merge

func (m *DumpRIBReply) XXX_Merge(src proto.Message)

func (*DumpRIBReply) XXX_Size

func (m *DumpRIBReply) XXX_Size() int

func (*DumpRIBReply) XXX_Unmarshal

func (m *DumpRIBReply) XXX_Unmarshal(b []byte) error

type DumpRIBRequest

type DumpRIBRequest struct {
	Router               string                 `protobuf:"bytes,1,opt,name=router,proto3" json:"router,omitempty"`
	VrfId                uint64                 `protobuf:"varint,2,opt,name=vrf_id,json=vrfId,proto3" json:"vrf_id,omitempty"`
	Vrf                  string                 `protobuf:"bytes,4,opt,name=vrf,proto3" json:"vrf,omitempty"`
	Afisafi              DumpRIBRequest_AFISAFI `protobuf:"varint,3,opt,name=afisafi,proto3,enum=bio.ris.DumpRIBRequest_AFISAFI" json:"afisafi,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*DumpRIBRequest) Descriptor

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

func (*DumpRIBRequest) GetAfisafi

func (m *DumpRIBRequest) GetAfisafi() DumpRIBRequest_AFISAFI

func (*DumpRIBRequest) GetRouter

func (m *DumpRIBRequest) GetRouter() string

func (*DumpRIBRequest) GetVrf

func (m *DumpRIBRequest) GetVrf() string

func (*DumpRIBRequest) GetVrfId

func (m *DumpRIBRequest) GetVrfId() uint64

func (*DumpRIBRequest) ProtoMessage

func (*DumpRIBRequest) ProtoMessage()

func (*DumpRIBRequest) Reset

func (m *DumpRIBRequest) Reset()

func (*DumpRIBRequest) String

func (m *DumpRIBRequest) String() string

func (*DumpRIBRequest) XXX_DiscardUnknown

func (m *DumpRIBRequest) XXX_DiscardUnknown()

func (*DumpRIBRequest) XXX_Marshal

func (m *DumpRIBRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DumpRIBRequest) XXX_Merge

func (m *DumpRIBRequest) XXX_Merge(src proto.Message)

func (*DumpRIBRequest) XXX_Size

func (m *DumpRIBRequest) XXX_Size() int

func (*DumpRIBRequest) XXX_Unmarshal

func (m *DumpRIBRequest) XXX_Unmarshal(b []byte) error

type DumpRIBRequest_AFISAFI

type DumpRIBRequest_AFISAFI int32
const (
	DumpRIBRequest_IPv4Unicast DumpRIBRequest_AFISAFI = 0
	DumpRIBRequest_IPv6Unicast DumpRIBRequest_AFISAFI = 1
)

func (DumpRIBRequest_AFISAFI) EnumDescriptor

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

func (DumpRIBRequest_AFISAFI) String

func (x DumpRIBRequest_AFISAFI) String() string

type GetLongerRequest

type GetLongerRequest struct {
	Router               string      `protobuf:"bytes,1,opt,name=router,proto3" json:"router,omitempty"`
	VrfId                uint64      `protobuf:"varint,2,opt,name=vrf_id,json=vrfId,proto3" json:"vrf_id,omitempty"`
	Vrf                  string      `protobuf:"bytes,4,opt,name=vrf,proto3" json:"vrf,omitempty"`
	Pfx                  *api.Prefix `protobuf:"bytes,3,opt,name=pfx,proto3" json:"pfx,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*GetLongerRequest) Descriptor

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

func (*GetLongerRequest) GetPfx

func (m *GetLongerRequest) GetPfx() *api.Prefix

func (*GetLongerRequest) GetRouter

func (m *GetLongerRequest) GetRouter() string

func (*GetLongerRequest) GetVrf

func (m *GetLongerRequest) GetVrf() string

func (*GetLongerRequest) GetVrfId

func (m *GetLongerRequest) GetVrfId() uint64

func (*GetLongerRequest) ProtoMessage

func (*GetLongerRequest) ProtoMessage()

func (*GetLongerRequest) Reset

func (m *GetLongerRequest) Reset()

func (*GetLongerRequest) String

func (m *GetLongerRequest) String() string

func (*GetLongerRequest) XXX_DiscardUnknown

func (m *GetLongerRequest) XXX_DiscardUnknown()

func (*GetLongerRequest) XXX_Marshal

func (m *GetLongerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetLongerRequest) XXX_Merge

func (m *GetLongerRequest) XXX_Merge(src proto.Message)

func (*GetLongerRequest) XXX_Size

func (m *GetLongerRequest) XXX_Size() int

func (*GetLongerRequest) XXX_Unmarshal

func (m *GetLongerRequest) XXX_Unmarshal(b []byte) error

type GetLongerResponse

type GetLongerResponse struct {
	Routes               []*api1.Route `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*GetLongerResponse) Descriptor

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

func (*GetLongerResponse) GetRoutes

func (m *GetLongerResponse) GetRoutes() []*api1.Route

func (*GetLongerResponse) ProtoMessage

func (*GetLongerResponse) ProtoMessage()

func (*GetLongerResponse) Reset

func (m *GetLongerResponse) Reset()

func (*GetLongerResponse) String

func (m *GetLongerResponse) String() string

func (*GetLongerResponse) XXX_DiscardUnknown

func (m *GetLongerResponse) XXX_DiscardUnknown()

func (*GetLongerResponse) XXX_Marshal

func (m *GetLongerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetLongerResponse) XXX_Merge

func (m *GetLongerResponse) XXX_Merge(src proto.Message)

func (*GetLongerResponse) XXX_Size

func (m *GetLongerResponse) XXX_Size() int

func (*GetLongerResponse) XXX_Unmarshal

func (m *GetLongerResponse) XXX_Unmarshal(b []byte) error

type GetRequest

type GetRequest struct {
	Router               string      `protobuf:"bytes,1,opt,name=router,proto3" json:"router,omitempty"`
	VrfId                uint64      `protobuf:"varint,2,opt,name=vrf_id,json=vrfId,proto3" json:"vrf_id,omitempty"`
	Vrf                  string      `protobuf:"bytes,4,opt,name=vrf,proto3" json:"vrf,omitempty"`
	Pfx                  *api.Prefix `protobuf:"bytes,3,opt,name=pfx,proto3" json:"pfx,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*GetRequest) Descriptor

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

func (*GetRequest) GetPfx

func (m *GetRequest) GetPfx() *api.Prefix

func (*GetRequest) GetRouter

func (m *GetRequest) GetRouter() string

func (*GetRequest) GetVrf

func (m *GetRequest) GetVrf() string

func (*GetRequest) GetVrfId

func (m *GetRequest) GetVrfId() uint64

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) Reset

func (m *GetRequest) Reset()

func (*GetRequest) String

func (m *GetRequest) String() string

func (*GetRequest) XXX_DiscardUnknown

func (m *GetRequest) XXX_DiscardUnknown()

func (*GetRequest) XXX_Marshal

func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRequest) XXX_Merge

func (m *GetRequest) XXX_Merge(src proto.Message)

func (*GetRequest) XXX_Size

func (m *GetRequest) XXX_Size() int

func (*GetRequest) XXX_Unmarshal

func (m *GetRequest) XXX_Unmarshal(b []byte) error

type GetResponse

type GetResponse struct {
	Routes               []*api1.Route `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*GetResponse) Descriptor

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

func (*GetResponse) GetRoutes

func (m *GetResponse) GetRoutes() []*api1.Route

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) Reset

func (m *GetResponse) Reset()

func (*GetResponse) String

func (m *GetResponse) String() string

func (*GetResponse) XXX_DiscardUnknown

func (m *GetResponse) XXX_DiscardUnknown()

func (*GetResponse) XXX_Marshal

func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetResponse) XXX_Merge

func (m *GetResponse) XXX_Merge(src proto.Message)

func (*GetResponse) XXX_Size

func (m *GetResponse) XXX_Size() int

func (*GetResponse) XXX_Unmarshal

func (m *GetResponse) XXX_Unmarshal(b []byte) error

type GetRoutersRequest

type GetRoutersRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetRoutersRequest) Descriptor

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

func (*GetRoutersRequest) ProtoMessage

func (*GetRoutersRequest) ProtoMessage()

func (*GetRoutersRequest) Reset

func (m *GetRoutersRequest) Reset()

func (*GetRoutersRequest) String

func (m *GetRoutersRequest) String() string

func (*GetRoutersRequest) XXX_DiscardUnknown

func (m *GetRoutersRequest) XXX_DiscardUnknown()

func (*GetRoutersRequest) XXX_Marshal

func (m *GetRoutersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRoutersRequest) XXX_Merge

func (m *GetRoutersRequest) XXX_Merge(src proto.Message)

func (*GetRoutersRequest) XXX_Size

func (m *GetRoutersRequest) XXX_Size() int

func (*GetRoutersRequest) XXX_Unmarshal

func (m *GetRoutersRequest) XXX_Unmarshal(b []byte) error

type GetRoutersResponse

type GetRoutersResponse struct {
	Routers              []*Router `protobuf:"bytes,1,rep,name=routers,proto3" json:"routers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*GetRoutersResponse) Descriptor

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

func (*GetRoutersResponse) GetRouters

func (m *GetRoutersResponse) GetRouters() []*Router

func (*GetRoutersResponse) ProtoMessage

func (*GetRoutersResponse) ProtoMessage()

func (*GetRoutersResponse) Reset

func (m *GetRoutersResponse) Reset()

func (*GetRoutersResponse) String

func (m *GetRoutersResponse) String() string

func (*GetRoutersResponse) XXX_DiscardUnknown

func (m *GetRoutersResponse) XXX_DiscardUnknown()

func (*GetRoutersResponse) XXX_Marshal

func (m *GetRoutersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRoutersResponse) XXX_Merge

func (m *GetRoutersResponse) XXX_Merge(src proto.Message)

func (*GetRoutersResponse) XXX_Size

func (m *GetRoutersResponse) XXX_Size() int

func (*GetRoutersResponse) XXX_Unmarshal

func (m *GetRoutersResponse) XXX_Unmarshal(b []byte) error

type LPMRequest

type LPMRequest struct {
	Router               string      `protobuf:"bytes,1,opt,name=router,proto3" json:"router,omitempty"`
	VrfId                uint64      `protobuf:"varint,2,opt,name=vrf_id,json=vrfId,proto3" json:"vrf_id,omitempty"`
	Vrf                  string      `protobuf:"bytes,4,opt,name=vrf,proto3" json:"vrf,omitempty"`
	Pfx                  *api.Prefix `protobuf:"bytes,3,opt,name=pfx,proto3" json:"pfx,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*LPMRequest) Descriptor

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

func (*LPMRequest) GetPfx

func (m *LPMRequest) GetPfx() *api.Prefix

func (*LPMRequest) GetRouter

func (m *LPMRequest) GetRouter() string

func (*LPMRequest) GetVrf

func (m *LPMRequest) GetVrf() string

func (*LPMRequest) GetVrfId

func (m *LPMRequest) GetVrfId() uint64

func (*LPMRequest) ProtoMessage

func (*LPMRequest) ProtoMessage()

func (*LPMRequest) Reset

func (m *LPMRequest) Reset()

func (*LPMRequest) String

func (m *LPMRequest) String() string

func (*LPMRequest) XXX_DiscardUnknown

func (m *LPMRequest) XXX_DiscardUnknown()

func (*LPMRequest) XXX_Marshal

func (m *LPMRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LPMRequest) XXX_Merge

func (m *LPMRequest) XXX_Merge(src proto.Message)

func (*LPMRequest) XXX_Size

func (m *LPMRequest) XXX_Size() int

func (*LPMRequest) XXX_Unmarshal

func (m *LPMRequest) XXX_Unmarshal(b []byte) error

type LPMResponse

type LPMResponse struct {
	Routes               []*api1.Route `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*LPMResponse) Descriptor

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

func (*LPMResponse) GetRoutes

func (m *LPMResponse) GetRoutes() []*api1.Route

func (*LPMResponse) ProtoMessage

func (*LPMResponse) ProtoMessage()

func (*LPMResponse) Reset

func (m *LPMResponse) Reset()

func (*LPMResponse) String

func (m *LPMResponse) String() string

func (*LPMResponse) XXX_DiscardUnknown

func (m *LPMResponse) XXX_DiscardUnknown()

func (*LPMResponse) XXX_Marshal

func (m *LPMResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LPMResponse) XXX_Merge

func (m *LPMResponse) XXX_Merge(src proto.Message)

func (*LPMResponse) XXX_Size

func (m *LPMResponse) XXX_Size() int

func (*LPMResponse) XXX_Unmarshal

func (m *LPMResponse) XXX_Unmarshal(b []byte) error

type ObserveRIBRequest

type ObserveRIBRequest struct {
	Router               string                    `protobuf:"bytes,1,opt,name=router,proto3" json:"router,omitempty"`
	VrfId                uint64                    `protobuf:"varint,2,opt,name=vrf_id,json=vrfId,proto3" json:"vrf_id,omitempty"`
	Vrf                  string                    `protobuf:"bytes,4,opt,name=vrf,proto3" json:"vrf,omitempty"`
	Afisafi              ObserveRIBRequest_AFISAFI `protobuf:"varint,3,opt,name=afisafi,proto3,enum=bio.ris.ObserveRIBRequest_AFISAFI" json:"afisafi,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*ObserveRIBRequest) Descriptor

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

func (*ObserveRIBRequest) GetAfisafi

func (*ObserveRIBRequest) GetRouter

func (m *ObserveRIBRequest) GetRouter() string

func (*ObserveRIBRequest) GetVrf

func (m *ObserveRIBRequest) GetVrf() string

func (*ObserveRIBRequest) GetVrfId

func (m *ObserveRIBRequest) GetVrfId() uint64

func (*ObserveRIBRequest) ProtoMessage

func (*ObserveRIBRequest) ProtoMessage()

func (*ObserveRIBRequest) Reset

func (m *ObserveRIBRequest) Reset()

func (*ObserveRIBRequest) String

func (m *ObserveRIBRequest) String() string

func (*ObserveRIBRequest) XXX_DiscardUnknown

func (m *ObserveRIBRequest) XXX_DiscardUnknown()

func (*ObserveRIBRequest) XXX_Marshal

func (m *ObserveRIBRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObserveRIBRequest) XXX_Merge

func (m *ObserveRIBRequest) XXX_Merge(src proto.Message)

func (*ObserveRIBRequest) XXX_Size

func (m *ObserveRIBRequest) XXX_Size() int

func (*ObserveRIBRequest) XXX_Unmarshal

func (m *ObserveRIBRequest) XXX_Unmarshal(b []byte) error

type ObserveRIBRequest_AFISAFI

type ObserveRIBRequest_AFISAFI int32
const (
	ObserveRIBRequest_IPv4Unicast ObserveRIBRequest_AFISAFI = 0
	ObserveRIBRequest_IPv6Unicast ObserveRIBRequest_AFISAFI = 1
)

func (ObserveRIBRequest_AFISAFI) EnumDescriptor

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

func (ObserveRIBRequest_AFISAFI) String

func (x ObserveRIBRequest_AFISAFI) String() string

type RIBUpdate

type RIBUpdate struct {
	Advertisement        bool        `protobuf:"varint,1,opt,name=advertisement,proto3" json:"advertisement,omitempty"`
	IsInitialDump        bool        `protobuf:"varint,3,opt,name=is_initial_dump,json=isInitialDump,proto3" json:"is_initial_dump,omitempty"`
	Route                *api1.Route `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*RIBUpdate) Descriptor

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

func (*RIBUpdate) GetAdvertisement

func (m *RIBUpdate) GetAdvertisement() bool

func (*RIBUpdate) GetIsInitialDump

func (m *RIBUpdate) GetIsInitialDump() bool

func (*RIBUpdate) GetRoute

func (m *RIBUpdate) GetRoute() *api1.Route

func (*RIBUpdate) ProtoMessage

func (*RIBUpdate) ProtoMessage()

func (*RIBUpdate) Reset

func (m *RIBUpdate) Reset()

func (*RIBUpdate) String

func (m *RIBUpdate) String() string

func (*RIBUpdate) XXX_DiscardUnknown

func (m *RIBUpdate) XXX_DiscardUnknown()

func (*RIBUpdate) XXX_Marshal

func (m *RIBUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RIBUpdate) XXX_Merge

func (m *RIBUpdate) XXX_Merge(src proto.Message)

func (*RIBUpdate) XXX_Size

func (m *RIBUpdate) XXX_Size() int

func (*RIBUpdate) XXX_Unmarshal

func (m *RIBUpdate) XXX_Unmarshal(b []byte) error

type Router

type Router struct {
	SysName              string   `protobuf:"bytes,1,opt,name=sys_name,json=sysName,proto3" json:"sys_name,omitempty"`
	VrfIds               []uint64 `protobuf:"varint,2,rep,packed,name=vrf_ids,json=vrfIds,proto3" json:"vrf_ids,omitempty"`
	Address              string   `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Router) Descriptor

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

func (*Router) GetAddress

func (m *Router) GetAddress() string

func (*Router) GetSysName

func (m *Router) GetSysName() string

func (*Router) GetVrfIds

func (m *Router) GetVrfIds() []uint64

func (*Router) ProtoMessage

func (*Router) ProtoMessage()

func (*Router) Reset

func (m *Router) Reset()

func (*Router) String

func (m *Router) String() string

func (*Router) XXX_DiscardUnknown

func (m *Router) XXX_DiscardUnknown()

func (*Router) XXX_Marshal

func (m *Router) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Router) XXX_Merge

func (m *Router) XXX_Merge(src proto.Message)

func (*Router) XXX_Size

func (m *Router) XXX_Size() int

func (*Router) XXX_Unmarshal

func (m *Router) XXX_Unmarshal(b []byte) error

type RoutingInformationServiceClient

RoutingInformationServiceClient is the client API for RoutingInformationService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRoutingInformationServiceClient

func NewRoutingInformationServiceClient(cc *grpc.ClientConn) RoutingInformationServiceClient

type RoutingInformationServiceServer

RoutingInformationServiceServer is the server API for RoutingInformationService service.

type RoutingInformationService_DumpRIBClient

type RoutingInformationService_DumpRIBClient interface {
	Recv() (*DumpRIBReply, error)
	grpc.ClientStream
}

type RoutingInformationService_DumpRIBServer

type RoutingInformationService_DumpRIBServer interface {
	Send(*DumpRIBReply) error
	grpc.ServerStream
}

type RoutingInformationService_ObserveRIBClient

type RoutingInformationService_ObserveRIBClient interface {
	Recv() (*RIBUpdate, error)
	grpc.ClientStream
}

type RoutingInformationService_ObserveRIBServer

type RoutingInformationService_ObserveRIBServer interface {
	Send(*RIBUpdate) error
	grpc.ServerStream
}

Source Files

Jump to

Keyboard shortcuts

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