summaryrefslogtreecommitdiff
path: root/virt-xml
Commit message (Collapse)AuthorAgeFilesLines
...
* cli: Rework VirtCLIParser instantiationCole Robinson2016-06-141-49/+46
| | | | | | | | | | | | Only initialize VirtCLIParser at actual parse time. The data that's passed to __init__ is the particular data for that parse task, like the option string, and the Guest object we are editing. As a result we can drop the whole parsermap handling, since the parserlist is immutable. There's a bunch of other reworks mixed in like dropping the VirtOptionString abstraction...
* cli: Drop unused VirtCLIParser.option_variable_nameCole Robinson2016-06-131-3/+3
|
* virtinst: Support multiple seclabelsCole Robinson2015-09-051-2/+4
| | | | | libvirt has supported this for a while. Wire it all up through the cli, and fix some bad assumptions along the way.
* cli: Make child lookup not specific to guest devicesCole Robinson2015-09-041-19/+24
| | | | | | <seclabel> is not singleton nowadays, so we need to extend our infrastructure to handle non-device child properties. This is part of that
* virt-xml: refactor the handling of --define and --update optionsPavel Hrdina2015-07-071-28/+34
| | | | | | | | | | | | The code was wrong in many ways. The main issue was, that for live updates we were using config XML instead of live XML. This patch fixes the --update and --define options to work properly as described in man page. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1192875 Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
* translation: fix wrong usage of _() functionPavel Hrdina2015-06-051-2/+2
| | | | | | | All the strings have to be at first translated and then we can fill the formated and translated string. Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
* clitest: Drop prompttest infrastructureCole Robinson2015-04-221-3/+5
| | | | Just fake it for the one remaining test
* cli: Replace add --check option (bz 1063471)Cole Robinson2015-04-111-6/+1
| | | | | For fine grained enabling/disabling validation checks. Use this to replace the heavy handed --force option.
* virt-install: Reorder --help output a bitCole Robinson2014-09-201-1/+0
|
* virt-xml: Tweak update prompting messagesCole Robinson2014-09-171-2/+11
|
* Use proper python versionMartin Kletzander2014-02-121-1/+1
| | | | | | | | | | | | | since we work with python2 only, mentioning it in all shebangs make the commands from git work even when python3 is set as default. This also fixes one test where command being ran is 'virt-xml' through subprocess.Popen(). While at that, add '-tt' where possible in order to make everyone use same indentation characters. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
* virt-xml: add "-c" as short option of "--connect"Chen Hanxiao2014-02-121-1/+1
| | | | | | | | | | | | | | Add "-c" as short option of "--connect" for virt-xml. We could use either virt-xml -c lxc:/// or virt-xml --connect lxc:/// This will be more convenient if we operate non-default hypervisor. Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
* cli: Shorten some long --help examplesCole Robinson2014-02-101-2/+1
|
* tests: Only use one env variable to notify we are running testsCole Robinson2014-02-101-6/+3
|
* virt-install: add support for user namespaceChen Hanxiao2014-02-091-0/+1
| | | | | | | | This patch will enable configuring idmap. It could be used as enable user namespace for LXC containers. Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
* virt-xml: fix a terminal_width depends issueChen Hanxiao2014-02-071-3/+7
| | | | | | | | | | | One of virt-xml test case will output logs by urlgrabber.process, which will get the real width of terminals. If we resize terminal, of who is running test, from 80 to other size, test case will fail. This patch will screen it when running test case. Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
* virt-xml: Fill in man pageCole Robinson2014-01-261-7/+9
|
* virt-xml: Create storage if necessaryCole Robinson2014-01-261-3/+26
|
* virt-xml: Change clear format to clearxml=yes, add --help exampleCole Robinson2014-01-251-1/+1
|
* virt-xml: Add --build-xml option for just outputing XMLCole Robinson2014-01-251-19/+45
|
* virt-xml: Add --update option for hotplug/hotunplugCole Robinson2014-01-251-36/+81
|
* virt-xml: Make --domain positional, allow stdin XMLCole Robinson2014-01-251-18/+38
|
* virt-xml: Actually update the INACTIVE xmlCole Robinson2014-01-251-9/+20
|
* virt-xml: Add --add-device and --remove-device optionsCole Robinson2014-01-251-19/+74
|
* cli: Add --metadata optionCole Robinson2014-01-251-0/+1
| | | | | | | | Can take name, description, uuid, and title (new). This deprecates the separate --description and --uuid element, but we won't require it for specifying a name with virt-install/virt-image since that's quite overkill. Allowing --name with this option is mostly for the benefit of virt-xml.
* cli: Add --disk readonly and shareable optionsCole Robinson2014-01-251-1/+1
| | | | This deprecates the difficult perms= sub option
* cli: Add --memory, deprecates -r/--ramCole Robinson2014-01-251-0/+1
| | | | | This is a compound option like we use elsewhere, with suboptions for maxmemory and hugepages.
* virt-xml: Initial commit, basic set of testsCole Robinson2014-01-251-0/+283