Heyo,

I think the Quantum GUI might be best implemented using the new plugable app 
system I've been working on for allowing pluggable django applications for 
openstack-dashboard. Basically the idea is that you should be able to write 
your own modules/plugins/extensions (whatever they're called) which are 
automatically detected and added to the dashboard navigation when you add them 
to INSTALLED_APPS in django's settings.py

If you're interested checking things out you should grab this branch 
https://github.com/cloudbuilders/openstack-dashboard/tree/modules and give 
things a test run. The plugin system is currently living in its own branch but 
is proposed for merging and there are just a few code cleanup things that need 
to be done before it gets put into the main openstack-dashboard repo.

I've created a sample application to illustrate how you can use the new system 
to hook into openstack-dashboard named Nixon, you can view the sample code 
here: https://github.com/cloudbuilders/nixon

If you take a look at the readme it describes how to hook your application into 
the dashboard by modifying settings in the __init__.py file. The only things 
that are different from standard django apps is that currently you need to 
manually specify what links and text you want to be added into the sidebar 
navigation. 

__

If you have any questions/feedback, feel free to ping me.

Jake Dahn
j...@ansolabs.com

irc.freenode.net: jakedahn
on the twitter: @jakedahn


On Aug 9, 2011, at 3:52 PM, Devin Carlen wrote:

> I think we should focus on using the existing modularity mechanisms inside 
> this project, at least in terms of the dashboard integration.  The Rackspace 
> Cloudbuilders team has been improving some of the extensibility mechanisms 
> and have provided some examples.  I've added Jake Dahn to this thread so he 
> can go into some more detail about how it works.
> 
> With respect to using quantum separately, I think that the project structure 
> is strongly coupled enough to say that there isn't much value here.  To be 
> clear, a general python API around quantum is of course valuable, but trying 
> to generalize the django components around quantum is probably going to cause 
> more problems than it solves.
> 
> To that end I for one would much prefer to see the quantum support refactored 
> as a submodule instead of a top level django-quantum project.
> 
> Happy to help or answer any questions about this.  I saw the updated 
> screenshots today and things are looking great!
> 
> Best,
> 
> 
> Devin
> 
> 
> On Aug 8, 2011, at 2:22 PM, Arvind Somya wrote:
> 
>> Hey Devin
>> 
>> The integration is nearly complete, I'm just working on the final bits to 
>> attach/detach ports from nova instances.
>> 
>> I did start out similar to the swift container code in the dashboard with my 
>> views and controllers within the django_openstack module but halfway through 
>> I changed my mind and moved them to a separate module.
>> 
>> I thought since Quantum is a project that can also be used outside 
>> openstack, it might be nice to have a separate module that provides all the 
>> basic views and operations without depending on nova. The templates are also 
>> contained within django-quantum so publishing a django-quantum egg should 
>> enable any other nova/non-nova clients to reuse the views.
>> 
>> I'm fairly new to Django/Buildout and I could be totally wrong on the 
>> approach. Should I roll up everything into django-openstack? Please let me 
>> know the potential pitfalls/ shortcomings of my approach.
>> 
>> Thanks
>> Arvind
>> 
>> On 08/08/2011 04:45 PM, Devin Carlen wrote:
>>> 
>>> Hey Dan,
>>> 
>>> Thanks for the link!  I'm excited to see that support for Quantum is being 
>>> added to Dashboard.  I did notice that a new module called django-quantum 
>>> is added, but there is a slightly cleaner way to accomplish this without 
>>> having to create a new top level module.  I recommend looking at how we 
>>> integrated Swift support recently. 
>>> 
>>> Let me know if you guys have any questions about the integration.  I'm 
>>> available to help!
>>> 
>>> 
>>> Best,
>>> 
>>> Devin
>>> 
>>> On Aug 8, 2011, at 11:39 AM, Dan Wendlandt wrote:
>>> 
>>>> Hi Devin, 
>>>> 
>>>> Here's the pointer to the existing Quantum dashboard blueprint:  
>>>> https://blueprints.launchpad.net/quantum/+spec/quantum-client-gui
>>>> 
>>>> Mark Voelker's team at Cisco has been taking the lead on this and can 
>>>> provide you with more details. Its currently targeted for Diablo-4. 
>>>> 
>>>> CC'ing the netstack list in case an impromptu design discussion ensures :) 
>>>> 
>>>> Dan
>>>> 
>>>> 
>>>> -- 
>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>> Dan Wendlandt 
>>>> Nicira Networks, Inc. 
>>>> www.nicira.com | www.openvswitch.org
>>>> Sr. Product Manager 
>>>> cell: 650-906-2650
>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>> 
>>> 
>> 
> 

-- 
Mailing list: https://launchpad.net/~netstack
Post to     : netstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~netstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to