[virt-tools-list] [PATCH 0/4] v2 virt-manager IPv6 support

Gene Czarcinski gene at czarc.net
Fri Mar 29 18:38:27 UTC 2013


These patches add support for IPv6 to virt-manager.

The first patch updates the Virtual Networks gui to support
IPv6.  This includes replacing the use of IPy with ipaddr
in network.py, host.py, and createnet.py.

New network defines are added to tests.  Also, the bug causing
exceptions when deleting a network has been fixed.

The secon patch updates the gui create net wizard (vmm-create-net.ui
and createnet.py).  Extensive changes were made in the gui.  The
dhcp page was folded into the IPv4 page and a new IPv6 page has been
added which include the network address specification as well as
the addresses for DHCPv6.  The Forwarding Page has been
changed to the Miscellaneous Settings Page with added specifications.

THe best way to understand the changes is to use glade-3 to
display the two .ui files and to actually run the updated
virt-manager.

I have included patch three since it updates the tui python code to use ipaddr
instead of IPy.  This worked under RELEASE-0.9.4-1 but the gtk3.2 branch of the
virt-manager-tui code was broken even before applying this patch.  I understand
that some consideration is being given to deleting virt-manager-tui and
that would certainly be my vote.

Patch four updates the rpm spec.

Note:  To the best of my knowledge, the following is 
an accurate summary of forwarding/routing:

Isolated-1: *no* address specified
        IPv4   - internal routing between guests is enabled.
        IPv6   - internal routing between guests is enabled only if ipv6='yes' is specified

Isolated-2: address specified but no <forward>
        IPv4   - internal routing between guests and between guests and virtualization host
        IPv6   - internal routing between guests and between guests and virtualization host
        Also   - dnsmasq used for DNS service for each address specified
        Option - dhcp for either or both addresses

Routed-1 - address specified, <forward> with NAT
        IPv4   - forwarded with Network Address Translation
        IPv6   - forward-routed with no restrictions
        Also   - dnsmasq used for DNS service for each address specified
        Option - dhcp for either or both addresses

Routed-2 - address specified, <forward> with route specified
        IPv4   - forward-routed with no restrictions
        IPv6   - forward-routed with no restrictions
        Also   - dnsmasq used for DNS service for each address specified
        Option - dhcp for either or both addresses 
.
Gene Czarcinski (4):
  IPv6 support v2: update gui python and ui
  IPv6 support v2: update the create network wizard
  IPv6 support v2: update the virt-manager-tui
  IPv6 support v2: update rpm spec file

 tests/testdriver.xml            |  125 +++
 ui/vmm-create-net.ui            | 2111 ++++++++++++++++++++++++++++-----------
 ui/vmm-host.ui                  |  830 +++++++++------
 virt-manager.spec               |    4 +-
 virtManager/createnet.py        |  648 +++++++++---
 virtManager/host.py             |   82 +-
 virtManager/network.py          |  161 ++-
 virtManagerTui/addnetwork.py    |   10 +-
 virtManagerTui/listnetworks.py  |   15 +-
 virtManagerTui/networkconfig.py |   45 +-
 10 files changed, 2954 insertions(+), 1077 deletions(-)

-- 
1.8.1.4




More information about the virt-tools-list mailing list