Skip Menu |

This queue is for tickets about the Sys-Virt CPAN distribution.

Report information
The Basics
Id: 33893
Status: resolved
Priority: 0/
Queue: Sys-Virt

People
Owner: Nobody in particular
Requestors: jpeacock [...] cpan.org
Cc: berrange [...] redhat.com
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.1.2
Fixed in: (no value)



CC: berrange [...] redhat.com
Subject: $vmm->create_network($xml) is busted
I think this is a copy/paste error: $ diff lib/Sys/Virt/Network.pm~ lib/Sys/Virt/Network.pm --- lib/Sys/Virt/Network.pm~ 2008-02-23 14:15:14.000000000 -0500 +++ lib/Sys/Virt/Network.pm 2008-03-07 18:00:40.000000000 -0500 @@ -62,7 +62,7 @@ sub _new { if ($params{nocreate}) { $self = Sys::Virt::Network::_define_xml($con, $params{xml}); } else { - $self = Sys::Virt::Network::_create_linux($con, $params{xml}); + $self = Sys::Virt::Network::_create_xml($con, $params{xml}); } } else { die "address, id or uuid parameters are required"; It is not possible to use create_network() without this patch.
This problem is fixed in the 0.2.0 release now available for download on CPAN.