Commit Graph

2618 Commits

Author SHA1 Message Date
Gene Czarcinski ee748e19c7 IPv6 support v2: update the virt-manager-tui
This patch updates the tui python to use ipaddr
from python-ipaddr rather than IPy.py.  This patch
removes all IPy dependency.

This patch works under RELEASE-0.9.4-1 but tui is
broken under branch gtk3.2.  Applying patch anyway
and then will worry about it working later.
Signed-off-by: Gene Czarcinski <gene@czarc.net>
2013-04-03 21:32:57 -04:00
Gene Czarcinski 61f8e39700 IPv6 support v2: update the create network wizard
With this patch, basic IPv6 support has been added to
the network creation wizard.  It includes changes to
both the glade-3 ui and the related python code.  There
have been some significant changes made to both files for
IPv6 support and some additional capabilities.

This update includes the fix so color will work in the
network creation wizard.

Besides basic IPv6 support, this includes optionally
specifying a DNS domain name and enabling IPv6 internal
routing if no IPv6 address is specified.
.
Signed-off-by: Gene Czarcinski <gene@czarc.net>
2013-04-03 21:32:57 -04:00
Gene Czarcinski 73629b76b2 IPv6 support v2: update gui python and ui
The purpose of this update is:

1. replace use of IPy with ipaddr since ipaddr has needed
functionality and IPy does not.
2. Update the glade-3 ui (vmm-host.ui) to provide
for IPv6 as well as IPv4.  If either IPv4 or IPv6
is not defined, its respective frame is hidden.
3. The DNS Domain Name is added to the basic frame.
4. IPv4 forwarding is moved to the basic frame and ipv6
forwarding is added.
5. If an IPv4 address is not defined then the IPv4
is set to Isolated network, internal rout only.
6. IPv6 network has three values for Forwarding:
Isolated network, Isolated network with internal forwarding,
and Routed network.
7. Add network definitions to tests/testdriver.xml which
include IPv6 and other new parameters now being handled.

This patch includes the fix for getting a KeyError exception
when deleting a network definition.

In this update, createnet.py has been changed to use
ipaddr but it still only handles IPv4 network creation.
.
Signed-off-by: Gene Czarcinski <gene@czarc.net>

(crobinso: Add Gene to AUTHORS)
2013-04-03 21:32:42 -04:00
Martin Kletzander 590c8dbebf Don't support sparse logical volumes
Sparse logical volumes are supported by libvirt, but only in case the
user takes care of the reallocation, which is not what virt-install
and virt-manager users want.  This patch defaults the logical volumes
to non-sparse ones and makes sure allocation is always equal to
capacity for such volumes.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2013-04-03 20:44:29 -04:00
Eric Blake 4c10a627ab migrate: use correct grammar
According to http://grammar.quickanddirtytips.com/a-while-awhile.aspx,
you can tell whether to use 'awhile' or 'a while' by substituting
'quietly' or 'a year' and seeing if the resulting sentence still makes
sense.  During migration, we used an adverb, but want the noun form.

* src/virtManager/migrate.py (vmmMigrateDialog.finish): Use
correct grammar.

(crobinso: Add Eric to AUTHORS)
2013-04-03 20:44:04 -04:00
Cole Robinson 3f7b46884e Fix icons when running from srcdir 2013-04-03 20:29:47 -04:00
Cole Robinson 94763163cc Merge in translations from virtinst 2013-04-03 20:29:47 -04:00
Cole Robinson dfaf00af4c Autogenerate POTFILES.in 2013-04-03 19:42:59 -04:00
Cole Robinson d5c9f62f36 Merge HACKING from virtinst 2013-04-03 19:42:59 -04:00
Cole Robinson 3e51aea7af Update INSTALL for the new world order
And add a todo.txt note about documenting the translation process, and
how to update translations.
2013-04-03 19:40:40 -04:00
Cole Robinson 69d2aa49e4 Update autobuild.sh for the new world order. 2013-04-03 19:40:40 -04:00
Cole Robinson dbb0bd7ead man: Fix type it's->its (bz 929437) 2013-04-03 19:40:40 -04:00
Tom Lanyon ef2bdc4722 virt-install: don't fail on storage pools without targets.
(crobinso: Add Tom to AUTHORS)
2013-04-03 19:40:39 -04:00
Cole Robinson ae0e151c8a tests: Add rbd pool example to testdriver 2013-04-03 19:40:39 -04:00
Cole Robinson 3ea2704281 Update todo 2013-04-03 19:40:39 -04:00
Cole Robinson 3c251d3d8b Make RPM build work
And wire up man page creation
2013-04-03 19:40:39 -04:00
Cole Robinson 7d29a4b18a Remove old TODO file 2013-04-03 18:22:05 -04:00
Cole Robinson 2031a358ca Merge in virtinst.git AUTHORS 2013-04-03 18:22:05 -04:00
Cole Robinson d6c8ad0297 Wire up python unit tests, unify gettext setup 2013-04-03 18:22:05 -04:00
Cole Robinson 88603e4fad Merge code from python-virtinst.git
As outlined here:

