summaryrefslogtreecommitdiff
path: root/releasenotes/notes/hitachi-vsp-add-hostgroup-name-format-option-4c8e4a5ddd69b9bd.yaml
diff options
context:
space:
mode:
authorAtsushi Kawai <atsushi.kawai.bu@hitachi.com>2023-02-17 18:19:20 +0000
committerAtsushi Kawai <atsushi.kawai.bu@hitachi.com>2023-02-17 18:36:14 +0000
commit5363d21d5799d410fedc28d7d598d7cb5d9565e2 (patch)
tree2b35e1e7ca6821b0b78135768955bdd2014844cd /releasenotes/notes/hitachi-vsp-add-hostgroup-name-format-option-4c8e4a5ddd69b9bd.yaml
parent5a3664ae2eb642c5e17351baefb0a2daf2b25635 (diff)
downloadcinder-5363d21d5799d410fedc28d7d598d7cb5d9565e2.tar.gz
Hitachi: add an option for host group name format
This patch is to add an configuration option which specifies hostgroup(or iSCSI target) name format. Implements: blueprint hitachi-vsp-add-hostgroup-name-format-option Change-Id: Icf3c8dc4ba2fd96cda01d778e3a49406fec3b9db
Diffstat (limited to 'releasenotes/notes/hitachi-vsp-add-hostgroup-name-format-option-4c8e4a5ddd69b9bd.yaml')
-rw-r--r--releasenotes/notes/hitachi-vsp-add-hostgroup-name-format-option-4c8e4a5ddd69b9bd.yaml53
1 files changed, 53 insertions, 0 deletions
diff --git a/releasenotes/notes/hitachi-vsp-add-hostgroup-name-format-option-4c8e4a5ddd69b9bd.yaml b/releasenotes/notes/hitachi-vsp-add-hostgroup-name-format-option-4c8e4a5ddd69b9bd.yaml
new file mode 100644
index 000000000..20ed2cb80
--- /dev/null
+++ b/releasenotes/notes/hitachi-vsp-add-hostgroup-name-format-option-4c8e4a5ddd69b9bd.yaml
@@ -0,0 +1,53 @@
+---
+features:
+ - |
+ Hitachi driver: Add a config option ``hitachi_group_name_format`` for
+ hostgroup name format.
+ When using this option, users can specify the name format of
+ host groups or iSCSI targets.
+ Rules of the format:
+
+ * Usable characters are alphanumerics, ".", "@", "_", ":", "-",
+ "{" and "}". "{" and "}" can be used only in variables.
+ * The specified value must start with ``HBSD-``.
+ * You can use the following variables:
+
+ * ``{wwn}``: FC driver only. This is replaced with the smallest
+ WWPN of the WWPNs of the connecting node.
+ * ``{ip}``: iSCSI driver only. This is replaced with the IP address of
+ the connecting node.
+ * ``{host}``: This is replaced with the host name of the connecting node.
+
+ * You can use each variable in the specified value no more than once.
+ * The specified value must include the following variables:
+
+ * FC driver: ``{wwn}``
+ * iSCSI driver: ``{ip}``
+
+ * The maximum length of a specified value is as follows:
+
+ * FC driver: 64
+ * iSCSI driver: 32
+
+ * In the length calculation, use the following values as the length of
+ each variable:
+
+ * ``{wwn}``: 16
+ * ``{ip}``: 15
+ * ``{host}``: 1
+
+ * If the specified value includes ``{host}``, the following rules apply:
+
+ * characters that are not permitted for this parameter, they are
+ replaced with ``_``.
+ * If the length of the name after variable replacement exceeds
+ the maximum length of host group (iSCSI target) names, the
+ host name is truncated so that the length of the host groups or
+ iSCSI targets do not exceed the maximum length.
+
+ If you specify this parameter, it is recommended that you specify ``True``
+ for the hitachi_group_create parameter to collect necessary
+ information automatically.
+ Examples:
+ * FC driver: ``HBSD-{host}-{wwn}``
+ * iSCSI driver: ``HBSD-{host}-{ip}``