Class TelcoAutomationGrpc.TelcoAutomationBlockingStub (0.10.0)

public static final class TelcoAutomationGrpc.TelcoAutomationBlockingStub extends AbstractBlockingStub<TelcoAutomationGrpc.TelcoAutomationBlockingStub>

A stub to allow clients to do synchronous rpc calls to service TelcoAutomation.

TelcoAutomation Service manages the control plane cluster a.k.a. Orchestration Cluster (GKE cluster with config controller) of TNA. It also exposes blueprint APIs which manages the lifecycle of blueprints that control the infrastructure setup (e.g GDCE clusters) and deployment of network functions.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > TelcoAutomationGrpc.TelcoAutomationBlockingStub

Methods

applyDeployment(ApplyDeploymentRequest request)

public Deployment applyDeployment(ApplyDeploymentRequest request)

Applies the deployment's YAML files to the parent orchestration cluster.

Parameter
NameDescription
requestApplyDeploymentRequest
Returns
TypeDescription
Deployment

applyHydratedDeployment(ApplyHydratedDeploymentRequest request)

public HydratedDeployment applyHydratedDeployment(ApplyHydratedDeploymentRequest request)

Applies a hydrated deployment to a workload cluster.

Parameter
NameDescription
requestApplyHydratedDeploymentRequest
Returns
TypeDescription
HydratedDeployment

approveBlueprint(ApproveBlueprintRequest request)

public Blueprint approveBlueprint(ApproveBlueprintRequest request)

Approves a blueprint and commits a new revision.

Parameter
NameDescription
requestApproveBlueprintRequest
Returns
TypeDescription
Blueprint

build(Channel channel, CallOptions callOptions)

protected TelcoAutomationGrpc.TelcoAutomationBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
TelcoAutomationGrpc.TelcoAutomationBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

computeDeploymentStatus(ComputeDeploymentStatusRequest request)

public ComputeDeploymentStatusResponse computeDeploymentStatus(ComputeDeploymentStatusRequest request)

Returns the requested deployment status.

Parameter
NameDescription
requestComputeDeploymentStatusRequest
Returns
TypeDescription
ComputeDeploymentStatusResponse

createBlueprint(CreateBlueprintRequest request)

public Blueprint createBlueprint(CreateBlueprintRequest request)

Creates a blueprint.

Parameter
NameDescription
requestCreateBlueprintRequest
Returns
TypeDescription
Blueprint

createDeployment(CreateDeploymentRequest request)

public Deployment createDeployment(CreateDeploymentRequest request)

Creates a deployment.

Parameter
NameDescription
requestCreateDeploymentRequest
Returns
TypeDescription
Deployment

createEdgeSlm(CreateEdgeSlmRequest request)

public Operation createEdgeSlm(CreateEdgeSlmRequest request)

Creates a new EdgeSlm in a given project and location.

Parameter
NameDescription
requestCreateEdgeSlmRequest
Returns
TypeDescription
Operation

createOrchestrationCluster(CreateOrchestrationClusterRequest request)

public Operation createOrchestrationCluster(CreateOrchestrationClusterRequest request)

Creates a new OrchestrationCluster in a given project and location.

Parameter
NameDescription
requestCreateOrchestrationClusterRequest
Returns
TypeDescription
Operation

deleteBlueprint(DeleteBlueprintRequest request)

public Empty deleteBlueprint(DeleteBlueprintRequest request)

Deletes a blueprint and all its revisions.

Parameter
NameDescription
requestDeleteBlueprintRequest
Returns
TypeDescription
Empty

deleteEdgeSlm(DeleteEdgeSlmRequest request)

public Operation deleteEdgeSlm(DeleteEdgeSlmRequest request)

Deletes a single EdgeSlm.

Parameter
NameDescription
requestDeleteEdgeSlmRequest
Returns
TypeDescription
Operation

deleteOrchestrationCluster(DeleteOrchestrationClusterRequest request)

public Operation deleteOrchestrationCluster(DeleteOrchestrationClusterRequest request)

Deletes a single OrchestrationCluster.

Parameter
NameDescription
requestDeleteOrchestrationClusterRequest
Returns
TypeDescription
Operation

