
self.volumes from nova test data is used as return values of cinder API wrapper mock. Nova test data is based on novaclient.v2.volumes.Volume class. This is not correct. They should be based on cinderclient Volume class. This commit changes to use cinder test data for return values of openstack_dashboard.api.cinder mock. 'bootable' attribute is required, so it is added to cinder_data. This confusion comes from the naming of self.volumes. This commit renames self.volumes to self.nova_volumes to avoid further confusions. Note that api.nova.instance_volumes_list() calls get_server_volumes from novaclient and it is correct to use self.nova_volumes. Change-Id: I9c431dbb03f90bab84a4a6a3e3ea8fd5a5498b5b
Horizon (OpenStack Dashboard)
Horizon is a Django-based project aimed at providing a complete
OpenStack Dashboard along with an extensible framework for building new
dashboards from reusable components. The
openstack_dashboard
module is a reference implementation of
a Django site that uses the horizon
app to provide
web-based interactions with the various OpenStack projects.
- Project documentation: https://docs.openstack.org/horizon/latest/
- Release management: https://launchpad.net/horizon
- Blueprints and feature specifications: https://blueprints.launchpad.net/horizon
- Issue tracking: https://bugs.launchpad.net/horizon
- Release notes: https://docs.openstack.org/releasenotes/horizon/
Using Horizon
See doc/source/install/index.rst
about how to install
Horizon in your OpenStack setup. It describes the example steps and has
pointers for more detailed settings and configurations.
It is also available at Installation Guide.
Getting Started for Developers
doc/source/quickstart.rst
or Quickstart
Guide describes how to setup Horizon development environment and
start development.
Building Contributor Documentation
This documentation is written by contributors, for contributors.
The source is maintained in the doc/source
directory
using reStructuredText and
built by Sphinx
To build the docs, use:
$ tox -e docs
Results are in the doc/build/html
directory