openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #10589
Re: db & notification support for API extension?
On Thu, Mar 8, 2012 at 11:53 AM, Andrew Bogott <abogott@xxxxxxxxxxxxx> wrote:
> I'm working on an API and implementation to support the creation of
> filesystems that are shared among Nova instances.
>
> http://wiki.openstack.org/SharedFS
>
> My hope is to keep this API isolated from core Nova code, partly to avoid
> stepping on toes and partly because I hope to be able to drop it into an
> existing essex install. There are two things I need which I know how to do
> within Nova but am not clear on how to do without modding Nova code:
>
> 1) DB support
>
> I need a database table to keep track of some filesystem metadata. My
> current implementation adds the table via nova/db/sqlalchemy/migrate_repo...
> but is it really necessary to coordinate this table with the rest of Nova?
> Would it be reasonable to maintain the table independently within the
> extension code? And, if so, are there any existing extensions that do
> something like this?
Have you determined a cleaner way of doing this? I have the same
issues as you when writing API extensions.
Nate
Follow ups
References