650 Commits

Author SHA1 Message Date
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
Rob Cresswell
939731183b Update default OpenStack branding across Horizon
This patch updates the OpenStack logos across Horizon to the newer
versions. It also uses SVG files instead of PNG, so that it scales
better.

Change-Id: Ief3661023332ed6777256d20a4dc865f6a51695f
Closes-Bug: 1637490
2017-01-25 10:15:11 +00:00
Yves-Gwenael Bourhis
600620a8d5 Configuring number of apache processes
By default apache spawns only one process for the wsgi app if not specified.
This patch detects the number of CPUS to configure n CPUs +1 processes by
default and allows to specify the number of processes explicitly.

Change-Id: I684ecd15193cef169d7a86f66a47b7d1d76c1c24
Closes-Bug: #1658048
2017-01-20 11:49:34 +01:00
Cindy Lu
e152d398ff New Identity NG Panels missing stuff in settings.py/rst
Newly added NG panels are missing some definitions
in settings.py and settings.rst

NG Domains default is not defined in settings.py
https://review.openstack.org/#/c/387771/

NG Roles default should be described in settings.rst
documentation
https://review.openstack.org/#/c/222825/

Change-Id: I0bddbf2c829467c2c1ea20d96124c66ec46c50b4
2017-01-17 15:39:49 -08:00
Jenkins
8962d7b8cc Merge "Adding identity domains table" 2017-01-16 15:54:19 +00:00
Kenji Ishii
cc94b0f202 Adding identity domains table
This patch adds the domain table to the identity domains panel
adn domain detail page.
Actions will be added in subsequent patches.

To test this patch, it needs to show domain panel and enable angular
feature for domain panel.

To show domain panel (after installing OpenStack with latest Devstack).
 - using backends except signed cookie as SESSION_ENGINE in local_settings.py.
   e.g memcached
----
CACHES = {
   'default': {
       'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
       'LOCATION': '127.0.0.1:11211',
   }
}
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
----

 - enable OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT in local_settings.py
----
OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True
----

After that, if admin user logged in, the user could see Domain panel and
could operate actions for domains like Create.

To test this patch, after above, set 'domains_panel': True in 'ANGULAR_FEATURES'.

Change-Id: Ib15e25a4cebe6de83f1c2f427490d5850d36b908
Partially-Implements: blueprint angularize-identity-tables
2017-01-12 13:55:46 +09:00
Jenkins
662b4118d3 Merge "Update settings docs with using ANGULAR_FEATURES for dev" 2017-01-06 17:58:16 +00:00
Mike Carden
fa09d908dc DOC Remove duplicated words
Remove a couple of accidental word duplications from the docs.

