[Ovirt-devel] PATCH: constrain storage_pool to avoid duplicate targets

steve linabery slinabery at gmail.com
Thu May 1 00:42:30 UTC 2008


Hi Ovirt,

This little patch attempts to do the following:
0) Add a flash notice when storage pool creation fails and redirect to
storage/show
1) Use validates_uniqueness_of in isci and nfs storage pool classes
2) Add a "FIXME" to storage/new.rhtml and storage/new2.rhtml so that
the tip will stop breaking my page flow :)

I think 1) is sufficient for avoiding both duplicate storage pool
targets as well as duplicate storage volumes, since afaict volumes are
only detected/created after pools.

Hope this helps,
Steve Linabery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: storage_pools.patch
Type: text/x-patch
Size: 2900 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20080430/781eb4d9/attachment.bin>


More information about the ovirt-devel mailing list