Example #1
0
 def _test_default_device_names(self, eph, swap, bdm):
     bdms = eph + swap + bdm
     bdi = driver.get_block_device_info(self.instance, bdms)
     blockinfo.default_device_names(self.virt_type,
                                    self.context,
                                    self.instance,
                                    bdi,
                                    self.image_meta)
Example #2
0
 def _test_default_device_names(self, eph, swap, bdm):
     image_meta = {}
     blockinfo.default_device_names(self.virt_type,
                                    self.context,
                                    self.instance,
                                    self.root_device_name,
                                    eph, swap, bdm,
                                    image_meta)
Example #3
0
 def _test_default_device_names(self, eph, swap, bdm):
     image_meta = {}
     bdms = eph + swap + bdm
     bdi = driver.get_block_device_info(self.instance, bdms)
     blockinfo.default_device_names(self.virt_type,
                                    self.context,
                                    self.instance,
                                    bdi,
                                    image_meta)
 def _test_default_device_names(self, *block_device_lists):
     blockinfo.default_device_names(self.virt_type,
                                    self.context,
                                    self.instance,
                                    self.root_device_name,
                                    *block_device_lists)
Example #5
0
 def _test_default_device_names(self, *block_device_lists):
     blockinfo.default_device_names(self.virt_type, self.context,
                                    self.instance, self.root_device_name,
                                    *block_device_lists)
Example #6
0
 def _test_default_device_names(self, update_function, *block_device_lists):
     blockinfo.default_device_names(self.virt_type, self.instance,
                                    self.root_device_name,
                                    update_function, *block_device_lists)
Example #7
0
 def _test_default_device_names(self, update_function, *block_device_lists):
     blockinfo.default_device_names(self.libvirt_type, self.instance,
                                    self.root_device_name, update_function,
                                    *block_device_lists)