Utile HostOrchestrator
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()
Tentativo di eseguire il Powerwash di un'istanza GCE tramite Host Orchestrator. |
File
|
pullCvdHostLogs()
Esegui il pull dei log dell'host CF tramite Host Orchestrator. |
CommandResult
|
restoreSnapshotGce()
Tentativo di ripristinare lo snapshot di un'istanza Cuttlefish tramite Host Orchestrator. |
CommandResult
|
snapshotGce()
Tentativo di creare uno snapshot di un'istanza Cuttlefish tramite Host Orchestrator. |
CommandResult
|
stopGce()
Tentativo di arrestare un'istanza Cuttlefish tramite Host Orchestrator. |
Costruttori pubblici
Utile HostOrchestrator
public HostOrchestratorUtil (ITestDevice device, GceAvdInfo gceAvd)
Parametri | |
---|---|
device |
ITestDevice |
gceAvd |
GceAvdInfo |
Utile HostOrchestrator
public HostOrchestratorUtil (ITestDevice device, GceAvdInfo gceAvd, OxygenClient oxygenClient)
Parametri | |
---|---|
device |
ITestDevice |
gceAvd |
GceAvdInfo |
oxygenClient |
OxygenClient |
Metodi pubblici
PowerwashGce
public CommandResult powerwashGce ()
Tentativo di eseguire il Powerwash di un'istanza GCE tramite Host Orchestrator.
Ritorni | |
---|---|
CommandResult |
Un elemento CommandResult contenente lo stato e i log. |
PullCvdHostLog
public File pullCvdHostLogs ()
Esegui il pull dei log dell'host CF tramite Host Orchestrator.
Ritorni | |
---|---|
File |
ripristinoSnapshotGce
public CommandResult restoreSnapshotGce ()
Tentativo di ripristinare lo snapshot di un'istanza Cuttlefish tramite Host Orchestrator.
Ritorni | |
---|---|
CommandResult |
GCE snapshot
public CommandResult snapshotGce ()
Tentativo di creare uno snapshot di un'istanza Cuttlefish tramite Host Orchestrator.
Ritorni | |
---|---|
CommandResult |
stopGce
public CommandResult stopGce ()
Tentativo di arrestare un'istanza Cuttlefish tramite Host Orchestrator.
Ritorni | |
---|---|
CommandResult |