Home
last modified time | relevance | path

Searched refs:container_path (Results 1 – 15 of 15) sorted by relevance

/external/autotest/site_utils/lxc/
Dbase_image.py33 container_path=constants.DEFAULT_CONTAINER_PATH, argument
44 self.container_path = container_path
48 container_path, base_name);
70 if not self.container_path:
75 if not os.path.exists(self.container_path):
76 os.makedirs(self.container_path)
97 base_path = os.path.join(self.container_path, self.base_name)
101 self.container_path, self.base_name)
113 self.container_path, self.base_name)
125 base = Container.create_from_existing_dir(self.container_path,
[all …]
Dcontainer.py123 def __init__(self, container_path, name, attribute_values, src=None, argument
140 self.container_path = os.path.realpath(container_path)
151 lxc_utils.clone(src.container_path, src.name, self.container_path,
159 os.path.join(self.container_path, self.name))
215 new_path = src.container_path
253 containers = lxc.get_container_info(self.container_path, name=self.name)
257 (self.container_path, self.name))
308 cmd = 'sudo lxc-attach -P %s -n %s' % (self.container_path, self.name)
340 cmd = 'sudo lxc-start -P %s -n %s -d' % (self.container_path, self.name)
345 (os.path.join(self.container_path, self.name),
[all …]
Dbase_image_unittest.py37 manager = BaseImage(control.container_path,
40 self.assertEquals(control.container_path,
41 manager.base_container.container_path)
57 manager = BaseImage(base.container_path, base.name)
65 os.path.join(base.container_path, base.name)))
80 manager = BaseImage(base.container_path, base.name)
97 os.path.join(base.container_path, base.name)))
103 os.path.join(container.container_path, container.name)))
123 self.manager = BaseImage(container_path=test_dir)
Dzygote.py21 def __init__(self, container_path, name, attribute_values, src=None, argument
42 exists = lxc.get_container_info(container_path, name=name)
44 super(Zygote, self).__init__(container_path, name, attribute_values,
48 'Creating Zygote (lxcpath:%s name:%s)', container_path, name)
62 os.path.join(container_path, name))
145 def copy(self, host_path, container_path): argument
152 return super(Zygote, self).copy(host_path, container_path)
154 logging.debug('copy %s to %s', host_path, container_path)
160 container_path.lstrip(os.path.sep)))
163 container_path.lstrip(os.path.sep))
[all …]
Dlxc.py24 def _get_container_info_moblab(container_path, **filters): argument
56 for name in os.listdir(container_path):
58 if (os.path.isfile(os.path.join(container_path, name)) or
59 not lxc_utils.path_exists(os.path.join(container_path, name,
73 def get_container_info(container_path, **filters): argument
90 return _get_container_info_moblab(container_path, **filters)
92 cmd = 'sudo lxc-ls -P %s -f -F %s' % (os.path.realpath(container_path),
Dcontainer_bucket_unittest.py17 container_path = None variable
21 global container_path
22 container_path = tempfile.mkdtemp(
29 shutil.rmtree(container_path)
Dcontainer_bucket.py45 def __init__(self, container_path=constants.DEFAULT_CONTAINER_PATH, argument
54 self.container_path = os.path.realpath(container_path)
70 container = BaseImage(self.container_path).get()
81 lxc_path=self.container_path)
97 info_collection = lxc.get_container_info(self.container_path)
102 container = Container.create_from_existing_dir(self.container_path,
Dzygote_unittest.py109 container_path=lxc.CONTAINER_HOST_DIR,
133 container_path=lxc.CONTAINER_HOST_DIR,
228 zygote1 = lxc.Zygote(container_path=zygote0.container_path,
249 zygote1 = lxc.Zygote(container_path=zygote0.container_path,
328 def verifyBindMount(self, container, container_path, host_path): argument
336 container_inode = (container.attach_run('ls -id %s' % container_path)
Dcontainer_unittest.py58 self.base_container.container_path,
81 id_path = os.path.join(container.container_path,
307 container.container_path, container.name)
346 def verifyBindMount(self, container, container_path, host_path): argument
354 container_inode = (container.attach_run('ls -id %s' % container_path)
Dlxc_functional_test.py179 def setup_base(container_path): argument
184 logging.info('Rebuild base container in folder %s.', container_path)
185 image = lxc.BaseImage(container_path)
Dcontainer_factory_unittest.py97 self.assertEqual(dir0, container0.container_path);
98 self.assertEqual(dir1, container1.container_path);
/external/owasp/sanitizer/tools/
Dcut_release.py100 def copy_directory_structure_template(src_path, container_path): argument
102 container_path,
/external/autotest/site_utils/
Dlxc.py60 image = lxc.BaseImage(container_path=options.path)
Dlxc_cleanup.py158 logging.info('Cleaning container bucket %s', bucket.container_path)
/external/autotest/
Dglobal_config.ini72 container_path: /usr/local/autotest/containers key