discardBlueprintChanges(DiscardBlueprintChangesRequest request)

public DiscardBlueprintChangesResponse discardBlueprintChanges(DiscardBlueprintChangesRequest request)

Discards the changes in a blueprint and reverts the blueprint to the last approved blueprint revision. No changes take place if a blueprint does not have revisions.

Parameter
NameDescription
requestDiscardBlueprintChangesRequest
Returns
TypeDescription
DiscardBlueprintChangesResponse

discardDeploymentChanges(DiscardDeploymentChangesRequest request)

public DiscardDeploymentChangesResponse discardDeploymentChanges(DiscardDeploymentChangesRequest request)

Discards the changes in a deployment and reverts the deployment to the last approved deployment revision. No changes take place if a deployment does not have revisions.

Parameter
NameDescription
requestDiscardDeploymentChangesRequest
Returns
TypeDescription
DiscardDeploymentChangesResponse

getBlueprint(GetBlueprintRequest request)

public Blueprint getBlueprint(GetBlueprintRequest request)

Returns the requested blueprint.

Parameter
NameDescription
requestGetBlueprintRequest
Returns
TypeDescription
Blueprint

getDeployment(GetDeploymentRequest request)

public Deployment getDeployment(GetDeploymentRequest request)

Returns the requested deployment.

Parameter
NameDescription
requestGetDeploymentRequest
Returns
TypeDescription
Deployment

getEdgeSlm(GetEdgeSlmRequest request)

public EdgeSlm getEdgeSlm(GetEdgeSlmRequest request)

Gets details of a single EdgeSlm.

Parameter
NameDescription
requestGetEdgeSlmRequest
Returns
TypeDescription
EdgeSlm

getHydratedDeployment(GetHydratedDeploymentRequest request)

public HydratedDeployment getHydratedDeployment(GetHydratedDeploymentRequest request)

Returns the requested hydrated deployment.

Parameter
NameDescription
requestGetHydratedDeploymentRequest
Returns
TypeDescription
HydratedDeployment

getOrchestrationCluster(GetOrchestrationClusterRequest request)

public OrchestrationCluster getOrchestrationCluster(GetOrchestrationClusterRequest request)

Gets details of a single OrchestrationCluster.

Parameter
NameDescription
requestGetOrchestrationClusterRequest
Returns
TypeDescription
OrchestrationCluster

getPublicBlueprint(GetPublicBlueprintRequest request)

public PublicBlueprint getPublicBlueprint(GetPublicBlueprintRequest request)

Returns the requested public blueprint.

Parameter
NameDescription
requestGetPublicBlueprintRequest
Returns
TypeDescription
PublicBlueprint

listBlueprintRevisions(ListBlueprintRevisionsRequest request)

public ListBlueprintRevisionsResponse listBlueprintRevisions(ListBlueprintRevisionsRequest request)

List blueprint revisions of a given blueprint.

Parameter
NameDescription
requestListBlueprintRevisionsRequest
Returns
TypeDescription
ListBlueprintRevisionsResponse

listBlueprints(ListBlueprintsRequest request)

public ListBlueprintsResponse listBlueprints(ListBlueprintsRequest request)

List all blueprints.

Parameter
NameDescription
requestListBlueprintsRequest
Returns
TypeDescription
ListBlueprintsResponse

listDeploymentRevisions(ListDeploymentRevisionsRequest request)

public ListDeploymentRevisionsResponse listDeploymentRevisions(ListDeploymentRevisionsRequest request)

List deployment revisions of a given deployment.

Parameter
NameDescription
requestListDeploymentRevisionsRequest
Returns
TypeDescription
ListDeploymentRevisionsResponse

listDeployments(ListDeploymentsRequest request)

public ListDeploymentsResponse listDeployments(ListDeploymentsRequest request)

List all deployments.

Parameter
NameDescription
requestListDeploymentsRequest
Returns
TypeDescription
ListDeploymentsResponse

listEdgeSlms(ListEdgeSlmsRequest request)

public ListEdgeSlmsResponse listEdgeSlms(ListEdgeSlmsRequest request)