Change-Id: Ie4a6d23820bb1ece1347fa32dbc4e298db1c4485
2017-01-06 15:45:12 +11:00
Cao Xuan Hoang
ca69e6a114 Remove trailing backtick
This patch is removing a trailing backtick (`) from the
doc/source/contributing.rst and
doc/source/topics/settings.rst documents.

Change-Id: I9b50bf86765d6cccc1b34d9f1e4704211ff4d2be
2017-01-04 13:52:56 +07:00
Jenkins
9b297a00d1 Merge "Add Zun UI to Horizon Plugin Registry" 2017-01-04 00:10:58 +00:00
Huachao Mao
0de98e5993 fix wrong path in doc
Change-Id: I1f16bda22a67cee53b60677f9d4c09ae34a16c11
2016-12-30 16:44:32 +08:00
Kenji Ishii
87d307d622 Add Zun UI to Horizon Plugin Registry
Change-Id: I0f750520f15758b9a6cfaa0ad94b8995a5c5b375
2016-12-28 15:21:57 +09:00
zhangguoqing
7b29869e65 Fix syntax error with settings in doc
There is a missing ',' in the code block LAUNCH_INSTANCE_DEFAULTS.
Closes-bug: #1648014

Change-Id: Ie9bd36b380d58e35b63b197304a2e3e758f3fa70
2016-12-16 12:49:20 +00:00
Kenji Ishii
981ee96319 [trivial]Add support keys for OPENSTACK_NEUTRON_NETWORK in doc
OPENSTACK_NEUTRON_NETWORK supports a lot of keys.
Some of them are not in docs.

Change-Id: Iae770c20887b2960410616fb14c5ac02e656bd49
2016-12-08 17:01:27 +09:00
Jenkins
93b1cef050 Merge "Migrate Create Container to schema form" 2016-12-02 19:05:35 +00:00
Timur Sufiev
4ceeef5376 Add the Profiler panel to the Developer dashboard
Provide both pythonic Django part and the static assets (angular
directives and styles) for the new panel.

DEPLOY NOTES:

To enable panel itself, copy
openstack_dashboard/local/local_settings.d/_9030_profiler_settings.py.example
file from the previous commit to
openstack_dashboard/local/local_settings.d/_9030_profiler_settings.py
and copy openstack_dashboard/contrib/developer/enabled/_9030_profiler.py
to openstack_dashboard/local/enabled/_9030_profiler.py

To support storing profiler data on server-side, MongoDB cluster needs
to be installed on Devstack host (default configuration), see
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/#install-mongodb-community-edition
for instructions. Then, change net:bindIp: key to 0.0.0.0 inside
/etc/mongod.conf and invoke `sudo service mongod restart` for the
changes to have an effect.

Implements-blueprint: openstack-profiler-at-developer-dashboard
Change-Id: Ice7b8b4b4decad2c45a9edef3f3c4cc2ff759de4
2016-12-01 22:29:16 +03:00
Jenkins
6da0e2d281 Merge "Refactor tox & update docs" 2016-12-01 17:16:31 +00:00
Eddie Ramirez
a187ea14ec Update path of JS coverage reports
Current documentation states that coverage reports (Karma) are stored in a
directory that doesn't exist. This change proposes the valid path to the
coverage reports: cover/[horizon|openstack_dashboard]

Change-Id: Id8529e8e76bf1bba3293907d80e517c3248e302c
2016-12-01 00:51:51 +00:00
Rob Cresswell
36d1d1ac68 Refactor tox & update docs
- Updated tox envlist, so just running `tox` from the CLI will now run all
voting gate tests

- Reduce duplicated definitions and commands

- Remove any reliance on run_tests within tox

- Removes all doc references to run_tests.sh, and replaces them
with their tox equivalent. Where necessary, language around the tox
commands has been altered or extended so that it makes sense and is
consistent with other parts of the docs. Also adds a new "Test Environment"
list to the docs, so that newcomers do not have to piece together CLI
commands and their cryptic extensions from tox.ini

- Move the inline shell scripting to its own file. Also fixes a bug when
passing args, since the logic assumed you were attempting a subset test
run (try `tox -e py27 -- --pdb` on master to compare)

- Moved translation tooling from run_tests to manage.py, w/ help text
and arg restrictions. This is much more flexible so that plugins can use
it without having to copy commands, but still defaults to exactly the
same parameters/behaviour from run_tests. Docs updated appropriately.

- Removed npm/karma strange reliance on either .venv or tox/py27. Now
it only uses tox/npm.

Change-Id: I883f885bd424955d39ddcfde5ba396a88cfc041e
Implements: blueprint enhance-tox
Closes-Bug: 1638672
2016-11-30 20:38:59 +00:00
Cindy Lu
6585659162 Update settings docs with using ANGULAR_FEATURES for dev
Note in settings documentation (for upstream developers)
that from Newton forward, we should use the ANGULAR_FEATURES
setting instead of creating an enabled file like
_3031_identity_ng_users_panel.py...
and DISABLE-ing it there.

This makes sure we only display one service panel at a time
(either Django or Angular) and not both.

Change-Id: I120011ada793eeee92fd0871e6771d755a34d7f0
2016-11-30 12:21:50 -08:00
Richard Jones
9181305839 Note how to use local.conf in stable branches
Change-Id: I751a317d4ab279e1060f02510709c47fb47abbab
Closes-Bug: 1644677
2016-11-25 01:08:39 +00:00