From 2db03371259afc730babf150496df2edc1170466 Mon Sep 17 00:00:00 2001 From: Goutham Pacha Ravi Date: Mon, 6 Apr 2020 15:56:40 -0700 Subject: [PATCH] Add support for API version 2.38 This allows users to add ipv6 access rules to their shares. Partial-Bug: #1823078 Change-Id: I3523a60b71cbacdec154552638e0f695d67199d3 Signed-off-by: Goutham Pacha Ravi --- manila_ui/api/manila.py | 2 +- .../dashboards/project/shares/templates/shares/_rule_add.html | 2 +- .../allow-access-to-ipv6-clients-2.38-154d308ec87bfb73.yaml | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 releasenotes/notes/allow-access-to-ipv6-clients-2.38-154d308ec87bfb73.yaml diff --git a/manila_ui/api/manila.py b/manila_ui/api/manila.py index cef2e1d6..ba424e92 100644 --- a/manila_ui/api/manila.py +++ b/manila_ui/api/manila.py @@ -29,7 +29,7 @@ from manilaclient import client as manila_client LOG = logging.getLogger(__name__) MANILA_UI_USER_AGENT_REPR = "manila_ui_plugin_for_horizon" -MANILA_VERSION = "2.34" +MANILA_VERSION = "2.38" MANILA_SERVICE_TYPE = "sharev2" # API static values diff --git a/manila_ui/dashboards/project/shares/templates/shares/_rule_add.html b/manila_ui/dashboards/project/shares/templates/shares/_rule_add.html index 623c89c4..f476f8d8 100644 --- a/manila_ui/dashboards/project/shares/templates/shares/_rule_add.html +++ b/manila_ui/dashboards/project/shares/templates/shares/_rule_add.html @@ -3,7 +3,7 @@ {% block modal-body-right %}

{% trans "Description" %}:

{% blocktrans trimmed %} - Add policy rule to share, 'ip' rule represents ipv4 address, + Add policy rule to share, 'ip' rule represents IPv4 or IPv6 address, 'user' rule represents username or usergroup, 'cephx' rule represents ceph auth ID. {% endblocktrans %}

diff --git a/releasenotes/notes/allow-access-to-ipv6-clients-2.38-154d308ec87bfb73.yaml b/releasenotes/notes/allow-access-to-ipv6-clients-2.38-154d308ec87bfb73.yaml new file mode 100644 index 00000000..1a01125f --- /dev/null +++ b/releasenotes/notes/allow-access-to-ipv6-clients-2.38-154d308ec87bfb73.yaml @@ -0,0 +1,4 @@ +--- +features: + - | + IPv6 access rules can now be added to shares.