Searched defs:lxc (Results 1 - 16 of 16) sorted by relevance

/external/autotest/site_utils/
H A Dlxc.py6 python lxc.py -s -p /tmp/container
8 After that command finishes, you can run lxc command to work with the base
10 lxc-start -P /tmp/container -n base -d
11 lxc-attach -P /tmp/container -n base
19 from autotest_lib.site_utils import lxc namespace
33 default=lxc.DEFAULT_CONTAINER_PATH)
40 default=lxc.BASE)
60 bucket = lxc.ContainerBucket(container_path=options.path)
H A Dlxc_cleanup.py31 from autotest_lib.site_utils import lxc namespace
170 bucket = lxc.ContainerBucket()
/external/autotest/site_utils/lxc/
H A Dunittest_cleanup.py11 from autotest_lib.site_utils import lxc namespace
12 from autotest_lib.site_utils.lxc import utils as lxc_utils
15 TEST_CONTAINER_PATH = os.path.join(lxc.DEFAULT_CONTAINER_PATH, 'test')
31 bucket = lxc.ContainerBucket(TEST_CONTAINER_PATH, TEST_HOST_PATH)
H A Dunittest_container_bucket.py8 from autotest_lib.site_utils import lxc namespace
9 from autotest_lib.site_utils.lxc import constants
10 from autotest_lib.site_utils.lxc import utils as lxc_utils
13 class FastContainerBucket(lxc.ContainerBucket):
32 base = lxc.Container.createFromExistingDir(
34 lxc.Container.clone(src=base,
H A Dzygote.py12 from autotest_lib.site_utils.lxc import Container
13 from autotest_lib.site_utils.lxc import constants
14 from autotest_lib.site_utils.lxc import lxc namespace
15 from autotest_lib.site_utils.lxc import utils as lxc_utils
101 lxc.download_extract(ssp_url, download_tmp, tmpdir)
H A Dcontainer_bucket.py12 from autotest_lib.site_utils.lxc import Container
13 from autotest_lib.site_utils.lxc import config as lxc_config
14 from autotest_lib.site_utils.lxc import constants
15 from autotest_lib.site_utils.lxc import lxc namespace
16 from autotest_lib.site_utils.lxc import utils as lxc_utils
17 from autotest_lib.site_utils.lxc.cleanup_if_fail import cleanup_if_fail
56 info_collection = lxc.get_container_info(self.container_path)
112 @raise error.CmdError: If lxc-clone call failed for any reason.
185 lxc
[all...]
H A Dcontainer_bucket_unittest.py14 from autotest_lib.site_utils import lxc namespace
15 from autotest_lib.site_utils.lxc import unittest_logging
25 dir=lxc.DEFAULT_CONTAINER_PATH,
51 bucket = lxc.ContainerBucket(container_path, self.shared_host_path)
70 bucket = lxc.ContainerBucket(container_path, self.shared_host_path)
85 self.bucket = lxc.ContainerBucket(container_path,
100 lxc config, is working correctly.
H A Dcontainer.py13 from autotest_lib.site_utils.lxc import constants
14 from autotest_lib.site_utils.lxc import lxc namespace
15 from autotest_lib.site_utils.lxc import utils as lxc_utils
33 lxc-ls can also collect other attributes of a container including:
81 """Creates a new container instance for an lxc container that already
133 containers = lxc.get_container_info(self.container_path, name=self.name)
149 attribute lxc.rootfs from the config file of the container, e.g.,
150 lxc.rootfs = /usr/local/autotest/containers/t4/rootfs
154 lxc
[all...]
H A Dcontainer_unittest.py17 from autotest_lib.site_utils import lxc namespace
18 from autotest_lib.site_utils.lxc import constants
19 from autotest_lib.site_utils.lxc import unittest_http
20 from autotest_lib.site_utils.lxc import unittest_logging
21 from autotest_lib.site_utils.lxc import utils as lxc_utils
22 from autotest_lib.site_utils.lxc.unittest_container_bucket \
32 cls.test_dir = tempfile.mkdtemp(dir=lxc.DEFAULT_CONTAINER_PATH,
66 container = lxc.Container.createFromExistingDir(
78 container = lxc.Container.createFromExistingDir(self.test_dir, name)
85 the lxc containe
[all...]
H A Dlxc_functional_test.py5 """Function tests of lxc module. To be able to run this test, following setup
7 1. lxc is installed.
23 from autotest_lib.site_utils import lxc namespace
24 from autotest_lib.site_utils.lxc import unittest_logging
31 TEMP_DIR = tempfile.mkdtemp(dir=lxc.DEFAULT_CONTAINER_PATH,
60 from autotest_lib.site_utils import lxc
70 lxc.install_packages(['atop'], ['acora'])
157 TEST_RESULT_PATH = lxc.RESULT_DIR_FMT % TEST_JOB_FOLDER
216 container_result_path = lxc.RESULT_DIR_FMT % TEST_JOB_FOLDER
239 container_result_path = lxc
[all...]
H A Dzygote_unittest.py17 from autotest_lib.site_utils import lxc namespace
18 from autotest_lib.site_utils.lxc import constants
19 from autotest_lib.site_utils.lxc import unittest_http
20 from autotest_lib.site_utils.lxc import unittest_logging
21 from autotest_lib.site_utils.lxc import utils as lxc_utils
22 from autotest_lib.site_utils.lxc.unittest_container_bucket \
28 @unittest.skipIf(lxc.IS_MOBLAB, 'Zygotes are not supported on moblab.')
34 cls.test_dir = tempfile.mkdtemp(dir=lxc.DEFAULT_CONTAINER_PATH,
125 container_path=lxc.CONTAINER_AUTOTEST_DIR,
149 container_path=lxc
[all...]
/external/autotest/server/cros/audio/
H A Daudio_test.py11 from autotest_lib.site_utils import lxc namespace
40 lxc.install_package('sox')
/external/autotest/server/cros/network/
H A Dwifi_cell_test_base.py13 from autotest_lib.site_utils import lxc namespace
/external/autotest/server/site_tests/ssp_PackageInstall/
H A Dssp_PackageInstall.py10 from autotest_lib.site_utils import lxc namespace
24 lxc.install_package(package)
34 lxc.install_python_package(package)
/external/autotest/server/
H A Dautoserv54 from autotest_lib.site_utils import lxc namespace
55 from autotest_lib.site_utils.lxc import utils as lxc_utils
154 bucket = lxc.ContainerBucket()
186 lxc.CONTROL_TEMP_PATH, os.path.basename(control))
189 container_result_dir = os.path.join(lxc.RESULT_DIR_FMT % job_folder)
328 container_name = (lxc.TEST_CONTAINER_NAME_FMT %
352 bucket = lxc.ContainerBucket()
H A Dautoserv.py54 from autotest_lib.site_utils import lxc namespace
55 from autotest_lib.site_utils.lxc import utils as lxc_utils
154 bucket = lxc.ContainerBucket()
186 lxc.CONTROL_TEMP_PATH, os.path.basename(control))
189 container_result_dir = os.path.join(lxc.RESULT_DIR_FMT % job_folder)
328 container_name = (lxc.TEST_CONTAINER_NAME_FMT %
352 bucket = lxc.ContainerBucket()

Completed in 217 milliseconds