Searched refs:container_path (Results 1 – 10 of 10) sorted by relevance
/external/autotest/site_utils/lxc/ |
D | base_image.py | 32 def __init__(self, container_path, base_name): argument 42 self.container_path = container_path 46 container_path, base_name) 67 if not self.container_path: 72 if not os.path.exists(self.container_path): 73 os.makedirs(self.container_path) 94 base_path = os.path.join(self.container_path, self.base_name) 98 self.container_path, self.base_name) 110 self.container_path, self.base_name) 121 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)) 222 new_path = src.container_path 260 containers = lxc.get_container_info(self.container_path, name=self.name) 264 (self.container_path, self.name)) 321 cmd = 'sudo lxc-attach -P %s -n %s' % (self.container_path, self.name) 353 cmd = 'sudo lxc-start -P %s -n %s -d' % (self.container_path, self.name) 358 (os.path.join(self.container_path, self.name), [all …]
|
D | base_image_unittest.py | 37 manager = BaseImage(control.container_path, control.name) 39 self.assertEquals(control.container_path, 40 manager.base_container.container_path) 55 manager = BaseImage(base.container_path, base.name) 63 os.path.join(base.container_path, base.name))) 77 manager = BaseImage(base.container_path, base.name) 93 os.path.join(base.container_path, base.name))) 99 os.path.join(container.container_path, container.name)))
|
D | container_bucket.py | 37 def __init__(self, container_path=constants.DEFAULT_CONTAINER_PATH, argument 50 self.container_path = os.path.realpath(container_path) 59 container = BaseImage(self.container_path, base_name).get() 70 lxc_path=self.container_path) 87 info_collection = lxc.get_container_info(self.container_path) 94 container = Container.create_from_existing_dir(self.container_path, 164 self.container_path, name,
|
D | lxc_functional_test.py | 184 def setup_base(container_path): argument 189 logging.info('Rebuild base container in folder %s.', container_path) 190 image = base_image.BaseImage(container_path, lxc.BASE)
|
D | container_unittest.py | 59 self.base_container.container_path, 80 id_path = os.path.join(container.container_path, 295 container.container_path, container.name) 331 def verifyBindMount(self, container, container_path, host_path): argument 339 container_inode = (container.attach_run('ls -id %s' % 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 | 95 self.assertEqual(dir0, container0.container_path) 96 self.assertEqual(dir1, container1.container_path)
|
/external/autotest/site_utils/ |
D | lxc_cleanup.py | 158 logging.info('Cleaning container bucket %s', bucket.container_path)
|
/external/autotest/ |
D | global_config.ini | 86 container_path: /usr/local/autotest/containers key
|