Documentation ¶
Index ¶
- func RegisterDataChangeServiceServer(s *grpc.Server, srv DataChangeServiceServer)
- func RegisterDataResyncServiceServer(s *grpc.Server, srv DataResyncServiceServer)
- type DataChangeServiceClient
- type DataChangeServiceServer
- type DataRequest
- func (*DataRequest) Descriptor() ([]byte, []int)
- func (m *DataRequest) GetAccessLists() []*acl.ACL
- func (m *DataRequest) GetArpEntries() []*l3.ARPEntry
- func (m *DataRequest) GetBridgeDomains() []*l2.BridgeDomain
- func (m *DataRequest) GetDNATs() []*nat.DNat44
- func (m *DataRequest) GetFIBs() []*l2.FIBEntry
- func (m *DataRequest) GetIPRedirectPunts() []*punt.IPRedirect
- func (m *DataRequest) GetIPScanNeighbor() *l3.IPScanNeighbor
- func (m *DataRequest) GetInterfaces() []*interfaces.Interface
- func (m *DataRequest) GetLinuxArpEntries() []*l31.ARPEntry
- func (m *DataRequest) GetLinuxInterfaces() []*interfaces1.Interface
- func (m *DataRequest) GetLinuxRoutes() []*l31.Route
- func (m *DataRequest) GetNatGlobal() *nat.Nat44Global
- func (m *DataRequest) GetProxyArp() *l3.ProxyARP
- func (m *DataRequest) GetSAs() []*ipsec.SecurityAssociation
- func (m *DataRequest) GetSPDs() []*ipsec.SecurityPolicyDatabase
- func (m *DataRequest) GetStaticRoutes() []*l3.Route
- func (m *DataRequest) GetToHostPunts() []*punt.ToHost
- func (m *DataRequest) GetXCons() []*l2.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 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterDataChangeServiceServer ¶
func RegisterDataChangeServiceServer(s *grpc.Server, srv DataChangeServiceServer)
func RegisterDataResyncServiceServer ¶
func RegisterDataResyncServiceServer(s *grpc.Server, srv DataResyncServiceServer)
Types ¶
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 DataRequest ¶
type DataRequest struct { AccessLists []*acl.ACL `protobuf:"bytes,10,rep,name=AccessLists,json=accessLists" json:"AccessLists,omitempty"` Interfaces []*interfaces.Interface `protobuf:"bytes,20,rep,name=Interfaces,json=interfaces" json:"Interfaces,omitempty"` BridgeDomains []*l2.BridgeDomain `protobuf:"bytes,40,rep,name=BridgeDomains,json=bridgeDomains" json:"BridgeDomains,omitempty"` FIBs []*l2.FIBEntry `protobuf:"bytes,41,rep,name=FIBs,json=fIBs" json:"FIBs,omitempty"` XCons []*l2.XConnectPair `protobuf:"bytes,42,rep,name=XCons,json=xCons" json:"XCons,omitempty"` StaticRoutes []*l3.Route `protobuf:"bytes,50,rep,name=StaticRoutes,json=staticRoutes" json:"StaticRoutes,omitempty"` ArpEntries []*l3.ARPEntry `protobuf:"bytes,51,rep,name=ArpEntries,json=arpEntries" json:"ArpEntries,omitempty"` ProxyArp *l3.ProxyARP `protobuf:"bytes,52,opt,name=ProxyArp,json=proxyArp" json:"ProxyArp,omitempty"` IPScanNeighbor *l3.IPScanNeighbor `protobuf:"bytes,53,opt,name=IPScanNeighbor,json=iPScanNeighbor" json:"IPScanNeighbor,omitempty"` SPDs []*ipsec.SecurityPolicyDatabase `protobuf:"bytes,60,rep,name=SPDs,json=sPDs" json:"SPDs,omitempty"` SAs []*ipsec.SecurityAssociation `protobuf:"bytes,61,rep,name=SAs,json=sAs" json:"SAs,omitempty"` IPRedirectPunts []*punt.IPRedirect `protobuf:"bytes,65,rep,name=IPRedirectPunts,json=iPRedirectPunts" json:"IPRedirectPunts,omitempty"` ToHostPunts []*punt.ToHost `protobuf:"bytes,66,rep,name=ToHostPunts,json=toHostPunts" json:"ToHostPunts,omitempty"` NatGlobal *nat.Nat44Global `protobuf:"bytes,71,opt,name=NatGlobal,json=natGlobal" json:"NatGlobal,omitempty"` DNATs []*nat.DNat44 `protobuf:"bytes,72,rep,name=DNATs,json=dNATs" json:"DNATs,omitempty"` LinuxInterfaces []*interfaces1.Interface `protobuf:"bytes,80,rep,name=LinuxInterfaces,json=linuxInterfaces" json:"LinuxInterfaces,omitempty"` LinuxArpEntries []*l31.ARPEntry `protobuf:"bytes,90,rep,name=LinuxArpEntries,json=linuxArpEntries" json:"LinuxArpEntries,omitempty"` LinuxRoutes []*l31.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.ACL
func (*DataRequest) GetArpEntries ¶
func (m *DataRequest) GetArpEntries() []*l3.ARPEntry
func (*DataRequest) GetBridgeDomains ¶
func (m *DataRequest) GetBridgeDomains() []*l2.BridgeDomain
func (*DataRequest) GetDNATs ¶
func (m *DataRequest) GetDNATs() []*nat.DNat44
func (*DataRequest) GetFIBs ¶
func (m *DataRequest) GetFIBs() []*l2.FIBEntry
func (*DataRequest) GetIPRedirectPunts ¶
func (m *DataRequest) GetIPRedirectPunts() []*punt.IPRedirect
func (*DataRequest) GetIPScanNeighbor ¶
func (m *DataRequest) GetIPScanNeighbor() *l3.IPScanNeighbor
func (*DataRequest) GetInterfaces ¶
func (m *DataRequest) GetInterfaces() []*interfaces.Interface
func (*DataRequest) GetLinuxArpEntries ¶
func (m *DataRequest) GetLinuxArpEntries() []*l31.ARPEntry
func (*DataRequest) GetLinuxInterfaces ¶
func (m *DataRequest) GetLinuxInterfaces() []*interfaces1.Interface
func (*DataRequest) GetLinuxRoutes ¶
func (m *DataRequest) GetLinuxRoutes() []*l31.Route
func (*DataRequest) GetNatGlobal ¶
func (m *DataRequest) GetNatGlobal() *nat.Nat44Global
func (*DataRequest) GetProxyArp ¶
func (m *DataRequest) GetProxyArp() *l3.ProxyARP
func (*DataRequest) GetSAs ¶
func (m *DataRequest) GetSAs() []*ipsec.SecurityAssociation
func (*DataRequest) GetSPDs ¶
func (m *DataRequest) GetSPDs() []*ipsec.SecurityPolicyDatabase
func (*DataRequest) GetStaticRoutes ¶
func (m *DataRequest) GetStaticRoutes() []*l3.Route
func (*DataRequest) GetToHostPunts ¶
func (m *DataRequest) GetToHostPunts() []*punt.ToHost
func (*DataRequest) GetXCons ¶
func (m *DataRequest) GetXCons() []*l2.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 ¶
func (m *DataRequest) XXX_DiscardUnknown()
func (*DataRequest) XXX_Marshal ¶
func (m *DataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DataRequest) XXX_Merge ¶
func (dst *DataRequest) XXX_Merge(src proto.Message)
func (*DataRequest) XXX_Size ¶
func (m *DataRequest) XXX_Size() int
func (*DataRequest) XXX_Unmarshal ¶
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 ¶
func (m *DelResponse) XXX_DiscardUnknown()
func (*DelResponse) XXX_Marshal ¶
func (m *DelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelResponse) XXX_Merge ¶
func (dst *DelResponse) XXX_Merge(src proto.Message)
func (*DelResponse) XXX_Size ¶
func (m *DelResponse) XXX_Size() int
func (*DelResponse) XXX_Unmarshal ¶
func (m *DelResponse) 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 ¶
func (m *PutResponse) XXX_DiscardUnknown()
func (*PutResponse) XXX_Marshal ¶
func (m *PutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutResponse) XXX_Merge ¶
func (dst *PutResponse) XXX_Merge(src proto.Message)
func (*PutResponse) XXX_Size ¶
func (m *PutResponse) XXX_Size() int
func (*PutResponse) XXX_Unmarshal ¶
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 ¶
func (m *ResyncResponse) XXX_DiscardUnknown()
func (*ResyncResponse) XXX_Marshal ¶
func (m *ResyncResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResyncResponse) XXX_Merge ¶
func (dst *ResyncResponse) XXX_Merge(src proto.Message)
func (*ResyncResponse) XXX_Size ¶
func (m *ResyncResponse) XXX_Size() int
func (*ResyncResponse) XXX_Unmarshal ¶
func (m *ResyncResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.