Cole Robinson
927334915b
details: Make TPM UI use a grid
2013-09-23 18:43:50 -04:00
Giuseppe Scrivano
6f8ad1bf21
virtManager: add GUI elements for adding a RNG device
...
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1001773
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2013-09-23 14:09:34 -04:00
Giuseppe Scrivano
92db24aa12
virtManager: add GUI elements for showing RNG devices
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2013-09-23 14:07:00 -04:00
Cole Robinson
85813203dc
createnet: Use virtinst.Network for XML generation
2013-09-23 13:49:20 -04:00
Cole Robinson
b889659d93
host: Fix initial network/interface selection
...
Broken by recent commit moving selection->changed signal handling
into glade.
2013-09-23 12:37:03 -04:00
Cole Robinson
7e42faab0f
createnet: Massive code and UI cleanup
...
Modernize the UI, simplify the code, etc.
2013-09-23 12:28:05 -04:00
Cole Robinson
0323fcfbf7
network: Fix parsing route netmask
2013-09-23 09:10:43 -04:00
Cole Robinson
a7b1414dc5
libvirtobject: Make parseclass non-optional
...
All libvirtobject child classes have an associated XMLBuilder now, so
make it mandatory.
2013-09-23 08:34:50 -04:00
Cole Robinson
b690557a53
Convert NodeDevice to XMLBuilder
2013-09-23 08:25:20 -04:00
Cole Robinson
1c0475feff
xmlbuilder: Make prop cache work with subclasses
2013-09-23 07:38:22 -04:00
Cole Robinson
a6d92c7001
Drop a lot of usage of utility XML functions
2013-09-22 17:34:53 -04:00
Cole Robinson
e9b8a289b5
network: Centralize pxe support check
2013-09-22 17:05:15 -04:00
Cole Robinson
6da801f944
Set list selection signals in glade, not code
2013-09-22 16:29:58 -04:00
Cole Robinson
d338bce329
Rename ui files to match source file names
2013-09-22 16:10:16 -04:00
Cole Robinson
ba3ce7afb3
details: Use VMActionMenu in top window menu
2013-09-22 15:45:53 -04:00
Cole Robinson
e91cc84770
uihelpers: Add VMActionMenu, share between manager and systray
2013-09-22 15:45:53 -04:00
Cole Robinson
268b462126
uihelpers: Add VMShutdownMenu class
...
And use it in all the places where we are duplicating a similar menu
2013-09-22 15:45:49 -04:00
Cole Robinson
1683d56b8d
ui: Set non-stock button images in glade, not explicitly in code
2013-09-22 12:33:02 -04:00
Cole Robinson
a7834f5d6c
Add Network class for parsing <network> XML
...
Convert virtManager/host.py, do some cleanups and modernization to the
UI there, add tests.
createnet.py hasn't really been touched yet, but still works because
it was building the XML by hand anyways.
2013-09-22 11:16:07 -04:00
Cole Robinson
9ceaa2b427
addhardware: Make finish button icon be 'apply', not 'quit' (bz 1006928)
2013-09-20 20:18:52 -04:00
Giuseppe Scrivano
a55438f880
virt-install: add support for virtio-rng devices
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2013-09-20 18:56:19 -04:00
Giuseppe Scrivano
8abcae5073
virtinst: add support for virtio-rng devices
...
The virtio-rng device is supported by libvirt since version 1.0.3.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2013-09-20 18:56:12 -04:00
Giuseppe Scrivano
3861069f99
virt-manager: AUTOSIZE the VM name column in the manager window
...
Previously, if a very long "title" was shortened, the column was
maintaining its original size, leaving the second column far away.
To avoid it, enforce the first column to be automatically resized
whenever the name of the VM is changed.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2013-09-20 17:11:22 -04:00
Cole Robinson
b96fa5706c
Fix a couple transalation issues
2013-09-20 12:10:34 -04:00
Cole Robinson
cadf5ba770
xmlbuilder: Cache class property maps
...
Shaves about 20 seconds off the test suite
2013-09-20 11:30:33 -04:00
Cole Robinson
85e81df01a
xmlbuilder: Serialize child objects even if they aren't in PROP_ORDER
...
This was just a bug
2013-09-20 11:17:11 -04:00
Cole Robinson
a23f1794d0
guest stuff
2013-09-20 10:55:48 -04:00
Cole Robinson
38f110954d
domain: Fix XML diff in logs when doing 'customize'
2013-09-20 10:24:31 -04:00
Cole Robinson
fd52fb2c32
util: Drop 'partition' helper, we require python 2.5 these days
2013-09-20 10:05:42 -04:00
Cole Robinson
aff0ddb259
Use XMLBuilder for Storage object handling
...
Simplify the API a bunch while we are at it, add tests, etc.
2013-09-20 10:00:08 -04:00
Cole Robinson
3db5cb5f06
Use XMLBuilder for Interface XML
...
So we unify parsing and building the XML.
Since we already do this for vmmDomain, take the opportunity to move
the shared infrastructure into vmmLibvirtObject
2013-09-19 16:56:38 -04:00
Cole Robinson
cb06f7eb3d
xmlbuilder: Ensure top level XML objects always end with a newline
2013-09-19 13:48:28 -04:00
Cole Robinson
99a50de53e
Simplify XMLProperty declarations
2013-09-19 13:31:33 -04:00
Cole Robinson
1aaf41b201
xmlbuilder: A couple optimizations
...
This brings the test suite back to pre-refactor speeds
2013-09-19 13:31:33 -04:00
Cole Robinson
0be727e6bb
xmlbuilder: Track singleton child properties explicitly
...
Things like Guest.Seclabel, VirtualDevice.VirtualAlias, etc.
Now we don't need to track a full xpath with each class, just its root
name and we build its hierarchy depending on its parent.
2013-09-19 13:31:33 -04:00
Cole Robinson
38545e3af8
Fix pylint warnings with latest version
2013-09-19 13:14:44 -04:00
Cole Robinson
f5dab5cdfa
xmlbuilder: Distinguish between parent xpath and object xpath
...
We want to add support for nested objects, like child interfaces
in virInterface definition. To do that we need to distinguish between
parent xpath and relative object path.
This causes a 10-15% slow down in the unit test suite for me. There's
probably opportunities for speeding this up.
2013-09-11 11:28:27 -04:00
Cole Robinson
aa9ff9854e
Fix some pylint
2013-09-10 21:36:53 -04:00
Cole Robinson
eb4068cc47
xmlbuilder: Add infrastructure for parsing into subclasses
...
We already had this open coded in several classes with varying methods.
Now all someone has to do is
features = XMLChildProperty(CPUFeature)
The xmlbuilder code will pull the relevant xpath from the CPUFeature class,
handling parsing into instances of that class directly. The only
thing that needs to be manually added is the add_* remove_* functions.
2013-09-10 21:34:45 -04:00
Cole Robinson
10e608e9dd
guest: Fix adding a parsed device to a built guest
2013-09-10 18:34:36 -04:00
Cole Robinson
71d7e20811
guest: Simplify remove_device
2013-09-10 18:34:36 -04:00
Cole Robinson
37ec775daf
xmlbuilder: Fix multiple overwrite of root_xpath
...
Nothing really triggers it right now, but future code may
2013-09-10 18:34:36 -04:00
Cole Robinson
97f641f645
tests: cli: Fix fallout from testdriver alterations
2013-09-10 18:34:36 -04:00
Cole Robinson
9ca0545533
addhw: Drop intro text, simplify UI alignment
2013-09-09 13:06:37 -04:00
Cole Robinson
32c990dc29
addhw: Simplify chardev UI
...
The previous UI was a ugly and the doc text wasn't particularly helpful,
just make it work like the other UI.
2013-09-09 12:48:17 -04:00
Cole Robinson
2e4685590f
testdriver: Drop test-many-nets
...
It doesn't even have as many nets as test-many-devices
2013-09-09 11:38:14 -04:00
Cole Robinson
3c9f3a16e1
addhw: Use gtkgrid for network UI
2013-09-09 11:37:32 -04:00
Cole Robinson
ba6e40e879
addhw: Convert usbredir UI to grid
2013-09-09 11:17:01 -04:00
Cole Robinson
e1063e0089
addhw: Fix error if no host devices are available
2013-09-09 11:04:08 -04:00
Cole Robinson
36c669d45a
Replace get_property("sensitive") with get_sensitive
2013-09-09 11:02:34 -04:00