12552 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
Jenkins
c88d5c1de3 Merge "Fix create consistency group form exception" 2017-04-10 16:49:20 +00:00
wei.ying
89bb926820 Fix create consistency group form exception
Volume type extra specs may not contain ‘volume_backend_name’,
it should be judged before getting it.

Change-Id: I5dbc0636ba1c949df569acbbfc8a0879f7a76992
Closes-Bug: #1681073
2017-04-10 22:07:19 +08:00
Jenkins
f4e14953d2 Merge "Imported Translations from Zanata" 2017-04-10 13:13:50 +00:00
Jenkins
1fe6f324fb Merge "Fix incorrect window title in admin snapshots and volume types" 2017-04-10 12:42:38 +00:00
wei.ying
038b991da7 Correct the word orchestation to orchestration
Heat policy rule key is orchestration.

Change-Id: Iad00116ff92247961283d3c5ad6c6c688ea58881
Closes-Bug: #1681163
2017-04-09 10:03:40 +08:00
OpenStack Proposal Bot
cdfe5ec285 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I6f9308705d6c5daf125b1836cf4a8ad5b1e19f7d
2017-04-08 08:40:47 +00:00
wei.ying
b9cc9fd414 Fix incorrect window title in admin snapshots and volume types
They all missing the correct title before "- OpenStack Dashboard"
since used the wrong variable.

Change-Id: Ic03ee11a4492ca2084078faef7dc1f0253b3b9eb
Closes-Bug: #1680840
2017-04-07 21:21:01 +08:00
Jenkins
8a8d3fb60e Merge "Fix edit consistency group form error" 2017-04-07 07:00:20 +00:00
Jenkins
87f1291de5 Merge "Fix the existence check in DataTable Column" 2017-04-07 06:45:03 +00:00
wei.ying
bfec680322 Fix edit consistency group form error
If cgroup old description is empty and also judge its length,
it will throw an error. We should first whether is empty.

Change-Id: Ic89232b22a3d4673b14115e65dd670dded26f0a1
Closes-Bug: 1680506
2017-04-07 10:01:25 +08:00
Jenkins
be7b10ca6f Merge "Add support for downloading clouds.yaml files" 2017-04-06 18:16:55 +00:00
Jenkins
92d0de7516 Merge "Fix edit qos spec form exception" 2017-04-06 17:46:10 +00: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
OpenStack Proposal Bot
41f4d9cff3 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Ic775cfe06b19dd9a704f7ab956774dfc8a5dfef4
2017-04-06 08:49:11 +00:00
Jenkins
24a4905f5e Merge "Update Horizon to use latest nova policy rules for validation" 2017-04-05 20:34:46 +00:00
Jenkins
4855834355 Merge "Add sem-ver flag so pbr generates correct version" 2017-04-05 16:50:25 +00:00
Emilien Macchi
4ea7bb5f0e Add sem-ver flag so pbr generates correct version
tl;dr : without this Ocata and Pike have the same version causing
packaging issues.


https://docs.openstack.org/developer/pbr/#version

Because projects don't push a tag before milestone 1 (pike-1 here),
downstream packages are still building packages by using the version
from Ocata and it causes problems to distros because they can't test
the upgrades from Ocata to Pike.

Bumping the semver will allow us to test packages upgrades.
Note: When your version is X.Y.Z, api-break will bump X, and feature
will bump Y. In this patch, we bump X because this is the way you
bump tags over releases.


Change-Id: I92b35a6666ec795689b4843bd83b7a038743aa14
Sem-Ver: api-break
2017-04-05 11:46:15 +00:00
Jenkins
21b25ed773 Merge "Update the access_and_security url" 2017-04-05 09:48:52 +00:00
wei.ying
2ee3f462ca Fix edit qos spec form exception
The Exception thrown because the given URL is not correct.
This patch adding the correct URL to edit the QoS spec,
Also add unit test to check template name and submit url.

