HostOrchestratorUtil
public
class
HostOrchestratorUtil
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.device.cloud.HostOrchestratorUtil |
원격 인스턴스에서 호스트 오케스트레이터를 통해 명령어를 실행하는 유틸리티입니다.
요약
공개 생성자 | |
|---|---|
HostOrchestratorUtil(ITestDevice device, GceAvdInfo gceAvd)
|
|
HostOrchestratorUtil(ITestDevice device, GceAvdInfo gceAvd, OxygenClient oxygenClient)
|
|
공개 메서드 | |
|---|---|
CommandResult
|
powerwashGce()
호스트 Orchestrator를 통해 GCE 인스턴스를 파워워시하려고 시도합니다. |
File
|
pullCvdHostLogs()
호스트 Orchestrator를 통해 CF 호스트 로그를 가져옵니다. |
CommandResult
|
restoreSnapshotGce()
호스트 오케스트레이터를 통해 Cuttlefish 인스턴스의 스냅샷을 복원하려고 시도합니다. |
CommandResult
|
snapshotGce()
호스트 오케스트레이터를 통해 Cuttlefish 인스턴스의 스냅샷을 찍으려고 합니다. |
CommandResult
|
stopGce()
호스트 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 ()
호스트 Orchestrator를 통해 GCE 인스턴스를 파워워시하려고 시도합니다.
| 반환 값 | |
|---|---|
CommandResult |
상태 및 로그가 포함된 CommandResult입니다. |
pullCvdHostLogs
public File pullCvdHostLogs ()
호스트 Orchestrator를 통해 CF 호스트 로그를 가져옵니다.
| 반환 값 | |
|---|---|
File |
|
restoreSnapshotGce
public CommandResult restoreSnapshotGce ()
호스트 오케스트레이터를 통해 Cuttlefish 인스턴스의 스냅샷을 복원하려고 시도합니다.
| 반환 값 | |
|---|---|
CommandResult |
|
snapshotGce
public CommandResult snapshotGce ()
호스트 오케스트레이터를 통해 Cuttlefish 인스턴스의 스냅샷을 찍으려고 합니다.
| 반환 값 | |
|---|---|
CommandResult |
|
stopGce
public CommandResult stopGce ()
호스트 Orchestrator를 통해 Cuttlefish 인스턴스를 중지하려고 시도합니다.
| 반환 값 | |
|---|---|
CommandResult |
|