Class TelcoAutomationGrpc.TelcoAutomationStub (0.18.0)

public static final class TelcoAutomationGrpc.TelcoAutomationStub extends AbstractAsyncStub<TelcoAutomationGrpc.TelcoAutomationStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > TelcoAutomationGrpc.TelcoAutomationStub

Methods

applyDeployment(ApplyDeploymentRequest request, StreamObserver<Deployment> responseObserver)

public void applyDeployment(ApplyDeploymentRequest request, StreamObserver<Deployment> responseObserver)

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

Parameters
Name Description
request ApplyDeploymentRequest
responseObserver io.grpc.stub.StreamObserver<Deployment>

applyHydratedDeployment(ApplyHydratedDeploymentRequest request, StreamObserver<HydratedDeployment> responseObserver)

public void applyHydratedDeployment(ApplyHydratedDeploymentRequest request, StreamObserver<HydratedDeployment> responseObserver)

Applies a hydrated deployment to a workload cluster.

Parameters
Name Description
request ApplyHydratedDeploymentRequest
responseObserver io.grpc.stub.StreamObserver<HydratedDeployment>

approveBlueprint(ApproveBlueprintRequest request, StreamObserver<Blueprint> responseObserver)

public void approveBlueprint(ApproveBlueprintRequest request, StreamObserver<Blueprint> responseObserver)

Approves a blueprint and commits a new revision.

Parameters
Name Description
request ApproveBlueprintRequest
responseObserver io.grpc.stub.StreamObserver<Blueprint>

build(Channel channel, CallOptions callOptions)

protected TelcoAutomationGrpc.TelcoAutomationStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
TelcoAutomationGrpc.TelcoAutomationStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

computeDeploymentStatus(ComputeDeploymentStatusRequest request, StreamObserver<ComputeDeploymentStatusResponse> responseObserver)

public void computeDeploymentStatus(ComputeDeploymentStatusRequest request, StreamObserver<ComputeDeploymentStatusResponse> responseObserver)

Returns the requested deployment status.

Parameters
Name Description
request ComputeDeploymentStatusRequest
responseObserver io.grpc.stub.StreamObserver<ComputeDeploymentStatusResponse>

createBlueprint(CreateBlueprintRequest request, StreamObserver<Blueprint> responseObserver)

public void createBlueprint(CreateBlueprintRequest request, StreamObserver<Blueprint> responseObserver)

Creates a blueprint.

Parameters
Name Description
request CreateBlueprintRequest
responseObserver io.grpc.stub.StreamObserver<Blueprint>

createDeployment(CreateDeploymentRequest request, StreamObserver<Deployment> responseObserver)

public void createDeployment(CreateDeploymentRequest request, StreamObserver<Deployment> responseObserver)

Creates a deployment.

Parameters
Name Description
request CreateDeploymentRequest
responseObserver io.grpc.stub.StreamObserver<Deployment>

createEdgeSlm(CreateEdgeSlmRequest request, StreamObserver<Operation> responseObserver)

public void createEdgeSlm(CreateEdgeSlmRequest request, StreamObserver<Operation> responseObserver)

Creates a new EdgeSlm in a given project and location.

Parameters
Name Description
request CreateEdgeSlmRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createOrchestrationCluster(CreateOrchestrationClusterRequest request, StreamObserver<Operation> responseObserver)

public void createOrchestrationCluster(CreateOrchestrationClusterRequest request, StreamObserver<Operation> responseObserver)

Creates a new OrchestrationCluster in a given project and location.

Parameters
Name Description
request CreateOrchestrationClusterRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteBlueprint(DeleteBlueprintRequest request, StreamObserver<Empty> responseObserver)

public void deleteBlueprint(DeleteBlueprintRequest request, StreamObserver<Empty> responseObserver)

Deletes a blueprint and all its revisions.

Parameters
Name Description
request DeleteBlueprintRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

deleteEdgeSlm(DeleteEdgeSlmRequest request, StreamObserver<Operation> responseObserver)

public void deleteEdgeSlm(DeleteEdgeSlmRequest request, StreamObserver<Operation> responseObserver)

Deletes a single EdgeSlm.

Parameters
Name Description
request DeleteEdgeSlmRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteOrchestrationCluster(DeleteOrchestrationClusterRequest request, StreamObserver<Operation> responseObserver)

public void deleteOrchestrationCluster(DeleteOrchestrationClusterRequest request, StreamObserver<Operation> responseObserver)

Deletes a single OrchestrationCluster.

Parameters
Name Description
request DeleteOrchestrationClusterRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

discardBlueprintChanges(DiscardBlueprintChangesRequest request, StreamObserver<DiscardBlueprintChangesResponse> responseObserver)

public void discardBlueprintChanges(DiscardBlueprintChangesRequest request, StreamObserver<DiscardBlueprintChangesResponse> responseObserver)

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.

Parameters
Name Description
request DiscardBlueprintChangesRequest
responseObserver io.grpc.stub.StreamObserver<DiscardBlueprintChangesResponse>

