2025년 3월 27일부터 AOSP를 빌드하고 기여하려면 aosp-main
대신 android-latest-release
를 사용하는 것이 좋습니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
호스트 컨트롤러 아키텍처
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
VTS 테스트 프레임워크의 아키텍처는 클라우드 기반의 테스트 처리 서비스와 통합됩니다. 아래에 나와 있는 것처럼 VTS 호스트 컨트롤러는 호스트 머신에서 실행되며 테스트 하네스(예: TradeFed) 인스턴스를 제어합니다.
그림 1. VTS 호스트 컨트롤러 아키텍처
컨트롤러는 GAE(Google App Engine) 인스턴스로 실행되는 클러스터 커맨더에서 명령어를 가져온 다음 명령어와 클러스터 커맨더/테스트 하네스 인스턴스 간의 응답을 전달합니다.
이 아키텍처에는 다음과 같은 이점이 있습니다.
- 이 아키텍처는 모든 테스트 하네스 인스턴스에서 분리되므로 서로 다른 유형의 테스트 하니스를 제어할 수 있어 더 강력합니다. 대체 설계(테스트 하네스에 호스트 제어 논리 삽입)의 경우 오류가 전파되는 것을 차단하지 않습니다.
- 이 아키텍처는 풀링 기반의 명령어 및 제어(C&C) 모델을 사용하기 때문에 방화벽(수신 연결용) 뒤에 있는 호스트뿐만 아니라 다양한 유형의 클라우드 측 클러스터 커맨더에도 사용할 수 있습니다. 대체 설계(푸시 기반 C&C 모델)에서는 클라우드 커맨더가 개인 네트워크의 호스트 컴퓨터에 있는 호스트 컨트롤러 인스턴스에 액세스하지 못할 수 있습니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2024-05-07(UTC)
[null,null,["최종 업데이트: 2024-05-07(UTC)"],[],[],null,["# Host controller architecture\n\nThe architecture of VTS test framework integrates with its cloud-based test\nserving service. A VTS host controller runs on a host machine and controls a\ntest harness (for example, Tradefed) instance as shown below:\n\n\n**Figure 1.** VTS host controller architecture.\n\n\nThe controller pulls commands from a cluster commander running as a Google App\nEngine (GAE) instance, then relays commands and responses between its cluster\ncommander and the test harness instance.\n\nThis architecture includes the following advantages:\n\n- Because it's **decoupled from any test harness instance**, it can control different types of test harnesses and is more robust. The alternative design (embedding the host control logic in a test harness) does not block errors from propagating.\n- Because it uses a **pull-based command-and-control (C\\&C)\n model**, it can work with different types of cloud-side cluster commanders as well as hosts that exist behind a firewall (for ingress connections). The alternative design (push-based C\\&C model) might not allow a cloud commander to access host controller instances that exist on host computers in a private network."]]