From 616ba5d80712ba91f774e9deaf6e536278c9329b Mon Sep 17 00:00:00 2001 From: Tzur Eliyahu Date: Mon, 12 Nov 2018 17:47:38 +0200 Subject: [PATCH] =?UTF-8?q?IBM=20storage:=20fix=20domain=20issue=20by=20ad?= =?UTF-8?q?ding=20more=20keywords=20to=20pyxcli=20avail=E2=80=A6=20(#48345?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit IBM storage: fix domain issue by adding more keywords to pyxcli available fields --- .../fragments/ibm-storag_add_domain_keywords_to_module.yml | 2 ++ lib/ansible/module_utils/ibm_sa_utils.py | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/ibm-storag_add_domain_keywords_to_module.yml diff --git a/changelogs/fragments/ibm-storag_add_domain_keywords_to_module.yml b/changelogs/fragments/ibm-storag_add_domain_keywords_to_module.yml new file mode 100644 index 00000000000..bd231298594 --- /dev/null +++ b/changelogs/fragments/ibm-storag_add_domain_keywords_to_module.yml @@ -0,0 +1,2 @@ +bugfixes: +- "Added missing domain module fields to the ibm_sa_utils module." diff --git a/lib/ansible/module_utils/ibm_sa_utils.py b/lib/ansible/module_utils/ibm_sa_utils.py index 4e349be23ef..ad793252f98 100644 --- a/lib/ansible/module_utils/ibm_sa_utils.py +++ b/lib/ansible/module_utils/ibm_sa_utils.py @@ -19,7 +19,10 @@ AVAILABLE_PYXCLI_FIELDS = ['pool', 'size', 'snapshot_size', 'domain', 'perf_class', 'vol', 'iscsi_chap_name', 'iscsi_chap_secret', 'cluster', 'host', 'lun', 'override', - 'fcaddress', 'iscsi_name'] + 'fcaddress', 'iscsi_name', 'max_dms', + 'max_cgs', 'ldap_id', 'max_mirrors', + 'max_pools', 'max_volumes', 'hard_capacity', + 'soft_capacity'] def xcli_wrapper(func):