discardDeploymentChanges(DiscardDeploymentChangesRequest request, StreamObserver<DiscardDeploymentChangesResponse> responseObserver)

public void discardDeploymentChanges(DiscardDeploymentChangesRequest request, StreamObserver<DiscardDeploymentChangesResponse> responseObserver)

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.

Parameters
Name Description
request DiscardDeploymentChangesRequest
responseObserver io.grpc.stub.StreamObserver<DiscardDeploymentChangesResponse>

getBlueprint(GetBlueprintRequest request, StreamObserver<Blueprint> responseObserver)

public void getBlueprint(GetBlueprintRequest request, StreamObserver<Blueprint> responseObserver)

Returns the requested blueprint.

Parameters
Name Description
request GetBlueprintRequest
responseObserver io.grpc.stub.StreamObserver<Blueprint>

getDeployment(GetDeploymentRequest request, StreamObserver<Deployment> responseObserver)

public void getDeployment(GetDeploymentRequest request, StreamObserver<Deployment> responseObserver)

Returns the requested deployment.

Parameters
Name Description
request GetDeploymentRequest
responseObserver io.grpc.stub.StreamObserver<Deployment>

getEdgeSlm(GetEdgeSlmRequest request, StreamObserver<EdgeSlm> responseObserver)

public void getEdgeSlm(GetEdgeSlmRequest request, StreamObserver<EdgeSlm> responseObserver)

Gets details of a single EdgeSlm.

Parameters
Name Description
request GetEdgeSlmRequest
responseObserver io.grpc.stub.StreamObserver<EdgeSlm>

getHydratedDeployment(GetHydratedDeploymentRequest request, StreamObserver<HydratedDeployment> responseObserver)

public void getHydratedDeployment(GetHydratedDeploymentRequest request, StreamObserver<HydratedDeployment> responseObserver)

Returns the requested hydrated deployment.

Parameters
Name Description
request GetHydratedDeploymentRequest
responseObserver io.grpc.stub.StreamObserver<HydratedDeployment>

getOrchestrationCluster(GetOrchestrationClusterRequest request, StreamObserver<OrchestrationCluster> responseObserver)

public void getOrchestrationCluster(GetOrchestrationClusterRequest request, StreamObserver<OrchestrationCluster> responseObserver)

Gets details of a single OrchestrationCluster.

Parameters
Name Description
request GetOrchestrationClusterRequest
responseObserver io.grpc.stub.StreamObserver<OrchestrationCluster>

getPublicBlueprint(GetPublicBlueprintRequest request, StreamObserver<PublicBlueprint> responseObserver)

public void getPublicBlueprint(GetPublicBlueprintRequest request, StreamObserver<PublicBlueprint> responseObserver)

Returns the requested public blueprint.

Parameters
Name Description
request GetPublicBlueprintRequest
responseObserver io.grpc.stub.StreamObserver<PublicBlueprint>

listBlueprintRevisions(ListBlueprintRevisionsRequest request, StreamObserver<ListBlueprintRevisionsResponse> responseObserver)

public void listBlueprintRevisions(ListBlueprintRevisionsRequest request, StreamObserver<ListBlueprintRevisionsResponse> responseObserver)

List blueprint revisions of a given blueprint.

Parameters
Name Description
request ListBlueprintRevisionsRequest
responseObserver io.grpc.stub.StreamObserver<ListBlueprintRevisionsResponse>

listBlueprints(ListBlueprintsRequest request, StreamObserver<ListBlueprintsResponse> responseObserver)

public void listBlueprints(ListBlueprintsRequest request, StreamObserver<ListBlueprintsResponse> responseObserver)

List all blueprints.

Parameters
Name Description
request ListBlueprintsRequest
responseObserver io.grpc.stub.StreamObserver<ListBlueprintsResponse>

listDeploymentRevisions(ListDeploymentRevisionsRequest request, StreamObserver<ListDeploymentRevisionsResponse> responseObserver)

public void listDeploymentRevisions(ListDeploymentRevisionsRequest request, StreamObserver<ListDeploymentRevisionsResponse> responseObserver)

List deployment revisions of a given deployment.

Parameters
Name Description
request ListDeploymentRevisionsRequest
responseObserver io.grpc.stub.StreamObserver<ListDeploymentRevisionsResponse>

listDeployments(ListDeploymentsRequest request, StreamObserver<ListDeploymentsResponse> responseObserver)

public void listDeployments(ListDeploymentsRequest request, StreamObserver<ListDeploymentsResponse> responseObserver)

List all deployments.

Parameters
Name Description
request ListDeploymentsRequest
responseObserver io.grpc.stub.StreamObserver<ListDeploymentsResponse>

listEdgeSlms(ListEdgeSlmsRequest request, StreamObserver<ListEdgeSlmsResponse> responseObserver)

public void listEdgeSlms(ListEdgeSlmsRequest request, StreamObserver<ListEdgeSlmsResponse> responseObserver)

Lists EdgeSlms in a given project and location.

Parameters
Name Description
request ListEdgeSlmsRequest
responseObserver io.grpc.stub.StreamObserver<ListEdgeSlmsResponse>

