โฮสต์ OrchestratorUtil

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()

ลองทำการ Powerwash อินสแตนซ์ GCE ผ่าน Host Orchestrator

File pullCvdHostLogs()

ดึงบันทึกของโฮสต์ CF ผ่าน Host Orchestrator

CommandResult restoreSnapshotGce()

ลองกู้คืนสแนปชอตของอินสแตนซ์ Cuttlefish ผ่าน Host Orchestrator

CommandResult snapshotGce()

ลองสแนปชอตอินสแตนซ์ Cuttlefish ผ่าน Host Orchestrator ก็ตาม

CommandResult stopGce()

ลองหยุดอินสแตนซ์ Cuttlefish ผ่าน Host Orchestrator ได้

ช่างก่อสร้างสาธารณะ

โฮสต์ OrchestratorUtil

public HostOrchestratorUtil (ITestDevice device, 
                GceAvdInfo gceAvd)

พารามิเตอร์
device ITestDevice

gceAvd GceAvdInfo

โฮสต์ OrchestratorUtil

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

พารามิเตอร์
device ITestDevice

gceAvd GceAvdInfo

oxygenClient OxygenClient

วิธีการสาธารณะ

PowerwashGce

public CommandResult powerwashGce ()

ลองทำการ Powerwash อินสแตนซ์ GCE ผ่าน Host Orchestrator

คิกรีเทิร์น
CommandResult CommandResult ที่มีสถานะและบันทึก

บันทึก PullCvdHost

public File pullCvdHostLogs ()

ดึงบันทึกของโฮสต์ CF ผ่าน Host Orchestrator

คิกรีเทิร์น
File

คืนค่าสแนปชอตGce

public CommandResult restoreSnapshotGce ()

ลองกู้คืนสแนปชอตของอินสแตนซ์ Cuttlefish ผ่าน Host Orchestrator

คิกรีเทิร์น
CommandResult

SnapshotGce

public CommandResult snapshotGce ()

ลองสแนปชอตอินสแตนซ์ Cuttlefish ผ่าน Host Orchestrator ก็ตาม

คิกรีเทิร์น
CommandResult

StopGce

public CommandResult stopGce ()

ลองหยุดอินสแตนซ์ Cuttlefish ผ่าน Host Orchestrator ได้

คิกรีเทิร์น
CommandResult