rpc

package
v1.9.0-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package rpc is the parent for packages defining various GRPC services generated from protobuf data models.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterDataChangeServiceServer

func RegisterDataChangeServiceServer(s *grpc.Server, srv DataChangeServiceServer)

func RegisterDataDumpServiceServer

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

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

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

func (*ARPsResponse) GetArpEntries

func (m *ARPsResponse) GetArpEntries() []*l3.ArpTable_ArpEntry

func (*ARPsResponse) ProtoMessage

func (*ARPsResponse) ProtoMessage()

func (*ARPsResponse) Reset

func (m *ARPsResponse) Reset()

func (*ARPsResponse) String

func (m *ARPsResponse) String() string

func (*ARPsResponse) XXX_DiscardUnknown

func (m *ARPsResponse) XXX_DiscardUnknown()

func (*ARPsResponse) XXX_Marshal

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

func (*ARPsResponse) XXX_Merge

func (dst *ARPsResponse) XXX_Merge(src proto.Message)

func (*ARPsResponse) XXX_Size

func (m *ARPsResponse) XXX_Size() int

func (*ARPsResponse) XXX_Unmarshal

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

type AclResponse

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

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

func (*AclResponse) GetAccessLists

func (m *AclResponse) GetAccessLists() []*acl.AccessLists_Acl

func (*AclResponse) ProtoMessage

func (*AclResponse) ProtoMessage()

func (*AclResponse) Reset

func (m *AclResponse) Reset()

func (*AclResponse) String

func (m *AclResponse) String() string

func (*AclResponse) XXX_DiscardUnknown

func (m *AclResponse) XXX_DiscardUnknown()

func (*AclResponse) XXX_Marshal

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

func (*AclResponse) XXX_Merge

func (dst *AclResponse) XXX_Merge(src proto.Message)

func (*AclResponse) XXX_Size

func (m *AclResponse) XXX_Size() int

func (*AclResponse) XXX_Unmarshal

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

type BDResponse

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

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

func (*BDResponse) GetBridgeDomains

func (m *BDResponse) GetBridgeDomains() []*l2.BridgeDomains_BridgeDomain

func (*BDResponse) ProtoMessage

func (*BDResponse) ProtoMessage()

func (*BDResponse) Reset

func (m *BDResponse) Reset()

func (*BDResponse) String

func (m *BDResponse) String() string

func (*BDResponse) XXX_DiscardUnknown

func (m *BDResponse) XXX_DiscardUnknown()

func (*BDResponse) XXX_Marshal

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

func (*BDResponse) XXX_Merge

func (dst *BDResponse) XXX_Merge(src proto.Message)

func (*BDResponse) XXX_Size

func (m *BDResponse) XXX_Size() int

func (*BDResponse) XXX_Unmarshal

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

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

func NewDataDumpServiceClient(cc *grpc.ClientConn) DataDumpServiceClient

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

func (m *DataRequest) GetPunts() []*punt.Punt

func (*DataRequest) GetSAs

func (m *DataRequest) GetSAs() []*ipsec.SecurityAssociations_SA

func (*DataRequest) GetSPDs

func (*DataRequest) GetStaticRoutes

func (m *DataRequest) GetStaticRoutes() []*l3.StaticRoutes_Route

func (*DataRequest) GetStnRules

func (m *DataRequest) GetStnRules() []*stn.STN_Rule

func (*DataRequest) GetTunnels

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

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 DumpRequest

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

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

func (*DumpRequest) ProtoMessage

func (*DumpRequest) ProtoMessage()

func (*DumpRequest) Reset

func (m *DumpRequest) Reset()

func (*DumpRequest) String

func (m *DumpRequest) String() string

func (*DumpRequest) XXX_DiscardUnknown

func (m *DumpRequest) XXX_DiscardUnknown()

func (*DumpRequest) XXX_Marshal

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

func (*DumpRequest) XXX_Merge

func (dst *DumpRequest) XXX_Merge(src proto.Message)

func (*DumpRequest) XXX_Size

func (m *DumpRequest) XXX_Size() int

