惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

雷峰网
雷峰网
MongoDB | Blog
MongoDB | Blog
D
Docker
Martin Fowler
Martin Fowler
人人都是产品经理
人人都是产品经理
GbyAI
GbyAI
Jina AI
Jina AI
酷 壳 – CoolShell
酷 壳 – CoolShell
M
MIT News - Artificial intelligence
腾讯CDC
阮一峰的网络日志
阮一峰的网络日志
H
Hackread – Cybersecurity News, Data Breaches, AI and More
N
Netflix TechBlog - Medium
B
Blog RSS Feed
云风的 BLOG
云风的 BLOG
Blog — PlanetScale
Blog — PlanetScale
Vercel News
Vercel News
The Cloudflare Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
有赞技术团队
有赞技术团队
G
Google Developers Blog
Stack Overflow Blog
Stack Overflow Blog
I
InfoQ
U
Unit 42

OSU Open Source Lab

Data Center Migration Update and Fundraising Campaign | OSU Open Source Lab OSL Infrastructure Migration: A Move to Oregon's State Data Center | OSU Open Source Lab Featured: Strong support stabilizes funding for the Open Source Lab | OSU Open Source Lab We're Hiring: Join the OSU Open Source Lab as a Student Systems Engineer! | OSU Open Source Lab Forging Our Future: OSL's Path to Sustainability – A Call for Smart Solutions and Enduring Support | OSU Open Source Lab Future of OSL in Jeopardy | OSU Open Source Lab Now Providing Access to POWER10 for Open Source Projects | OSU Open Source Lab FTP Server Rebuild - March 2024 | OSU Open Source Lab On Leaving the Open Source Lab, Jonathan Frederick | OSU Open Source Lab Reflections on My Time at the Open Source Lab, Travis Whitehead | OSU Open Source Lab OSL Alumnus Matthew Johnson on working at Tesla | OSU Open Source Lab Hiring two DevOps student positions | OSU Open Source Lab TDS Telecom Support of OSU Open Source Lab Tops $5 Million | OSU Open Source Lab Goodbye Letter from Graduating Senior, Cody Holliday | OSU Open Source Lab Mohamed Eldebri on OSL's participation in the Corvallis Maker Fair | OSU Open Source Lab Cody Holliday on the Department of Energy Cyber Defense Competition 2018 | OSU Open Source Lab OSL's Cody Holliday Wins Regional DOE Cyber Defense Competition | OSU Open Source Lab OSL Alumnus Alex Plovi sells CoreOS to RedHat | OSU Open Source Lab Changing the World, One Line of Code at a Time | OSU Open Source Lab Jonathan Frederick on Packer Templates project at the OSL | OSU Open Source Lab Ganeti Production Rebuild - Dec 11-15 & 18-19, 2017 | OSU Open Source Lab Thank You for Supporting our Crowdfunding Campaign! | OSU Open Source Lab A Message from the Director | OSU Open Source Lab New Project: polr | OSU Open Source Lab Donate to Our Crowdfunding Campaign! | OSU Open Source Lab Cody Holliday on Why we should stop using C | OSU Open Source Lab Amanda Kelner on Graduating | OSU Open Source Lab Beaver BarCamp 17: New Horizons | OSU Open Source Lab New Project: libpng Now Mirrored on ftp.osuosl.org | OSU Open Source Lab Network Outage 2016-12-17 Post-mortem | OSU Open Source Lab
Openstack's Horizon | OSU Open Source Lab
2014-02-20 · via OSU Open Source Lab

by Melissa on Thu, Feb 20 2014

Openstack’s Horizon

The first tech post is by Chance Zibolski, a community system administrator and project lead of Ganeti Web Manager, a Web administration panel that allows administrators and clients access to administer and use Google’s open source cloud infrastructure.

Recently the OSU Open Source Lab has been experimenting with different technologies, in particular Openstack. We already use Ganeti as our production virtual machine and cluster management system and have written a web front end called Ganeti Web Manager. The whole purpose of the web manager is to allow us to easily create new virtual machines for internal purposes and to provide our customers with cheap, redundant VMs. Recently, the OSL released Ganeti Web Manager 0.10.2 and we’re getting close to finishing version 0.11. With this release, we’ve begun to discuss the future of Ganeti Web Manager and where we should be taking it. We’ve decided to eventually rewrite it. As the project lead of Ganeti Web Manager, it’s been my job to explore what tools and libraries we may want to use for new versions of the project.

This is what led me to Openstack. Recently, we deployed an Openstack test cluster in our infrastructure, and I found that its web UI (known as Horizon) provides a lot of awesome functionality to Openstack users. The dashboard provides a full interface to the existing Openstack CLI tools, and lets users create new VMs with a few clicks of a button, all using a web interface. I began to explore how we might be able to use Horizon in order to accomplish our rewrite. As I discovered on the Horizon GitHub page the project has already been mostly separated out from the Openstack dashboard and can be used as a general purpose dashboard library for Django. Horizon provides utilities from mapping Django models to interactive/editable tables to creating tabbed page layouts and multiple step modal windows for performing actions.

Openstack Screenshot

Openstack Horizon screenshot.

Utilizing the basic layout the pre-existing Openstack dashboard uses, I was able to create a working prototype of a Horizon dashboard that interfaces with a Ganeti cluster. (See the code here: https://github.com/osuosl/ganeti_horizon.) It doesn’t do much—other than read cluster data and display it—and so far it only has about three or four different pages created. Based on my testing, I think Horizon is an excellent way to begin with a Django-based dashboard, and we will likely use it in our rewrite.

If you will be writing a dashboard, I recommend taking a look at Horizon and seeing if it might fit your needs. At first it may seem like it’s built for a very specific use case, but you might be able to use it in your next dashboard project.