/external/autotest/site_utils/lxc/ |
D | base_image.py | 33 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 …]
|
D | container.py | 132 def __init__(self, container_path, name, attribute_values, src=None, argument 149 self.container_path = os.path.realpath(container_path) 160 lxc_utils.clone(src.container_path, src.name, self.container_path, 168 os.path.join(self.container_path, self.name)) 227 new_path = src.container_path 265 containers = lxc.get_container_info(self.container_path, name=self.name) 269 (self.container_path, self.name)) 326 cmd = 'sudo lxc-attach -P %s -n %s' % (self.container_path, self.name) 358 cmd = 'sudo lxc-start -P %s -n %s -d' % (self.container_path, self.name) 363 (os.path.join(self.container_path, self.name), [all …]
|
D | base_image_unittest.py | 37 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)
|
D | zygote.py | 21 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 …]
|
D | container_bucket.py | 43 def __init__(self, container_path=constants.DEFAULT_CONTAINER_PATH, argument 52 self.container_path = os.path.realpath(container_path) 61 container = BaseImage(self.container_path).get() 72 lxc_path=self.container_path) 88 info_collection = lxc.get_container_info(self.container_path) 93 container = Container.create_from_existing_dir(self.container_path,
|
D | container_bucket_unittest.py | 17 container_path = None variable 21 global container_path 22 container_path = tempfile.mkdtemp( 29 shutil.rmtree(container_path)
|
D | zygote_unittest.py | 110 container_path=lxc.CONTAINER_HOST_DIR, 134 container_path=lxc.CONTAINER_HOST_DIR, 229 zygote1 = lxc.Zygote(container_path=zygote0.container_path, 250 zygote1 = lxc.Zygote(container_path=zygote0.container_path, 329 def verifyBindMount(self, container, container_path, host_path): argument 337 container_inode = (container.attach_run('ls -id %s' % container_path)
|
D | container_unittest.py | 59 self.base_container.container_path, 82 id_path = os.path.join(container.container_path, 308 container.container_path, container.name) 347 def verifyBindMount(self, container, container_path, host_path): argument 355 container_inode = (container.attach_run('ls -id %s' % container_path)
|
D | lxc_functional_test.py | 183 def setup_base(container_path): argument 188 logging.info('Rebuild base container in folder %s.', container_path) 189 image = lxc.BaseImage(container_path)
|
D | lxc.py | 23 def get_container_info(container_path, **filters): argument 39 cmd = 'sudo lxc-ls -P %s -f -F %s' % (os.path.realpath(container_path),
|
D | container_factory_unittest.py | 99 self.assertEqual(dir0, container0.container_path); 100 self.assertEqual(dir1, container1.container_path);
|
/external/owasp/sanitizer/tools/ |
D | cut_release.py | 100 def copy_directory_structure_template(src_path, container_path): argument 102 container_path,
|
/external/autotest/site_utils/ |
D | lxc.py | 60 image = lxc.BaseImage(container_path=options.path)
|
D | lxc_cleanup.py | 158 logging.info('Cleaning container bucket %s', bucket.container_path)
|
/external/autotest/ |
D | global_config.ini | 76 container_path: /usr/local/autotest/containers key
|