6c5898813c
This plugin moves the current content from the horizon repo to this plugin repo. The code has been tested in a devstack install using the following steps: 1. packaging the plugin: "python setup.cfg sdist" 2. pip installing the tar.gz in the resulting dist directory 3. a. (temporary step) remove existing sahara enabled files from horizon "rm openstack_dashboard/enabled/_18*.py" b. finding the install location and changing to it "cp sahara_dashboard/enabled/* /opt/stack/horizon/local/enabled" 4. in /opt/stack/horizon a. python manage.py collectstatic b. python manage.py compress 5. restarting the horizon server Additionally, you can run the unit tests by: ./run_tests.sh Note: added script to programmatically remove the old configuration files from the targeted horizon install, either in venv or system install. Known issues: 1. running tests locally emits missing neutron service messages. 2. plugin code for devstack needs to be added 3. README is inadequate 4. integration tests are still in horizon repo 5. local copy of run_tests is heavy weight, but a better solution is not available currently. 6. localization tooling and strings Change-Id: Icdce2d3e945e612d368556dd5cea1930194c7b67 |
||
---|---|---|
sahara_dashboard | ||
tools | ||
.gitignore | ||
.gitreview | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
manage.py | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
OpenStack Dashboard plugin for Sahara project
How to use:
Use pip to install the package on the server running Horizon. Then either copy or link the files in sahara_dashboard/enabled to openstack_dashboard/local/enabled. This step will cause the Horizon service to pick up the Sahara plugin when it starts.
To run unit tests:
./run_tests.sh
NOTE:
As of the Mitaka release, the dashboard for sahara is now maintained outside of the horzon codebase, in the repository.
Links:
Sahara project: https://github.com/openstack/sahara
Sahara at wiki.openstack.org: https://wiki.openstack.org/wiki/Sahara
Launchpad project: https://launchpad.net/sahara
Sahara docs site: http://docs.openstack.org/developer/sahara
Roadmap: https://wiki.openstack.org/wiki/Sahara/Roadmap
Quickstart guide: http://docs.openstack.org/developer/sahara/devref/quickstart.html
How to participate: http://docs.openstack.org/developer/sahara/devref/how_to_participate.html
License
Apache License Version 2.0 http://www.apache.org/licenses/LICENSE-2.0