func (*DumpRequest) XXX_Unmarshal

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

type FibResponse

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

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

func (*FibResponse) GetFIBs

func (m *FibResponse) GetFIBs() []*l2.FibTable_FibEntry

func (*FibResponse) ProtoMessage

func (*FibResponse) ProtoMessage()

func (*FibResponse) Reset

func (m *FibResponse) Reset()

func (*FibResponse) String

func (m *FibResponse) String() string

func (*FibResponse) XXX_DiscardUnknown

func (m *FibResponse) XXX_DiscardUnknown()

func (*FibResponse) XXX_Marshal

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

func (*FibResponse) XXX_Merge

func (dst *FibResponse) XXX_Merge(src proto.Message)

func (*FibResponse) XXX_Size

func (m *FibResponse) XXX_Size() int

func (*FibResponse) XXX_Unmarshal

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

type IPSecSAResponse

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

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

func (*IPSecSAResponse) GetSAa

func (*IPSecSAResponse) ProtoMessage

func (*IPSecSAResponse) ProtoMessage()

func (*IPSecSAResponse) Reset

func (m *IPSecSAResponse) Reset()

func (*IPSecSAResponse) String

func (m *IPSecSAResponse) String() string

func (*IPSecSAResponse) XXX_DiscardUnknown

func (m *IPSecSAResponse) XXX_DiscardUnknown()

func (*IPSecSAResponse) XXX_Marshal

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

func (*IPSecSAResponse) XXX_Merge

func (dst *IPSecSAResponse) XXX_Merge(src proto.Message)

func (*IPSecSAResponse) XXX_Size

func (m *IPSecSAResponse) XXX_Size() int

func (*IPSecSAResponse) XXX_Unmarshal

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

type IPSecSPDResponse

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

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

func (*IPSecSPDResponse) GetSPDs

func (*IPSecSPDResponse) ProtoMessage

func (*IPSecSPDResponse) ProtoMessage()

func (*IPSecSPDResponse) Reset

func (m *IPSecSPDResponse) Reset()

func (*IPSecSPDResponse) String

func (m *IPSecSPDResponse) String() string

func (*IPSecSPDResponse) XXX_DiscardUnknown

func (m *IPSecSPDResponse) XXX_DiscardUnknown()

func (*IPSecSPDResponse) XXX_Marshal

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

func (*IPSecSPDResponse) XXX_Merge

func (dst *IPSecSPDResponse) XXX_Merge(src proto.Message)

func (*IPSecSPDResponse) XXX_Size

func (m *IPSecSPDResponse) XXX_Size() int

func (*IPSecSPDResponse) XXX_Unmarshal

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

type IPSecTunnelResponse

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

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

func (*IPSecTunnelResponse) GetTunnels

func (*IPSecTunnelResponse) ProtoMessage

func (*IPSecTunnelResponse) ProtoMessage()

func (*IPSecTunnelResponse) Reset

func (m *IPSecTunnelResponse) Reset()

func (*IPSecTunnelResponse) String

func (m *IPSecTunnelResponse) String() string

func (*IPSecTunnelResponse) XXX_DiscardUnknown

func (m *IPSecTunnelResponse) XXX_DiscardUnknown()

func (*IPSecTunnelResponse) XXX_Marshal

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

func (*IPSecTunnelResponse) XXX_Merge

func (dst *IPSecTunnelResponse) XXX_Merge(src proto.Message)

func (*IPSecTunnelResponse) XXX_Size

func (m *IPSecTunnelResponse) XXX_Size() int

func (*IPSecTunnelResponse) XXX_Unmarshal

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

type InterfaceResponse

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

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

func (*InterfaceResponse) GetInterfaces

func (m *InterfaceResponse) GetInterfaces() []*interfaces.Interfaces_Interface

func (*InterfaceResponse) ProtoMessage

func (*InterfaceResponse) ProtoMessage()

func (*InterfaceResponse) Reset

func (m *InterfaceResponse) Reset()

func (*InterfaceResponse) String

func (m *InterfaceResponse) String() string

func (*InterfaceResponse) XXX_DiscardUnknown

