예제 #1
0
 def get_config_display_info(self, config):
     info_list = []
     info_list.append(dict(name='VNC', value=get_string_status(config['vnc'])))
     info_list.append(dict(name='Use Unused Display', value=get_string_status(config['vncunused'])))
     info_list.append(dict(name='SDL', value=get_string_status(config['sdl'])))
     info_list.append(dict(name='Standard Vga', value=get_string_status(config['stdvga'])))
     return info_list
예제 #2
0
 def get_config_advanced_info(self, config):
     info_list = []
     info_list.append(dict(name='Architecture Lib directory', value=config['arch_libdir']))
     info_list.append(dict(name='UUID', value=config['uuid']))
     info_list.append(dict(name='Platform', value=config['platform']))
     info_list.append(dict(name='Network Mode', value=config['network_mode']))
     info_list.append(dict(name='Shadow Memory', value=config['shadow_memory']))
     info_list.append(dict(name='PAE', value=get_string_status(config['pae'])))
     info_list.append(dict(name='ACPI', value=get_string_status(config['acpi'])))
     info_list.append(dict(name='APIC', value=get_string_status(config['apic'])))
     info_list.append(dict(name='Architecture', value=config['arch']))
     info_list.append(dict(name='Device Model', value=config['device_model']))
     info_list.append(dict(name='Builder', value=config['builder']))
     return info_list
예제 #3
0
 def get_config_usb_device_info(self, config):
     info_list = []
     info_list.append(dict(name='USB Enabled', value=get_string_status(config['usb'])))
     info_list.append(dict(name='USB Device', value=config['usbdevice']))
     return info_list