Interface TelcoAutomationGrpc.AsyncService (0.12.0)

public static interface TelcoAutomationGrpc.AsyncService

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.

Methods

applyDeployment(ApplyDeploymentRequest request, StreamObserver<Deployment> responseObserver)

public default 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 default 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 default 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>

computeDeploymentStatus(ComputeDeploymentStatusRequest request, StreamObserver<ComputeDeploymentStatusResponse> responseObserver)

public default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default void updateHydratedDeployment(UpdateHydratedDeploymentRequest request, StreamObserver<HydratedDeployment> responseObserver)

Updates a hydrated deployment.

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