func (m *InterfaceResponse) XXX_DiscardUnknown()

func (*InterfaceResponse) XXX_Marshal

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

func (*InterfaceResponse) XXX_Merge

func (dst *InterfaceResponse) XXX_Merge(src proto.Message)

func (*InterfaceResponse) XXX_Size

func (m *InterfaceResponse) XXX_Size() int

func (*InterfaceResponse) XXX_Unmarshal

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

type LinuxARPsResponse

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

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

func (*LinuxARPsResponse) GetLinuxArpEntries

func (m *LinuxARPsResponse) GetLinuxArpEntries() []*l31.LinuxStaticArpEntries_ArpEntry

func (*LinuxARPsResponse) ProtoMessage

func (*LinuxARPsResponse) ProtoMessage()

func (*LinuxARPsResponse) Reset

func (m *LinuxARPsResponse) Reset()

func (*LinuxARPsResponse) String

func (m *LinuxARPsResponse) String() string

func (*LinuxARPsResponse) XXX_DiscardUnknown

func (m *LinuxARPsResponse) XXX_DiscardUnknown()

func (*LinuxARPsResponse) XXX_Marshal

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

func (*LinuxARPsResponse) XXX_Merge

func (dst *LinuxARPsResponse) XXX_Merge(src proto.Message)

func (*LinuxARPsResponse) XXX_Size

func (m *LinuxARPsResponse) XXX_Size() int

func (*LinuxARPsResponse) XXX_Unmarshal

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

type LinuxInterfaceResponse

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

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

func (*LinuxInterfaceResponse) GetLinuxInterfaces

func (*LinuxInterfaceResponse) ProtoMessage

func (*LinuxInterfaceResponse) ProtoMessage()

func (*LinuxInterfaceResponse) Reset

func (m *LinuxInterfaceResponse) Reset()

func (*LinuxInterfaceResponse) String

func (m *LinuxInterfaceResponse) String() string

func (*LinuxInterfaceResponse) XXX_DiscardUnknown

func (m *LinuxInterfaceResponse) XXX_DiscardUnknown()

func (*LinuxInterfaceResponse) XXX_Marshal

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

func (*LinuxInterfaceResponse) XXX_Merge

func (dst *LinuxInterfaceResponse) XXX_Merge(src proto.Message)

func (*LinuxInterfaceResponse) XXX_Size

func (m *LinuxInterfaceResponse) XXX_Size() int

func (*LinuxInterfaceResponse) XXX_Unmarshal

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

type LinuxRoutesResponse

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

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

func (*LinuxRoutesResponse) GetLinuxRoutes

func (m *LinuxRoutesResponse) GetLinuxRoutes() []*l31.LinuxStaticRoutes_Route

func (*LinuxRoutesResponse) ProtoMessage

func (*LinuxRoutesResponse) ProtoMessage()

func (*LinuxRoutesResponse) Reset

func (m *LinuxRoutesResponse) Reset()

func (*LinuxRoutesResponse) String

func (m *LinuxRoutesResponse) String() string

func (*LinuxRoutesResponse) XXX_DiscardUnknown

func (m *LinuxRoutesResponse) XXX_DiscardUnknown()

func (*LinuxRoutesResponse) XXX_Marshal

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

func (*LinuxRoutesResponse) XXX_Merge

func (dst *LinuxRoutesResponse) XXX_Merge(src proto.Message)

func (*LinuxRoutesResponse) XXX_Size

func (m *LinuxRoutesResponse) XXX_Size() int

func (*LinuxRoutesResponse) XXX_Unmarshal

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

func (m *NotificationRequest) XXX_DiscardUnknown()

func (*NotificationRequest) XXX_Marshal

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

func (*NotificationRequest) XXX_Merge

func (dst *NotificationRequest) XXX_Merge(src proto.Message)

func (*NotificationRequest) XXX_Size

func (m *NotificationRequest) XXX_Size() int

