Displaying 17 results from an estimated 17 matches for "listvolum".
Did you mean:
listvolumes
2012 May 08
2
creation of storage volume fails
...9;__del__', '__doc__', '__init__', '__module__', 'autostart', 'build', 'connect', 'create', 'createXML', 'createXMLFrom', 'delete', 'destroy', 'info', 'isActive', 'isPersistent', 'listVolumes', 'name', 'numOfVolumes', 'refresh', 'setAutostart', 'storageVolLookupByName', 'undefine']
>>> help(libvirt.virStoragePool.createXML)
Help on method createXML in module libvirt:
createXML(self, xmldesc, flags) unbound libvirt.virStora...
2009 Dec 03
2
Refactored, fixed and ready to review...
This set of patches needed some reworking since they would not apply on top of
next. They are ready for review and to be pushed.
2016 May 04
2
Re: [libvirt] Creating a storage volume for raw format file
On 04/05/16 14:07, Cole Robinson wrote:
> On 05/04/2016 06:54 AM, Paul Carlton wrote:
>> Hi
>>
>> I'm trying to create a volume in an existing storage pool using python by
>> calling createXML() on the pool object.
>> If the file that is the subject of the new volume exists you get and error,
>> also if it doesn't exist
>>
>> I worked out
2012 May 07
1
libvirt python api for storage-volumes and storage-pools
hi,
how do i list storage pools and volumes using the python bindings?
basically the python api calls for?virsh pool-list and virsh vol-list
thanks
2016 May 04
0
Re: [libvirt] Creating a storage volume for raw format file
...if I create the file in another directory then create the
> storage volume as follows...
>
Not sure if I fully follow, but if you manually create the file in the
directory, outside of libvirt's APIs, just do a pool.refresh() and libvirt
will notice the new volume and it will show up in listVolumes. createXML is
only for telling libvirt to create an entirely new disk image (likely by
invoking qemu-img), not to teach it about an existing image... that's what
pool.refresh() is essentially for
- Cole
> def create_volume(self, vol_name, src_path):
> def create_vol_xml(na...
2009 Oct 15
1
Patch depends on the previous storage patch...
This patch is dependant on the previously submitted storage admin patch.
2009 Oct 12
1
First draft: node storage admin
This patch provides the ability to create a "dir" type storage pool, and to add
and remove volumes for existing pools.
2009 Oct 27
1
Storage admin patches
This set of patches supercedes the previous set, and has been rebased
with changes from upstream.
2009 Nov 09
1
Rebased again...
This patch again rebases on upstream and should apply on next as of right now.
2009 Oct 14
0
[PATCH node] Provides a new storage administration system to the managed node.
...ble_pools(self):
+ return self.__has_pools
+
+ def get_storage_volume_list_page(self, screen):
+ '''Requires that self.__pools_list have a selected element.'''
+ pool = self.get_libvirt().get_storage_pool(self.get_selected_pool())
+ if len(pool.listVolumes()) > 0:
+ self.__has_volumes = True
+ self.__volumes_list = Listbox(0)
+ for volname in pool.listVolumes():
+ volume = pool.storageVolLookupByName(volname)
+ self.__volumes_list.append("%s (%0.2f GB)" % (volume.name(), vo...
2009 Oct 21
1
Storage administration and refactoring of domain admin
This pair of patches provide a new storage admin interface. Then, on top of that,
it refactors the domain administration pieces to now properly use storage pools
and volumes when defining a new VM.
2009 Aug 31
1
Fixed patch...
This version of the patch includes feedback from jboggs at redhat.com,
including fixes to the BuildRequires and Requires in the spec file.
2009 Sep 11
1
Text-based node administration tool
This patch obsoletes any previous ones. This is an upstream candidate,
so I'm looking for feedback so we can push this and start using it.
2009 Sep 14
1
Bugfixes...
This version fixes a few bugs found by jboggs. It also includes some
logging facilities that need to be fleshed out more.
2009 Sep 16
1
Final push candidate for nodeadmin tool...
This patch is ready for pushing upstream.
2009 Sep 16
1
Replacement that includes utils.py
The previous patch was missing this file. Resending.
2009 Jul 31
2
RFC: This patch is not being submitted for ACK...
...just looking for some feedback on the direction I'm going.
The code won't get all the way to the define stage since I'm in
the middle of retrofitting it to use virtinst instead of a home
spun node definition.