Lists EdgeSlms in a given project and location.

Parameter
NameDescription
requestListEdgeSlmsRequest
Returns
TypeDescription
ListEdgeSlmsResponse

listHydratedDeployments(ListHydratedDeploymentsRequest request)

public ListHydratedDeploymentsResponse listHydratedDeployments(ListHydratedDeploymentsRequest request)

List all hydrated deployments present under a deployment.

Parameter
NameDescription
requestListHydratedDeploymentsRequest
Returns
TypeDescription
ListHydratedDeploymentsResponse

listOrchestrationClusters(ListOrchestrationClustersRequest request)

public ListOrchestrationClustersResponse listOrchestrationClusters(ListOrchestrationClustersRequest request)

Lists OrchestrationClusters in a given project and location.

Parameter
NameDescription
requestListOrchestrationClustersRequest
Returns
TypeDescription
ListOrchestrationClustersResponse

listPublicBlueprints(ListPublicBlueprintsRequest request)

public ListPublicBlueprintsResponse listPublicBlueprints(ListPublicBlueprintsRequest request)

Lists the blueprints in TNA's public catalog. Default page size = 20, Max Page Size = 100.

Parameter
NameDescription
requestListPublicBlueprintsRequest
Returns
TypeDescription
ListPublicBlueprintsResponse

proposeBlueprint(ProposeBlueprintRequest request)

public Blueprint proposeBlueprint(ProposeBlueprintRequest request)

Proposes a blueprint for approval of changes.

Parameter
NameDescription
requestProposeBlueprintRequest
Returns
TypeDescription
Blueprint

rejectBlueprint(RejectBlueprintRequest request)

public Blueprint rejectBlueprint(RejectBlueprintRequest request)

Rejects a blueprint revision proposal and flips it back to Draft state.

Parameter
NameDescription
requestRejectBlueprintRequest
Returns
TypeDescription
Blueprint

removeDeployment(RemoveDeploymentRequest request)

public Empty removeDeployment(RemoveDeploymentRequest request)

Removes the deployment by marking it as DELETING. Post which deployment and it's revisions gets deleted.

Parameter
NameDescription
requestRemoveDeploymentRequest
Returns
TypeDescription
Empty

rollbackDeployment(RollbackDeploymentRequest request)

public Deployment rollbackDeployment(RollbackDeploymentRequest request)

Rollback the active deployment to the given past approved deployment revision.

Parameter
NameDescription
requestRollbackDeploymentRequest
Returns
TypeDescription
Deployment

searchBlueprintRevisions(SearchBlueprintRevisionsRequest request)

public SearchBlueprintRevisionsResponse searchBlueprintRevisions(SearchBlueprintRevisionsRequest request)

Searches across blueprint revisions.

Parameter
NameDescription
requestSearchBlueprintRevisionsRequest
Returns
TypeDescription
SearchBlueprintRevisionsResponse

searchDeploymentRevisions(SearchDeploymentRevisionsRequest request)

public SearchDeploymentRevisionsResponse searchDeploymentRevisions(SearchDeploymentRevisionsRequest request)

Searches across deployment revisions.

Parameter
NameDescription
requestSearchDeploymentRevisionsRequest
Returns
TypeDescription
SearchDeploymentRevisionsResponse

updateBlueprint(UpdateBlueprintRequest request)

public Blueprint updateBlueprint(UpdateBlueprintRequest request)

Updates a blueprint.

Parameter
NameDescription
requestUpdateBlueprintRequest
Returns
TypeDescription
Blueprint

updateDeployment(UpdateDeploymentRequest request)

public Deployment updateDeployment(UpdateDeploymentRequest request)

Updates a deployment.

Parameter
NameDescription
requestUpdateDeploymentRequest
Returns
TypeDescription
Deployment

updateHydratedDeployment(UpdateHydratedDeploymentRequest request)

public HydratedDeployment updateHydratedDeployment(UpdateHydratedDeploymentRequest request)

Updates a hydrated deployment.

Parameter
NameDescription
requestUpdateHydratedDeploymentRequest
Returns
TypeDescription
HydratedDeployment