https://www.redhat.com/archives/virt-tools-list/2012-February/msg00040.html

For now this is just a direct import of the code from virtinst commit
dca5a4d6245f21d554f8853197a6a234bfc8e52c. History is not merged, so
please refer to original git for detailed commit histor:

http://git.fedorahosted.org/cgit/python-virtinst.git/
2013-04-03 18:22:05 -04:00
Cole Robinson 9d05583c26 Remove autotools, replace with distutils-extra
Despite being a known quantity, autotools is so overkill for our needs,
so let's drop it and replace it with a much simpler and easy to customize
system.
2013-04-03 18:20:51 -04:00
Cole Robinson b1bfc7ab85 Remove another TODO item fixed by Giuseppe's last patch 2013-04-03 18:14:02 -04:00
Giuseppe Scrivano 823c3b20b5 Fix a segfault when the connection is dropped
The error dialog window was created on the "tick" thread, causing a
crash in GTK.  Fix it by moving its invocation to the main thread.
2013-04-03 18:14:01 -04:00
Giuseppe Scrivano a6881c6ff1 Use override_background_color instead of modify_bg
override_background_color accepts a RGBA struct, use it directly.
2013-04-03 18:14:01 -04:00
Giuseppe Scrivano d2d759abb4 Fix exception with older gi versions
The method gi.check_version was defined in 3.3.5.  Prevent an exception
with older versions of the library.

(crobinso: Add Giuseppe to AUTHORS)
2013-04-03 18:14:01 -04:00
Cole Robinson 2d786a1ca9 todo: Add entry about wiki-ifying the website 2013-04-03 18:13:28 -04:00
Cole Robinson c6b4310f72 virt-manager: Just print bogus GTK errors 2013-04-03 18:13:28 -04:00
Cole Robinson 6cd6b1dad9 Add gtk3 todo.txt 2013-04-03 18:13:28 -04:00
Cole Robinson 976e6db68f details: Don't expand CPU model dropdown 2013-04-03 18:13:27 -04:00
Cole Robinson dfc6a37977 man: Mention that standard GTK args are also accepted. 2013-04-03 18:13:27 -04:00
Cole Robinson 6208d67129 Fix GObject deprecation warnings with latest pygobject 2013-04-03 18:13:27 -04:00
Cole Robinson 2787e0ba40 manager: Fix empty desc tooltip if pygobject is new enough 2013-04-03 18:13:27 -04:00
Cole Robinson bcfbbb2bc7 s/self.window/self.builder/g
Since 'window' is overloaded, let's not make it worse.
2013-04-03 18:13:27 -04:00
Cole Robinson abbdd1743a Fix some pylint 2013-04-03 18:13:27 -04:00
Cole Robinson 0ffa69e760 Fix serial consoles after gtk3 conversion 2013-04-03 18:13:27 -04:00
Cole Robinson eba8f6f7e9 Turn off leak debugging, since gtk3 is messing us up 2013-04-03 18:13:27 -04:00
Cole Robinson 8da021cf3a create: Fix OS autodetect for URLs 2013-04-03 18:13:27 -04:00
Cole Robinson 8c479dbdd3 progress: Fix label spacing 2013-04-03 18:13:27 -04:00
Cole Robinson c342b58b84 console: Fix send keys for spice and vnc
Unfortunately the bindings were both broken here, so patches are needed
to make this work:

https://bugs.freedesktop.org/show_bug.cgi?id=59444
https://bugzilla.gnome.org/show_bug.cgi?id=691821
2013-04-03 18:13:26 -04:00
Cole Robinson 9b2fd63480 console: Fix spice audio tunneling after conversion 2013-04-03 18:13:26 -04:00
Cole Robinson 2e4afccb07 Fix up a ton of UI regressions from gtk3 conversion 2013-04-03 18:13:26 -04:00
Cole Robinson 3de927d109 Remove rhel compat get_system_shutdown_icon 2013-04-03 18:13:26 -04:00
Cole Robinson cb512f61e7 Cleanup gnome-keyring code (still broken with introspection) 2013-04-03 18:13:26 -04:00
Cole Robinson 5df0a108f8 baseclass: Allow not passing a msg to _logtrace helper 2013-04-03 18:13:26 -04:00
Cole Robinson 12a4e34bad Remove unused gconf key console/grab_notify 2013-04-03 18:13:26 -04:00
Cole Robinson d9112f9d54 Remove all code and hidden UI for accessing help docs
Those docs were removed a few commits back
2013-04-03 18:13:26 -04:00
Cole Robinson eac0f93da7 Drop comboboxentry RHEL6 compat 2013-04-03 18:13:26 -04:00
Cole Robinson bdfd0d4143 Resave glade files to drop gtk2 bits 2013-04-03 18:13:25 -04:00
Cole Robinson 12fcac8268 s/get_property("sensitive")/get_sensitive()/g 2013-04-03 18:13:25 -04:00
Cole Robinson e741d9cab6 Clean up all pylint + pep8 violations 2013-04-03 18:13:25 -04:00