4367 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
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
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
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
Jenkins
24a4905f5e Merge "Update Horizon to use latest nova policy rules for validation" 2017-04-05 20:34:46 +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
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
c230569297 Merge "Add Microversion support to Horizon" 2017-03-30 21:29:26 +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
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
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
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
Jenkins
8738c6db72 Merge "Remove all remaining vendor specific code" 2017-03-27 05:11:11 +00:00
Jenkins
57b30f2ab4 Merge "Do not include HTML tags in blocktrans" 2017-03-27 03:33:51 +00:00
Jenkins
7f58276ca4 Merge "Use 'ID' rather 'id' to match our convention" 2017-03-25 17:43:07 +00:00
Akihiro Motoki
91d2f1ceaf Use 'ID' rather 'id' to match our convention
Filtering labels of VPNaaS table use 'id' rather 'ID'.
In horizon convetion, we use 'ID' instead.
This commit updates them to follow our convention.

Change-Id: Ibcbee5c8c2d1b3b3dd31d7a243809c341d9114a8
2017-03-25 15:00:02 +00:00
Akihiro Motoki
4e471a68a2 Do not include HTML tags in blocktrans
It is not a good idea to include HTML tags in blocktrans.
This confused translators and potentially leads to translation error.
In this case, there is no need to do so.

This commit moves HTML tags outside of blocktrans.

Change-Id: I6f45f1331de8fd5ca4b33f45b008f913dd325a13
2017-03-25 14:54:56 +00:00
Jenkins
e280fc812c Merge "Fix the bug in 'Delete Extra Spec'" 2017-03-24 20:18:49 +00:00
space
2e30dca2bc Fix the bug in 'Delete Extra Spec'
The cause is that ID of a single object is passed as the argument
so we need to convert it into an array (iterable) so that delete the
volume_type's extra spec return success.

Change-Id: I7d2225e5497748faf20345fd2579c359fff9f3fb
Closes-Bug: #1643417
2017-03-23 21:31:20 -04:00
Luis Daniel Castellanos
bed34722f3 Add server filters to NGusers & enable filter first
This patch adds server side filters to current NG users panel
it also enables the filter first functionality

Look at:https://review.openstack.org/#/c/427794/

Partially-Implements: blueprint ng-users
Implements: blueprint admin-views-filter-first

Change-Id: If0a5e2b38b1076387fd4eb7ff2c01fadb06badc3
Depends-on: Ieeedffbc621291251d50e7d8f254d3ce4def896c
2017-03-23 14:08:25 +00: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
Jenkins
f084006845 Merge "New input field with validation: MACAddressField" 2017-03-22 17:30:42 +00:00
Jenkins
da3abf8d0a Merge "get inappropriate information while failed to create host aggregates" 2017-03-22 11:31:47 +00:00
hanwei
09a9f97407 get inappropriate information while failed to create host aggregates
while creating a host aggregate named "test" with a host which belongs to
another host aggregate. I get error "Unable to create host aggregate
'Create Host Aggregate'." and "Error adding Hosts to the aggregate."
The name should be 'test' not 'Create Host Aggregate'. And the result is
that aggregate 'test' has been created successfully, so the return
information about creating aggregate should be successful.

Change-Id: I3acf9c659fc0cf7fbdac75bfa0864d8b92478cd2
Close-Bug: #1672914
2017-03-22 06:39:40 -04:00
Bence Romsics
9853a2edaa New input field with validation: MACAddressField
Plus refactor Allowed Address Pairs form to use it.

The new input field is introduced because a follow-up patch wants to use
MAC address input fields at multiple places and this seems more reusable
than a CharField with regex validation. This is also a bit more generic,
because it accepts multiple MAC address formats (all formats supported
by netaddr). Then normalize the MAC address to the most usual format.

Change-Id: Ie2cbfdfbfb46a50d71d325e42f7d614710c6df3b
Partially-Implements: blueprint neutron-trunk-ui
2017-03-22 18:57:30 +09:00
Jenkins
ccfa52fad1 Merge "Add charts to show volume quotas on Python launch instance modal" 2017-03-21 17:39:44 +00:00