• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2017 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5"""Implements a Cast OS host type."""
6
7from autotest_lib.server.hosts import ssh_host
8
9OS_TYPE_CAST_OS = 'cast_os'
10
11
12class CastOSHost(ssh_host.SSHHost):
13    """Implements a Cast OS host type."""
14
15
16    def get_os_type(self):
17        """Returns the host OS descriptor."""
18        return OS_TYPE_CAST_OS
19
20
21    def get_wifi_interface_name(self):
22        """Gets the WiFi interface name."""
23        return self.run('getprop wifi.interface').stdout.rstrip()
24
25
26    @property
27    def is_client_install_supported(self):
28        return False
29