listHydratedDeployments(ListHydratedDeploymentsRequest request, StreamObserver<ListHydratedDeploymentsResponse> responseObserver)

public void listHydratedDeployments(ListHydratedDeploymentsRequest request, StreamObserver<ListHydratedDeploymentsResponse> responseObserver)

List all hydrated deployments present under a deployment.

Parameters
Name Description
request ListHydratedDeploymentsRequest
responseObserver io.grpc.stub.StreamObserver<ListHydratedDeploymentsResponse>

listOrchestrationClusters(ListOrchestrationClustersRequest request, StreamObserver<ListOrchestrationClustersResponse> responseObserver)

public void listOrchestrationClusters(ListOrchestrationClustersRequest request, StreamObserver<ListOrchestrationClustersResponse> responseObserver)

Lists OrchestrationClusters in a given project and location.

Parameters
Name Description
request ListOrchestrationClustersRequest
responseObserver io.grpc.stub.StreamObserver<ListOrchestrationClustersResponse>

listPublicBlueprints(ListPublicBlueprintsRequest request, StreamObserver<ListPublicBlueprintsResponse> responseObserver)

public void listPublicBlueprints(ListPublicBlueprintsRequest request, StreamObserver<ListPublicBlueprintsResponse> responseObserver)

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

Parameters
Name Description
request ListPublicBlueprintsRequest
responseObserver io.grpc.stub.StreamObserver<ListPublicBlueprintsResponse>

proposeBlueprint(ProposeBlueprintRequest request, StreamObserver<Blueprint> responseObserver)

public void proposeBlueprint(ProposeBlueprintRequest request, StreamObserver<Blueprint> responseObserver)

Proposes a blueprint for approval of changes.

Parameters
Name Description
request ProposeBlueprintRequest
responseObserver io.grpc.stub.StreamObserver<Blueprint>

rejectBlueprint(RejectBlueprintRequest request, StreamObserver<Blueprint> responseObserver)

public void rejectBlueprint(RejectBlueprintRequest request, StreamObserver<Blueprint> responseObserver)

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

Parameters
Name Description
request RejectBlueprintRequest
responseObserver io.grpc.stub.StreamObserver<Blueprint>

removeDeployment(RemoveDeploymentRequest request, StreamObserver<Empty> responseObserver)

public void removeDeployment(RemoveDeploymentRequest request, StreamObserver<Empty> responseObserver)

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

Parameters
Name Description
request RemoveDeploymentRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

rollbackDeployment(RollbackDeploymentRequest request, StreamObserver<Deployment> responseObserver)

public void rollbackDeployment(RollbackDeploymentRequest request, StreamObserver<Deployment> responseObserver)

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

Parameters
Name Description
request RollbackDeploymentRequest
responseObserver io.grpc.stub.StreamObserver<Deployment>

searchBlueprintRevisions(SearchBlueprintRevisionsRequest request, StreamObserver<SearchBlueprintRevisionsResponse> responseObserver)

public void searchBlueprintRevisions(SearchBlueprintRevisionsRequest request, StreamObserver<SearchBlueprintRevisionsResponse> responseObserver)

Searches across blueprint revisions.

Parameters
Name Description
request SearchBlueprintRevisionsRequest
responseObserver io.grpc.stub.StreamObserver<SearchBlueprintRevisionsResponse>

searchDeploymentRevisions(SearchDeploymentRevisionsRequest request, StreamObserver<SearchDeploymentRevisionsResponse> responseObserver)

public void searchDeploymentRevisions(SearchDeploymentRevisionsRequest request, StreamObserver<SearchDeploymentRevisionsResponse> responseObserver)

Searches across deployment revisions.

Parameters
Name Description
request SearchDeploymentRevisionsRequest
responseObserver io.grpc.stub.StreamObserver<SearchDeploymentRevisionsResponse>

updateBlueprint(UpdateBlueprintRequest request, StreamObserver<Blueprint> responseObserver)

public void updateBlueprint(UpdateBlueprintRequest request, StreamObserver<Blueprint> responseObserver)

Updates a blueprint.

Parameters
Name Description
request UpdateBlueprintRequest
responseObserver io.grpc.stub.StreamObserver<Blueprint>

updateDeployment(UpdateDeploymentRequest request, StreamObserver<Deployment> responseObserver)

public void updateDeployment(UpdateDeploymentRequest request, StreamObserver<Deployment> responseObserver)

Updates a deployment.

Parameters
Name Description
request UpdateDeploymentRequest
responseObserver io.grpc.stub.StreamObserver<Deployment>

updateHydratedDeployment(UpdateHydratedDeploymentRequest request, StreamObserver<HydratedDeployment> responseObserver)

public void updateHydratedDeployment(UpdateHydratedDeploymentRequest request, StreamObserver<HydratedDeployment> responseObserver)

Updates a hydrated deployment.

Parameters
Name Description
request UpdateHydratedDeploymentRequest
responseObserver io.grpc.stub.StreamObserver<HydratedDeployment>