vppsvc

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package vppsvc is a generated protocol buffer package.

It is generated from these files:

vpp_svc.proto

It has these top-level messages:

DelNamesRequest
DelStaticRoutesRequest
PutResponse
DelResponse
ResyncConfigResponse
ResyncConfigRequest

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterChangeConfigServiceServer

func RegisterChangeConfigServiceServer(s *grpc.Server, srv ChangeConfigServiceServer)

func RegisterResyncConfigServiceServer

func RegisterResyncConfigServiceServer(s *grpc.Server, srv ResyncConfigServiceServer)

Types

type ChangeConfigServiceClient

type ChangeConfigServiceClient interface {
	// PutInterfaces creates or updates one or multiple interfaces
	PutInterfaces(ctx context.Context, in *interfaces.Interfaces, opts ...grpc.CallOption) (*PutResponse, error)
	// DelInterfaces one or multiple interfaces by their unique names
	DelInterfaces(ctx context.Context, in *DelNamesRequest, opts ...grpc.CallOption) (*DelResponse, error)
	// PutBDs creates or updates one or multiple BDs
	PutBDs(ctx context.Context, in *l2.BridgeDomains, opts ...grpc.CallOption) (*PutResponse, error)
	// DelBDs one or multiple BDs by their unique names
	DelBDs(ctx context.Context, in *DelNamesRequest, opts ...grpc.CallOption) (*DelResponse, error)
	// PutXCons creates or updates one or multiple Cross Connects
	PutXCons(ctx context.Context, in *l2.XConnectPairs, opts ...grpc.CallOption) (*PutResponse, error)
	// DelXCons one or multiple Cross Connects by their unique names
	DelXCons(ctx context.Context, in *DelNamesRequest, opts ...grpc.CallOption) (*DelResponse, error)
	// PutACLs creates or updates one or multiple ACLs
	PutACLs(ctx context.Context, in *acl.AccessLists, opts ...grpc.CallOption) (*PutResponse, error)
	// DelACLs one or multiple ACLs by their unique names
	DelACLs(ctx context.Context, in *DelNamesRequest, opts ...grpc.CallOption) (*DelResponse, error)
	// PutStaticRoutes creates or updates one or multiple ACLs
	PutStaticRoutes(ctx context.Context, in *l3.StaticRoutes, opts ...grpc.CallOption) (*PutResponse, error)
	// DelStaticRoutes one or multiple ACLs by their unique names
	DelStaticRoutes(ctx context.Context, in *DelStaticRoutesRequest, opts ...grpc.CallOption) (*DelResponse, error)
}

func NewChangeConfigServiceClient

func NewChangeConfigServiceClient(cc *grpc.ClientConn) ChangeConfigServiceClient

type ChangeConfigServiceServer

type ChangeConfigServiceServer interface {
	// PutInterfaces creates or updates one or multiple interfaces
	PutInterfaces(context.Context, *interfaces.Interfaces) (*PutResponse, error)
	// DelInterfaces one or multiple interfaces by their unique names
	DelInterfaces(context.Context, *DelNamesRequest) (*DelResponse, error)
	// PutBDs creates or updates one or multiple BDs
	PutBDs(context.Context, *l2.BridgeDomains) (*PutResponse, error)
	// DelBDs one or multiple BDs by their unique names
	DelBDs(context.Context, *DelNamesRequest) (*DelResponse, error)
	// PutXCons creates or updates one or multiple Cross Connects
	PutXCons(context.Context, *l2.XConnectPairs) (*PutResponse, error)
	// DelXCons one or multiple Cross Connects by their unique names
	DelXCons(context.Context, *DelNamesRequest) (*DelResponse, error)
	// PutACLs creates or updates one or multiple ACLs
	PutACLs(context.Context, *acl.AccessLists) (*PutResponse, error)
	// DelACLs one or multiple ACLs by their unique names
	DelACLs(context.Context, *DelNamesRequest) (*DelResponse, error)
	// PutStaticRoutes creates or updates one or multiple ACLs
	PutStaticRoutes(context.Context, *l3.StaticRoutes) (*PutResponse, error)
	// DelStaticRoutes one or multiple ACLs by their unique names
	DelStaticRoutes(context.Context, *DelStaticRoutesRequest) (*DelResponse, error)
}

type DelNamesRequest

type DelNamesRequest struct {
	// List of interface/bd/... names with errors
	Name []string `protobuf:"bytes,1,rep,name=Name" json:"Name,omitempty"`
}

func (*DelNamesRequest) Descriptor

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

func (*DelNamesRequest) GetName

func (m *DelNamesRequest) GetName() []string

func (*DelNamesRequest) ProtoMessage

func (*DelNamesRequest) ProtoMessage()

func (*DelNamesRequest) Reset

func (m *DelNamesRequest) Reset()

func (*DelNamesRequest) String

func (m *DelNamesRequest) String() string

