virt-manager/virtinst
Cole Robinson 7cd04a9f86 cli: Register VirtCLIArguments at class definition time
The VirtCLIArguments, (for example, path=, size=, etc. for --disk)
are only registered when a VirtCLIParser is actually initialized.
This seems backwards, since those arguments are really more immutable
factors of the actual command line parsing, so make more sense only
initializing them once, at class definition time.

This switches to use that pattern. This makes the parsing flow a bit
cleaner and can be a basis for future improvements.
2016-06-13 18:37:30 -04:00
..
__init__.py Fix recent pylint/pep8 output 2016-04-18 16:42:12 -04:00
capabilities.py capabilities: Handle xen outputting os_type=linux 2015-09-22 12:41:57 -04:00
cli.py cli: Register VirtCLIArguments at class definition time 2016-06-13 18:37:30 -04:00
clock.py xmlbuilder: Make _add_child and _remove_child public 2015-09-04 15:47:43 -04:00
cloner.py localization: mark several strings as translatable 2016-02-06 16:25:08 +01:00
connection.py virtinst.connection: detect RHEL system also for session connection 2015-11-05 13:34:13 +01:00
cpu.py xmlbuilder: Make _add_child and _remove_child public 2015-09-04 15:47:43 -04:00
device.py cli: Add device address.type/address.bus/... options 2016-06-11 16:10:31 -04:00
deviceaudio.py addhardware: Don't list device 'default' options 2015-05-19 18:29:45 -04:00
devicechar.py xmlbuilder: Kill make_xpath_cb 2015-09-05 17:20:43 -04:00
devicecontroller.py Mark more UI strings as translatable 2015-09-23 16:39:48 -04:00
devicedisk.py virtinst: rename .seclabel->.seclabels 2016-06-12 11:09:15 -04:00
devicefilesystem.py devicefilesystem: Default to accessmode=mapped for qemu 2015-09-20 20:33:46 -04:00
devicegraphics.py virtinst: graphics: Add listen=none support 2016-06-11 16:48:34 -04:00
devicehostdev.py localization: mark several strings as translatable 2016-02-06 16:25:08 +01:00
deviceinput.py cli: Have '--input tablet' default to bus=usb (bz 1232087) 2015-11-21 20:26:50 -05:00
deviceinterface.py cli: add --network rom_bar and --network rom_file 2016-01-20 10:53:23 -05:00
devicememballoon.py addhardware: Don't list device 'default' options 2015-05-19 18:29:45 -04:00
devicepanic.py Drop non-ascii text from files 2015-03-23 15:56:55 -04:00
deviceredirdev.py addhardware: Don't list device 'default' options 2015-05-19 18:29:45 -04:00
devicerng.py localization: mark several strings as translatable 2016-02-06 16:25:08 +01:00
devicesmartcard.py Drop non-ascii text from files 2015-03-23 15:56:55 -04:00
devicetpm.py Drop non-ascii text from files 2015-03-23 15:56:55 -04:00
devicevideo.py virtinst: add virtio device model and accel3d attribute 2016-03-09 20:25:37 -05:00
devicewatchdog.py Add a watchdog model diag288, listed in the watchdog model list. 2015-11-10 16:14:17 -05:00
diskbackend.py diskbackend: Use type=file for empty cdrom, not type=block 2015-11-21 20:07:05 -05:00
distroinstaller.py Fix recent pylint/pep8 output 2016-04-18 16:42:12 -04:00
domainblkiotune.py virtinst: Switch to relative imports, fix cyclic import warnings 2014-09-12 16:28:38 -04:00
domainfeatures.py virtinst: prepare XML parsers to handle GIC for ARM 2016-06-11 18:41:24 +02:00
domainmemorybacking.py virtinst: Switch to relative imports, fix cyclic import warnings 2014-09-12 16:28:38 -04:00
domainmemorytune.py virtinst: Switch to relative imports, fix cyclic import warnings 2014-09-12 16:28:38 -04:00
domainnumatune.py domainnumatune: Remove generate_cpuset helper 2015-11-18 15:08:24 -05:00
domainresource.py virtinst: Switch to relative imports, fix cyclic import warnings 2014-09-12 16:28:38 -04:00
domcapabilities.py virtinst: prepare XML parsers to handle GIC for ARM 2016-06-11 18:41:24 +02:00
guest.py virtinst: rename .seclabel->.seclabels 2016-06-12 11:09:15 -04:00
hostkeymap.py mass update: remove double spaces from comments 2013-10-28 17:22:31 +01:00
idmap.py virtinst: Switch to relative imports, fix cyclic import warnings 2014-09-12 16:28:38 -04:00
installer.py virt-install: concatenate all extra-args argument 2016-03-18 03:28:17 +01:00
interface.py Fix recent pylint/pep8 output 2016-04-18 16:42:12 -04:00
network.py localization: mark several strings as translatable 2016-02-06 16:25:08 +01:00
nodedev.py tests: Enable property checking for all objects 2015-04-22 16:26:03 -04:00
osdict.py Disable x2apic for solaris 11 2016-03-24 14:15:49 -04:00
osxml.py xmlbuilder: Make _add_child and _remove_child public 2015-09-04 15:47:43 -04:00
pm.py virtinst: Switch to relative imports, fix cyclic import warnings 2014-09-12 16:28:38 -04:00
pollhelpers.py virt-manager: Add hidden options --test-old-poll and --test-no-events 2015-09-17 15:18:22 -04:00
progress.py Copy urlgrabber progress bar code into virt-manager.git 2015-09-18 20:55:44 -04:00
seclabel.py localization: mark several strings as translatable 2016-02-06 16:25:08 +01:00
snapshot.py virtinst: Switch to relative imports, fix cyclic import warnings 2014-09-12 16:28:38 -04:00
storage.py Fix recent pylint/pep8 output 2016-04-18 16:42:12 -04:00
support.py virtinst: graphics: Add listen=none support 2016-06-11 16:48:34 -04:00
uri.py conn: Stop using VirtOptionParser 2016-06-13 18:37:30 -04:00
urlfetcher.py virtinst: Fix detection of sle12sp1 media 2016-06-07 11:01:09 -04:00
util.py devicedisk: Tweak driver defaults for xen 2015-09-23 17:26:48 -04:00
xmlbuilder.py xmlbuilder: Support clear()ing an object in place 2016-05-20 14:51:31 -04:00