routerv1

package
v0.0.0-...-94cd6a6 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	RouterService_ConfigureOvsElement_FullMethodName           = "/cloudstack.management.router.v1.RouterService/ConfigureOvsElement"
	RouterService_ConfigureVirtualRouterElement_FullMethodName = "/cloudstack.management.router.v1.RouterService/ConfigureVirtualRouterElement"
	RouterService_CreateVirtualRouterElement_FullMethodName    = "/cloudstack.management.router.v1.RouterService/CreateVirtualRouterElement"
	RouterService_DestroyRouter_FullMethodName                 = "/cloudstack.management.router.v1.RouterService/DestroyRouter"
	RouterService_GetRouterHealthCheckResults_FullMethodName   = "/cloudstack.management.router.v1.RouterService/GetRouterHealthCheckResults"
	RouterService_ListOvsElements_FullMethodName               = "/cloudstack.management.router.v1.RouterService/ListOvsElements"
	RouterService_ListRouters_FullMethodName                   = "/cloudstack.management.router.v1.RouterService/ListRouters"
	RouterService_ListVirtualRouterElements_FullMethodName     = "/cloudstack.management.router.v1.RouterService/ListVirtualRouterElements"
	RouterService_RebootRouter_FullMethodName                  = "/cloudstack.management.router.v1.RouterService/RebootRouter"
	RouterService_StartRouter_FullMethodName                   = "/cloudstack.management.router.v1.RouterService/StartRouter"
	RouterService_StopRouter_FullMethodName                    = "/cloudstack.management.router.v1.RouterService/StopRouter"
	RouterService_UpgradeRouter_FullMethodName                 = "/cloudstack.management.router.v1.RouterService/UpgradeRouter"
	RouterService_UpgradeRouterTemplate_FullMethodName         = "/cloudstack.management.router.v1.RouterService/UpgradeRouterTemplate"
)

Variables

View Source
var File_cloudstack_management_router_v1_router_gen_proto protoreflect.FileDescriptor
View Source
var RouterService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cloudstack.management.router.v1.RouterService",
	HandlerType: (*RouterServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ConfigureOvsElement",
			Handler:    _RouterService_ConfigureOvsElement_Handler,
		},
		{
			MethodName: "ConfigureVirtualRouterElement",
			Handler:    _RouterService_ConfigureVirtualRouterElement_Handler,
		},
		{
			MethodName: "CreateVirtualRouterElement",
			Handler:    _RouterService_CreateVirtualRouterElement_Handler,
		},
		{
			MethodName: "DestroyRouter",
			Handler:    _RouterService_DestroyRouter_Handler,
		},
		{
			MethodName: "GetRouterHealthCheckResults",
			Handler:    _RouterService_GetRouterHealthCheckResults_Handler,
		},
		{
			MethodName: "ListOvsElements",
			Handler:    _RouterService_ListOvsElements_Handler,
		},
		{
			MethodName: "ListRouters",
			Handler:    _RouterService_ListRouters_Handler,
		},
		{
			MethodName: "ListVirtualRouterElements",
			Handler:    _RouterService_ListVirtualRouterElements_Handler,
		},
		{
			MethodName: "RebootRouter",
			Handler:    _RouterService_RebootRouter_Handler,
		},
		{
			MethodName: "StartRouter",
			Handler:    _RouterService_StartRouter_Handler,
		},
		{
			MethodName: "StopRouter",
			Handler:    _RouterService_StopRouter_Handler,
		},
		{
			MethodName: "UpgradeRouter",
			Handler:    _RouterService_UpgradeRouter_Handler,
		},
		{
			MethodName: "UpgradeRouterTemplate",
			Handler:    _RouterService_UpgradeRouterTemplate_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cloudstack/management/router/v1/router.gen.proto",
}

RouterService_ServiceDesc is the grpc.ServiceDesc for RouterService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterRouterServiceServer

func RegisterRouterServiceServer(s grpc.ServiceRegistrar, srv RouterServiceServer)

Types

type ConfigureOvsElementRequest

