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
Volume type extra specs may not contain ‘volume_backend_name’,
it should be judged before getting it.
Change-Id: I5dbc0636ba1c949df569acbbfc8a0879f7a76992
Closes-Bug: #1681073
They all missing the correct title before "- OpenStack Dashboard"
since used the wrong variable.
Change-Id: Ic03ee11a4492ca2084078faef7dc1f0253b3b9eb
Closes-Bug: #1680840
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
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
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
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
There is an error in path of admin snapshot.
This patch corrects the redirect url.
Change-Id: I5dbc055a61290fbdd177a716e6df93efce412d4d
Closes-Bug: 1678361
If exception arise, it will be raised and the following
code will not be executed.
Change-Id: I05eef22d6baeeeb616e44e2ab9c5fa2f4e14b8a4
Closes-Bug: 1678351
As far as I see, here is only the place missing the
correct title before "- OpenStack Dashboard"
Change-Id: I209a2b829ff4b66557a63f3659859a7b281ad629
Closes-Bug: #1677973
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
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
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
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
This patch adds microversion support to Horizon, as well as
documentation, service references, tests and an example.
Implements: blueprint microversion-support
Change-Id: Ic5aa559dbc13aa84d8e4a14b68f26f5d84183fa9
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
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
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
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
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
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
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
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