Documentation ¶
Index ¶
- Variables
- func RegisterRoutingInformationServiceServer(s *grpc.Server, srv RoutingInformationServiceServer)
- type DumpRIBReply
- func (*DumpRIBReply) Descriptor() ([]byte, []int)
- func (m *DumpRIBReply) GetRoute() *api1.Route
- func (*DumpRIBReply) ProtoMessage()
- func (m *DumpRIBReply) Reset()
- func (m *DumpRIBReply) String() string
- func (m *DumpRIBReply) XXX_DiscardUnknown()
- func (m *DumpRIBReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DumpRIBReply) XXX_Merge(src proto.Message)
- func (m *DumpRIBReply) XXX_Size() int
- func (m *DumpRIBReply) XXX_Unmarshal(b []byte) error
- type DumpRIBRequest
- func (*DumpRIBRequest) Descriptor() ([]byte, []int)
- func (m *DumpRIBRequest) GetAfisafi() DumpRIBRequest_AFISAFI
- func (m *DumpRIBRequest) GetRouter() string
- func (m *DumpRIBRequest) GetVrf() string
- func (m *DumpRIBRequest) GetVrfId() uint64
- func (*DumpRIBRequest) ProtoMessage()
- func (m *DumpRIBRequest) Reset()
- func (m *DumpRIBRequest) String() string
- func (m *DumpRIBRequest) XXX_DiscardUnknown()
- func (m *DumpRIBRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DumpRIBRequest) XXX_Merge(src proto.Message)
- func (m *DumpRIBRequest) XXX_Size() int
- func (m *DumpRIBRequest) XXX_Unmarshal(b []byte) error
- type DumpRIBRequest_AFISAFI
- type GetLongerRequest
- func (*GetLongerRequest) Descriptor() ([]byte, []int)
- func (m *GetLongerRequest) GetPfx() *api.Prefix
- func (m *GetLongerRequest) GetRouter() string
- func (m *GetLongerRequest) GetVrf() string
- func (m *GetLongerRequest) GetVrfId() uint64
- func (*GetLongerRequest) ProtoMessage()
- func (m *GetLongerRequest) Reset()
- func (m *GetLongerRequest) String() string
- func (m *GetLongerRequest) XXX_DiscardUnknown()
- func (m *GetLongerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetLongerRequest) XXX_Merge(src proto.Message)
- func (m *GetLongerRequest) XXX_Size() int
- func (m *GetLongerRequest) XXX_Unmarshal(b []byte) error
- type GetLongerResponse
- func (*GetLongerResponse) Descriptor() ([]byte, []int)
- func (m *GetLongerResponse) GetRoutes() []*api1.Route
- func (*GetLongerResponse) ProtoMessage()
- func (m *GetLongerResponse) Reset()
- func (m *GetLongerResponse) String() string
- func (m *GetLongerResponse) XXX_DiscardUnknown()
- func (m *GetLongerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetLongerResponse) XXX_Merge(src proto.Message)
- func (m *GetLongerResponse) XXX_Size() int
- func (m *GetLongerResponse) XXX_Unmarshal(b []byte) error
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)
- func (m *GetRequest) GetPfx() *api.Prefix
- func (m *GetRequest) GetRouter() string
- func (m *GetRequest) GetVrf() string
- func (m *GetRequest) GetVrfId() uint64
- func (*GetRequest) ProtoMessage()
- func (m *GetRequest) Reset()
- func (m *GetRequest) String() string
- func (m *GetRequest) XXX_DiscardUnknown()
- func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRequest) XXX_Merge(src proto.Message)
- func (m *GetRequest) XXX_Size() int
- func (m *GetRequest) XXX_Unmarshal(b []byte) error
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)
- func (m *GetResponse) GetRoutes() []*api1.Route
- func (*GetResponse) ProtoMessage()
- func (m *GetResponse) Reset()
- func (m *GetResponse) String() string
- func (m *GetResponse) XXX_DiscardUnknown()
- func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetResponse) XXX_Merge(src proto.Message)
- func (m *GetResponse) XXX_Size() int
- func (m *GetResponse) XXX_Unmarshal(b []byte) error
- type GetRoutersRequest
- func (*GetRoutersRequest) Descriptor() ([]byte, []int)
- func (*GetRoutersRequest) ProtoMessage()
- func (m *GetRoutersRequest) Reset()
- func (m *GetRoutersRequest) String() string
- func (m *GetRoutersRequest) XXX_DiscardUnknown()
- func (m *GetRoutersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRoutersRequest) XXX_Merge(src proto.Message)
- func (m *GetRoutersRequest) XXX_Size() int
- func (m *GetRoutersRequest) XXX_Unmarshal(b []byte) error
- type GetRoutersResponse
- func (*GetRoutersResponse) Descriptor() ([]byte, []int)
- func (m *GetRoutersResponse) GetRouters() []*Router
- func (*GetRoutersResponse) ProtoMessage()
- func (m *GetRoutersResponse) Reset()
- func (m *GetRoutersResponse) String() string
- func (m *GetRoutersResponse) XXX_DiscardUnknown()
- func (m *GetRoutersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRoutersResponse) XXX_Merge(src proto.Message)
- func (m *GetRoutersResponse) XXX_Size() int
- func (m *GetRoutersResponse) XXX_Unmarshal(b []byte) error
- type LPMRequest
- func (*LPMRequest) Descriptor() ([]byte, []int)
- func (m *LPMRequest) GetPfx() *api.Prefix
- func (m *LPMRequest) GetRouter() string
- func (m *LPMRequest) GetVrf() string
- func (m *LPMRequest) GetVrfId() uint64
- func (*LPMRequest) ProtoMessage()
- func (m *LPMRequest) Reset()
- func (m *LPMRequest) String() string
- func (m *LPMRequest) XXX_DiscardUnknown()
- func (m *LPMRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LPMRequest) XXX_Merge(src proto.Message)
- func (m *LPMRequest) XXX_Size() int
- func (m *LPMRequest) XXX_Unmarshal(b []byte) error
- type LPMResponse
- func (*LPMResponse) Descriptor() ([]byte, []int)
- func (m *LPMResponse) GetRoutes() []*api1.Route
- func (*LPMResponse) ProtoMessage()
- func (m *LPMResponse) Reset()
- func (m *LPMResponse) String() string
- func (m *LPMResponse) XXX_DiscardUnknown()
- func (m *LPMResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LPMResponse) XXX_Merge(src proto.Message)
- func (m *LPMResponse) XXX_Size() int
- func (m *LPMResponse) XXX_Unmarshal(b []byte) error
- type ObserveRIBRequest
- func (*ObserveRIBRequest) Descriptor() ([]byte, []int)
- func (m *ObserveRIBRequest) GetAfisafi() ObserveRIBRequest_AFISAFI
- func (m *ObserveRIBRequest) GetRouter() string
- func (m *ObserveRIBRequest) GetVrf() string
- func (m *ObserveRIBRequest) GetVrfId() uint64
- func (*ObserveRIBRequest) ProtoMessage()
- func (m *ObserveRIBRequest) Reset()
- func (m *ObserveRIBRequest) String() string
- func (m *ObserveRIBRequest) XXX_DiscardUnknown()
- func (m *ObserveRIBRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObserveRIBRequest) XXX_Merge(src proto.Message)
- func (m *ObserveRIBRequest) XXX_Size() int
- func (m *ObserveRIBRequest) XXX_Unmarshal(b []byte) error
- type ObserveRIBRequest_AFISAFI
- type RIBUpdate
- func (*RIBUpdate) Descriptor() ([]byte, []int)
- func (m *RIBUpdate) GetAdvertisement() bool
- func (m *RIBUpdate) GetIsInitialDump() bool
- func (m *RIBUpdate) GetRoute() *api1.Route
- func (*RIBUpdate) ProtoMessage()
- func (m *RIBUpdate) Reset()
- func (m *RIBUpdate) String() string
- func (m *RIBUpdate) XXX_DiscardUnknown()
- func (m *RIBUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RIBUpdate) XXX_Merge(src proto.Message)
- func (m *RIBUpdate) XXX_Size() int
- func (m *RIBUpdate) XXX_Unmarshal(b []byte) error
- type Router
- func (*Router) Descriptor() ([]byte, []int)
- func (m *Router) GetAddress() string
- func (m *Router) GetSysName() string
- func (m *Router) GetVrfIds() []uint64
- func (*Router) ProtoMessage()
- func (m *Router) Reset()
- func (m *Router) String() string
- func (m *Router) XXX_DiscardUnknown()
- func (m *Router) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Router) XXX_Merge(src proto.Message)
- func (m *Router) XXX_Size() int
- func (m *Router) XXX_Unmarshal(b []byte) error
- type RoutingInformationServiceClient
- type RoutingInformationServiceServer
- type RoutingInformationService_DumpRIBClient
- type RoutingInformationService_DumpRIBServer
- type RoutingInformationService_ObserveRIBClient
- type RoutingInformationService_ObserveRIBServer
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 (m *ObserveRIBRequest) GetAfisafi() ObserveRIBRequest_AFISAFI
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) GetAdvertisement ¶
func (*RIBUpdate) GetIsInitialDump ¶
func (*RIBUpdate) ProtoMessage ¶
func (*RIBUpdate) ProtoMessage()
func (*RIBUpdate) XXX_DiscardUnknown ¶
func (m *RIBUpdate) XXX_DiscardUnknown()
func (*RIBUpdate) XXX_Marshal ¶
func (*RIBUpdate) XXX_Unmarshal ¶
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) GetAddress ¶
func (*Router) GetSysName ¶
func (*Router) ProtoMessage ¶
func (*Router) ProtoMessage()
func (*Router) XXX_DiscardUnknown ¶
func (m *Router) XXX_DiscardUnknown()
func (*Router) XXX_Marshal ¶
func (*Router) XXX_Unmarshal ¶
type RoutingInformationServiceClient ¶
type RoutingInformationServiceClient interface { LPM(ctx context.Context, in *LPMRequest, opts ...grpc.CallOption) (*LPMResponse, error) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) GetRouters(ctx context.Context, in *GetRoutersRequest, opts ...grpc.CallOption) (*GetRoutersResponse, error) GetLonger(ctx context.Context, in *GetLongerRequest, opts ...grpc.CallOption) (*GetLongerResponse, error) ObserveRIB(ctx context.Context, in *ObserveRIBRequest, opts ...grpc.CallOption) (RoutingInformationService_ObserveRIBClient, error) DumpRIB(ctx context.Context, in *DumpRIBRequest, opts ...grpc.CallOption) (RoutingInformationService_DumpRIBClient, error) }
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 ¶
type RoutingInformationServiceServer interface { LPM(context.Context, *LPMRequest) (*LPMResponse, error) Get(context.Context, *GetRequest) (*GetResponse, error) GetRouters(context.Context, *GetRoutersRequest) (*GetRoutersResponse, error) GetLonger(context.Context, *GetLongerRequest) (*GetLongerResponse, error) ObserveRIB(*ObserveRIBRequest, RoutingInformationService_ObserveRIBServer) error DumpRIB(*DumpRIBRequest, RoutingInformationService_DumpRIBServer) error }
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 }
Click to show internal directories.
Click to hide internal directories.