type DelResponse

type DelResponse struct {
}

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

type DelStaticRoutesRequest

type DelStaticRoutesRequest struct {
	Route []*DelStaticRoutesRequest_DelStaticRoute `protobuf:"bytes,1,rep,name=Route" json:"Route,omitempty"`
}

func (*DelStaticRoutesRequest) Descriptor

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

func (*DelStaticRoutesRequest) GetRoute

func (*DelStaticRoutesRequest) ProtoMessage

func (*DelStaticRoutesRequest) ProtoMessage()

func (*DelStaticRoutesRequest) Reset

func (m *DelStaticRoutesRequest) Reset()

func (*DelStaticRoutesRequest) String

func (m *DelStaticRoutesRequest) String() string

type DelStaticRoutesRequest_DelStaticRoute

type DelStaticRoutesRequest_DelStaticRoute struct {
	VRF         uint32 `protobuf:"varint,1,opt,name=VRF" json:"VRF,omitempty"`
	DstAddr     string `protobuf:"bytes,2,opt,name=dstAddr" json:"dstAddr,omitempty"`
	NextHopAddr string `protobuf:"bytes,3,opt,name=nextHopAddr" json:"nextHopAddr,omitempty"`
}

func (*DelStaticRoutesRequest_DelStaticRoute) Descriptor

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

func (*DelStaticRoutesRequest_DelStaticRoute) GetDstAddr

func (*DelStaticRoutesRequest_DelStaticRoute) GetNextHopAddr

func (m *DelStaticRoutesRequest_DelStaticRoute) GetNextHopAddr() string

func (*DelStaticRoutesRequest_DelStaticRoute) GetVRF

func (*DelStaticRoutesRequest_DelStaticRoute) ProtoMessage

func (*DelStaticRoutesRequest_DelStaticRoute) ProtoMessage()

func (*DelStaticRoutesRequest_DelStaticRoute) Reset

func (*DelStaticRoutesRequest_DelStaticRoute) String

type PutResponse

type PutResponse struct {
}

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

type ResyncConfigRequest

type ResyncConfigRequest struct {
	Interfaces   *interfaces.Interfaces `protobuf:"bytes,1,opt,name=Interfaces" json:"Interfaces,omitempty"`
	BDs          *l2.BridgeDomains      `protobuf:"bytes,2,opt,name=BDs" json:"BDs,omitempty"`
	XCons        *l2.XConnectPairs      `protobuf:"bytes,3,opt,name=XCons" json:"XCons,omitempty"`
	ACLs         *acl.AccessLists       `protobuf:"bytes,4,opt,name=ACLs" json:"ACLs,omitempty"`
	StaticRoutes *l3.StaticRoutes       `protobuf:"bytes,5,opt,name=StaticRoutes" json:"StaticRoutes,omitempty"`
}

func (*ResyncConfigRequest) Descriptor

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

func (*ResyncConfigRequest) GetACLs

func (m *ResyncConfigRequest) GetACLs() *acl.AccessLists

func (*ResyncConfigRequest) GetBDs

func (m *ResyncConfigRequest) GetBDs() *l2.BridgeDomains

func (*ResyncConfigRequest) GetInterfaces

func (m *ResyncConfigRequest) GetInterfaces() *interfaces.Interfaces

func (*ResyncConfigRequest) GetStaticRoutes

func (m *ResyncConfigRequest) GetStaticRoutes() *l3.StaticRoutes

func (*ResyncConfigRequest) GetXCons

func (m *ResyncConfigRequest) GetXCons() *l2.XConnectPairs

func (*ResyncConfigRequest) ProtoMessage

func (*ResyncConfigRequest) ProtoMessage()

func (*ResyncConfigRequest) Reset

func (m *ResyncConfigRequest) Reset()

func (*ResyncConfigRequest) String

func (m *ResyncConfigRequest) String() string

type ResyncConfigResponse

type ResyncConfigResponse struct {
}

func (*ResyncConfigResponse) Descriptor

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

func (*ResyncConfigResponse) ProtoMessage

func (*ResyncConfigResponse) ProtoMessage()

func (*ResyncConfigResponse) Reset

func (m *ResyncConfigResponse) Reset()

func (*ResyncConfigResponse) String

func (m *ResyncConfigResponse) String() string

type ResyncConfigServiceClient

type ResyncConfigServiceClient interface {
	ResyncConfig(ctx context.Context, in *ResyncConfigRequest, opts ...grpc.CallOption) (*ResyncConfigResponse, error)
}

func NewResyncConfigServiceClient

func NewResyncConfigServiceClient(cc *grpc.ClientConn) ResyncConfigServiceClient

type ResyncConfigServiceServer

type ResyncConfigServiceServer interface {
	ResyncConfig(context.Context, *ResyncConfigRequest) (*ResyncConfigResponse, error)
}

Jump to

Keyboard shortcuts

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