The document discusses the OpenStack dashboard (Horizon). It explains that Horizon provides a unified web interface for interacting with OpenStack APIs. As a client, Horizon delegates all operations to the OpenStack APIs. It also describes customizing Horizon through themes, Python modules, and adding custom dashboards. The document demonstrates navigating the principal views in Horizon to manage projects, users, instances, images and other cloud resources.
The document discusses the OpenStack dashboard (Horizon). It explains that Horizon provides a unified web interface for interacting with OpenStack APIs. As a client, Horizon delegates all operations to the OpenStack APIs. It also describes customizing Horizon through themes, Python modules, and adding custom dashboards. The document demonstrates navigating the principal views in Horizon to manage projects, users, instances, images and other cloud resources.
The document discusses the OpenStack dashboard (Horizon). It explains that Horizon provides a unified web interface for interacting with OpenStack APIs. As a client, Horizon delegates all operations to the OpenStack APIs. It also describes customizing Horizon through themes, Python modules, and adding custom dashboards. The document demonstrates navigating the principal views in Horizon to manage projects, users, instances, images and other cloud resources.
Upon completion of this module, you should be able
to: • Navigate the OpenStack dashboard principal views • Explain the relationship between the dashboard and the OpenStack APIs • Understand the UI customization paths for OpenStack
EMC CONFIDENTIAL—INTERNAL USE ONLY 2
BASIC CONCEPT: GUI AS API CLIENT • Horizon dashboard is a unified web HTTP client for OpenStack • Typically deployed as part of the cloud, Horizon but theoretically could be anywhere • All operations delegated to OpenStack HTTP APIs, e.g. authentication via Keystone Service APIs API • Stateless – all displayed data retrieved API API API from OpenStack APIs • Config option to support management of multiple OpenStack regions from single GUI (AVAILABLE_REGIONS)
EMC CONFIDENTIAL—INTERNAL USE ONLY 3
BASIC CONCEPT: ADMIN & USER VIEWS Admin User Manage projects and users, volume types, Manage instances, volumes, snapshots, images, instance flavors, quotas, etc. keypairs, security groups, networks, etc.
EMC CONFIDENTIAL—INTERNAL USE ONLY 4
KEY SERVICE OPERATIONS • Exposes most basic management functions for users and cloud admins – Instance Management – Image Management – Network Management – Block Storage Management – Object Storage Management – Security & Access Management – Identity Management • Also displays basic service health status and resource usage metrics • Does not necessarily expose all API functions for cloud services – not a full CLI replacement (ex. Ceilometer) EMC CONFIDENTIAL—INTERNAL USE ONLY 5 SERVICE ARCHITECTURE • Horizon provides a registration pattern for projects to plug dashboards into HTTP • Implemented using Python Django MVC web framework, deployed as WSGI application httpd2 • Typically deployed in Apache2 running mod_wsgi mod_wsgi • Discovers available services in Keystone catalog and loads relevant dashboards • Recommended to deploy requiring secure connections (HTTPS), but up to deployer to configure EMC CONFIDENTIAL—INTERNAL USE ONLY 6 CUSTOMIZATION OPTIONS • Kilo added theme support to change colors and styles simply via SCSS – Ex. Changing site logo
• Custom Python modules can be used
to alter dashboards – Register/unregister panels – Change panel names – Reorder panels
• Can also add custom stylesheets,
Javascript, and meta attributes • Could also add own custom dashboards or combine with custom Django applications