Documentation ¶
Overview ¶
Package rpc is the parent for packages defining various GRPC services generated from protobuf data models.
Index ¶
- func RegisterDataChangeServiceServer(s *grpc.Server, srv DataChangeServiceServer)
- func RegisterDataDumpServiceServer(s *grpc.Server, srv DataDumpServiceServer)
- func RegisterDataResyncServiceServer(s *grpc.Server, srv DataResyncServiceServer)
- func RegisterNotificationServiceServer(s *grpc.Server, srv NotificationServiceServer)
- type ARPsResponse
- func (*ARPsResponse) Descriptor() ([]byte, []int)
- func (m *ARPsResponse) GetArpEntries() []*l3.ArpTable_ArpEntry
- func (*ARPsResponse) ProtoMessage()
- func (m *ARPsResponse) Reset()
- func (m *ARPsResponse) String() string
- func (m *ARPsResponse) XXX_DiscardUnknown()
- func (m *ARPsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ARPsResponse) XXX_Merge(src proto.Message)
- func (m *ARPsResponse) XXX_Size() int
- func (m *ARPsResponse) XXX_Unmarshal(b []byte) error
- type AclResponse
- func (*AclResponse) Descriptor() ([]byte, []int)
- func (m *AclResponse) GetAccessLists() []*acl.AccessLists_Acl
- func (*AclResponse) ProtoMessage()
- func (m *AclResponse) Reset()
- func (m *AclResponse) String() string
- func (m *AclResponse) XXX_DiscardUnknown()
- func (m *AclResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AclResponse) XXX_Merge(src proto.Message)
- func (m *AclResponse) XXX_Size() int
- func (m *AclResponse) XXX_Unmarshal(b []byte) error
- type BDResponse
- func (*BDResponse) Descriptor() ([]byte, []int)
- func (m *BDResponse) GetBridgeDomains() []*l2.BridgeDomains_BridgeDomain
- func (*BDResponse) ProtoMessage()
- func (m *BDResponse) Reset()
- func (m *BDResponse) String() string
- func (m *BDResponse) XXX_DiscardUnknown()
- func (m *BDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BDResponse) XXX_Merge(src proto.Message)
- func (m *BDResponse) XXX_Size() int
- func (m *BDResponse) XXX_Unmarshal(b []byte) error
- type DataChangeServiceClient
- type DataChangeServiceServer
- type DataDumpServiceClient
- type DataDumpServiceServer
- type DataRequest
- func (*DataRequest) Descriptor() ([]byte, []int)
- func (m *DataRequest) GetAccessLists() []*acl.AccessLists_Acl
- func (m *DataRequest) GetApplicationNamespaces() []*l4.AppNamespaces_AppNamespace
- func (m *DataRequest) GetArpEntries() []*l3.ArpTable_ArpEntry
- func (m *DataRequest) GetBfdAuthKeys() []*bfd.SingleHopBFD_Key
- func (m *DataRequest) GetBfdEchoFunction() *bfd.SingleHopBFD_EchoFunction
- func (m *DataRequest) GetBfdSessions() []*bfd.SingleHopBFD_Session
- func (m *DataRequest) GetBridgeDomains() []*l2.BridgeDomains_BridgeDomain
- func (m *DataRequest) GetDNATs() []*nat.Nat44DNat_DNatConfig
- func (m *DataRequest) GetFIBs() []*l2.FibTable_FibEntry
- func (m *DataRequest) GetInterfaces() []*interfaces.Interfaces_Interface
- func (m *DataRequest) GetL4Feature() *l4.L4Features
- func (m *DataRequest) GetLinuxArpEntries() []*l31.LinuxStaticArpEntries_ArpEntry
- func (m *DataRequest) GetLinuxInterfaces() []*interfaces1.LinuxInterfaces_Interface
- func (m *DataRequest) GetLinuxRoutes() []*l31.LinuxStaticRoutes_Route
- func (m *DataRequest) GetNatGlobal() *nat.Nat44Global
- func (m *DataRequest) GetProxyArpInterfaces() []*l3.ProxyArpInterfaces_InterfaceList
- func (m *DataRequest) GetProxyArpRanges() []*l3.ProxyArpRanges_RangeList
- func (m *DataRequest) GetPunts() []*punt.Punt
- func (m *DataRequest) GetSAs() []*ipsec.SecurityAssociations_SA
- func (m *DataRequest) GetSPDs() []*ipsec.SecurityPolicyDatabases_SPD
- func (m *DataRequest) GetStaticRoutes() []*l3.StaticRoutes_Route
- func (m *DataRequest) GetStnRules() []*stn.STN_Rule
- func (m *DataRequest) GetTunnels() []*ipsec.TunnelInterfaces_Tunnel
- func (m *DataRequest) GetXCons() []*l2.XConnectPairs_XConnectPair
- func (*DataRequest) ProtoMessage()
- func (m *DataRequest) Reset()
- func (m *DataRequest) String() string
- func (m *DataRequest) XXX_DiscardUnknown()
- func (m *DataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DataRequest) XXX_Merge(src proto.Message)
- func (m *DataRequest) XXX_Size() int
- func (m *DataRequest) XXX_Unmarshal(b []byte) error
- type DataResyncServiceClient
- type DataResyncServiceServer
- type DelResponse
- func (*DelResponse) Descriptor() ([]byte, []int)
- func (*DelResponse) ProtoMessage()
- func (m *DelResponse) Reset()
- func (m *DelResponse) String() string
- func (m *DelResponse) XXX_DiscardUnknown()
- func (m *DelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DelResponse) XXX_Merge(src proto.Message)
- func (m *DelResponse) XXX_Size() int
- func (m *DelResponse) XXX_Unmarshal(b []byte) error
- type DumpRequest
- func (*DumpRequest) Descriptor() ([]byte, []int)
- func (*DumpRequest) ProtoMessage()
- func (m *DumpRequest) Reset()
- func (m *DumpRequest) String() string
- func (m *DumpRequest) XXX_DiscardUnknown()
- func (m *DumpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DumpRequest) XXX_Merge(src proto.Message)
- func (m *DumpRequest) XXX_Size() int
- func (m *DumpRequest) XXX_Unmarshal(b []byte) error
- type FibResponse
- func (*FibResponse) Descriptor() ([]byte, []int)
- func (m *FibResponse) GetFIBs() []*l2.FibTable_FibEntry
- func (*FibResponse) ProtoMessage()
- func (m *FibResponse) Reset()
- func (m *FibResponse) String() string
- func (m *FibResponse) XXX_DiscardUnknown()
- func (m *FibResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FibResponse) XXX_Merge(src proto.Message)
- func (m *FibResponse) XXX_Size() int
- func (m *FibResponse) XXX_Unmarshal(b []byte) error
- type IPSecSAResponse
- func (*IPSecSAResponse) Descriptor() ([]byte, []int)
- func (m *IPSecSAResponse) GetSAa() []*ipsec.SecurityAssociations_SA
- func (*IPSecSAResponse) ProtoMessage()
- func (m *IPSecSAResponse) Reset()
- func (m *IPSecSAResponse) String() string
- func (m *IPSecSAResponse) XXX_DiscardUnknown()
- func (m *IPSecSAResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IPSecSAResponse) XXX_Merge(src proto.Message)
- func (m *IPSecSAResponse) XXX_Size() int
- func (m *IPSecSAResponse) XXX_Unmarshal(b []byte) error
- type IPSecSPDResponse
- func (*IPSecSPDResponse) Descriptor() ([]byte, []int)
- func (m *IPSecSPDResponse) GetSPDs() []*ipsec.SecurityPolicyDatabases_SPD
- func (*IPSecSPDResponse) ProtoMessage()
- func (m *IPSecSPDResponse) Reset()
- func (m *IPSecSPDResponse) String() string
- func (m *IPSecSPDResponse) XXX_DiscardUnknown()
- func (m *IPSecSPDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IPSecSPDResponse) XXX_Merge(src proto.Message)
- func (m *IPSecSPDResponse) XXX_Size() int
- func (m *IPSecSPDResponse) XXX_Unmarshal(b []byte) error
- type IPSecTunnelResponse
- func (*IPSecTunnelResponse) Descriptor() ([]byte, []int)
- func (m *IPSecTunnelResponse) GetTunnels() []*ipsec.TunnelInterfaces_Tunnel
- func (*IPSecTunnelResponse) ProtoMessage()
- func (m *IPSecTunnelResponse) Reset()
- func (m *IPSecTunnelResponse) String() string
- func (m *IPSecTunnelResponse) XXX_DiscardUnknown()
- func (m *IPSecTunnelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IPSecTunnelResponse) XXX_Merge(src proto.Message)
- func (m *IPSecTunnelResponse) XXX_Size() int
- func (m *IPSecTunnelResponse) XXX_Unmarshal(b []byte) error
- type InterfaceResponse
- func (*InterfaceResponse) Descriptor() ([]byte, []int)
- func (m *InterfaceResponse) GetInterfaces() []*interfaces.Interfaces_Interface
- func (*InterfaceResponse) ProtoMessage()
- func (m *InterfaceResponse) Reset()
- func (m *InterfaceResponse) String() string
- func (m *InterfaceResponse) XXX_DiscardUnknown()
- func (m *InterfaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InterfaceResponse) XXX_Merge(src proto.Message)
- func (m *InterfaceResponse) XXX_Size() int
- func (m *InterfaceResponse) XXX_Unmarshal(b []byte) error
- type LinuxARPsResponse
- func (*LinuxARPsResponse) Descriptor() ([]byte, []int)
- func (m *LinuxARPsResponse) GetLinuxArpEntries() []*l31.LinuxStaticArpEntries_ArpEntry
- func (*LinuxARPsResponse) ProtoMessage()
- func (m *LinuxARPsResponse) Reset()
- func (m *LinuxARPsResponse) String() string
- func (m *LinuxARPsResponse) XXX_DiscardUnknown()
- func (m *LinuxARPsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LinuxARPsResponse) XXX_Merge(src proto.Message)
- func (m *LinuxARPsResponse) XXX_Size() int
- func (m *LinuxARPsResponse) XXX_Unmarshal(b []byte) error
- type LinuxInterfaceResponse
- func (*LinuxInterfaceResponse) Descriptor() ([]byte, []int)
- func (m *LinuxInterfaceResponse) GetLinuxInterfaces() []*interfaces1.LinuxInterfaces_Interface
- func (*LinuxInterfaceResponse) ProtoMessage()
- func (m *LinuxInterfaceResponse) Reset()
- func (m *LinuxInterfaceResponse) String() string
- func (m *LinuxInterfaceResponse) XXX_DiscardUnknown()
- func (m *LinuxInterfaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LinuxInterfaceResponse) XXX_Merge(src proto.Message)
- func (m *LinuxInterfaceResponse) XXX_Size() int
- func (m *LinuxInterfaceResponse) XXX_Unmarshal(b []byte) error
- type LinuxRoutesResponse
- func (*LinuxRoutesResponse) Descriptor() ([]byte, []int)
- func (m *LinuxRoutesResponse) GetLinuxRoutes() []*l31.LinuxStaticRoutes_Route
- func (*LinuxRoutesResponse) ProtoMessage()
- func (m *LinuxRoutesResponse) Reset()
- func (m *LinuxRoutesResponse) String() string
- func (m *LinuxRoutesResponse) XXX_DiscardUnknown()
- func (m *LinuxRoutesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LinuxRoutesResponse) XXX_Merge(src proto.Message)
- func (m *LinuxRoutesResponse) XXX_Size() int
- func (m *LinuxRoutesResponse) XXX_Unmarshal(b []byte) error
- type NotificationRequest
- func (*NotificationRequest) Descriptor() ([]byte, []int)
- func (m *NotificationRequest) GetIdx() uint32
- func (*NotificationRequest) ProtoMessage()
- func (m *NotificationRequest) Reset()
- func (m *NotificationRequest) String() string
- func (m *NotificationRequest) XXX_DiscardUnknown()
- func (m *NotificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NotificationRequest) XXX_Merge(src proto.Message)
- func (m *NotificationRequest) XXX_Size() int
- func (m *NotificationRequest) XXX_Unmarshal(b []byte) error
- type NotificationServiceClient
- type NotificationServiceServer
- type NotificationService_GetClient
- type NotificationService_GetServer
- type NotificationsResponse
- func (*NotificationsResponse) Descriptor() ([]byte, []int)
- func (m *NotificationsResponse) GetNIf() *interfaces.InterfaceNotification
- func (m *NotificationsResponse) GetNextIdx() uint32
- func (*NotificationsResponse) ProtoMessage()
- func (m *NotificationsResponse) Reset()
- func (m *NotificationsResponse) String() string
- func (m *NotificationsResponse) XXX_DiscardUnknown()
- func (m *NotificationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NotificationsResponse) XXX_Merge(src proto.Message)
- func (m *NotificationsResponse) XXX_Size() int
- func (m *NotificationsResponse) XXX_Unmarshal(b []byte) error
- type PuntResponse
- func (*PuntResponse) Descriptor() ([]byte, []int)
- func (m *PuntResponse) GetPuntEntries() []*PuntResponse_PuntEntry
- func (*PuntResponse) ProtoMessage()
- func (m *PuntResponse) Reset()
- func (m *PuntResponse) String() string
- func (m *PuntResponse) XXX_DiscardUnknown()
- func (m *PuntResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PuntResponse) XXX_Merge(src proto.Message)
- func (m *PuntResponse) XXX_Size() int
- func (m *PuntResponse) XXX_Unmarshal(b []byte) error
- type PuntResponse_PuntEntry
- func (*PuntResponse_PuntEntry) Descriptor() ([]byte, []int)
- func (m *PuntResponse_PuntEntry) GetPathName() []byte
- func (m *PuntResponse_PuntEntry) GetPuntData() *punt.Punt
- func (*PuntResponse_PuntEntry) ProtoMessage()
- func (m *PuntResponse_PuntEntry) Reset()
- func (m *PuntResponse_PuntEntry) String() string
- func (m *PuntResponse_PuntEntry) XXX_DiscardUnknown()
- func (m *PuntResponse_PuntEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PuntResponse_PuntEntry) XXX_Merge(src proto.Message)
- func (m *PuntResponse_PuntEntry) XXX_Size() int
- func (m *PuntResponse_PuntEntry) XXX_Unmarshal(b []byte) error
- type PutResponse
- func (*PutResponse) Descriptor() ([]byte, []int)
- func (*PutResponse) ProtoMessage()
- func (m *PutResponse) Reset()
- func (m *PutResponse) String() string
- func (m *PutResponse) XXX_DiscardUnknown()
- func (m *PutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PutResponse) XXX_Merge(src proto.Message)
- func (m *PutResponse) XXX_Size() int
- func (m *PutResponse) XXX_Unmarshal(b []byte) error
- type ResyncResponse
- func (*ResyncResponse) Descriptor() ([]byte, []int)
- func (*ResyncResponse) ProtoMessage()
- func (m *ResyncResponse) Reset()
- func (m *ResyncResponse) String() string
- func (m *ResyncResponse) XXX_DiscardUnknown()
- func (m *ResyncResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResyncResponse) XXX_Merge(src proto.Message)
- func (m *ResyncResponse) XXX_Size() int
- func (m *ResyncResponse) XXX_Unmarshal(b []byte) error
- type RoutesResponse
- func (*RoutesResponse) Descriptor() ([]byte, []int)
- func (m *RoutesResponse) GetStaticRoutes() []*l3.StaticRoutes_Route
- func (*RoutesResponse) ProtoMessage()
- func (m *RoutesResponse) Reset()
- func (m *RoutesResponse) String() string
- func (m *RoutesResponse) XXX_DiscardUnknown()
- func (m *RoutesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RoutesResponse) XXX_Merge(src proto.Message)
- func (m *RoutesResponse) XXX_Size() int
- func (m *RoutesResponse) XXX_Unmarshal(b []byte) error
- type XcResponse
- func (*XcResponse) Descriptor() ([]byte, []int)
- func (m *XcResponse) GetXCons() []*l2.XConnectPairs_XConnectPair
- func (*XcResponse) ProtoMessage()
- func (m *XcResponse) Reset()
- func (m *XcResponse) String() string
- func (m *XcResponse) XXX_DiscardUnknown()
- func (m *XcResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *XcResponse) XXX_Merge(src proto.Message)
- func (m *XcResponse) XXX_Size() int
- func (m *XcResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterDataChangeServiceServer ¶
func RegisterDataChangeServiceServer(s *grpc.Server, srv DataChangeServiceServer)
func RegisterDataDumpServiceServer ¶ added in v1.8.1
func RegisterDataDumpServiceServer(s *grpc.Server, srv DataDumpServiceServer)
func RegisterDataResyncServiceServer ¶
func RegisterDataResyncServiceServer(s *grpc.Server, srv DataResyncServiceServer)
func RegisterNotificationServiceServer ¶
func RegisterNotificationServiceServer(s *grpc.Server, srv NotificationServiceServer)
Types ¶
type ARPsResponse ¶ added in v1.8.1
type ARPsResponse struct { ArpEntries []*l3.ArpTable_ArpEntry `protobuf:"bytes,1,rep,name=ArpEntries,json=arpEntries" json:"ArpEntries,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ARPsResponse is response to 'dump' the l3 ARPs
func (*ARPsResponse) Descriptor ¶ added in v1.8.1
func (*ARPsResponse) Descriptor() ([]byte, []int)
func (*ARPsResponse) GetArpEntries ¶ added in v1.8.1
func (m *ARPsResponse) GetArpEntries() []*l3.ArpTable_ArpEntry
func (*ARPsResponse) ProtoMessage ¶ added in v1.8.1
func (*ARPsResponse) ProtoMessage()
func (*ARPsResponse) Reset ¶ added in v1.8.1
func (m *ARPsResponse) Reset()
func (*ARPsResponse) String ¶ added in v1.8.1
func (m *ARPsResponse) String() string
func (*ARPsResponse) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *ARPsResponse) XXX_DiscardUnknown()
func (*ARPsResponse) XXX_Marshal ¶ added in v1.8.1
func (m *ARPsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ARPsResponse) XXX_Merge ¶ added in v1.8.1
func (dst *ARPsResponse) XXX_Merge(src proto.Message)
func (*ARPsResponse) XXX_Size ¶ added in v1.8.1
func (m *ARPsResponse) XXX_Size() int
func (*ARPsResponse) XXX_Unmarshal ¶ added in v1.8.1
func (m *ARPsResponse) XXX_Unmarshal(b []byte) error
type AclResponse ¶ added in v1.8.1
type AclResponse struct { AccessLists []*acl.AccessLists_Acl `protobuf:"bytes,1,rep,name=AccessLists,json=accessLists" json:"AccessLists,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
AclResponse is response to 'dump' all the access lists
func (*AclResponse) Descriptor ¶ added in v1.8.1
func (*AclResponse) Descriptor() ([]byte, []int)
func (*AclResponse) GetAccessLists ¶ added in v1.8.1
func (m *AclResponse) GetAccessLists() []*acl.AccessLists_Acl
func (*AclResponse) ProtoMessage ¶ added in v1.8.1
func (*AclResponse) ProtoMessage()
func (*AclResponse) Reset ¶ added in v1.8.1
func (m *AclResponse) Reset()
func (*AclResponse) String ¶ added in v1.8.1
func (m *AclResponse) String() string
func (*AclResponse) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *AclResponse) XXX_DiscardUnknown()
func (*AclResponse) XXX_Marshal ¶ added in v1.8.1
func (m *AclResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AclResponse) XXX_Merge ¶ added in v1.8.1
func (dst *AclResponse) XXX_Merge(src proto.Message)
func (*AclResponse) XXX_Size ¶ added in v1.8.1
func (m *AclResponse) XXX_Size() int
func (*AclResponse) XXX_Unmarshal ¶ added in v1.8.1
func (m *AclResponse) XXX_Unmarshal(b []byte) error
type BDResponse ¶ added in v1.8.1
type BDResponse struct { BridgeDomains []*l2.BridgeDomains_BridgeDomain `protobuf:"bytes,1,rep,name=BridgeDomains,json=bridgeDomains" json:"BridgeDomains,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
BDResponse is response to 'dump' the bridge domains
func (*BDResponse) Descriptor ¶ added in v1.8.1
func (*BDResponse) Descriptor() ([]byte, []int)
func (*BDResponse) GetBridgeDomains ¶ added in v1.8.1
func (m *BDResponse) GetBridgeDomains() []*l2.BridgeDomains_BridgeDomain
func (*BDResponse) ProtoMessage ¶ added in v1.8.1
func (*BDResponse) ProtoMessage()
func (*BDResponse) Reset ¶ added in v1.8.1
func (m *BDResponse) Reset()
func (*BDResponse) String ¶ added in v1.8.1
func (m *BDResponse) String() string
func (*BDResponse) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *BDResponse) XXX_DiscardUnknown()
func (*BDResponse) XXX_Marshal ¶ added in v1.8.1
func (m *BDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BDResponse) XXX_Merge ¶ added in v1.8.1
func (dst *BDResponse) XXX_Merge(src proto.Message)
func (*BDResponse) XXX_Size ¶ added in v1.8.1
func (m *BDResponse) XXX_Size() int
func (*BDResponse) XXX_Unmarshal ¶ added in v1.8.1
func (m *BDResponse) XXX_Unmarshal(b []byte) error
type DataChangeServiceClient ¶
type DataChangeServiceClient interface { // Creates or updates one or multiple configuration items Put(ctx context.Context, in *DataRequest, opts ...grpc.CallOption) (*PutResponse, error) // Removes one or multiple configuration items Del(ctx context.Context, in *DataRequest, opts ...grpc.CallOption) (*DelResponse, error) }
func NewDataChangeServiceClient ¶
func NewDataChangeServiceClient(cc *grpc.ClientConn) DataChangeServiceClient
type DataChangeServiceServer ¶
type DataChangeServiceServer interface { // Creates or updates one or multiple configuration items Put(context.Context, *DataRequest) (*PutResponse, error) // Removes one or multiple configuration items Del(context.Context, *DataRequest) (*DelResponse, error) }
type DataDumpServiceClient ¶ added in v1.8.1
type DataDumpServiceClient interface { DumpAcls(ctx context.Context, in *DumpRequest, opts ...grpc.CallOption) (*AclResponse, error) DumpInterfaces(ctx context.Context, in *DumpRequest, opts ...grpc.CallOption) (*InterfaceResponse, error) DumpIPSecSPDs(ctx context.Context, in *DumpRequest, opts ...grpc.CallOption) (*IPSecSPDResponse, error) DumpIPSecSAs(ctx context.Context, in *DumpRequest, opts ...grpc.CallOption) (*IPSecSAResponse, error) DumpIPSecTunnels(ctx context.Context, in *DumpRequest, opts ...grpc.CallOption) (*IPSecTunnelResponse, error) DumpBDs(ctx context.Context, in *DumpRequest, opts ...grpc.CallOption) (*BDResponse, error) DumpFIBs(ctx context.Context, in *DumpRequest, opts ...grpc.CallOption) (*FibResponse, error) DumpXConnects(ctx context.Context, in *DumpRequest, opts ...grpc.CallOption) (*XcResponse, error) DumpRoutes(ctx context.Context, in *DumpRequest, opts ...grpc.CallOption) (*RoutesResponse, error) DumpARPs(ctx context.Context, in *DumpRequest, opts ...grpc.CallOption) (*ARPsResponse, error) DumpPunt(ctx context.Context, in *DumpRequest, opts ...grpc.CallOption) (*PuntResponse, error) DumpLinuxInterfaces(ctx context.Context, in *DumpRequest, opts ...grpc.CallOption) (*LinuxInterfaceResponse, error) DumpLinuxARPs(ctx context.Context, in *DumpRequest, opts ...grpc.CallOption) (*LinuxARPsResponse, error) DumpLinuxRoutes(ctx context.Context, in *DumpRequest, opts ...grpc.CallOption) (*LinuxRoutesResponse, error) }
func NewDataDumpServiceClient ¶ added in v1.8.1
func NewDataDumpServiceClient(cc *grpc.ClientConn) DataDumpServiceClient
type DataDumpServiceServer ¶ added in v1.8.1
type DataDumpServiceServer interface { DumpAcls(context.Context, *DumpRequest) (*AclResponse, error) DumpInterfaces(context.Context, *DumpRequest) (*InterfaceResponse, error) DumpIPSecSPDs(context.Context, *DumpRequest) (*IPSecSPDResponse, error) DumpIPSecSAs(context.Context, *DumpRequest) (*IPSecSAResponse, error) DumpIPSecTunnels(context.Context, *DumpRequest) (*IPSecTunnelResponse, error) DumpBDs(context.Context, *DumpRequest) (*BDResponse, error) DumpFIBs(context.Context, *DumpRequest) (*FibResponse, error) DumpXConnects(context.Context, *DumpRequest) (*XcResponse, error) DumpRoutes(context.Context, *DumpRequest) (*RoutesResponse, error) DumpARPs(context.Context, *DumpRequest) (*ARPsResponse, error) DumpPunt(context.Context, *DumpRequest) (*PuntResponse, error) DumpLinuxInterfaces(context.Context, *DumpRequest) (*LinuxInterfaceResponse, error) DumpLinuxARPs(context.Context, *DumpRequest) (*LinuxARPsResponse, error) DumpLinuxRoutes(context.Context, *DumpRequest) (*LinuxRoutesResponse, error) }
type DataRequest ¶
type DataRequest struct { // vpp plugin AccessLists []*acl.AccessLists_Acl `protobuf:"bytes,10,rep,name=AccessLists,json=accessLists" json:"AccessLists,omitempty"` Interfaces []*interfaces.Interfaces_Interface `protobuf:"bytes,20,rep,name=Interfaces,json=interfaces" json:"Interfaces,omitempty"` SPDs []*ipsec.SecurityPolicyDatabases_SPD `protobuf:"bytes,21,rep,name=SPDs,json=sPDs" json:"SPDs,omitempty"` SAs []*ipsec.SecurityAssociations_SA `protobuf:"bytes,22,rep,name=SAs,json=sAs" json:"SAs,omitempty"` Tunnels []*ipsec.TunnelInterfaces_Tunnel `protobuf:"bytes,23,rep,name=Tunnels,json=tunnels" json:"Tunnels,omitempty"` BfdSessions []*bfd.SingleHopBFD_Session `protobuf:"bytes,30,rep,name=BfdSessions,json=bfdSessions" json:"BfdSessions,omitempty"` BfdAuthKeys []*bfd.SingleHopBFD_Key `protobuf:"bytes,31,rep,name=BfdAuthKeys,json=bfdAuthKeys" json:"BfdAuthKeys,omitempty"` BfdEchoFunction *bfd.SingleHopBFD_EchoFunction `protobuf:"bytes,32,opt,name=BfdEchoFunction,json=bfdEchoFunction" json:"BfdEchoFunction,omitempty"` BridgeDomains []*l2.BridgeDomains_BridgeDomain `protobuf:"bytes,40,rep,name=BridgeDomains,json=bridgeDomains" json:"BridgeDomains,omitempty"` FIBs []*l2.FibTable_FibEntry `protobuf:"bytes,41,rep,name=FIBs,json=fIBs" json:"FIBs,omitempty"` XCons []*l2.XConnectPairs_XConnectPair `protobuf:"bytes,42,rep,name=XCons,json=xCons" json:"XCons,omitempty"` StaticRoutes []*l3.StaticRoutes_Route `protobuf:"bytes,50,rep,name=StaticRoutes,json=staticRoutes" json:"StaticRoutes,omitempty"` ArpEntries []*l3.ArpTable_ArpEntry `protobuf:"bytes,51,rep,name=ArpEntries,json=arpEntries" json:"ArpEntries,omitempty"` ProxyArpInterfaces []*l3.ProxyArpInterfaces_InterfaceList `protobuf:"bytes,52,rep,name=ProxyArpInterfaces,json=proxyArpInterfaces" json:"ProxyArpInterfaces,omitempty"` ProxyArpRanges []*l3.ProxyArpRanges_RangeList `protobuf:"bytes,53,rep,name=ProxyArpRanges,json=proxyArpRanges" json:"ProxyArpRanges,omitempty"` L4Feature *l4.L4Features `protobuf:"bytes,60,opt,name=L4Feature,json=l4Feature" json:"L4Feature,omitempty"` ApplicationNamespaces []*l4.AppNamespaces_AppNamespace `protobuf:"bytes,61,rep,name=ApplicationNamespaces,json=applicationNamespaces" json:"ApplicationNamespaces,omitempty"` StnRules []*stn.STN_Rule `protobuf:"bytes,70,rep,name=StnRules,json=stnRules" json:"StnRules,omitempty"` NatGlobal *nat.Nat44Global `protobuf:"bytes,71,opt,name=NatGlobal,json=natGlobal" json:"NatGlobal,omitempty"` DNATs []*nat.Nat44DNat_DNatConfig `protobuf:"bytes,72,rep,name=DNATs,json=dNATs" json:"DNATs,omitempty"` Punts []*punt.Punt `protobuf:"bytes,73,rep,name=punts" json:"punts,omitempty"` // Linux plugin LinuxInterfaces []*interfaces1.LinuxInterfaces_Interface `protobuf:"bytes,80,rep,name=LinuxInterfaces,json=linuxInterfaces" json:"LinuxInterfaces,omitempty"` LinuxArpEntries []*l31.LinuxStaticArpEntries_ArpEntry `protobuf:"bytes,90,rep,name=LinuxArpEntries,json=linuxArpEntries" json:"LinuxArpEntries,omitempty"` LinuxRoutes []*l31.LinuxStaticRoutes_Route `protobuf:"bytes,91,rep,name=LinuxRoutes,json=linuxRoutes" json:"LinuxRoutes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Data request is an inventory of supported data types with one or multiple items of every type. Universal type for every data change/resync request
func (*DataRequest) Descriptor ¶
func (*DataRequest) Descriptor() ([]byte, []int)
func (*DataRequest) GetAccessLists ¶
func (m *DataRequest) GetAccessLists() []*acl.AccessLists_Acl
func (*DataRequest) GetApplicationNamespaces ¶
func (m *DataRequest) GetApplicationNamespaces() []*l4.AppNamespaces_AppNamespace
func (*DataRequest) GetArpEntries ¶
func (m *DataRequest) GetArpEntries() []*l3.ArpTable_ArpEntry
func (*DataRequest) GetBfdAuthKeys ¶
func (m *DataRequest) GetBfdAuthKeys() []*bfd.SingleHopBFD_Key
func (*DataRequest) GetBfdEchoFunction ¶
func (m *DataRequest) GetBfdEchoFunction() *bfd.SingleHopBFD_EchoFunction
func (*DataRequest) GetBfdSessions ¶
func (m *DataRequest) GetBfdSessions() []*bfd.SingleHopBFD_Session
func (*DataRequest) GetBridgeDomains ¶
func (m *DataRequest) GetBridgeDomains() []*l2.BridgeDomains_BridgeDomain
func (*DataRequest) GetDNATs ¶
func (m *DataRequest) GetDNATs() []*nat.Nat44DNat_DNatConfig
func (*DataRequest) GetFIBs ¶
func (m *DataRequest) GetFIBs() []*l2.FibTable_FibEntry
func (*DataRequest) GetInterfaces ¶
func (m *DataRequest) GetInterfaces() []*interfaces.Interfaces_Interface
func (*DataRequest) GetL4Feature ¶
func (m *DataRequest) GetL4Feature() *l4.L4Features
func (*DataRequest) GetLinuxArpEntries ¶
func (m *DataRequest) GetLinuxArpEntries() []*l31.LinuxStaticArpEntries_ArpEntry
func (*DataRequest) GetLinuxInterfaces ¶
func (m *DataRequest) GetLinuxInterfaces() []*interfaces1.LinuxInterfaces_Interface
func (*DataRequest) GetLinuxRoutes ¶
func (m *DataRequest) GetLinuxRoutes() []*l31.LinuxStaticRoutes_Route
func (*DataRequest) GetNatGlobal ¶
func (m *DataRequest) GetNatGlobal() *nat.Nat44Global
func (*DataRequest) GetProxyArpInterfaces ¶
func (m *DataRequest) GetProxyArpInterfaces() []*l3.ProxyArpInterfaces_InterfaceList
func (*DataRequest) GetProxyArpRanges ¶
func (m *DataRequest) GetProxyArpRanges() []*l3.ProxyArpRanges_RangeList
func (*DataRequest) GetPunts ¶ added in v1.8.1
func (m *DataRequest) GetPunts() []*punt.Punt
func (*DataRequest) GetSAs ¶ added in v1.8.1
func (m *DataRequest) GetSAs() []*ipsec.SecurityAssociations_SA
func (*DataRequest) GetSPDs ¶ added in v1.8.1
func (m *DataRequest) GetSPDs() []*ipsec.SecurityPolicyDatabases_SPD
func (*DataRequest) GetStaticRoutes ¶
func (m *DataRequest) GetStaticRoutes() []*l3.StaticRoutes_Route
func (*DataRequest) GetStnRules ¶
func (m *DataRequest) GetStnRules() []*stn.STN_Rule
func (*DataRequest) GetTunnels ¶ added in v1.8.1
func (m *DataRequest) GetTunnels() []*ipsec.TunnelInterfaces_Tunnel
func (*DataRequest) GetXCons ¶
func (m *DataRequest) GetXCons() []*l2.XConnectPairs_XConnectPair
func (*DataRequest) ProtoMessage ¶
func (*DataRequest) ProtoMessage()
func (*DataRequest) Reset ¶
func (m *DataRequest) Reset()
func (*DataRequest) String ¶
func (m *DataRequest) String() string
func (*DataRequest) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *DataRequest) XXX_DiscardUnknown()
func (*DataRequest) XXX_Marshal ¶ added in v1.8.1
func (m *DataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DataRequest) XXX_Merge ¶ added in v1.8.1
func (dst *DataRequest) XXX_Merge(src proto.Message)
func (*DataRequest) XXX_Size ¶ added in v1.8.1
func (m *DataRequest) XXX_Size() int
func (*DataRequest) XXX_Unmarshal ¶ added in v1.8.1
func (m *DataRequest) XXX_Unmarshal(b []byte) error
type DataResyncServiceClient ¶
type DataResyncServiceClient interface { // Calls vpp-agent resync Resync(ctx context.Context, in *DataRequest, opts ...grpc.CallOption) (*ResyncResponse, error) }
func NewDataResyncServiceClient ¶
func NewDataResyncServiceClient(cc *grpc.ClientConn) DataResyncServiceClient
type DataResyncServiceServer ¶
type DataResyncServiceServer interface { // Calls vpp-agent resync Resync(context.Context, *DataRequest) (*ResyncResponse, error) }
type DelResponse ¶
type DelResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response to data change 'del'
func (*DelResponse) Descriptor ¶
func (*DelResponse) Descriptor() ([]byte, []int)
func (*DelResponse) ProtoMessage ¶
func (*DelResponse) ProtoMessage()
func (*DelResponse) Reset ¶
func (m *DelResponse) Reset()
func (*DelResponse) String ¶
func (m *DelResponse) String() string
func (*DelResponse) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *DelResponse) XXX_DiscardUnknown()
func (*DelResponse) XXX_Marshal ¶ added in v1.8.1
func (m *DelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelResponse) XXX_Merge ¶ added in v1.8.1
func (dst *DelResponse) XXX_Merge(src proto.Message)
func (*DelResponse) XXX_Size ¶ added in v1.8.1
func (m *DelResponse) XXX_Size() int
func (*DelResponse) XXX_Unmarshal ¶ added in v1.8.1
func (m *DelResponse) XXX_Unmarshal(b []byte) error
type DumpRequest ¶ added in v1.8.1
type DumpRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DumpRequest represents a request to read data from the VPP
func (*DumpRequest) Descriptor ¶ added in v1.8.1
func (*DumpRequest) Descriptor() ([]byte, []int)
func (*DumpRequest) ProtoMessage ¶ added in v1.8.1
func (*DumpRequest) ProtoMessage()
func (*DumpRequest) Reset ¶ added in v1.8.1
func (m *DumpRequest) Reset()
func (*DumpRequest) String ¶ added in v1.8.1
func (m *DumpRequest) String() string
func (*DumpRequest) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *DumpRequest) XXX_DiscardUnknown()
func (*DumpRequest) XXX_Marshal ¶ added in v1.8.1
func (m *DumpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DumpRequest) XXX_Merge ¶ added in v1.8.1
func (dst *DumpRequest) XXX_Merge(src proto.Message)
func (*DumpRequest) XXX_Size ¶ added in v1.8.1
func (m *DumpRequest) XXX_Size() int
func (*DumpRequest) XXX_Unmarshal ¶ added in v1.8.1
func (m *DumpRequest) XXX_Unmarshal(b []byte) error
type FibResponse ¶ added in v1.8.1
type FibResponse struct { FIBs []*l2.FibTable_FibEntry `protobuf:"bytes,1,rep,name=FIBs,json=fIBs" json:"FIBs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
FibResponse is response to 'dump' the l2 FIBs
func (*FibResponse) Descriptor ¶ added in v1.8.1
func (*FibResponse) Descriptor() ([]byte, []int)
func (*FibResponse) GetFIBs ¶ added in v1.8.1
func (m *FibResponse) GetFIBs() []*l2.FibTable_FibEntry
func (*FibResponse) ProtoMessage ¶ added in v1.8.1
func (*FibResponse) ProtoMessage()
func (*FibResponse) Reset ¶ added in v1.8.1
func (m *FibResponse) Reset()
func (*FibResponse) String ¶ added in v1.8.1
func (m *FibResponse) String() string
func (*FibResponse) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *FibResponse) XXX_DiscardUnknown()
func (*FibResponse) XXX_Marshal ¶ added in v1.8.1
func (m *FibResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FibResponse) XXX_Merge ¶ added in v1.8.1
func (dst *FibResponse) XXX_Merge(src proto.Message)
func (*FibResponse) XXX_Size ¶ added in v1.8.1
func (m *FibResponse) XXX_Size() int
func (*FibResponse) XXX_Unmarshal ¶ added in v1.8.1
func (m *FibResponse) XXX_Unmarshal(b []byte) error
type IPSecSAResponse ¶ added in v1.8.1
type IPSecSAResponse struct { SAa []*ipsec.SecurityAssociations_SA `protobuf:"bytes,1,rep,name=SAa,json=sAa" json:"SAa,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
IPSecSAResponse is response to 'dump' all the IPSec SPDs
func (*IPSecSAResponse) Descriptor ¶ added in v1.8.1
func (*IPSecSAResponse) Descriptor() ([]byte, []int)
func (*IPSecSAResponse) GetSAa ¶ added in v1.8.1
func (m *IPSecSAResponse) GetSAa() []*ipsec.SecurityAssociations_SA
func (*IPSecSAResponse) ProtoMessage ¶ added in v1.8.1
func (*IPSecSAResponse) ProtoMessage()
func (*IPSecSAResponse) Reset ¶ added in v1.8.1
func (m *IPSecSAResponse) Reset()
func (*IPSecSAResponse) String ¶ added in v1.8.1
func (m *IPSecSAResponse) String() string
func (*IPSecSAResponse) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *IPSecSAResponse) XXX_DiscardUnknown()
func (*IPSecSAResponse) XXX_Marshal ¶ added in v1.8.1
func (m *IPSecSAResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IPSecSAResponse) XXX_Merge ¶ added in v1.8.1
func (dst *IPSecSAResponse) XXX_Merge(src proto.Message)
func (*IPSecSAResponse) XXX_Size ¶ added in v1.8.1
func (m *IPSecSAResponse) XXX_Size() int
func (*IPSecSAResponse) XXX_Unmarshal ¶ added in v1.8.1
func (m *IPSecSAResponse) XXX_Unmarshal(b []byte) error
type IPSecSPDResponse ¶ added in v1.8.1
type IPSecSPDResponse struct { SPDs []*ipsec.SecurityPolicyDatabases_SPD `protobuf:"bytes,1,rep,name=SPDs,json=sPDs" json:"SPDs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
IPSecSPDResponse is response to 'dump' all the IPSec SPDs
func (*IPSecSPDResponse) Descriptor ¶ added in v1.8.1
func (*IPSecSPDResponse) Descriptor() ([]byte, []int)
func (*IPSecSPDResponse) GetSPDs ¶ added in v1.8.1
func (m *IPSecSPDResponse) GetSPDs() []*ipsec.SecurityPolicyDatabases_SPD
func (*IPSecSPDResponse) ProtoMessage ¶ added in v1.8.1
func (*IPSecSPDResponse) ProtoMessage()
func (*IPSecSPDResponse) Reset ¶ added in v1.8.1
func (m *IPSecSPDResponse) Reset()
func (*IPSecSPDResponse) String ¶ added in v1.8.1
func (m *IPSecSPDResponse) String() string
func (*IPSecSPDResponse) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *IPSecSPDResponse) XXX_DiscardUnknown()
func (*IPSecSPDResponse) XXX_Marshal ¶ added in v1.8.1
func (m *IPSecSPDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IPSecSPDResponse) XXX_Merge ¶ added in v1.8.1
func (dst *IPSecSPDResponse) XXX_Merge(src proto.Message)
func (*IPSecSPDResponse) XXX_Size ¶ added in v1.8.1
func (m *IPSecSPDResponse) XXX_Size() int
func (*IPSecSPDResponse) XXX_Unmarshal ¶ added in v1.8.1
func (m *IPSecSPDResponse) XXX_Unmarshal(b []byte) error
type IPSecTunnelResponse ¶ added in v1.8.1
type IPSecTunnelResponse struct { Tunnels []*ipsec.TunnelInterfaces_Tunnel `protobuf:"bytes,1,rep,name=Tunnels,json=tunnels" json:"Tunnels,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
IPSecTunnelResponse is response to 'dump' all the IPSec tunnels
func (*IPSecTunnelResponse) Descriptor ¶ added in v1.8.1
func (*IPSecTunnelResponse) Descriptor() ([]byte, []int)
func (*IPSecTunnelResponse) GetTunnels ¶ added in v1.8.1
func (m *IPSecTunnelResponse) GetTunnels() []*ipsec.TunnelInterfaces_Tunnel
func (*IPSecTunnelResponse) ProtoMessage ¶ added in v1.8.1
func (*IPSecTunnelResponse) ProtoMessage()
func (*IPSecTunnelResponse) Reset ¶ added in v1.8.1
func (m *IPSecTunnelResponse) Reset()
func (*IPSecTunnelResponse) String ¶ added in v1.8.1
func (m *IPSecTunnelResponse) String() string
func (*IPSecTunnelResponse) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *IPSecTunnelResponse) XXX_DiscardUnknown()
func (*IPSecTunnelResponse) XXX_Marshal ¶ added in v1.8.1
func (m *IPSecTunnelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IPSecTunnelResponse) XXX_Merge ¶ added in v1.8.1
func (dst *IPSecTunnelResponse) XXX_Merge(src proto.Message)
func (*IPSecTunnelResponse) XXX_Size ¶ added in v1.8.1
func (m *IPSecTunnelResponse) XXX_Size() int
func (*IPSecTunnelResponse) XXX_Unmarshal ¶ added in v1.8.1
func (m *IPSecTunnelResponse) XXX_Unmarshal(b []byte) error
type InterfaceResponse ¶ added in v1.8.1
type InterfaceResponse struct { Interfaces []*interfaces.Interfaces_Interface `protobuf:"bytes,1,rep,name=Interfaces,json=interfaces" json:"Interfaces,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
InterfaceResponse is response to 'dump' all the interfaces
func (*InterfaceResponse) Descriptor ¶ added in v1.8.1
func (*InterfaceResponse) Descriptor() ([]byte, []int)
func (*InterfaceResponse) GetInterfaces ¶ added in v1.8.1
func (m *InterfaceResponse) GetInterfaces() []*interfaces.Interfaces_Interface
func (*InterfaceResponse) ProtoMessage ¶ added in v1.8.1
func (*InterfaceResponse) ProtoMessage()
func (*InterfaceResponse) Reset ¶ added in v1.8.1
func (m *InterfaceResponse) Reset()
func (*InterfaceResponse) String ¶ added in v1.8.1
func (m *InterfaceResponse) String() string
func (*InterfaceResponse) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *InterfaceResponse) XXX_DiscardUnknown()
func (*InterfaceResponse) XXX_Marshal ¶ added in v1.8.1
func (m *InterfaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InterfaceResponse) XXX_Merge ¶ added in v1.8.1
func (dst *InterfaceResponse) XXX_Merge(src proto.Message)
func (*InterfaceResponse) XXX_Size ¶ added in v1.8.1
func (m *InterfaceResponse) XXX_Size() int
func (*InterfaceResponse) XXX_Unmarshal ¶ added in v1.8.1
func (m *InterfaceResponse) XXX_Unmarshal(b []byte) error
type LinuxARPsResponse ¶ added in v1.8.1
type LinuxARPsResponse struct { LinuxArpEntries []*l31.LinuxStaticArpEntries_ArpEntry `protobuf:"bytes,1,rep,name=LinuxArpEntries,json=linuxArpEntries" json:"LinuxArpEntries,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
LinuxARPsResponse is response to 'dump' the linux ARPs
func (*LinuxARPsResponse) Descriptor ¶ added in v1.8.1
func (*LinuxARPsResponse) Descriptor() ([]byte, []int)
func (*LinuxARPsResponse) GetLinuxArpEntries ¶ added in v1.8.1
func (m *LinuxARPsResponse) GetLinuxArpEntries() []*l31.LinuxStaticArpEntries_ArpEntry
func (*LinuxARPsResponse) ProtoMessage ¶ added in v1.8.1
func (*LinuxARPsResponse) ProtoMessage()
func (*LinuxARPsResponse) Reset ¶ added in v1.8.1
func (m *LinuxARPsResponse) Reset()
func (*LinuxARPsResponse) String ¶ added in v1.8.1
func (m *LinuxARPsResponse) String() string
func (*LinuxARPsResponse) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *LinuxARPsResponse) XXX_DiscardUnknown()
func (*LinuxARPsResponse) XXX_Marshal ¶ added in v1.8.1
func (m *LinuxARPsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LinuxARPsResponse) XXX_Merge ¶ added in v1.8.1
func (dst *LinuxARPsResponse) XXX_Merge(src proto.Message)
func (*LinuxARPsResponse) XXX_Size ¶ added in v1.8.1
func (m *LinuxARPsResponse) XXX_Size() int
func (*LinuxARPsResponse) XXX_Unmarshal ¶ added in v1.8.1
func (m *LinuxARPsResponse) XXX_Unmarshal(b []byte) error
type LinuxInterfaceResponse ¶ added in v1.8.1
type LinuxInterfaceResponse struct { LinuxInterfaces []*interfaces1.LinuxInterfaces_Interface `protobuf:"bytes,1,rep,name=LinuxInterfaces,json=linuxInterfaces" json:"LinuxInterfaces,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
LinuxInterfaceResponse is response to 'dump' all the linux interfaces
func (*LinuxInterfaceResponse) Descriptor ¶ added in v1.8.1
func (*LinuxInterfaceResponse) Descriptor() ([]byte, []int)
func (*LinuxInterfaceResponse) GetLinuxInterfaces ¶ added in v1.8.1
func (m *LinuxInterfaceResponse) GetLinuxInterfaces() []*interfaces1.LinuxInterfaces_Interface
func (*LinuxInterfaceResponse) ProtoMessage ¶ added in v1.8.1
func (*LinuxInterfaceResponse) ProtoMessage()
func (*LinuxInterfaceResponse) Reset ¶ added in v1.8.1
func (m *LinuxInterfaceResponse) Reset()
func (*LinuxInterfaceResponse) String ¶ added in v1.8.1
func (m *LinuxInterfaceResponse) String() string
func (*LinuxInterfaceResponse) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *LinuxInterfaceResponse) XXX_DiscardUnknown()
func (*LinuxInterfaceResponse) XXX_Marshal ¶ added in v1.8.1
func (m *LinuxInterfaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LinuxInterfaceResponse) XXX_Merge ¶ added in v1.8.1
func (dst *LinuxInterfaceResponse) XXX_Merge(src proto.Message)
func (*LinuxInterfaceResponse) XXX_Size ¶ added in v1.8.1
func (m *LinuxInterfaceResponse) XXX_Size() int
func (*LinuxInterfaceResponse) XXX_Unmarshal ¶ added in v1.8.1
func (m *LinuxInterfaceResponse) XXX_Unmarshal(b []byte) error
type LinuxRoutesResponse ¶ added in v1.8.1
type LinuxRoutesResponse struct { LinuxRoutes []*l31.LinuxStaticRoutes_Route `protobuf:"bytes,1,rep,name=LinuxRoutes,json=linuxRoutes" json:"LinuxRoutes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
LinuxRoutesResponse is response to 'dump' the linux routes
func (*LinuxRoutesResponse) Descriptor ¶ added in v1.8.1
func (*LinuxRoutesResponse) Descriptor() ([]byte, []int)
func (*LinuxRoutesResponse) GetLinuxRoutes ¶ added in v1.8.1
func (m *LinuxRoutesResponse) GetLinuxRoutes() []*l31.LinuxStaticRoutes_Route
func (*LinuxRoutesResponse) ProtoMessage ¶ added in v1.8.1
func (*LinuxRoutesResponse) ProtoMessage()
func (*LinuxRoutesResponse) Reset ¶ added in v1.8.1
func (m *LinuxRoutesResponse) Reset()
func (*LinuxRoutesResponse) String ¶ added in v1.8.1
func (m *LinuxRoutesResponse) String() string
func (*LinuxRoutesResponse) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *LinuxRoutesResponse) XXX_DiscardUnknown()
func (*LinuxRoutesResponse) XXX_Marshal ¶ added in v1.8.1
func (m *LinuxRoutesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LinuxRoutesResponse) XXX_Merge ¶ added in v1.8.1
func (dst *LinuxRoutesResponse) XXX_Merge(src proto.Message)
func (*LinuxRoutesResponse) XXX_Size ¶ added in v1.8.1
func (m *LinuxRoutesResponse) XXX_Size() int
func (*LinuxRoutesResponse) XXX_Unmarshal ¶ added in v1.8.1
func (m *LinuxRoutesResponse) XXX_Unmarshal(b []byte) error
type NotificationRequest ¶
type NotificationRequest struct { Idx uint32 `protobuf:"varint,1,opt,name=idx,proto3" json:"idx,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
NotificationRequest represent a notification request which contains index of next required message
func (*NotificationRequest) Descriptor ¶
func (*NotificationRequest) Descriptor() ([]byte, []int)
func (*NotificationRequest) GetIdx ¶
func (m *NotificationRequest) GetIdx() uint32
func (*NotificationRequest) ProtoMessage ¶
func (*NotificationRequest) ProtoMessage()
func (*NotificationRequest) Reset ¶
func (m *NotificationRequest) Reset()
func (*NotificationRequest) String ¶
func (m *NotificationRequest) String() string
func (*NotificationRequest) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *NotificationRequest) XXX_DiscardUnknown()
func (*NotificationRequest) XXX_Marshal ¶ added in v1.8.1
func (m *NotificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NotificationRequest) XXX_Merge ¶ added in v1.8.1
func (dst *NotificationRequest) XXX_Merge(src proto.Message)
func (*NotificationRequest) XXX_Size ¶ added in v1.8.1
func (m *NotificationRequest) XXX_Size() int
func (*NotificationRequest) XXX_Unmarshal ¶ added in v1.8.1
func (m *NotificationRequest) XXX_Unmarshal(b []byte) error
type NotificationServiceClient ¶
type NotificationServiceClient interface { // Get notification stack Get(ctx context.Context, in *NotificationRequest, opts ...grpc.CallOption) (NotificationService_GetClient, error) }
func NewNotificationServiceClient ¶
func NewNotificationServiceClient(cc *grpc.ClientConn) NotificationServiceClient
type NotificationServiceServer ¶
type NotificationServiceServer interface { // Get notification stack Get(*NotificationRequest, NotificationService_GetServer) error }
type NotificationService_GetClient ¶
type NotificationService_GetClient interface { Recv() (*NotificationsResponse, error) grpc.ClientStream }
type NotificationService_GetServer ¶
type NotificationService_GetServer interface { Send(*NotificationsResponse) error grpc.ServerStream }
type NotificationsResponse ¶
type NotificationsResponse struct { // Index of following notification NextIdx uint32 `protobuf:"varint,1,opt,name=nextIdx,proto3" json:"nextIdx,omitempty"` // Notification data NIf *interfaces.InterfaceNotification `protobuf:"bytes,2,opt,name=nIf" json:"nIf,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response to notification request 'get'. Returns indexed notification.
func (*NotificationsResponse) Descriptor ¶
func (*NotificationsResponse) Descriptor() ([]byte, []int)
func (*NotificationsResponse) GetNIf ¶
func (m *NotificationsResponse) GetNIf() *interfaces.InterfaceNotification
func (*NotificationsResponse) GetNextIdx ¶
func (m *NotificationsResponse) GetNextIdx() uint32
func (*NotificationsResponse) ProtoMessage ¶
func (*NotificationsResponse) ProtoMessage()
func (*NotificationsResponse) Reset ¶
func (m *NotificationsResponse) Reset()
func (*NotificationsResponse) String ¶
func (m *NotificationsResponse) String() string
func (*NotificationsResponse) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *NotificationsResponse) XXX_DiscardUnknown()
func (*NotificationsResponse) XXX_Marshal ¶ added in v1.8.1
func (m *NotificationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NotificationsResponse) XXX_Merge ¶ added in v1.8.1
func (dst *NotificationsResponse) XXX_Merge(src proto.Message)
func (*NotificationsResponse) XXX_Size ¶ added in v1.8.1
func (m *NotificationsResponse) XXX_Size() int
func (*NotificationsResponse) XXX_Unmarshal ¶ added in v1.8.1
func (m *NotificationsResponse) XXX_Unmarshal(b []byte) error
type PuntResponse ¶ added in v1.8.1
type PuntResponse struct { PuntEntries []*PuntResponse_PuntEntry `protobuf:"bytes,1,rep,name=punt_entries,json=puntEntries" json:"punt_entries,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
PuntResponse is response to 'dump' the punt socket register entries
func (*PuntResponse) Descriptor ¶ added in v1.8.1
func (*PuntResponse) Descriptor() ([]byte, []int)
func (*PuntResponse) GetPuntEntries ¶ added in v1.8.1
func (m *PuntResponse) GetPuntEntries() []*PuntResponse_PuntEntry
func (*PuntResponse) ProtoMessage ¶ added in v1.8.1
func (*PuntResponse) ProtoMessage()
func (*PuntResponse) Reset ¶ added in v1.8.1
func (m *PuntResponse) Reset()
func (*PuntResponse) String ¶ added in v1.8.1
func (m *PuntResponse) String() string
func (*PuntResponse) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *PuntResponse) XXX_DiscardUnknown()
func (*PuntResponse) XXX_Marshal ¶ added in v1.8.1
func (m *PuntResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PuntResponse) XXX_Merge ¶ added in v1.8.1
func (dst *PuntResponse) XXX_Merge(src proto.Message)
func (*PuntResponse) XXX_Size ¶ added in v1.8.1
func (m *PuntResponse) XXX_Size() int
func (*PuntResponse) XXX_Unmarshal ¶ added in v1.8.1
func (m *PuntResponse) XXX_Unmarshal(b []byte) error
type PuntResponse_PuntEntry ¶ added in v1.8.1
type PuntResponse_PuntEntry struct { PuntData *punt.Punt `protobuf:"bytes,1,opt,name=puntData" json:"puntData,omitempty"` PathName []byte `protobuf:"bytes,2,opt,name=pathName,proto3" json:"pathName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PuntResponse_PuntEntry) Descriptor ¶ added in v1.8.1
func (*PuntResponse_PuntEntry) Descriptor() ([]byte, []int)
func (*PuntResponse_PuntEntry) GetPathName ¶ added in v1.8.1
func (m *PuntResponse_PuntEntry) GetPathName() []byte
func (*PuntResponse_PuntEntry) GetPuntData ¶ added in v1.8.1
func (m *PuntResponse_PuntEntry) GetPuntData() *punt.Punt
func (*PuntResponse_PuntEntry) ProtoMessage ¶ added in v1.8.1
func (*PuntResponse_PuntEntry) ProtoMessage()
func (*PuntResponse_PuntEntry) Reset ¶ added in v1.8.1
func (m *PuntResponse_PuntEntry) Reset()
func (*PuntResponse_PuntEntry) String ¶ added in v1.8.1
func (m *PuntResponse_PuntEntry) String() string
func (*PuntResponse_PuntEntry) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *PuntResponse_PuntEntry) XXX_DiscardUnknown()
func (*PuntResponse_PuntEntry) XXX_Marshal ¶ added in v1.8.1
func (m *PuntResponse_PuntEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PuntResponse_PuntEntry) XXX_Merge ¶ added in v1.8.1
func (dst *PuntResponse_PuntEntry) XXX_Merge(src proto.Message)
func (*PuntResponse_PuntEntry) XXX_Size ¶ added in v1.8.1
func (m *PuntResponse_PuntEntry) XXX_Size() int
func (*PuntResponse_PuntEntry) XXX_Unmarshal ¶ added in v1.8.1
func (m *PuntResponse_PuntEntry) XXX_Unmarshal(b []byte) error
type PutResponse ¶
type PutResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response to data change 'put'
func (*PutResponse) Descriptor ¶
func (*PutResponse) Descriptor() ([]byte, []int)
func (*PutResponse) ProtoMessage ¶
func (*PutResponse) ProtoMessage()
func (*PutResponse) Reset ¶
func (m *PutResponse) Reset()
func (*PutResponse) String ¶
func (m *PutResponse) String() string
func (*PutResponse) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *PutResponse) XXX_DiscardUnknown()
func (*PutResponse) XXX_Marshal ¶ added in v1.8.1
func (m *PutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutResponse) XXX_Merge ¶ added in v1.8.1
func (dst *PutResponse) XXX_Merge(src proto.Message)
func (*PutResponse) XXX_Size ¶ added in v1.8.1
func (m *PutResponse) XXX_Size() int
func (*PutResponse) XXX_Unmarshal ¶ added in v1.8.1
func (m *PutResponse) XXX_Unmarshal(b []byte) error
type ResyncResponse ¶
type ResyncResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response to data resync
func (*ResyncResponse) Descriptor ¶
func (*ResyncResponse) Descriptor() ([]byte, []int)
func (*ResyncResponse) ProtoMessage ¶
func (*ResyncResponse) ProtoMessage()
func (*ResyncResponse) Reset ¶
func (m *ResyncResponse) Reset()
func (*ResyncResponse) String ¶
func (m *ResyncResponse) String() string
func (*ResyncResponse) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *ResyncResponse) XXX_DiscardUnknown()
func (*ResyncResponse) XXX_Marshal ¶ added in v1.8.1
func (m *ResyncResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResyncResponse) XXX_Merge ¶ added in v1.8.1
func (dst *ResyncResponse) XXX_Merge(src proto.Message)
func (*ResyncResponse) XXX_Size ¶ added in v1.8.1
func (m *ResyncResponse) XXX_Size() int
func (*ResyncResponse) XXX_Unmarshal ¶ added in v1.8.1
func (m *ResyncResponse) XXX_Unmarshal(b []byte) error
type RoutesResponse ¶ added in v1.8.1
type RoutesResponse struct { StaticRoutes []*l3.StaticRoutes_Route `protobuf:"bytes,1,rep,name=StaticRoutes,json=staticRoutes" json:"StaticRoutes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
RoutesResponse is response to 'dump' the l3 routes
func (*RoutesResponse) Descriptor ¶ added in v1.8.1
func (*RoutesResponse) Descriptor() ([]byte, []int)
func (*RoutesResponse) GetStaticRoutes ¶ added in v1.8.1
func (m *RoutesResponse) GetStaticRoutes() []*l3.StaticRoutes_Route
func (*RoutesResponse) ProtoMessage ¶ added in v1.8.1
func (*RoutesResponse) ProtoMessage()
func (*RoutesResponse) Reset ¶ added in v1.8.1
func (m *RoutesResponse) Reset()
func (*RoutesResponse) String ¶ added in v1.8.1
func (m *RoutesResponse) String() string
func (*RoutesResponse) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *RoutesResponse) XXX_DiscardUnknown()
func (*RoutesResponse) XXX_Marshal ¶ added in v1.8.1
func (m *RoutesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoutesResponse) XXX_Merge ¶ added in v1.8.1
func (dst *RoutesResponse) XXX_Merge(src proto.Message)
func (*RoutesResponse) XXX_Size ¶ added in v1.8.1
func (m *RoutesResponse) XXX_Size() int
func (*RoutesResponse) XXX_Unmarshal ¶ added in v1.8.1
func (m *RoutesResponse) XXX_Unmarshal(b []byte) error
type XcResponse ¶ added in v1.8.1
type XcResponse struct { XCons []*l2.XConnectPairs_XConnectPair `protobuf:"bytes,1,rep,name=XCons,json=xCons" json:"XCons,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
XcResponse is response to 'dump' the l2 cross connects
func (*XcResponse) Descriptor ¶ added in v1.8.1
func (*XcResponse) Descriptor() ([]byte, []int)
func (*XcResponse) GetXCons ¶ added in v1.8.1
func (m *XcResponse) GetXCons() []*l2.XConnectPairs_XConnectPair
func (*XcResponse) ProtoMessage ¶ added in v1.8.1
func (*XcResponse) ProtoMessage()
func (*XcResponse) Reset ¶ added in v1.8.1
func (m *XcResponse) Reset()
func (*XcResponse) String ¶ added in v1.8.1
func (m *XcResponse) String() string
func (*XcResponse) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *XcResponse) XXX_DiscardUnknown()
func (*XcResponse) XXX_Marshal ¶ added in v1.8.1
func (m *XcResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*XcResponse) XXX_Merge ¶ added in v1.8.1
func (dst *XcResponse) XXX_Merge(src proto.Message)
func (*XcResponse) XXX_Size ¶ added in v1.8.1
func (m *XcResponse) XXX_Size() int
func (*XcResponse) XXX_Unmarshal ¶ added in v1.8.1
func (m *XcResponse) XXX_Unmarshal(b []byte) error