add ploop type to the list of image backends

Ploop is a disk loopback block device, which is used by OpenVZ/Virtuozzo
containers, described here: https://openvz.org/Ploop
This type of backend is supported since Virtuozzo support was added in
Kilo release. Implemented as a part of
https://blueprints.launchpad.net/nova/+spec/pcs-support
then pcs was renamed to virtuozzo
https://blueprints.launchpad.net/nova/+spec/rename-pcs-to-virtuozzo

Change-Id: Ica7852f8b5d45938b66ae7ef71b4713eb2dd2a3c
This commit is contained in:
Maxim Nestratov 2016-07-11 22:47:46 +03:00
parent 4304bf3fce
commit 142cfab720
4 changed files with 5 additions and 1 deletions

View File

@ -92,6 +92,7 @@ OPENSTACK_IMAGE_BACKEND = {
('docker', _('Docker')),
('iso', _('ISO - Optical Disk Image')),
('ova', _('OVA - Open Virtual Appliance')),
('ploop', _('PLOOP - Virtuozzo/Parallels Loopback Disk')),
('qcow2', _('QCOW2 - QEMU Emulator')),
('raw', _('Raw')),
('vdi', _('VDI - Virtual Disk Image')),

View File

@ -171,6 +171,7 @@
{label: gettext('Docker'), key: 'docker'},
{label: gettext('ISO'), key: 'iso'},
{label: gettext('OVA'), key: 'ova'},
{label: gettext('PLOOP'), key: 'ploop'},
{label: gettext('QCOW2'), key: 'qcow2'},
{label: gettext('Raw'), key: 'raw'},
{label: gettext('VDI'), key: 'vdi'},
@ -213,6 +214,7 @@
return {
iso: gettext('ISO - Optical Disk Image'),
ova: gettext('OVA - Open Virtual Appliance'),
ploop: gettext('PLOOP - Virtuozzo/Parallels Loopback Disk'),
qcow2: gettext('QCOW2 - QEMU Emulator'),
raw: gettext('Raw'),
vdi: gettext('VDI - Virtual Disk Image'),

View File

@ -67,7 +67,7 @@
}));
it('should be defined', function() {
expect(Object.keys(imageFormats).length).toEqual(11);
expect(Object.keys(imageFormats).length).toEqual(12);
});
});
})();

View File

@ -193,6 +193,7 @@ OPENSTACK_IMAGE_BACKEND = {
('ami', 'AMI - Amazon Machine Image'),
('ari', 'ARI - Amazon Ramdisk Image'),
('iso', 'ISO - Optical Disk Image'),
('ploop', 'PLOOP - Virtuozzo/Parallels Loopback Disk'),
('qcow2', 'QCOW2 - QEMU Emulator'),
('raw', 'Raw'),
('vdi', 'VDI'),