type ConfigureOvsElementRequest struct {

	// the ID of the ovs provider
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// Enabled/Disabled the service provider
	Enabled       *bool   `protobuf:"varint,2,opt,name=enabled" json:"enabled,omitempty"`
	StartEventId  *int64  `protobuf:"varint,3,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,4,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ConfigureOvsElementRequest represents the parameters for configures an ovs element.

func (*ConfigureOvsElementRequest) Descriptor deprecated

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

Deprecated: Use ConfigureOvsElementRequest.ProtoReflect.Descriptor instead.

func (*ConfigureOvsElementRequest) GetEnabled

func (x *ConfigureOvsElementRequest) GetEnabled() bool

func (*ConfigureOvsElementRequest) GetId

func (x *ConfigureOvsElementRequest) GetId() int64

func (*ConfigureOvsElementRequest) GetInjectedJobId

func (x *ConfigureOvsElementRequest) GetInjectedJobId() string

func (*ConfigureOvsElementRequest) GetResponseType

func (x *ConfigureOvsElementRequest) GetResponseType() string

func (*ConfigureOvsElementRequest) GetStartEventId

func (x *ConfigureOvsElementRequest) GetStartEventId() int64

func (*ConfigureOvsElementRequest) ProtoMessage

func (*ConfigureOvsElementRequest) ProtoMessage()

func (*ConfigureOvsElementRequest) ProtoReflect

func (*ConfigureOvsElementRequest) Reset

func (x *ConfigureOvsElementRequest) Reset()

func (*ConfigureOvsElementRequest) String

func (x *ConfigureOvsElementRequest) String() string

type ConfigureOvsElementResponse

type ConfigureOvsElementResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

ConfigureOvsElementResponse represents the response from configures an ovs element.

func (*ConfigureOvsElementResponse) Descriptor deprecated

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

Deprecated: Use ConfigureOvsElementResponse.ProtoReflect.Descriptor instead.

func (*ConfigureOvsElementResponse) GetResult

func (x *ConfigureOvsElementResponse) GetResult() *Result

func (*ConfigureOvsElementResponse) ProtoMessage

func (*ConfigureOvsElementResponse) ProtoMessage()

func (*ConfigureOvsElementResponse) ProtoReflect

func (*ConfigureOvsElementResponse) Reset

func (x *ConfigureOvsElementResponse) Reset()

func (*ConfigureOvsElementResponse) String

func (x *ConfigureOvsElementResponse) String() string

type ConfigureVirtualRouterElementRequest

type ConfigureVirtualRouterElementRequest struct {

	// the ID of the virtual router provider
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// Enabled/Disabled the service provider
	Enabled       *bool   `protobuf:"varint,2,opt,name=enabled" json:"enabled,omitempty"`
	StartEventId  *int64  `protobuf:"varint,3,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,4,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ConfigureVirtualRouterElementRequest represents the parameters for configures a virtual router element.

func (*ConfigureVirtualRouterElementRequest) Descriptor deprecated

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

Deprecated: Use ConfigureVirtualRouterElementRequest.ProtoReflect.Descriptor instead.

func (*ConfigureVirtualRouterElementRequest) GetEnabled

func (*ConfigureVirtualRouterElementRequest) GetId

func (*ConfigureVirtualRouterElementRequest) GetInjectedJobId

func (x *ConfigureVirtualRouterElementRequest) GetInjectedJobId() string

func (*ConfigureVirtualRouterElementRequest) GetResponseType

func (x *ConfigureVirtualRouterElementRequest) GetResponseType() string

func (*ConfigureVirtualRouterElementRequest) GetStartEventId

func (x *ConfigureVirtualRouterElementRequest) GetStartEventId() int64

func (*ConfigureVirtualRouterElementRequest) ProtoMessage

func (*ConfigureVirtualRouterElementRequest) ProtoMessage()

func (*ConfigureVirtualRouterElementRequest) ProtoReflect

func (*ConfigureVirtualRouterElementRequest) Reset

func (*ConfigureVirtualRouterElementRequest) String

type ConfigureVirtualRouterElementResponse

type ConfigureVirtualRouterElementResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

ConfigureVirtualRouterElementResponse represents the response from configures a virtual router element.

func (*ConfigureVirtualRouterElementResponse) Descriptor deprecated

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

Deprecated: Use ConfigureVirtualRouterElementResponse.ProtoReflect.Descriptor instead.

func (*ConfigureVirtualRouterElementResponse) GetResult

func (*ConfigureVirtualRouterElementResponse) ProtoMessage

func (*ConfigureVirtualRouterElementResponse) ProtoMessage()

func (*ConfigureVirtualRouterElementResponse) ProtoReflect

func (*ConfigureVirtualRouterElementResponse) Reset

func (*ConfigureVirtualRouterElementResponse) String

type CreateVirtualRouterElementRequest

type CreateVirtualRouterElementRequest struct {

	// the network service provider ID of the virtual router element
	NspId *int64 `protobuf:"varint,1,opt,name=nsp_id,json=nspId" json:"nsp_id,omitempty"`
	// The provider type. Supported types are VirtualRouter (default) and VPCVirtualRouter
	ProviderType  *string `protobuf:"bytes,2,opt,name=provider_type,json=providerType" json:"provider_type,omitempty"`
	StartEventId  *int64  `protobuf:"varint,3,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,4,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

CreateVirtualRouterElementRequest represents the parameters for create a virtual router element.

func (*CreateVirtualRouterElementRequest) Descriptor deprecated

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

Deprecated: Use CreateVirtualRouterElementRequest.ProtoReflect.Descriptor instead.

func (*CreateVirtualRouterElementRequest) GetInjectedJobId

func (x *CreateVirtualRouterElementRequest) GetInjectedJobId() string

func (*CreateVirtualRouterElementRequest) GetNspId

func (*CreateVirtualRouterElementRequest) GetProviderType

func (x *CreateVirtualRouterElementRequest) GetProviderType() string

func (*CreateVirtualRouterElementRequest) GetResponseType

func (x *CreateVirtualRouterElementRequest) GetResponseType() string

func (*CreateVirtualRouterElementRequest) GetStartEventId

func (x *CreateVirtualRouterElementRequest) GetStartEventId() int64

func (*CreateVirtualRouterElementRequest) ProtoMessage

func (*CreateVirtualRouterElementRequest) ProtoMessage()

func (*CreateVirtualRouterElementRequest) ProtoReflect

func (*CreateVirtualRouterElementRequest) Reset

func (*CreateVirtualRouterElementRequest) String

type CreateVirtualRouterElementResponse

type CreateVirtualRouterElementResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

CreateVirtualRouterElementResponse represents the response from create a virtual router element.

func (*CreateVirtualRouterElementResponse) Descriptor deprecated

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

Deprecated: Use CreateVirtualRouterElementResponse.ProtoReflect.Descriptor instead.

func (*CreateVirtualRouterElementResponse) GetResult

func (*CreateVirtualRouterElementResponse) ProtoMessage

func (*CreateVirtualRouterElementResponse) ProtoMessage()

func (*CreateVirtualRouterElementResponse) ProtoReflect

func (*CreateVirtualRouterElementResponse) Reset

func (*CreateVirtualRouterElementResponse) String

type DestroyRouterRequest

type DestroyRouterRequest struct {

	// the ID of the router
	Id            *int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,2,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,3,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

DestroyRouterRequest represents the parameters for destroys a router.

func (*DestroyRouterRequest) Descriptor deprecated

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

Deprecated: Use DestroyRouterRequest.ProtoReflect.Descriptor instead.

func (*DestroyRouterRequest) GetId

func (x *DestroyRouterRequest) GetId() int64

func (*DestroyRouterRequest) GetInjectedJobId

func (x *DestroyRouterRequest) GetInjectedJobId() string

func (*DestroyRouterRequest) GetResponseType

func (x *DestroyRouterRequest) GetResponseType() string

func (*DestroyRouterRequest) GetStartEventId

func (x *DestroyRouterRequest) GetStartEventId() int64

func (*DestroyRouterRequest) ProtoMessage

func (*DestroyRouterRequest) ProtoMessage()

func (*DestroyRouterRequest) ProtoReflect

func (x *DestroyRouterRequest) ProtoReflect() protoreflect.Message

func (*DestroyRouterRequest) Reset

func (x *DestroyRouterRequest) Reset()

func (*DestroyRouterRequest) String

func (x *DestroyRouterRequest) String() string

type DestroyRouterResponse

type DestroyRouterResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

DestroyRouterResponse represents the response from destroys a router.

func (*DestroyRouterResponse) Descriptor deprecated

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

Deprecated: Use DestroyRouterResponse.ProtoReflect.Descriptor instead.

func (*DestroyRouterResponse) GetResult

func (x *DestroyRouterResponse) GetResult() *Result

func (*DestroyRouterResponse) ProtoMessage

func (*DestroyRouterResponse) ProtoMessage()

func (*DestroyRouterResponse) ProtoReflect

func (x *DestroyRouterResponse) ProtoReflect() protoreflect.Message

func (*DestroyRouterResponse) Reset

func (x *DestroyRouterResponse) Reset()

func (*DestroyRouterResponse) String

func (x *DestroyRouterResponse) String() string

type DomainRouter

type DomainRouter struct {

	// The ID of the DomainRouter
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// The name of the DomainRouter
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// The display name of the DomainRouter
	DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
	// The description of the DomainRouter
	Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
	// The date this entity was created
	Created *string `protobuf:"bytes,5,opt,name=created" json:"created,omitempty"`
	// contains filtered or unexported fields
}

DomainRouter represents a DomainRouter Item

func (*DomainRouter) Descriptor deprecated

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

Deprecated: Use DomainRouter.ProtoReflect.Descriptor instead.

func (*DomainRouter) GetCreated

func (x *DomainRouter) GetCreated() string

func (*DomainRouter) GetDescription

func (x *DomainRouter) GetDescription() string

func (*DomainRouter) GetDisplayName

func (x *DomainRouter) GetDisplayName() string

func (*DomainRouter) GetId

func (x *DomainRouter) GetId() string

func (*DomainRouter) GetName

func (x *DomainRouter) GetName() string

func (*DomainRouter) ProtoMessage

func (*DomainRouter) ProtoMessage()

func (*DomainRouter) ProtoReflect

func (x *DomainRouter) ProtoReflect() protoreflect.Message

func (*DomainRouter) Reset

func (x *DomainRouter) Reset()

func (*DomainRouter) String

func (x *DomainRouter) String() string

type GetRouterHealthCheckResultsRequest

type GetRouterHealthCheckResultsRequest struct {

	// the ID of the router
	RouterId *int64 `protobuf:"varint,1,opt,name=router_id,json=routerId" json:"router_id,omitempty"`
	// if true is passed for this parameter, health checks are performed on the fly. Else last performed checks data is fetched
	PerformFreshChecks *bool   `protobuf:"varint,2,opt,name=perform_fresh_checks,json=performFreshChecks" json:"perform_fresh_checks,omitempty"`
	ResponseType       *string `protobuf:"bytes,3,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

GetRouterHealthCheckResultsRequest represents the parameters for starts a router.

func (*GetRouterHealthCheckResultsRequest) Descriptor deprecated

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

Deprecated: Use GetRouterHealthCheckResultsRequest.ProtoReflect.Descriptor instead.

func (*GetRouterHealthCheckResultsRequest) GetPerformFreshChecks

func (x *GetRouterHealthCheckResultsRequest) GetPerformFreshChecks() bool

func (*GetRouterHealthCheckResultsRequest) GetResponseType

func (x *GetRouterHealthCheckResultsRequest) GetResponseType() string

func (*GetRouterHealthCheckResultsRequest) GetRouterId

func (x *GetRouterHealthCheckResultsRequest) GetRouterId() int64

func (*GetRouterHealthCheckResultsRequest) ProtoMessage

func (*GetRouterHealthCheckResultsRequest) ProtoMessage()

func (*GetRouterHealthCheckResultsRequest) ProtoReflect

func (*GetRouterHealthCheckResultsRequest) Reset

func (*GetRouterHealthCheckResultsRequest) String

type GetRouterHealthCheckResultsResponse

type GetRouterHealthCheckResultsResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

GetRouterHealthCheckResultsResponse represents the response from starts a router.

func (*GetRouterHealthCheckResultsResponse) Descriptor deprecated

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

Deprecated: Use GetRouterHealthCheckResultsResponse.ProtoReflect.Descriptor instead.

func (*GetRouterHealthCheckResultsResponse) GetResult

func (*GetRouterHealthCheckResultsResponse) ProtoMessage

func (*GetRouterHealthCheckResultsResponse) ProtoMessage()

func (*GetRouterHealthCheckResultsResponse) ProtoReflect

func (*GetRouterHealthCheckResultsResponse) Reset

func (*GetRouterHealthCheckResultsResponse) String

type ListOvsElementsRequest

type ListOvsElementsRequest struct {

	// list ovs elements by id
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// list ovs elements by network service provider id
	NspId *int64 `protobuf:"varint,2,opt,name=nsp_id,json=nspId" json:"nsp_id,omitempty"`
	// list network offerings by enabled state
	Enabled *bool `protobuf:"varint,3,opt,name=enabled" json:"enabled,omitempty"`
	// List by keyword
	Keyword      *string `protobuf:"bytes,4,opt,name=keyword" json:"keyword,omitempty"`
	Page         *int32  `protobuf:"varint,5,opt,name=page" json:"page,omitempty"`
	PageSize     *int32  `protobuf:"varint,6,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
	ResponseType *string `protobuf:"bytes,7,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ListOvsElementsRequest represents the parameters for lists all available ovs elements.

func (*ListOvsElementsRequest) Descriptor deprecated

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

Deprecated: Use ListOvsElementsRequest.ProtoReflect.Descriptor instead.

func (*ListOvsElementsRequest) GetEnabled

func (x *ListOvsElementsRequest) GetEnabled() bool

func (*ListOvsElementsRequest) GetId

func (x *ListOvsElementsRequest) GetId() int64

func (*ListOvsElementsRequest) GetKeyword

func (x *ListOvsElementsRequest) GetKeyword() string

func (*ListOvsElementsRequest) GetNspId

func (x *ListOvsElementsRequest) GetNspId() int64

func (*ListOvsElementsRequest) GetPage

func (x *ListOvsElementsRequest) GetPage() int32

func (*ListOvsElementsRequest) GetPageSize

func (x *ListOvsElementsRequest) GetPageSize() int32

func (*ListOvsElementsRequest) GetResponseType

func (x *ListOvsElementsRequest) GetResponseType() string

func (*ListOvsElementsRequest) ProtoMessage

func (*ListOvsElementsRequest) ProtoMessage()

func (*ListOvsElementsRequest) ProtoReflect

func (x *ListOvsElementsRequest) ProtoReflect() protoreflect.Message

func (*ListOvsElementsRequest) Reset

func (x *ListOvsElementsRequest) Reset()

func (*ListOvsElementsRequest) String

func (x *ListOvsElementsRequest) String() string

type ListOvsElementsResponse

type ListOvsElementsResponse struct {

	// The list of OvsProviders
	Items []*OvsProvider `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
	// The total count of OvsProviders
	TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
	// contains filtered or unexported fields
}

ListOvsElementsResponse represents the response from lists all available ovs elements.

func (*ListOvsElementsResponse) Descriptor deprecated

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

Deprecated: Use ListOvsElementsResponse.ProtoReflect.Descriptor instead.

func (*ListOvsElementsResponse) GetItems

func (x *ListOvsElementsResponse) GetItems() []*OvsProvider

func (*ListOvsElementsResponse) GetTotalCount

func (x *ListOvsElementsResponse) GetTotalCount() int32

func (*ListOvsElementsResponse) ProtoMessage

func (*ListOvsElementsResponse) ProtoMessage()

func (*ListOvsElementsResponse) ProtoReflect

func (x *ListOvsElementsResponse) ProtoReflect() protoreflect.Message

func (*ListOvsElementsResponse) Reset

func (x *ListOvsElementsResponse) Reset()

func (*ListOvsElementsResponse) String

func (x *ListOvsElementsResponse) String() string

type ListRoutersRequest

type ListRoutersRequest struct {

	// the host ID of the router
	HostId *int64 `protobuf:"varint,1,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	// the ID of the disk router
	Id *int64 `protobuf:"varint,2,opt,name=id" json:"id,omitempty"`
	// the name of the router
	RouterName *string `protobuf:"bytes,3,opt,name=router_name,json=routerName" json:"router_name,omitempty"`
	// the Pod ID of the router
	PodId *int64 `protobuf:"varint,4,opt,name=pod_id,json=podId" json:"pod_id,omitempty"`
	// the state of the router
	State *string `protobuf:"bytes,5,opt,name=state" json:"state,omitempty"`
	// the Zone ID of the router
	ZoneId *int64 `protobuf:"varint,6,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	// the cluster ID of the router
	ClusterId *int64 `protobuf:"varint,7,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
	// list by network id
	NetworkId *int64 `protobuf:"varint,8,opt,name=network_id,json=networkId" json:"network_id,omitempty"`
	// List networks by VPC
	VpcId *int64 `protobuf:"varint,9,opt,name=vpc_id,json=vpcId" json:"vpc_id,omitempty"`
	// if true is passed for this parameter, list only VPC routers
	ForVpc *bool `protobuf:"varint,10,opt,name=for_vpc,json=forVpc" json:"for_vpc,omitempty"`
	// list virtual router elements by version
	Version *string `protobuf:"bytes,11,opt,name=version" json:"version,omitempty"`
	// if this parameter is passed, list only routers by health check results
	HealthCheckFailed *bool `protobuf:"varint,12,opt,name=health_check_failed,json=healthCheckFailed" json:"health_check_failed,omitempty"`
	// if true is passed for this parameter, also fetch last executed health check results for the router. Default is false
	FetchHealthCheckResults *bool `` /* 129-byte string literal not displayed */
	// list objects by project; if projectid=-1 lists All VMs
	ProjectId *int64 `protobuf:"varint,14,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
	// list resources by account. Must be used with the domainId parameter.
	AccountName *string `protobuf:"bytes,15,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
	// If set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false. Resources dedicated to a project are listed only if using the projectid parameter.
	ListAll *bool `protobuf:"varint,16,opt,name=list_all,json=listAll" json:"list_all,omitempty"`
	// list only resources belonging to the domain specified
	DomainId *int64 `protobuf:"varint,17,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
	// defaults to false, but if true, lists all resources from the parent specified by the domainId till leaves.
	Recursive *bool `protobuf:"varint,18,opt,name=recursive" json:"recursive,omitempty"`
	// List by keyword
	Keyword      *string `protobuf:"bytes,19,opt,name=keyword" json:"keyword,omitempty"`
	Page         *int32  `protobuf:"varint,20,opt,name=page" json:"page,omitempty"`
	PageSize     *int32  `protobuf:"varint,21,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
	ResponseType *string `protobuf:"bytes,22,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ListRoutersRequest represents the parameters for list routers.

func (*ListRoutersRequest) Descriptor deprecated

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

Deprecated: Use ListRoutersRequest.ProtoReflect.Descriptor instead.

func (*ListRoutersRequest) GetAccountName

func (x *ListRoutersRequest) GetAccountName() string

func (*ListRoutersRequest) GetClusterId

func (x *ListRoutersRequest) GetClusterId() int64

func (*ListRoutersRequest) GetDomainId

func (x *ListRoutersRequest) GetDomainId() int64

func (*ListRoutersRequest) GetFetchHealthCheckResults

func (x *ListRoutersRequest) GetFetchHealthCheckResults() bool

func (*ListRoutersRequest) GetForVpc

func (x *ListRoutersRequest) GetForVpc() bool

func (*ListRoutersRequest) GetHealthCheckFailed

func (x *ListRoutersRequest) GetHealthCheckFailed() bool

func (*ListRoutersRequest) GetHostId

func (x *ListRoutersRequest) GetHostId() int64

func (*ListRoutersRequest) GetId

func (x *ListRoutersRequest) GetId() int64

func (*ListRoutersRequest) GetKeyword

func (x *ListRoutersRequest) GetKeyword() string

func (*ListRoutersRequest) GetListAll

func (x *ListRoutersRequest) GetListAll() bool

func (*ListRoutersRequest) GetNetworkId

func (x *ListRoutersRequest) GetNetworkId() int64

func (*ListRoutersRequest) GetPage

func (x *ListRoutersRequest) GetPage() int32

func (*ListRoutersRequest) GetPageSize

func (x *ListRoutersRequest) GetPageSize() int32

func (*ListRoutersRequest) GetPodId

func (x *ListRoutersRequest) GetPodId() int64

func (*ListRoutersRequest) GetProjectId

func (x *ListRoutersRequest) GetProjectId() int64

func (*ListRoutersRequest) GetRecursive

func (x *ListRoutersRequest) GetRecursive() bool

func (*ListRoutersRequest) GetResponseType

func (x *ListRoutersRequest) GetResponseType() string

func (*ListRoutersRequest) GetRouterName

func (x *ListRoutersRequest) GetRouterName() string

func (*ListRoutersRequest) GetState

func (x *ListRoutersRequest) GetState() string

func (*ListRoutersRequest) GetVersion

func (x *ListRoutersRequest) GetVersion() string

func (*ListRoutersRequest) GetVpcId

func (x *ListRoutersRequest) GetVpcId() int64

func (*ListRoutersRequest) GetZoneId

func (x *ListRoutersRequest) GetZoneId() int64

func (*ListRoutersRequest) ProtoMessage

func (*ListRoutersRequest) ProtoMessage()

func (*ListRoutersRequest) ProtoReflect

func (x *ListRoutersRequest) ProtoReflect() protoreflect.Message

func (*ListRoutersRequest) Reset

func (x *ListRoutersRequest) Reset()

func (*ListRoutersRequest) String

func (x *ListRoutersRequest) String() string

type ListRoutersResponse

type ListRoutersResponse struct {

	// The list of DomainRouters
	Items []*DomainRouter `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
	// The total count of DomainRouters
	TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
	// contains filtered or unexported fields
}

ListRoutersResponse represents the response from list routers.

func (*ListRoutersResponse) Descriptor deprecated

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

Deprecated: Use ListRoutersResponse.ProtoReflect.Descriptor instead.

func (*ListRoutersResponse) GetItems

func (x *ListRoutersResponse) GetItems() []*DomainRouter

func (*ListRoutersResponse) GetTotalCount

func (x *ListRoutersResponse) GetTotalCount() int32

func (*ListRoutersResponse) ProtoMessage

func (*ListRoutersResponse) ProtoMessage()

func (*ListRoutersResponse) ProtoReflect

func (x *ListRoutersResponse) ProtoReflect() protoreflect.Message

func (*ListRoutersResponse) Reset

func (x *ListRoutersResponse) Reset()

func (*ListRoutersResponse) String

func (x *ListRoutersResponse) String() string

type ListVirtualRouterElementsRequest

type ListVirtualRouterElementsRequest struct {

	// list virtual router elements by id
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// list virtual router elements by network service provider id
	NspId *int64 `protobuf:"varint,2,opt,name=nsp_id,json=nspId" json:"nsp_id,omitempty"`
	// list network offerings by enabled state
	Enabled *bool `protobuf:"varint,3,opt,name=enabled" json:"enabled,omitempty"`
	// List by keyword
	Keyword      *string `protobuf:"bytes,4,opt,name=keyword" json:"keyword,omitempty"`
	Page         *int32  `protobuf:"varint,5,opt,name=page" json:"page,omitempty"`
	PageSize     *int32  `protobuf:"varint,6,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
	ResponseType *string `protobuf:"bytes,7,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ListVirtualRouterElementsRequest represents the parameters for lists all available virtual router elements.

func (*ListVirtualRouterElementsRequest) Descriptor deprecated

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

Deprecated: Use ListVirtualRouterElementsRequest.ProtoReflect.Descriptor instead.

func (*ListVirtualRouterElementsRequest) GetEnabled

func (x *ListVirtualRouterElementsRequest) GetEnabled() bool

func (*ListVirtualRouterElementsRequest) GetId

func (*ListVirtualRouterElementsRequest) GetKeyword

func (x *ListVirtualRouterElementsRequest) GetKeyword() string

func (*ListVirtualRouterElementsRequest) GetNspId

func (*ListVirtualRouterElementsRequest) GetPage

func (*ListVirtualRouterElementsRequest) GetPageSize

func (x *ListVirtualRouterElementsRequest) GetPageSize() int32

func (*ListVirtualRouterElementsRequest) GetResponseType

func (x *ListVirtualRouterElementsRequest) GetResponseType() string

func (*ListVirtualRouterElementsRequest) ProtoMessage

func (*ListVirtualRouterElementsRequest) ProtoMessage()

func (*ListVirtualRouterElementsRequest) ProtoReflect

func (*ListVirtualRouterElementsRequest) Reset

func (*ListVirtualRouterElementsRequest) String

type ListVirtualRouterElementsResponse

type ListVirtualRouterElementsResponse struct {

	// The list of VirtualRouterProviders
	Items []*VirtualRouterProvider `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
	// The total count of VirtualRouterProviders
	TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
	// contains filtered or unexported fields
}

ListVirtualRouterElementsResponse represents the response from lists all available virtual router elements.

func (*ListVirtualRouterElementsResponse) Descriptor deprecated

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

Deprecated: Use ListVirtualRouterElementsResponse.ProtoReflect.Descriptor instead.

func (*ListVirtualRouterElementsResponse) GetItems

func (*ListVirtualRouterElementsResponse) GetTotalCount

func (x *ListVirtualRouterElementsResponse) GetTotalCount() int32

func (*ListVirtualRouterElementsResponse) ProtoMessage

func (*ListVirtualRouterElementsResponse) ProtoMessage()

func (*ListVirtualRouterElementsResponse) ProtoReflect

func (*ListVirtualRouterElementsResponse) Reset

func (*ListVirtualRouterElementsResponse) String

type OvsProvider

type OvsProvider struct {

	// The ID of the OvsProvider
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// The name of the OvsProvider
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// The display name of the OvsProvider
	DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
	// The description of the OvsProvider
	Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
	// The date this entity was created
	Created *string `protobuf:"bytes,5,opt,name=created" json:"created,omitempty"`
	// contains filtered or unexported fields
}

OvsProvider represents a OvsProvider Item

func (*OvsProvider) Descriptor deprecated

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

Deprecated: Use OvsProvider.ProtoReflect.Descriptor instead.

func (*OvsProvider) GetCreated

func (x *OvsProvider) GetCreated() string

func (*OvsProvider) GetDescription

func (x *OvsProvider) GetDescription() string

func (*OvsProvider) GetDisplayName

func (x *OvsProvider) GetDisplayName() string

func (*OvsProvider) GetId

func (x *OvsProvider) GetId() string

func (*OvsProvider) GetName

func (x *OvsProvider) GetName() string

func (*OvsProvider) ProtoMessage

func (*OvsProvider) ProtoMessage()

func (*OvsProvider) ProtoReflect

func (x *OvsProvider) ProtoReflect() protoreflect.Message

func (*OvsProvider) Reset

func (x *OvsProvider) Reset()

func (*OvsProvider) String

func (x *OvsProvider) String() string

type RebootRouterRequest

type RebootRouterRequest struct {

	// the ID of the router
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// Force reboot the router (Router is force Stopped and then Started)
	Forced        *bool   `protobuf:"varint,2,opt,name=forced" json:"forced,omitempty"`
	StartEventId  *int64  `protobuf:"varint,3,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,4,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

RebootRouterRequest represents the parameters for starts a router.

func (*RebootRouterRequest) Descriptor deprecated

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

Deprecated: Use RebootRouterRequest.ProtoReflect.Descriptor instead.

func (*RebootRouterRequest) GetForced

func (x *RebootRouterRequest) GetForced() bool

func (*RebootRouterRequest) GetId

func (x *RebootRouterRequest) GetId() int64

func (*RebootRouterRequest) GetInjectedJobId

func (x *RebootRouterRequest) GetInjectedJobId() string

func (*RebootRouterRequest) GetResponseType

func (x *RebootRouterRequest) GetResponseType() string

func (*RebootRouterRequest) GetStartEventId

func (x *RebootRouterRequest) GetStartEventId() int64

func (*RebootRouterRequest) ProtoMessage

func (*RebootRouterRequest) ProtoMessage()

func (*RebootRouterRequest) ProtoReflect

func (x *RebootRouterRequest) ProtoReflect() protoreflect.Message

func (*RebootRouterRequest) Reset

func (x *RebootRouterRequest) Reset()

func (*RebootRouterRequest) String

func (x *RebootRouterRequest) String() string

type RebootRouterResponse

type RebootRouterResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

RebootRouterResponse represents the response from starts a router.

func (*RebootRouterResponse) Descriptor deprecated

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

Deprecated: Use RebootRouterResponse.ProtoReflect.Descriptor instead.

func (*RebootRouterResponse) GetResult

func (x *RebootRouterResponse) GetResult() *Result

func (*RebootRouterResponse) ProtoMessage

func (*RebootRouterResponse) ProtoMessage()

func (*RebootRouterResponse) ProtoReflect

func (x *RebootRouterResponse) ProtoReflect() protoreflect.Message

func (*RebootRouterResponse) Reset

func (x *RebootRouterResponse) Reset()

func (*RebootRouterResponse) String

func (x *RebootRouterResponse) String() string

type Result

type Result struct {

	// Whether the operation was successful
	Success *bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
	// Any text associated with the success or failure
	DisplayText *string `protobuf:"bytes,2,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// The ID of the resource affected by the operation
	Id *string `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"`
	// The job ID for an async operation
	JobId *string `protobuf:"bytes,4,opt,name=job_id,json=jobId" json:"job_id,omitempty"`
	// The status of the job
	JobStatus *string `protobuf:"bytes,5,opt,name=job_status,json=jobStatus" json:"job_status,omitempty"`
	// contains filtered or unexported fields
}

Result represents a generic operation result

func (*Result) Descriptor deprecated

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

Deprecated: Use Result.ProtoReflect.Descriptor instead.

func (*Result) GetDisplayText

func (x *Result) GetDisplayText() string

func (*Result) GetId

func (x *Result) GetId() string

func (*Result) GetJobId

func (x *Result) GetJobId() string

func (*Result) GetJobStatus

func (x *Result) GetJobStatus() string

func (*Result) GetSuccess

func (x *Result) GetSuccess() bool

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) ProtoReflect

func (x *Result) ProtoReflect() protoreflect.Message

func (*Result) Reset

func (x *Result) Reset()

func (*Result) String

func (x *Result) String() string

type RouterServiceClient

type RouterServiceClient interface {
	// ConfigureOvsElement Configures an ovs element.
	ConfigureOvsElement(ctx context.Context, in *ConfigureOvsElementRequest, opts ...grpc.CallOption) (*ConfigureOvsElementResponse, error)
	// ConfigureVirtualRouterElement Configures a virtual router element.
	ConfigureVirtualRouterElement(ctx context.Context, in *ConfigureVirtualRouterElementRequest, opts ...grpc.CallOption) (*ConfigureVirtualRouterElementResponse, error)
	// CreateVirtualRouterElement Create a virtual router element.
	CreateVirtualRouterElement(ctx context.Context, in *CreateVirtualRouterElementRequest, opts ...grpc.CallOption) (*CreateVirtualRouterElementResponse, error)
	// DestroyRouter Destroys a router.
	DestroyRouter(ctx context.Context, in *DestroyRouterRequest, opts ...grpc.CallOption) (*DestroyRouterResponse, error)
	// GetRouterHealthCheckResults Starts a router.
	GetRouterHealthCheckResults(ctx context.Context, in *GetRouterHealthCheckResultsRequest, opts ...grpc.CallOption) (*GetRouterHealthCheckResultsResponse, error)
	// ListOvsElements Lists all available ovs elements.
	ListOvsElements(ctx context.Context, in *ListOvsElementsRequest, opts ...grpc.CallOption) (*ListOvsElementsResponse, error)
	// ListRouters List routers.
	ListRouters(ctx context.Context, in *ListRoutersRequest, opts ...grpc.CallOption) (*ListRoutersResponse, error)
	// ListVirtualRouterElements Lists all available virtual router elements.
	ListVirtualRouterElements(ctx context.Context, in *ListVirtualRouterElementsRequest, opts ...grpc.CallOption) (*ListVirtualRouterElementsResponse, error)
	// RebootRouter Starts a router.
	RebootRouter(ctx context.Context, in *RebootRouterRequest, opts ...grpc.CallOption) (*RebootRouterResponse, error)
	// StartRouter Starts a router.
	StartRouter(ctx context.Context, in *StartRouterRequest, opts ...grpc.CallOption) (*StartRouterResponse, error)
	// StopRouter Stops a router.
	StopRouter(ctx context.Context, in *StopRouterRequest, opts ...grpc.CallOption) (*StopRouterResponse, error)
	// UpgradeRouter Upgrades domain router to a new service offering
	UpgradeRouter(ctx context.Context, in *UpgradeRouterRequest, opts ...grpc.CallOption) (*UpgradeRouterResponse, error)
	// UpgradeRouterTemplate Upgrades router to use newer template
	UpgradeRouterTemplate(ctx context.Context, in *UpgradeRouterTemplateRequest, opts ...grpc.CallOption) (*UpgradeRouterTemplateResponse, error)
}

RouterServiceClient is the client API for RouterService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

RouterService provides operations for managing Routers

type RouterServiceServer

type RouterServiceServer interface {
	// ConfigureOvsElement Configures an ovs element.
	ConfigureOvsElement(context.Context, *ConfigureOvsElementRequest) (*ConfigureOvsElementResponse, error)
	// ConfigureVirtualRouterElement Configures a virtual router element.
	ConfigureVirtualRouterElement(context.Context, *ConfigureVirtualRouterElementRequest) (*ConfigureVirtualRouterElementResponse, error)
	// CreateVirtualRouterElement Create a virtual router element.
	CreateVirtualRouterElement(context.Context, *CreateVirtualRouterElementRequest) (*CreateVirtualRouterElementResponse, error)
	// DestroyRouter Destroys a router.
	DestroyRouter(context.Context, *DestroyRouterRequest) (*DestroyRouterResponse, error)
	// GetRouterHealthCheckResults Starts a router.
	GetRouterHealthCheckResults(context.Context, *GetRouterHealthCheckResultsRequest) (*GetRouterHealthCheckResultsResponse, error)
	// ListOvsElements Lists all available ovs elements.
	ListOvsElements(context.Context, *ListOvsElementsRequest) (*ListOvsElementsResponse, error)
	// ListRouters List routers.
	ListRouters(context.Context, *ListRoutersRequest) (*ListRoutersResponse, error)
	// ListVirtualRouterElements Lists all available virtual router elements.
	ListVirtualRouterElements(context.Context, *ListVirtualRouterElementsRequest) (*ListVirtualRouterElementsResponse, error)
	// RebootRouter Starts a router.
	RebootRouter(context.Context, *RebootRouterRequest) (*RebootRouterResponse, error)
	// StartRouter Starts a router.
	StartRouter(context.Context, *StartRouterRequest) (*StartRouterResponse, error)
	// StopRouter Stops a router.
	StopRouter(context.Context, *StopRouterRequest) (*StopRouterResponse, error)
	// UpgradeRouter Upgrades domain router to a new service offering
	UpgradeRouter(context.Context, *UpgradeRouterRequest) (*UpgradeRouterResponse, error)
	// UpgradeRouterTemplate Upgrades router to use newer template
	UpgradeRouterTemplate(context.Context, *UpgradeRouterTemplateRequest) (*UpgradeRouterTemplateResponse, error)
	// contains filtered or unexported methods
}

RouterServiceServer is the server API for RouterService service. All implementations must embed UnimplementedRouterServiceServer for forward compatibility.

RouterService provides operations for managing Routers

type StartRouterRequest

type StartRouterRequest struct {

	// the ID of the router
	Id            *int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,2,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,3,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

StartRouterRequest represents the parameters for starts a router.

func (*StartRouterRequest) Descriptor deprecated

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

Deprecated: Use StartRouterRequest.ProtoReflect.Descriptor instead.

func (*StartRouterRequest) GetId

func (x *StartRouterRequest) GetId() int64

func (*StartRouterRequest) GetInjectedJobId

func (x *StartRouterRequest) GetInjectedJobId() string

func (*StartRouterRequest) GetResponseType

func (x *StartRouterRequest) GetResponseType() string

func (*StartRouterRequest) GetStartEventId

func (x *StartRouterRequest) GetStartEventId() int64

func (*StartRouterRequest) ProtoMessage

func (*StartRouterRequest) ProtoMessage()

func (*StartRouterRequest) ProtoReflect

func (x *StartRouterRequest) ProtoReflect() protoreflect.Message

func (*StartRouterRequest) Reset

func (x *StartRouterRequest) Reset()

func (*StartRouterRequest) String

func (x *StartRouterRequest) String() string

type StartRouterResponse

type StartRouterResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

StartRouterResponse represents the response from starts a router.

func (*StartRouterResponse) Descriptor deprecated

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

Deprecated: Use StartRouterResponse.ProtoReflect.Descriptor instead.

func (*StartRouterResponse) GetResult

func (x *StartRouterResponse) GetResult() *Result

func (*StartRouterResponse) ProtoMessage

func (*StartRouterResponse) ProtoMessage()

func (*StartRouterResponse) ProtoReflect

func (x *StartRouterResponse) ProtoReflect() protoreflect.Message

func (*StartRouterResponse) Reset

func (x *StartRouterResponse) Reset()

func (*StartRouterResponse) String

func (x *StartRouterResponse) String() string

type StopRouterRequest

type StopRouterRequest struct {

	// the ID of the router
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// Force stop the VM (vm is marked as Stopped even when command fails to be send to the backend, otherwise a force poweroff is attempted). To be used if the caller knows the VM is stopped and should be marked as such.
	Forced        *bool   `protobuf:"varint,2,opt,name=forced" json:"forced,omitempty"`
	StartEventId  *int64  `protobuf:"varint,3,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,4,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

StopRouterRequest represents the parameters for stops a router.

func (*StopRouterRequest) Descriptor deprecated

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

Deprecated: Use StopRouterRequest.ProtoReflect.Descriptor instead.

func (*StopRouterRequest) GetForced

func (x *StopRouterRequest) GetForced() bool

func (*StopRouterRequest) GetId

func (x *StopRouterRequest) GetId() int64

func (*StopRouterRequest) GetInjectedJobId

func (x *StopRouterRequest) GetInjectedJobId() string

func (*StopRouterRequest) GetResponseType

func (x *StopRouterRequest) GetResponseType() string

func (*StopRouterRequest) GetStartEventId

func (x *StopRouterRequest) GetStartEventId() int64

func (*StopRouterRequest) ProtoMessage

func (*StopRouterRequest) ProtoMessage()

func (*StopRouterRequest) ProtoReflect

func (x *StopRouterRequest) ProtoReflect() protoreflect.Message

func (*StopRouterRequest) Reset

func (x *StopRouterRequest) Reset()

func (*StopRouterRequest) String

func (x *StopRouterRequest) String() string

type StopRouterResponse

type StopRouterResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

StopRouterResponse represents the response from stops a router.

func (*StopRouterResponse) Descriptor deprecated

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

Deprecated: Use StopRouterResponse.ProtoReflect.Descriptor instead.

func (*StopRouterResponse) GetResult

func (x *StopRouterResponse) GetResult() *Result

func (*StopRouterResponse) ProtoMessage

func (*StopRouterResponse) ProtoMessage()

func (*StopRouterResponse) ProtoReflect

func (x *StopRouterResponse) ProtoReflect() protoreflect.Message

func (*StopRouterResponse) Reset

func (x *StopRouterResponse) Reset()

func (*StopRouterResponse) String

func (x *StopRouterResponse) String() string

type Success

type Success struct {

	// true if operation is executed successfully
	Success *bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
	// any text associated with the success or failure
	DisplayText *string `protobuf:"bytes,2,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// contains filtered or unexported fields
}

Success represents a Success Operation Response

func (*Success) Descriptor deprecated

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

Deprecated: Use Success.ProtoReflect.Descriptor instead.

func (*Success) GetDisplayText

func (x *Success) GetDisplayText() string

func (*Success) GetSuccess

func (x *Success) GetSuccess() bool

func (*Success) ProtoMessage

func (*Success) ProtoMessage()

func (*Success) ProtoReflect

func (x *Success) ProtoReflect() protoreflect.Message

func (*Success) Reset

func (x *Success) Reset()

func (*Success) String

func (x *Success) String() string

type UnimplementedRouterServiceServer

type UnimplementedRouterServiceServer struct{}

UnimplementedRouterServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedRouterServiceServer) DestroyRouter

func (UnimplementedRouterServiceServer) ListOvsElements

func (UnimplementedRouterServiceServer) ListRouters

func (UnimplementedRouterServiceServer) RebootRouter

func (UnimplementedRouterServiceServer) StartRouter

func (UnimplementedRouterServiceServer) StopRouter

func (UnimplementedRouterServiceServer) UpgradeRouter

type UnsafeRouterServiceServer

type UnsafeRouterServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeRouterServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RouterServiceServer will result in compilation errors.

type UpgradeRouterRequest

type UpgradeRouterRequest struct {

	// The ID of the router
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// the service offering ID to apply to the domain router
	ServiceOfferingId *int64  `protobuf:"varint,2,opt,name=service_offering_id,json=serviceOfferingId" json:"service_offering_id,omitempty"`
	ResponseType      *string `protobuf:"bytes,3,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

UpgradeRouterRequest represents the parameters for upgrades domain router to a new service offering

func (*UpgradeRouterRequest) Descriptor deprecated

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

Deprecated: Use UpgradeRouterRequest.ProtoReflect.Descriptor instead.

func (*UpgradeRouterRequest) GetId

func (x *UpgradeRouterRequest) GetId() int64

func (*UpgradeRouterRequest) GetResponseType

func (x *UpgradeRouterRequest) GetResponseType() string

func (*UpgradeRouterRequest) GetServiceOfferingId

func (x *UpgradeRouterRequest) GetServiceOfferingId() int64

func (*UpgradeRouterRequest) ProtoMessage

func (*UpgradeRouterRequest) ProtoMessage()

func (*UpgradeRouterRequest) ProtoReflect

func (x *UpgradeRouterRequest) ProtoReflect() protoreflect.Message

func (*UpgradeRouterRequest) Reset

func (x *UpgradeRouterRequest) Reset()

func (*UpgradeRouterRequest) String

func (x *UpgradeRouterRequest) String() string

type UpgradeRouterResponse

type UpgradeRouterResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

UpgradeRouterResponse represents the response from upgrades domain router to a new service offering

func (*UpgradeRouterResponse) Descriptor deprecated

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

Deprecated: Use UpgradeRouterResponse.ProtoReflect.Descriptor instead.

func (*UpgradeRouterResponse) GetResult

func (x *UpgradeRouterResponse) GetResult() *Result

func (*UpgradeRouterResponse) ProtoMessage

func (*UpgradeRouterResponse) ProtoMessage()

func (*UpgradeRouterResponse) ProtoReflect

func (x *UpgradeRouterResponse) ProtoReflect() protoreflect.Message

func (*UpgradeRouterResponse) Reset

func (x *UpgradeRouterResponse) Reset()

func (*UpgradeRouterResponse) String

func (x *UpgradeRouterResponse) String() string

type UpgradeRouterTemplateRequest

type UpgradeRouterTemplateRequest struct {

	// upgrades router with the specified Id
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// upgrades all routers within the specified cluster
	ClusterId *int64 `protobuf:"varint,2,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
	// upgrades all routers within the specified pod
	PodId *int64 `protobuf:"varint,3,opt,name=pod_id,json=podId" json:"pod_id,omitempty"`
	// upgrades all routers within the specified zone
	ZoneId *int64 `protobuf:"varint,4,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	// upgrades all routers owned by the specified account
	Account *string `protobuf:"bytes,5,opt,name=account" json:"account,omitempty"`
	// upgrades all routers owned by the specified domain
	DomainId     *int64  `protobuf:"varint,6,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
	ResponseType *string `protobuf:"bytes,7,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

UpgradeRouterTemplateRequest represents the parameters for upgrades router to use newer template

func (*UpgradeRouterTemplateRequest) Descriptor deprecated

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

Deprecated: Use UpgradeRouterTemplateRequest.ProtoReflect.Descriptor instead.

func (*UpgradeRouterTemplateRequest) GetAccount

func (x *UpgradeRouterTemplateRequest) GetAccount() string

func (*UpgradeRouterTemplateRequest) GetClusterId

func (x *UpgradeRouterTemplateRequest) GetClusterId() int64

func (*UpgradeRouterTemplateRequest) GetDomainId

func (x *UpgradeRouterTemplateRequest) GetDomainId() int64

func (*UpgradeRouterTemplateRequest) GetId

func (*UpgradeRouterTemplateRequest) GetPodId

func (x *UpgradeRouterTemplateRequest) GetPodId() int64

func (*UpgradeRouterTemplateRequest) GetResponseType

func (x *UpgradeRouterTemplateRequest) GetResponseType() string

func (*UpgradeRouterTemplateRequest) GetZoneId

func (x *UpgradeRouterTemplateRequest) GetZoneId() int64

func (*UpgradeRouterTemplateRequest) ProtoMessage

func (*UpgradeRouterTemplateRequest) ProtoMessage()

func (*UpgradeRouterTemplateRequest) ProtoReflect

func (*UpgradeRouterTemplateRequest) Reset

func (x *UpgradeRouterTemplateRequest) Reset()

func (*UpgradeRouterTemplateRequest) String

type UpgradeRouterTemplateResponse

type UpgradeRouterTemplateResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

UpgradeRouterTemplateResponse represents the response from upgrades router to use newer template

func (*UpgradeRouterTemplateResponse) Descriptor deprecated

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

Deprecated: Use UpgradeRouterTemplateResponse.ProtoReflect.Descriptor instead.

func (*UpgradeRouterTemplateResponse) GetResult

func (x *UpgradeRouterTemplateResponse) GetResult() *Result

func (*UpgradeRouterTemplateResponse) ProtoMessage

func (*UpgradeRouterTemplateResponse) ProtoMessage()

func (*UpgradeRouterTemplateResponse) ProtoReflect

func (*UpgradeRouterTemplateResponse) Reset

func (x *UpgradeRouterTemplateResponse) Reset()

func (*UpgradeRouterTemplateResponse) String

type VirtualRouterProvider

type VirtualRouterProvider struct {

	// The ID of the VirtualRouterProvider
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// The name of the VirtualRouterProvider
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// The display name of the VirtualRouterProvider
	DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
	// The description of the VirtualRouterProvider
	Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
	// The date this entity was created
	Created *string `protobuf:"bytes,5,opt,name=created" json:"created,omitempty"`
	// contains filtered or unexported fields
}

VirtualRouterProvider represents a VirtualRouterProvider Item

func (*VirtualRouterProvider) Descriptor deprecated

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

Deprecated: Use VirtualRouterProvider.ProtoReflect.Descriptor instead.

func (*VirtualRouterProvider) GetCreated

func (x *VirtualRouterProvider) GetCreated() string

func (*VirtualRouterProvider) GetDescription

func (x *VirtualRouterProvider) GetDescription() string

func (*VirtualRouterProvider) GetDisplayName

func (x *VirtualRouterProvider) GetDisplayName() string

func (*VirtualRouterProvider) GetId

func (x *VirtualRouterProvider) GetId() string

func (*VirtualRouterProvider) GetName

func (x *VirtualRouterProvider) GetName() string

func (*VirtualRouterProvider) ProtoMessage

func (*VirtualRouterProvider) ProtoMessage()

func (*VirtualRouterProvider) ProtoReflect

func (x *VirtualRouterProvider) ProtoReflect() protoreflect.Message

func (*VirtualRouterProvider) Reset

func (x *VirtualRouterProvider) Reset()

func (*VirtualRouterProvider) String

func (x *VirtualRouterProvider) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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