Ask Your Question
0

How horizon dashboard (icehouse )internally fetch the data using AngularJS

asked 2015-04-10 03:19:47 -0600

neelabhsingh gravatar image

updated 2015-04-14 03:33:30 -0600

I am New to Open stack. Presently I am try to understand how horizon dashboard (icehouse ) internally fetch the data using AngularJS. For example the instance panel under Compute DashBoard.How the Instance Name, Image Name, IPAddress, Availability etc fetched from the database.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-04-13 10:42:07 -0600

david-lyle gravatar image

OpenStack Dashboard is moving to utilizing AngularJS, but most views (including the instances view) in OpenStack Dashboard are generated server side with Django. Unlike most Django, instead of pulling the data from a local database, all data is pulled from the other OpenStack services via an API wrapper layer.

In the Horizon source tree, the python files where the API calls are handled is openstack_dashboard/api

edit flag offensive delete link more

Comments

@david-lyle, Thanks for your replay. could you give some example where we are using angularjs for fetching the data using service api in icehouse openstack version.

neelabhsingh gravatar imageneelabhsingh ( 2015-04-14 00:34:43 -0600 )edit

There are no examples in Icehouse. You would have to look at the Kilo code to see an example. There is an entirely new Launch Instance workflow that uses angularJS. It is slated as experimental for Kilo, but it's in tree.

david-lyle gravatar imagedavid-lyle ( 2015-04-24 13:58:02 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-04-10 03:19:47 -0600

Seen: 318 times

Last updated: Apr 14 '15