HostOrchestratorUtil

public class HostOrchestratorUtil
extends Object

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


Utilità per eseguire comandi tramite Host Orchestrator su istanze remote.

Riepilogo

Costruttori pubblici

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

Metodi pubblici

CommandResult powerwashGce()

Prova a eseguire il powerwash di un'istanza GCE tramite Host Orchestrator.

File pullCvdHostLogs()

Estrai i log dell'host CF tramite Host Orchestrator.

CommandResult restoreSnapshotGce()

Prova a ripristinare lo snapshot di un'istanza Cuttlefish tramite Host Orchestrator.

CommandResult snapshotGce()

Prova a acquisire uno snapshot di un'istanza Cuttlefish tramite Host Orchestrator.

CommandResult stopGce()

Prova ad arrestare un'istanza Cuttlefish tramite Host Orchestrator.

Costruttori pubblici

HostOrchestratorUtil

public HostOrchestratorUtil (ITestDevice device, 
                GceAvdInfo gceAvd)

Parametri
device ITestDevice

gceAvd GceAvdInfo

HostOrchestratorUtil

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

Parametri
device ITestDevice

gceAvd GceAvdInfo

oxygenClient OxygenClient

Metodi pubblici

powerwashGce

public CommandResult powerwashGce ()

Prova a eseguire il powerwash di un'istanza GCE tramite Host Orchestrator.

Ritorni
CommandResult Un CommandResult contenente lo stato e i log.

pullCvdHostLogs

public File pullCvdHostLogs ()

Estrai i log dell'host CF tramite Host Orchestrator.

Ritorni
File

restoreSnapshotGce

public CommandResult restoreSnapshotGce ()

Prova a ripristinare lo snapshot di un'istanza Cuttlefish tramite Host Orchestrator.

Ritorni
CommandResult

snapshotGce

public CommandResult snapshotGce ()

Prova a acquisire uno snapshot di un'istanza Cuttlefish tramite Host Orchestrator.

Ritorni
CommandResult

stopGce

public CommandResult stopGce ()

Prova ad arrestare un'istanza Cuttlefish tramite Host Orchestrator.

Ritorni
CommandResult