Ask Your Question

How to integrate Swift functionalities in Horizon Dashboard [closed]

asked 2013-04-19 08:58:44 -0500

Leonardo Afonso gravatar image

updated 2013-04-19 11:31:03 -0500

smaffulli gravatar image

I'm newbie in development on horizon dashboard, but i studied for few weeks how to building on it.

I've been tried to put a table of devices in the ring on admin dashboard (or another dashboard), but i didn't found anything about how i can do it, only by command line on Swift direct on the bash, but i want show in the dashboard.

In Swift's documentation, there's a class named Ring, and a method named ge_nodes() that return a tuple with the devices, but is in the Swift All-in-one, external to the Horizon dashboard directory. I didn't found anything about integration to horizon and swift (although they already work together). And the api included on horizon dashboard don't support this.

the link to the file inside the swift :

the table that i want show:

Is there a way to generate this table or return a tuple?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by koolhead17
close date 2013-11-19 19:24:38.180195

3 answers

Sort by ยป oldest newest most voted

answered 2013-04-29 14:28:44 -0500

creiht gravatar image

There currently isn't a an api available for the ring data within swift. You could use the ring library directly, but would require that the horizon servers have access to the ring files, which would not be likely.

edit flag offensive delete link more

answered 2013-05-01 15:03:48 -0500

Adrian Smith gravatar image

updated 2013-05-01 15:04:51 -0500

This sounds like something the (recon) middleware could expose.

edit flag offensive delete link more

answered 2013-05-24 09:02:48 -0500

Leonardo Afonso gravatar image

I found a way return this, using a ssh connection with my proxy to execute a specific command and return its answer.

Thanks everybody!

edit flag offensive delete link more


what did you do to make this happen if you dont mind me asking

blazesurfer gravatar imageblazesurfer ( 2014-05-04 09:19:38 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-04-19 08:58:44 -0500

Seen: 1,757 times

Last updated: May 24 '13