HostOrchestratorUtil

public class HostOrchestratorUtil
extends Object

java.lang.Object
   ↳ com.android.tradefed.device.cloud.HostOrchestratorUtil


Utilitaire permettant d'exécuter des commandes sur des instances distantes via Host Orchestrator.

Résumé

Constructeurs publics

HostOrchestratorUtil(ITestDevice device, GceAvdInfo gceAvd)
HostOrchestratorUtil(ITestDevice device, GceAvdInfo gceAvd, OxygenClient oxygenClient)

Méthodes publiques

CommandResult powerwashGce()

Tentative de réinitialisation Powerwash d'une instance GCE via Host Orchestrator.

File pullCvdHostLogs()

Extraire les journaux de l'hôte CF via Host Orchestrator

CommandResult restoreSnapshotGce()

Tentative de restauration de l'instantané d'une instance Cuttlefish via Host Orchestrator.

CommandResult snapshotGce()

Tentative de création d'un instantané d'une instance Cuttlefish via Host Orchestrator.

CommandResult stopGce()

Tentative d'arrêt d'une instance Cuttlefish via Host Orchestrator.

Constructeurs publics

HostOrchestratorUtil

public HostOrchestratorUtil (ITestDevice device, 
                GceAvdInfo gceAvd)

Paramètres
device ITestDevice

gceAvd GceAvdInfo

HostOrchestratorUtil

public HostOrchestratorUtil (ITestDevice device, 
                GceAvdInfo gceAvd, 
                OxygenClient oxygenClient)

Paramètres
device ITestDevice

gceAvd GceAvdInfo

oxygenClient OxygenClient

Méthodes publiques

PowerwashGce

public CommandResult powerwashGce ()

Tentative de réinitialisation Powerwash d'une instance GCE via Host Orchestrator.

Renvoie
CommandResult Un CommandResult contenant l'état et les journaux.

pullCvdHostLogs

public File pullCvdHostLogs ()

Extraire les journaux de l'hôte CF via Host Orchestrator

Renvoie
File

restaurerInstantanéGce

public CommandResult restoreSnapshotGce ()

Tentative de restauration de l'instantané d'une instance Cuttlefish via Host Orchestrator.

Renvoie
CommandResult

instantanéGce

public CommandResult snapshotGce ()

Tentative de création d'un instantané d'une instance Cuttlefish via Host Orchestrator.

Renvoie
CommandResult

Arrêt

public CommandResult stopGce ()

Tentative d'arrêt d'une instance Cuttlefish via Host Orchestrator.

Renvoie
CommandResult