Change-Id: I48b4c4f53ec97e6cdb0a4d8fc91c4c680a13e193
Closes-Bug: #1679436
2017-04-05 15:23:21 +08:00
zhurong
b1a9078404 Update the access_and_security url
Since this bp reorganise-access-and-security,
move access_and_security to separate panel,
there are some places url need to change too.

Closes-Bug: #1679895

Change-Id: I59560c479ad77d2452484b2138065a003451f376
2017-04-05 03:33:50 +00:00
OpenStack Proposal Bot
e5b0b6ee11 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Iccc58a5cd4086217f1e6d14d4a433bbcbf8631d5
2017-04-04 09:02:03 +00:00
Jenkins
689be59b4f Merge "Fix incorrect window title in Manage security group rule" 2017-04-03 08:07:49 +00:00
Jenkins
eeabd927e1 Merge "Allow any port or protocol in security group rules" 2017-04-03 03:00:28 +00:00
Jenkins
6a74c7b328 Merge "Fix volume redirect url error" 2017-04-02 09:20:31 +00:00
Jenkins
a12e3abfb5 Merge "Remove unnecessary raise" 2017-04-01 08:41:00 +00:00
wei.ying
18267614e6 Fix volume redirect url error
There is an error in path of admin snapshot.
This patch corrects the redirect url.

Change-Id: I5dbc055a61290fbdd177a716e6df93efce412d4d
Closes-Bug: 1678361
2017-04-01 05:39:34 +00:00
wei.ying
b741fe48f7 Remove unnecessary raise
If exception arise, it will be raised and the following
code will not be executed.

Change-Id: I05eef22d6baeeeb616e44e2ab9c5fa2f4e14b8a4
Closes-Bug: 1678351
2017-04-01 02:10:59 +00:00
Jenkins
8d5eafc957 Merge "Handle log message interpolation by the logger" 2017-03-31 13:28:44 +00:00
Gábor Antal
34a3aa0ba8 Handle log message interpolation by the logger
According to OpenStack Guideline[1], logged string message should be
interpolated by the logger.

[1]: http://docs.openstack.org/developer/oslo.i18n/guidelines.html#adding-variables-to-log-messages
Change-Id: I51f50935f1eeffe4960562d6309dfdf05814e595
Closes-Bug: #1596829
2017-03-31 20:59:16 +09:00
Kenji Ishii
76bdf040cc Fix incorrect window title in Manage security group rule
As far as I see, here is only the place missing the
correct title before "- OpenStack Dashboard"

Change-Id: I209a2b829ff4b66557a63f3659859a7b281ad629
Closes-Bug: #1677973
2017-03-31 06:59:44 +00:00
Jenkins
777e819597 Merge "Enable breadcrumbs for AngularIndexView" 2017-03-30 21:30:18 +00:00
Jenkins
c230569297 Merge "Add Microversion support to Horizon" 2017-03-30 21:29:26 +00:00
Jenkins
fcd2e212f5 Merge "Change a behavior of more actions dropdown" 2017-03-30 13:23:57 +00:00
Jenkins
a1121b022f Merge "Option to specify MAC address of port" 2017-03-30 09:55:32 +00:00
Bence Romsics
6df617c94f Option to specify MAC address of port
Enable display and manipulation of the MAC address of a port.

That is:
(1) Display MAC addresses in the ports tab of the networks panel.
    Note: Port detail shows the MAC address with or without this patch.
(2) Allow input of MAC address at port create in both project and admin
    dashboards.
(3) Allow input of MAC address at port update in admin dashboard only
    because by default MAC update is an admin-only operation in neutron
    (though this can be changed by policy configuration).

Change-Id: I60fb4921f08286d90469cd420261c7e600f5bc7c
Partially-Implements: blueprint neutron-trunk-ui
Closes-Bug: #1667778
2017-03-30 09:02:30 +00:00
Shu Muto
21e3d07644 Enable breadcrumbs for AngularIndexView
This patch enables breadcrumb navigation for panels using
horizon.browsers.views.AngularIndexView.

