HostOrchestratorUtil
public
class
HostOrchestratorUtil
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.device.cloud.HostOrchestratorUtil |
リモート インスタンスで Host Orchestrator を介してコマンドを実行するユーティリティ。
概要
パブリック コンストラクタ | |
|---|---|
HostOrchestratorUtil(ITestDevice device, GceAvdInfo gceAvd)
|
|
HostOrchestratorUtil(ITestDevice device, GceAvdInfo gceAvd, OxygenClient oxygenClient)
|
|
パブリック メソッド | |
|---|---|
CommandResult
|
powerwashGce()
Host Orchestrator を介して GCE インスタンスの Powerwash を試みます。 |
File
|
pullCvdHostLogs()
Host Orchestrator を介して CF ホストログを pull します。 |
CommandResult
|
restoreSnapshotGce()
Host Orchestrator を介して Cuttlefish インスタンスのスナップショットを復元しようとします。 |
CommandResult
|
snapshotGce()
Host Orchestrator を介して Cuttlefish インスタンスのスナップショットを作成しようとします。 |
CommandResult
|
stopGce()
Host Orchestrator を介して Cuttlefish インスタンスを停止しようとします。 |
パブリック コンストラクタ
HostOrchestratorUtil
public HostOrchestratorUtil (ITestDevice device, GceAvdInfo gceAvd)
| パラメータ | |
|---|---|
device |
ITestDevice |
gceAvd |
GceAvdInfo |
HostOrchestratorUtil
public HostOrchestratorUtil (ITestDevice device, GceAvdInfo gceAvd, OxygenClient oxygenClient)
| パラメータ | |
|---|---|
device |
ITestDevice |
gceAvd |
GceAvdInfo |
oxygenClient |
OxygenClient |
パブリック メソッド
powerwashGce
public CommandResult powerwashGce ()
Host Orchestrator を介して GCE インスタンスの Powerwash を試みます。
| 戻り値 | |
|---|---|
CommandResult |
ステータスとログを含む CommandResult。 |
pullCvdHostLogs
public File pullCvdHostLogs ()
Host Orchestrator を介して CF ホストログを pull します。
| 戻り値 | |
|---|---|
File |
|
restoreSnapshotGce
public CommandResult restoreSnapshotGce ()
Host Orchestrator を介して Cuttlefish インスタンスのスナップショットを復元しようとします。
| 戻り値 | |
|---|---|
CommandResult |
|
snapshotGce
public CommandResult snapshotGce ()
Host Orchestrator を介して Cuttlefish インスタンスのスナップショットを作成しようとします。
| 戻り値 | |
|---|---|
CommandResult |
|
stopGce
public CommandResult stopGce ()
Host Orchestrator を介して Cuttlefish インスタンスを停止しようとします。
| 戻り値 | |
|---|---|
CommandResult |
|