linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] LVM2APP still under active development?
@ 2012-10-02  9:42 Bram Klein Gunnewiek
  2012-10-03 14:36 ` Tony Asleson
  0 siblings, 1 reply; 2+ messages in thread
From: Bram Klein Gunnewiek @ 2012-10-02  9:42 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 607 bytes --]

Hello,

I'm developing an in-house application that needs to control LVM set-ups. I
was looking at the lvm2app API but its missing a couple of features I need
(snapshots, resizing logical volumes (API is defined but not implemented),
...). I can't find any road-map or document with plans for the API (only
the v1 document at http://fedoraproject.org/wiki/LVM/liblvm ).

Is the API still under active development, and are new features added? I
rather use a stable API instead of wrapping around CLI commands, but mixing
the two to use the functionality the API is missing doesn't seem a smart
option to me.

[-- Attachment #2: Type: text/html, Size: 708 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] LVM2APP still under active development?
  2012-10-02  9:42 [linux-lvm] LVM2APP still under active development? Bram Klein Gunnewiek
@ 2012-10-03 14:36 ` Tony Asleson
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Asleson @ 2012-10-03 14:36 UTC (permalink / raw)
  To: linux-lvm

On 10/02/2012 04:42 AM, Bram Klein Gunnewiek wrote:
> Hello,
> 
> I'm developing an in-house application that needs to control LVM
> set-ups. I was looking at the lvm2app API but its missing a couple of
> features I need (snapshots, resizing logical volumes (API is defined
> but not implemented), ...). I can't find any road-map or document
> with plans for the API (only the v1 document at
> http://fedoraproject.org/wiki/LVM/liblvm ).
> 
> Is the API still under active development, and are new features
> added?

The API is getting some attention.  Current plan is to add feature
parity python bindings to API (patches pending) and then add features to
the API.  Some of the initial planned improvements include:

- PV (create/resize/remove/enumerate & query)
- VG (activate/deactivate)
- LV (Ability to enumerate information directly without enumerating VGs
  first)
- Dry run feature,  the ability to do multiple changes while checking
  for errors and examine the end resulting end configuration before
  applying changes

The long term goal is to achieve feature parity with the command line.

> I rather use a stable API instead of wrapping around CLI commands,
> but mixing the two to use the functionality the API is missing
> doesn't seem a smart option to me.

We agree.

Regards,
Tony

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-03 14:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-02  9:42 [linux-lvm] LVM2APP still under active development? Bram Klein Gunnewiek
2012-10-03 14:36 ` Tony Asleson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).