func (*NotificationRequest) XXX_Unmarshal

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 (*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

func (m *NotificationsResponse) XXX_DiscardUnknown()

func (*NotificationsResponse) XXX_Marshal

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

func (*NotificationsResponse) XXX_Merge

func (dst *NotificationsResponse) XXX_Merge(src proto.Message)

func (*NotificationsResponse) XXX_Size

func (m *NotificationsResponse) XXX_Size() int

func (*NotificationsResponse) XXX_Unmarshal

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

type PuntResponse

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

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

func (*PuntResponse) GetPuntEntries

func (m *PuntResponse) GetPuntEntries() []*PuntResponse_PuntEntry

func (*PuntResponse) ProtoMessage

func (*PuntResponse) ProtoMessage()

func (*PuntResponse) Reset

func (m *PuntResponse) Reset()

func (*PuntResponse) String

func (m *PuntResponse) String() string

func (*PuntResponse) XXX_DiscardUnknown

func (m *PuntResponse) XXX_DiscardUnknown()

func (*PuntResponse) XXX_Marshal

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

func (*PuntResponse) XXX_Merge

func (dst *PuntResponse) XXX_Merge(src proto.Message)

func (*PuntResponse) XXX_Size

func (m *PuntResponse) XXX_Size() int

func (*PuntResponse) XXX_Unmarshal

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

type PuntResponse_PuntEntry

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

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

func (*PuntResponse_PuntEntry) GetPathName

func (m *PuntResponse_PuntEntry) GetPathName() []byte

func (*PuntResponse_PuntEntry) GetPuntData

func (m *PuntResponse_PuntEntry) GetPuntData() *punt.Punt

func (*PuntResponse_PuntEntry) ProtoMessage

func (*PuntResponse_PuntEntry) ProtoMessage()

func (*PuntResponse_PuntEntry) Reset

func (m *PuntResponse_PuntEntry) Reset()

func (*PuntResponse_PuntEntry) String

func (m *PuntResponse_PuntEntry) String() string

func (*PuntResponse_PuntEntry) XXX_DiscardUnknown

func (m *PuntResponse_PuntEntry) XXX_DiscardUnknown()

func (*PuntResponse_PuntEntry) XXX_Marshal

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

func (*PuntResponse_PuntEntry) XXX_Merge

func (dst *PuntResponse_PuntEntry) XXX_Merge(src proto.Message)

func (*PuntResponse_PuntEntry) XXX_Size

func (m *PuntResponse_PuntEntry) XXX_Size() int

func (*PuntResponse_PuntEntry) XXX_Unmarshal

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

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

type RoutesResponse

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

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

func (*RoutesResponse) GetStaticRoutes

func (m *RoutesResponse) GetStaticRoutes() []*l3.StaticRoutes_Route

func (*RoutesResponse) ProtoMessage

func (*RoutesResponse) ProtoMessage()

func (*RoutesResponse) Reset

func (m *RoutesResponse) Reset()

func (*RoutesResponse) String

func (m *RoutesResponse) String() string

func (*RoutesResponse) XXX_DiscardUnknown

func (m *RoutesResponse) XXX_DiscardUnknown()

func (*RoutesResponse) XXX_Marshal

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

func (*RoutesResponse) XXX_Merge

func (dst *RoutesResponse) XXX_Merge(src proto.Message)

func (*RoutesResponse) XXX_Size

func (m *RoutesResponse) XXX_Size() int

func (*RoutesResponse) XXX_Unmarshal

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

type XcResponse

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

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

func (*XcResponse) GetXCons

func (m *XcResponse) GetXCons() []*l2.XConnectPairs_XConnectPair

func (*XcResponse) ProtoMessage

func (*XcResponse) ProtoMessage()

func (*XcResponse) Reset

func (m *XcResponse) Reset()

func (*XcResponse) String

func (m *XcResponse) String() string

func (*XcResponse) XXX_DiscardUnknown

func (m *XcResponse) XXX_DiscardUnknown()

func (*XcResponse) XXX_Marshal

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

func (*XcResponse) XXX_Merge

func (dst *XcResponse) XXX_Merge(src proto.Message)

func (*XcResponse) XXX_Size

func (m *XcResponse) XXX_Size() int

func (*XcResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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