Change-Id: If6d100472e61c1cb00e18c56e25300b45d8a7098
Needed-By: Iae5edc9d370fbda20889a043a2574bd034170881
2017-03-29 11:47:52 +01:00
OpenStack Proposal Bot
d7057eda4e Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Ie902e1120f9530568264b40ababdbee8a16c237e
2017-03-29 09:21:56 +00:00
Jenkins
1e82305f18 Merge "Added Server-side filtering for swift UI" 2017-03-29 05:24:49 +00:00
Yves-Gwenael Bourhis
87337ff255 Allow any port or protocol in security group rules
Neutron allows setting port or protocol wildcard by not specifying any value
for them.

Example, these are allowed by neutron:

    neutron security-group-rule-create --direction egress <sgid>
    neutron security-group-rule-create --direction egress --protocol tcp <sgid>

Specifying '-1' for IP protocol means a wildcard IP protocol.
validate_ip_protocol is updated accordingly.

'All ports' choice is added to 'Open Port' field.

Change-Id: I4a7262eda89e3206c743fee14c78aa6b49308ce6
Closes-Bug: 1669467
2017-03-29 04:53:02 +00:00
Akihiro Motoki
343cbd19b5 Revert "Add the 'fade' class to Python modals, for animation"
After this commit, "Add Rule" in security group panel is not
setup properly and only a few fields are displayed.
I haven't identified the root cause but it looks better to
revert this commit and tackle the original problem again.

This reverts commit 8be1ec5e706b07b47f13b8c97c70327b25b09552.

Change-Id: I266484da68dd355082144889699dda299ab9f997
Closes-Bug: #1677064
Related-Bug: #1669450
2017-03-28 23:44:22 +00:00
OpenStack Proposal Bot
a3e28c1b6c Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Ifed1b5fc080927219b657a7cf4b0a4ce4849e3a9
2017-03-28 09:03:04 +00:00
Kenji Ishii
1f49ac5346 Sort service list in API Access
Currently, this order is the order of user.catalog_service and
this is not sorted. This patch sort that list by service type.

Change-Id: I7de8e6c349b947a960123d35c2c872a2e97ff72b
Closes-bug: #1676689
2017-03-28 02:06:49 +00:00
Jenkins
5f9e22f15b Merge "Change checking cinder v1 to check v2 in panels" 2017-03-27 22:04:38 +00:00
Lucas H. Xu
5ced2f87ef Change checking cinder v1 to check v2 in panels
In general, in the case where there is no cinder v1 endpoint created
(or deleted - use openstack service delete cinder to reproduce) certain
volume related menu entries are not displayed

This patch add a a new function to check cinder v2/v3 endpoints instead
of only checking the v1 endpoint in instance launch model.

Also, in the image panel, instead of checking v1 endpoint,
it should check v2 and v3 as well.

Change-Id: I642b2f62bb9502f958593c9fcad76e21ee1c80ad
Closes-Bug: #1670789
2017-03-27 16:29:14 -04: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
39eea5ce22 Merge "Disable port input when protocol is any or icmp for firewall" 2017-03-27 09:03:48 +00:00
Jenkins
2f8e2b7be9 Merge "Enable warning-on-error in Sphinx 1.5" 2017-03-27 08:29:41 +00:00
liyingjun
c23748cc26 Disable port input when protocol is any or icmp for firewall
There would be error if choose port with protocol icmp or any when
creating firewall rule. Disable port input when protocol is any
or icmp.

Change-Id: Ife971cfde418012e406b2ccd765792da005d6a9d
Closes-bug: #1663196
2017-03-27 14:09:58 +08:00
Jenkins
e3cd250a81 Merge "hacking: noqa cleanup in openstack_dashboard" 2017-03-27 05:11:18 +00:00