Searched refs:lxc_utils (Results 1 – 11 of 11) sorted by relevance
17 from autotest_lib.site_utils.lxc import utils as lxc_utils unknown31 class BaseImageTests(lxc_utils.LXCTests):62 self.assertFalse(lxc_utils.path_exists(92 self.assertFalse(lxc_utils.path_exists(98 self.assertFalse(lxc_utils.path_exists(110 class BaseImageSetupTests(lxc_utils.LXCTests):
16 from autotest_lib.site_utils.lxc import utils as lxc_utils unknown44 with lxc_utils.TempDir() as tmpdir:75 with lxc_utils.TempDir() as tmpdir:87 self.assertFalse(lxc_utils.path_exists(src_dir))92 self.assertTrue(lxc_utils.path_exists(src_dir))
98 from autotest_lib.site_utils.lxc import utils as lxc_utils unknown234 if lxc_utils.path_exists(tmp_append):237 lxc_utils.sudo_commands(commands)249 if not lxc_utils.path_exists(deploy_config.source):311 host_ip = lxc_utils.get_host_ip()339 lxc_utils.get_host_ip(), shadow_config))
22 from autotest_lib.site_utils.lxc import utils as lxc_utils unknown25 class ContainerTests(lxc_utils.LXCTests):235 with lxc_utils.TempDir() as tmpdir:253 with lxc_utils.TempDir() as tmpdir, self.createContainer() as container:264 with lxc_utils.TempDir() as tmpdir, self.createContainer() as container:275 with lxc_utils.TempDir() as tmpdir, self.createContainer() as container:346 class ContainerIdTests(lxc_utils.LXCTests):
12 from autotest_lib.site_utils.lxc import utils as lxc_utils unknown21 if lxc_utils.path_exists(TEST_HOST_PATH):
14 from autotest_lib.site_utils.lxc import utils as lxc_utils unknown95 if lxc_utils.path_exists(base_path):180 if not lxc_utils.path_exists(snapshot_file):
18 from autotest_lib.site_utils.lxc import utils as lxc_utils unknown160 lxc_utils.clone(src.container_path, src.name, self.container_path,179 Container._LXC_VERSION = lxc_utils.get_lxc_version()231 if lxc_utils.path_exists(container_folder):405 lxc_utils.destroy(self.container_path, self.name, force=force)
15 from autotest_lib.site_utils.lxc import utils as lxc_utils unknown18 class ContainerFactoryTests(lxc_utils.LXCTests):
16 from autotest_lib.site_utils.lxc import utils as lxc_utils unknown163 result = lxc_utils.destroy(
59 from autotest_lib.site_utils.lxc import utils as lxc_utils unknown