Class TelcoAutomationGrpc.TelcoAutomationStub (0.9.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
NameDescription
requestApplyDeploymentRequest
responseObserverio.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
NameDescription
requestApplyHydratedDeploymentRequest
responseObserverio.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
NameDescription
requestApproveBlueprintRequest
responseObserverio.grpc.stub.StreamObserver<Blueprint>

build(Channel channel, CallOptions callOptions)

protected TelcoAutomationGrpc.TelcoAutomationStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestComputeDeploymentStatusRequest
responseObserverio.grpc.stub.StreamObserver<ComputeDeploymentStatusResponse>

createBlueprint(CreateBlueprintRequest request, StreamObserver<Blueprint> responseObserver)

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

Creates a blueprint.

Parameters
NameDescription
requestCreateBlueprintRequest
responseObserverio.grpc.stub.StreamObserver<Blueprint>

createDeployment(CreateDeploymentRequest request, StreamObserver<Deployment> responseObserver)

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

Creates a deployment.

Parameters
NameDescription
requestCreateDeploymentRequest
responseObserverio.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
NameDescription
requestCreateEdgeSlmRequest
responseObserverio.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
NameDescription
requestCreateOrchestrationClusterRequest
responseObserverio.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
NameDescription
requestDeleteBlueprintRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

deleteEdgeSlm(DeleteEdgeSlmRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a single EdgeSlm.

Parameters
NameDescription
requestDeleteEdgeSlmRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteOrchestrationCluster(DeleteOrchestrationClusterRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a single OrchestrationCluster.

Parameters
NameDescription
requestDeleteOrchestrationClusterRequest
responseObserverio.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
NameDescription
requestDiscardBlueprintChangesRequest
responseObserverio.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
NameDescription
requestDiscardDeploymentChangesRequest
responseObserverio.grpc.stub.StreamObserver<DiscardDeploymentChangesResponse>

getBlueprint(GetBlueprintRequest request, StreamObserver<Blueprint> responseObserver)

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

Returns the requested blueprint.

Parameters
NameDescription
requestGetBlueprintRequest
responseObserverio.grpc.stub.StreamObserver<Blueprint>

getDeployment(GetDeploymentRequest request, StreamObserver<Deployment> responseObserver)

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

Returns the requested deployment.

Parameters
NameDescription
requestGetDeploymentRequest
responseObserverio.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
NameDescription
requestGetEdgeSlmRequest
responseObserverio.grpc.stub.StreamObserver<EdgeSlm>

getHydratedDeployment(GetHydratedDeploymentRequest request, StreamObserver<HydratedDeployment> responseObserver)

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

Returns the requested hydrated deployment.

Parameters
NameDescription
requestGetHydratedDeploymentRequest
responseObserverio.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
NameDescription
requestGetOrchestrationClusterRequest
responseObserverio.grpc.stub.StreamObserver<OrchestrationCluster>

getPublicBlueprint(GetPublicBlueprintRequest request, StreamObserver<PublicBlueprint> responseObserver)

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

Returns the requested public blueprint.

Parameters
NameDescription
requestGetPublicBlueprintRequest
responseObserverio.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
NameDescription
requestListBlueprintRevisionsRequest
responseObserverio.grpc.stub.StreamObserver<ListBlueprintRevisionsResponse>

listBlueprints(ListBlueprintsRequest request, StreamObserver<ListBlueprintsResponse> responseObserver)

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

List all blueprints.

Parameters
NameDescription
requestListBlueprintsRequest
responseObserverio.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
NameDescription
requestListDeploymentRevisionsRequest
responseObserverio.grpc.stub.StreamObserver<ListDeploymentRevisionsResponse>

listDeployments(ListDeploymentsRequest request, StreamObserver<ListDeploymentsResponse> responseObserver)

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

List all deployments.

Parameters
NameDescription
requestListDeploymentsRequest
responseObserverio.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
NameDescription
requestListEdgeSlmsRequest
responseObserverio.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
NameDescription
requestListHydratedDeploymentsRequest
responseObserverio.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
NameDescription
requestListOrchestrationClustersRequest
responseObserverio.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
NameDescription
requestListPublicBlueprintsRequest
responseObserverio.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
NameDescription
requestProposeBlueprintRequest
responseObserverio.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
NameDescription
requestRejectBlueprintRequest
responseObserverio.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
NameDescription
requestRemoveDeploymentRequest
responseObserverio.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
NameDescription
requestRollbackDeploymentRequest
responseObserverio.grpc.stub.StreamObserver<Deployment>

searchBlueprintRevisions(SearchBlueprintRevisionsRequest request, StreamObserver<SearchBlueprintRevisionsResponse> responseObserver)

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

Searches across blueprint revisions.

Parameters
NameDescription
requestSearchBlueprintRevisionsRequest
responseObserverio.grpc.stub.StreamObserver<SearchBlueprintRevisionsResponse>

searchDeploymentRevisions(SearchDeploymentRevisionsRequest request, StreamObserver<SearchDeploymentRevisionsResponse> responseObserver)

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

Searches across deployment revisions.

Parameters
NameDescription
requestSearchDeploymentRevisionsRequest
responseObserverio.grpc.stub.StreamObserver<SearchDeploymentRevisionsResponse>

updateBlueprint(UpdateBlueprintRequest request, StreamObserver<Blueprint> responseObserver)

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

Updates a blueprint.

Parameters
NameDescription
requestUpdateBlueprintRequest
responseObserverio.grpc.stub.StreamObserver<Blueprint>

updateDeployment(UpdateDeploymentRequest request, StreamObserver<Deployment> responseObserver)

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

Updates a deployment.

Parameters
NameDescription
requestUpdateDeploymentRequest
responseObserverio.grpc.stub.StreamObserver<Deployment>

updateHydratedDeployment(UpdateHydratedDeploymentRequest request, StreamObserver<HydratedDeployment> responseObserver)

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

Updates a hydrated deployment.

Parameters
NameDescription
requestUpdateHydratedDeploymentRequest
responseObserverio.grpc.stub.StreamObserver<HydratedDeployment>