670 Commits

Author SHA1 Message Date
Rob Cresswell
de5bc4b46b Update and merge the install / deployment docs
These two documents were incredibly outdated, but also had almost
identical concerns. This patch updates the content and merges the two
documents.

Note that this guide is still separate to the quickstart guide, which is
intended for developers. In future patches in this blueprint, the file &
navigation structure will be altered to make this distinction more
clear.

Change-Id: Ic5d111d53ab69a3cd1ab08c4c05b2d676e79258c
Implements: blueprint pike-docs-overhaul
2017-06-15 10:40:24 +01:00
Jenkins
53a16f6624 Merge "doc: better formatting of TOC in sidebar" 2017-06-15 09:24:07 +00:00
Akihiro Motoki
02e91c7581 doc: better formatting of TOC in sidebar
After switching openstackdocstheme, TOC in the left sidebar becomes long.
This is because openstackdocstheme treats the first level of 'doctree'
in the top page (index.rst). In Horizon documentation, many documents
are listed as the first level, so the sidebar is long.

This commit adds index.rst per topic and merges all toctree
under the developer docs into a single toctree.
This will lead to the well-organized toc tree in the sidebar.
(Note that this does not touch "Using Horizon" part as it is being
refactored in https://review.openstack.org/#/c/473932/.)

The title level of "Packaging Horizon" in topics/packaging.rst is
changed to the second level because openstackdocthemes assume
only one first-level title per file and the second first-level title
or later are not displayed in a rendered page.

Implements: blueprint pike-docs-overhaul
Change-Id: I16e2bae18d8f67716c9838094a39527cd8bf733e
2017-06-15 12:08:05 +09:00
Rob Cresswell
7ce250f2c3 Fix the CLI symbol in the quickstart doc
The CLI propmpt symbol in the updated doc was changed to #, which
implies root. Lets not encourage people to run a bunch of things as
root. This patch reverts it to $

Change-Id: Iac7343e676cc58b79e7328cdbad1652f98da0ecf
Implements: blueprint pike-docs-overhaul
2017-06-14 17:07:11 +01:00
Vu Cong Tuan
456e92dbe5 Fix html_last_updated_fmt for Python3
html_last_updated_fmt option is interpreted as a
byte string in python3, causing Sphinx build to break.
This patch makes it utf-8 string.

Changing Popen to .check_output because of 3 reasons:
1. check_output() will raise CalledProcessError if
the called process returns a non-zero return code.
2. For consistency with keystone [1] and cinder [2]
3. It makes the code look much better.

[1] https://review.openstack.org/#/c/457142/
[2] https://review.openstack.org/#/c/433081

Change-Id: Ia6721b3b2bdf8427e8c42b4f056f5fcb7c4b73ee
2017-06-12 09:33:39 +07:00
Jenkins
76bd8402f1 Merge "Update example local.conf" 2017-06-10 12:35:30 +00:00
Jenkins
e739837ea6 Merge "Update the quickstart guide" 2017-06-10 12:35:23 +00:00
Rob Cresswell
fd7a2dcee6 Update example local.conf
Update the example local.conf with a couple of useful options, and
remove plugins that are no longer part of the Horizon tree.

Change-Id: I5a4de7041fdf821b480d1fe34cf9423441390d91
Implements: blueprint pike-docs-overhaul
2017-06-08 20:52:37 +00:00
Rob Cresswell
6eb8394213 Update the quickstart guide
This patch is the first in a series improving Horizons documentation. It
aims to make the initial quick start section clearer, updates the
information to remove some redundant information, and updates the
appearance to match the rest of the openstack docs.

Change-Id: I942e62b6c2c272dc2b5c91bca42c77677bb4e09d
Implements: blueprint pike-docs-overhaul
2017-06-08 21:01:37 +01:00
Jenkins
8ecb9c141b Merge "Extended description of OPENSTACK_HOST setting" 2017-06-08 19:15:18 +00:00
Mohammed Naser
d734f482ec Add config for default create volume option
This patch adds the ability to configure the default "create volume"
value when launching an instance with Cinder enabled.

Co-Authored-By: Rob Cresswell <robert.cresswell@outlook.com>

Closes-Bug: 1678109
Change-Id: I272f7f1b20cc1276976c464a82d1776de92d17e7
2017-06-06 15:38:45 +02:00
Akihiro Motoki
117cec9b54 doc: Ignore warnings from dashboard build in the doc build
There is no need to catch warnings from openstack_dashboard.settings
in the doc build job. This might be a bug of a recent Sphinx 1.6.x,
but I think it is useful to have this setting to avoid unexpected failures.

Change-Id: I9894622ba0f5fbb74e9dac016ed76ac9e3c2f733
2017-06-01 02:41:36 +00:00
Eddie Ramirez
fc60a5f53d Extended description of OPENSTACK_HOST setting
This change extends the description of OPENSTACK_HOST, now including
references to other settings that explain how to setup multiple region in
Horizon.

Change-Id: Id079cae5767159ff8d2ff8b854ab218db1fbdd79
2017-05-19 12:03:52 +00:00
Jenkins
071ba2cb08 Merge "Drop deprecated settings: enable_firewall and enable_vpn" 2017-05-18 14:34:52 +00:00
Jenkins
a31aa072a3 Merge "operation_log: Expose IP address of the user" 2017-05-18 09:48:00 +00:00
Ying Zuo
3cb953e1c7 Update documentation for Theme Preview panel
The enabled files for the Developer dashboard and Theme Preview
panel have been moved to contrib.

Added the step for copying enabled files to the local folder.

Change-Id: I3182aafd86e1ed1ba610d4b11bed81f8a65eb0e3
Closes-bug: #1691291
2017-05-16 16:38:02 -07:00
Mateusz Kowalski
605a34376a operation_log: Expose IP address of the user
IP address is now included in the default format
as %(client_ip)s what fully covers auditing
use case for this log.

Change-Id: I226f268b0eac6e35021b3e86aef512108ddb5691
Closes-Bug: #1688484
2017-05-05 09:57:05 +02:00
Ying Zuo
78ccc9a68a Remove the invalid example of floating IPs tab from doc
The floating IPs tab on access and security panel was moved to
its own panel in Ocata.

Replaced the example of disabling floating IPs tab with an example
to disable the orchestration services tab.

Change-Id: Ibba5834b17a116f16b761c495732928b103b7324
Closes-bug: #1688147
2017-05-04 16:48:27 -07:00
Akihiro Motoki
53a5164d82 Drop deprecated settings: enable_firewall and enable_vpn
enable_firewall and enable_vpn settings have been deprecated
since Juno release, but they have not been dropped yet just because
we need a lot of changes in unit tests if dropped.

The situation is resolved by the parent commit and we can now drop these
settings safely. We can control whether a specific panel should be
enabled or disabled via the pluggable panel mechanism ("enabled" dir).

Also clean up enable_lb which has gone several releases ago.

Closes-Bug: #1687185
Change-Id: I83fa48c5d9568a00294be7cd5f43ef181bc1f28d
2017-04-29 11:51:24 +00:00
yfzhao
8b8d91df60 Drop py34 target in tox.ini and setup.cfg
We support py35 now. We do not have python 3.4 in setup.cfg which
declares the explicit supported versions. so it is no need to keep
 the supoort for py34.

Change-Id: I8a2176e020714a1577573f1453ce1892706b36e4
2017-04-20 10:44:18 +08:00
Tyr Johanson
eb38ac80f7 Update Network Port VNIC Types
Update the VNIC type list shown by Horizon to match the options
supported by neutronclient.

See neutronclient/tests/unit/test_cli20_port.py

Closes-Bug: 1681917
Change-Id: Ifbe81a3a3b5f2edc9c0b8a0129d780546119a92e
2017-04-11 12:50:58 -07:00
Monty Taylor
6d315598aa Add support for downloading clouds.yaml files
python-openstackclient, shade, openstacksdk and Ansible's OpenStack
modules all support reading client config information from a file called
clouds.yaml instead of from environment variables set from openrc files.
Unfortunately, the only thing horizon currently offers for download is
old-style openrc files.

Add support for downloading clouds.yaml files.

Change-Id: I0611dd44524b746ad993bff7435ec8628a83a762
2017-04-06 17:16:55 +00:00
Rob Cresswell
24e52a8765 Add Microversion support to Horizon
This patch adds microversion support to Horizon, as well as
documentation, service references, tests and an example.

Implements: blueprint microversion-support
Change-Id: Ic5aa559dbc13aa84d8e4a14b68f26f5d84183fa9
2017-03-27 17:24:23 +02:00
Jenkins
8738c6db72 Merge "Remove all remaining vendor specific code" 2017-03-27 05:11:11 +00:00
Akihiro Motoki
5e72b2b241 doc: Document py27 test target
Previously we mentioned py27djXX but py27 was not described.

Also add how to run a specific test class or a specific test
in a test class.

Change-Id: If442c29c0fcd9bef207cbda7212a8f1c4b8340d4
2017-03-24 20:15:40 +00:00
Jenkins
1a0206d77e Merge "Update plugin registry links" 2017-03-24 04:57:13 +00:00
lingyongxu
34e56199db Drop py34 target in tox.ini
Change-Id: Ic2c7016344ec3be49e52bcdf0db6da2ccb58f4f7
2017-03-23 20:52:41 +08:00
Rob Cresswell
a8f17150bf Remove all remaining vendor specific code
There's some vendor specific code still lingering from several cycles
ago. This patch removes all usage of it, all related tests, and all
default settings.

Implements: blueprint horizon-vendor-split
Change-Id: Ic0bb84f547b07b130480e587bd365f6e7805dfb5
2017-03-22 20:23:12 +00:00
Akihiro Motoki
6bf5154028 Update plugin registry links
Change-Id: Ia3a2f9751fe773658ae4c5b13ec974fe89683253
2017-03-20 12:47:45 +00:00
Kenji Ishii
00173dc3c8 Use ThemableSelectWidget for themable
Some places are not using ThemableSelectWidget, so
these select ui is not themable. This patch fix it.

Change-Id: I303a9cf8c6f8f651edf68973a2f5e16a8b04b26d
Closes-bug: #1669696
2017-03-14 12:47:56 +00:00
Ying Zuo
31f4aa9767 Provide available physical networks on create network modal
Added setting physical_networks to provide users list of
available physical networks to choose from on the
admin create network modal.

Default to an empty list and the physical network field is
a regular input field where users can type in the name
of the physical network to be used.

If it's set to a list of physical network names, the
physical network field is a dropdown menu where users can
choose a physical network to use.

Closes-bug: #1485144

Change-Id: I342b3776a52179d5b4a704fb984912878ff3dc81
2017-03-10 08:56:52 -08:00
Jenkins
a7821f45b8 Merge "Amended testing documentation" 2017-03-02 20:17:47 +00:00
Jenkins
5ca95a3c5f Merge "Fix doc confusion around AVAILABLE_REGIONS/OPENSTACK_KEYSTONE_URL" 2017-02-28 12:22:55 +00:00
Beth Elwell
e721550e06 Amended testing documentation
Added documentation for Jasmine break points and how to check why
tests fail minimum threshold. Also removed irrelevant python test
documentation.

Change-Id: Idf3b4bf74aaf4712a13c3c3e4c6f0880457f78d8
2017-02-28 12:02:32 +00:00
Jenkins
8ead7a8bc4 Merge "Typo: Fix a typo on contributing doc page" 2017-02-27 03:57:26 +00:00
Lucas H. Xu
1dde2b8e3b Typo: repeated command for tox selenium
Change-Id: Ie08fadcc656cfced456f962007e0525739e210f2
2017-02-24 15:56:00 -05:00
Lucas H. Xu
1abdeeb027 Typo: Fix a typo on contributing doc page
Change-Id: I6439ecb75cb39216203f3f91155bf47026029836
2017-02-24 13:32:27 -05:00
Richard Jones
4c03d5cf9a Fix doc confusion around AVAILABLE_REGIONS/OPENSTACK_KEYSTONE_URL
The docs erroneously indicate that OPENSTACK_KEYSTONE_URL should not
be set when AVAILABLE_REGIONS is used, but it actually should be.

Change-Id: I2bd55b1c7e41c14a2624aadd8d32acdae5753839
Closes-Bug: 1667557
2017-02-24 15:20:02 +11:00
Jenkins
4e0bd42d46 Merge "Tidy up the Profiler docs" 2017-02-21 04:58:36 +00:00
yuhui_inspur
f8bc0d65cd Fix some annotation errors
Change-Id: Ib3f08c079b29c9ad0e3c41697da6744b9c17e1e6
2017-02-15 00:37:45 +00:00
Rob Cresswell
4f487b7cb9 Tidy up the Profiler docs
This patch fixes the auto enumerated formatting for the profiler setup
steps, as well as cleaning up some of the text formatting and language.

Change-Id: I4a7f109e87a274ab85d67e6691a53a085c16f04f
Closes-bug: 1664500
2017-02-14 10:36:54 +00:00
Jenkins
90abe58378 Merge "Add description of Horizon's Core Team" 2017-02-08 12:01:06 +00:00
Jenkins
c37797faf0 Merge "Add step to bump global-requirements for xstatic" 2017-02-08 11:57:37 +00:00
Richard Jones
12d769b203 Add step to bump global-requirements for xstatic
Change-Id: I2cdeecbcc309f74745665fd077f2ac66c536fdb7
2017-02-08 12:01:32 +11:00
Eric Brown
8f01b2cb0e Fix the awkward English in description for extra info
The description for the PROJECT_TABLE_EXTRA_INFO and
USER_TABLE_EXTRA_INFO settings makes no sense. This patch cleans
up the English to describe how to use these settings.

Change-Id: I6e14889a1dc8b3e4b242b6649847761084500c08
2017-02-05 17:22:01 -08:00
Jenkins
cb2ccc22ff Merge "Nit: Fix the typo in ref/tables.rst" 2017-02-04 00:40:44 +00:00
milan potdar
d95b3a84bf Nit: Fix the typo in ref/tables.rst
Corrects typo in tables.rst.
Changed: table- -> table-level

Change-Id: I230a8caf24bf3d204dbd3f32d3e4524fa7b88c3b
2017-01-31 21:59:56 +00:00
Revon Mathews
6cc7d0b13e Fixes typo in syntax of DataTables row_actions
Replaces the '-' with '=' in the line listing row_actions for the
DataTale.

Change-Id: Id5c6bdee0695e3db7b021bbf899f7ebcabe55fd5
2017-01-31 15:23:21 -06:00
Jenkins
8dfa7d7297 Merge "Configuring number of apache processes" 2017-01-30 17:11:55 +00:00
Jenkins
c39ea1176f Merge "Update customizing.rst with a how to use the NG registry" 2017-01-27 09:35:15 +00:00