diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-18 05:52:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-18 05:52:22 +0000 |
commit | 38b7c80217c4e72b1d8988eb1e60bb6e77334114 (patch) | |
tree | 356e9fd3762877d07cde52d21e77070aeff7e789 /ansible_collections/inspur/ispim | |
parent | Adding upstream version 7.7.0+dfsg. (diff) | |
download | ansible-38b7c80217c4e72b1d8988eb1e60bb6e77334114.tar.xz ansible-38b7c80217c4e72b1d8988eb1e60bb6e77334114.zip |
Adding upstream version 9.4.0+dfsg.upstream/9.4.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/inspur/ispim')
18 files changed, 1342 insertions, 291 deletions
diff --git a/ansible_collections/inspur/ispim/.github/workflows/ansible-test.yml b/ansible_collections/inspur/ispim/.github/workflows/ansible-test.yml index 739073dbf..8e09d3e80 100644 --- a/ansible_collections/inspur/ispim/.github/workflows/ansible-test.yml +++ b/ansible_collections/inspur/ispim/.github/workflows/ansible-test.yml @@ -18,20 +18,34 @@ jobs: - stable-2.12 - stable-2.13 - stable-2.14 + - stable-2.15 - devel python-version: - '3.8' - '3.9' - '3.10' + - '3.11' exclude: - ansible: stable-2.10 python-version: '3.10' + - ansible: stable-2.10 + python-version: '3.11' - ansible: stable-2.11 python-version: '3.10' + - ansible: stable-2.11 + python-version: '3.11' + - ansible: stable-2.12 + python-version: '3.11' + - ansible: stable-2.13 + python-version: '3.11' - ansible: stable-2.14 python-version: '3.8' + - ansible: stable-2.15 + python-version: '3.8' - ansible: devel python-version: '3.8' + - ansible: devel + python-version: '3.9' runs-on: ubuntu-latest steps: diff --git a/ansible_collections/inspur/ispim/CHANGELOG.rst b/ansible_collections/inspur/ispim/CHANGELOG.rst index 89d73b48b..ae761af53 100644 --- a/ansible_collections/inspur/ispim/CHANGELOG.rst +++ b/ansible_collections/inspur/ispim/CHANGELOG.rst @@ -5,6 +5,44 @@ Inspur.Ispim Release Notes .. contents:: Topics +v2.2.0 +====== + +Minor Changes +------------- + +- Modify edit_smtp_com and add description information. + +v2.1.0 +====== + +New Modules +----------- + +- inspur.ispim.hba_info - Get CPU information + +v2.0.1 +====== + +Minor Changes +------------- + +- Change the ansible-test.yml application file version. +- Modify logical disk creation, add MV raid card compatible. + +v2.0.0 +====== + +Minor Changes +------------- + +- The edit_bios module adds the list field. + +New Modules +----------- + +- inspur.ispim.update_psu - Update PSU + v1.3.0 ====== @@ -28,6 +66,7 @@ Minor Changes New Modules ----------- +- inspur.ispim.edit_m6_log_setting - Set bmc system and audit log setting - inspur.ispim.support_info - Get support information v1.2.0 diff --git a/ansible_collections/inspur/ispim/FILES.json b/ansible_collections/inspur/ispim/FILES.json index 976eca20a..b40810ba8 100644 --- a/ansible_collections/inspur/ispim/FILES.json +++ b/ansible_collections/inspur/ispim/FILES.json @@ -25,7 +25,7 @@ "name": ".github/workflows/ansible-test.yml", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "733d2128091cc3379565622f91458cac2696385113092716da499b0fecb7d29f", + "chksum_sha256": "2ff9c19e4663d729c2a3b5e5a1d8619d9b12baa8f6a9e7df3273b019213203c3", "format": 1 }, { @@ -67,14 +67,14 @@ "name": "changelogs/changelog.yaml", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "b13252c7e98b6797309c860c250d699aafc154cedfd36df215c2735f324fc424", + "chksum_sha256": "eefc195d00bc4ce2eddb8e461fe77bca73dcee6f69e1bc493e6bb8ec601a2774", "format": 1 }, { "name": "changelogs/.plugin-cache.yaml", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "0d3b62b84de708902dcace2020b171d36ee259909711cf1987898247876323a7", + "chksum_sha256": "f6ce5c349f9dd16d7cb3d82c35a018bd81fc2d89f0d9df2f9903c5b501125049", "format": 1 }, { @@ -85,451 +85,465 @@ "format": 1 }, { - "name": "docs/index.rst", + "name": "docs/volt_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "00f5018c9dcadaff215ddde3a10b6fd68fa65307044ec4410aa7caa65592381a", + "chksum_sha256": "3f45fa63ccd85934cd53e161aef76a27dc4f0058e82f30fee67c03342ce528d3", "format": 1 }, { - "name": "docs/ad_group_module.rst", + "name": "docs/virtual_media_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "3cd44e424117da4f6f1dd36be34bc28312244bca1a1532e23c33a391a51de9e8", + "chksum_sha256": "d595f381c6be9cb096d2cc174cbd3f3d405eef7cbd715e444ba27fb1995194b8", "format": 1 }, { - "name": "docs/ad_group_info_module.rst", + "name": "docs/user_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "5c51173d9f6c28a385a2a882caa059313a394becad4697c14735d3cbd487df3c", + "chksum_sha256": "e5e38393f1503ec18184ac5a5af85d029a583af77876d146f8aadf5273da85b3", "format": 1 }, { - "name": "docs/ad_info_module.rst", + "name": "docs/user_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "be195d2137bd817b63702df4293956d7bf49952d6437b00ba33f1e020474c392", + "chksum_sha256": "f44b0a2bfbaec8af8fa32ccea2efed72f956df21efe5172ab52a2fb4141f08ef", "format": 1 }, { - "name": "docs/adapter_info_module.rst", + "name": "docs/user_group_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "08baf34559b1c38df8c0b13fb09477a76612edbea6522526942292095ad438f0", + "chksum_sha256": "5bd3942645ea68f3987c3bc29dd70f9212eb432dbd2f5c87ebfc5141c2fb6341", "format": 1 }, { - "name": "docs/add_ldisk_module.rst", + "name": "docs/user_group_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c96d0b9938b0015930fa33f0fbd53c8e568c9b2684e8a4771541527597ac1f98", + "chksum_sha256": "52cf6c379a782538da26a8e84a5fa1d327478208fbbb182884f02ac86c2e30bd", "format": 1 }, { - "name": "docs/alert_policy_info_module.rst", + "name": "docs/update_psu_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "df90b9392329d46eca208b9e95cc9dbb16ba287ad3eefbf2a02359e05ab7fdf6", + "chksum_sha256": "f8a603fc31531fd4bb80b8aef8669759b4d21d4b458a33a13a20a6aa6469b1d8", "format": 1 }, { - "name": "docs/audit_log_info_module.rst", + "name": "docs/update_fw_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "0f45e2435dc986d039120c141cfe55b043da376475b552d2048d07efba7549f8", + "chksum_sha256": "2336afa834ccc952d9674e40e365f598c5e23d69a3b56bf968d82dfaa7edb844", "format": 1 }, { - "name": "docs/auto_capture_info_module.rst", + "name": "docs/update_cpld_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "198c4f986794eff9fa609a3167f410e96490176d7542630cb12fdfde554e8560", + "chksum_sha256": "4c97f94f57bee7d987c1fd18e6741fd6cc816c9732df4196720b7317afbcbfe3", "format": 1 }, { - "name": "docs/backplane_info_module.rst", + "name": "docs/uid_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "9f771db1424a166ea09ec318bea00914853d9b915345191e145f60cbdc13b580", + "chksum_sha256": "28c7a089fde45e7b46807f1c84e6cd8594ead4df4d5e016e9739c8bd416c1b7d", "format": 1 }, { - "name": "docs/backup_module.rst", + "name": "docs/threshold_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "40504454cb1fe676559e641b27cda7b62870c5cc41452fcef34e7e2c2f97812f", + "chksum_sha256": "a25068abb57a5ce2a1bebcc176f0f89360683e86d8e5963f1b12f25a402d0e57", "format": 1 }, { - "name": "docs/bios_export_module.rst", + "name": "docs/temp_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c032c19f25feae2dc4cc88df2146ff0284df437ef1ca86573ddad8d7d5db0fe4", + "chksum_sha256": "3f9c9163bc1e84c2f75284e2726d6814477b4897cb8b9ada10050d667559bf11", "format": 1 }, { - "name": "docs/bios_import_module.rst", + "name": "docs/system_log_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f15e2d85759a532cea0637ce422d1fbfc5f4df75f7b7f03f789be213655c2161", + "chksum_sha256": "ec529f0944b7fb4102a841197d358be32de18872a13eeec5c30580eb5607dc5b", "format": 1 }, { - "name": "docs/bios_info_module.rst", + "name": "docs/support_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "5865da57746af708dd49f47239d6a44d9335353e6f85e8eb1acd65a8b4311831", + "chksum_sha256": "45568d3aea720d37db9f64a1771cbd086f4c2db85824e55cea9cbe48805d0382", "format": 1 }, { - "name": "docs/bmc_info_module.rst", + "name": "docs/snmp_trap_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "24923e28c766f4ba9d3d08ed106b773e91332902db4a497cedc32bb06df5d53b", + "chksum_sha256": "2be1c8ec529178ad19396fe78823ef9e0678add0c4bff94910ef99ed5dc2ff00", "format": 1 }, { - "name": "docs/boot_image_info_module.rst", + "name": "docs/snmp_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "b33c4c4075a222611d7e0aefc1bec1d7b94986d704742949d3344f615d67421f", + "chksum_sha256": "a0254305f9adc264ef2581e501718e1cd8f232a27ac6b01fb99806b6c2be4269", "format": 1 }, { - "name": "docs/boot_option_info_module.rst", + "name": "docs/smtp_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "8114239f08d19cab6e522417c6b14cc6cd9d59fcd255ede0215ebd67b4a8da66", + "chksum_sha256": "0fcd67a4f8aa4b4475a989eac68badd175e5577e9b85270a570511d9ac2a239c", "format": 1 }, { - "name": "docs/clear_audit_log_module.rst", + "name": "docs/session_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "9778b53dd2bce08877351825a648cde9411e67425071d8488cf50dab5ca3e17b", + "chksum_sha256": "e7f1bd7502de0cca90491594c7261dfa57491e4ed97553986beebd3926650ce1", "format": 1 }, { - "name": "docs/clear_event_log_module.rst", + "name": "docs/service_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "57822cf88875a02eecaca07e4c0901bdc03685e09a9ab37ce94f8125cac4b987", + "chksum_sha256": "84a47ffc809f7b5f066bb5eec37e1270abc729a7a8ff35b35ca37d46b9e6664b", "format": 1 }, { - "name": "docs/clear_system_log_module.rst", + "name": "docs/server_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "0ce929def12e2b76b42789d1dbcbc7472fc3f3ec4287b0a8371893b023c7148b", + "chksum_sha256": "cb32ee0c4b26455f33aa04e2e785b502d2292cd5ea436c8f90028dfe201c8bca", "format": 1 }, { - "name": "docs/collect_blackbox_module.rst", + "name": "docs/sensor_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "27c376f2eb6cbce6da540c2f63b77c59995f6862cc998dad04e03051b7073d94", + "chksum_sha256": "7eaa8ff49f37b0a94360779a83a6605dedf1ef077a2d9ad2e1600216290b8eca", "format": 1 }, { - "name": "docs/collect_log_module.rst", + "name": "docs/self_test_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "27039efdbc8b3535a01855e22360e2511b941b296f59c63f2cffcdc22b2fa081", + "chksum_sha256": "be63ce4f7c0068d1bf3e518a2b0ee68f25faa40ad9f648958d1f71eaef5046ba", "format": 1 }, { - "name": "docs/connect_media_info_module.rst", + "name": "docs/restore_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "93851351473154fc23a39de3d257715c390dbc6d2eda20bb591b53b4d10d5c46", + "chksum_sha256": "6478920a3aae22a39b1db8f899585f340f946f67ee00338b8b95756542a79824", "format": 1 }, { - "name": "docs/cpu_info_module.rst", + "name": "docs/reset_kvm_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "95101db73e39c829eeac384baea6ccdf2d833beb4158f355f49cbda1397f0f7b", + "chksum_sha256": "0bf0bb03beabc6ed5bca7d40c3e93b4bed87633c12259ae4d066c0d0c81aec1d", "format": 1 }, { - "name": "docs/del_session_module.rst", + "name": "docs/reset_bmc_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "11e527626e26c86780a57df293454538ae4cd61527ff1ace0d5e798c854d6f94", + "chksum_sha256": "37f3d623c1eecee972f5484f4d2270566de40a77a2247b6c18ea5bcb21f4eec2", "format": 1 }, { - "name": "docs/dns_info_module.rst", + "name": "docs/raid_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "e35564ab29e6d6e850863a78012d9ab265fc66343ea03ec8fc20c36da0b80a2e", + "chksum_sha256": "43678b4fadf808dbd8507229f9847f75a942bfd6c4544a15b9fbd16336bcee37", "format": 1 }, { - "name": "docs/download_auto_screenshot_module.rst", + "name": "docs/psu_peak_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "351dfea8016eeb9d11b51e7dfb62517cbf5e589e06440180fcfafa4ea64cad37", + "chksum_sha256": "7c7cc3d04f9b5c57167e5511eeb4411a620ba413860ef95a56042f3f30e273e1", "format": 1 }, { - "name": "docs/download_manual_screenshot_module.rst", + "name": "docs/psu_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "a83f4b1fd2f7c8eec40fc4fe02f0c429b730c6bf868f6cd4ed886d8e1bdb83ca", + "chksum_sha256": "c18a01a3e7a6b1b91f821459a38157e32819d3d402d10372bd8632df7df4b02d", "format": 1 }, { - "name": "docs/edit_ad_module.rst", + "name": "docs/psu_config_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "602252f5fdfe6e4b1ba0aaf85298a59fd279635ea3398f70eb016b18760a4ed4", + "chksum_sha256": "1b547c90013ee6f0f67a2d1050142d4a3ae739fa5a80fc20d4a336571a0eaf74", "format": 1 }, { - "name": "docs/edit_alert_policy_module.rst", + "name": "docs/preserve_config_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "0be8fe2d934157f3e79375d5504a39e9ac6145108a1aafa8876ccb4668f041f8", + "chksum_sha256": "a1ceb5360a856832851f0fd2c26096aea43e73aaefb3aeef068f117e97b05cbc", "format": 1 }, { - "name": "docs/edit_auto_capture_module.rst", + "name": "docs/power_status_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "1462be082e48842371c2a2cde6d72bb65e18e129497309fd3fa7d14a84a89380", + "chksum_sha256": "5c2f613db2cc6478dcea651e473b1ba332f471fb0f8724d189c0440057b5553b", "format": 1 }, { - "name": "docs/edit_bios_module.rst", + "name": "docs/power_restore_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "163af7658b1ed14cc683014d32b210b164e373f15b6bd5b13ded14c4740be969", + "chksum_sha256": "f6196bbdaba76a0c133f0f6dd93a3f80903549dc5b3a69500d81dd61e5d370cb", "format": 1 }, { - "name": "docs/edit_boot_image_module.rst", + "name": "docs/power_consumption_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "9a66519f8edd2f5e2f2e5e2da0e5f7082acbc4b48232316e0b56a6460eca3260", + "chksum_sha256": "88a299c3ba86ced588621248c9b31acc6b394b1d098baf94ae30536d404359f0", "format": 1 }, { - "name": "docs/edit_boot_option_module.rst", + "name": "docs/power_budget_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "fa209405c27d72860804d8cd5ecb5a498a0127af0421b766448652dc30348e4c", + "chksum_sha256": "50e51e3de35810ed52398923d0907ca58b81018e4b4fc3d83269be4bc38b8878", "format": 1 }, { - "name": "docs/edit_connect_media_module.rst", + "name": "docs/pdisk_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "30e1d112e8e7dece987dbc066cccb7a0335b3f72e38515922e880bc58e18a95a", + "chksum_sha256": "c3f5f7caca8887b8f430613a7f342ed58682cfd6917c629f9e02a5063ba799b6", "format": 1 }, { - "name": "docs/edit_dns_module.rst", + "name": "docs/pcie_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "b90e46d7a672277845c8d167d872c19d1050bc09554ede684eb04b270759148f", + "chksum_sha256": "537a1da3ccbf9b212c7a6eb7fee3688331920edfb98891b1204d73c447179747", "format": 1 }, { - "name": "docs/edit_event_log_policy_module.rst", + "name": "docs/onboard_disk_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "a561d357f9a6fe114ea57f421baa130c93d178a82444e2d7ee1c84d89b1713de", + "chksum_sha256": "ec68ac30bef8ba6766c5f28930b6d63aa2d64d105c9ef178ab2b43e0a193a3f7", "format": 1 }, { - "name": "docs/edit_fan_module.rst", + "name": "docs/ntp_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "5c76e7b9710b760992b3ae8bbfbb3f0d58916eb74dc793f71cceb5438a2aa67a", + "chksum_sha256": "0e18b5707932ceb23b082ece6ca795ecdaa283363b44d2275044833d880841f4", "format": 1 }, { - "name": "docs/edit_fru_module.rst", + "name": "docs/network_link_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "d7e53bb0addcbd8bf696ac6426544dfdb039b0bfdcc37c4aba11c5939eac5ffa", + "chksum_sha256": "cc7c806c76d19507758a72fd3a106d1ee1c19b5056fca2d9809c09227a1fae9b", "format": 1 }, { - "name": "docs/edit_ipv4_module.rst", + "name": "docs/network_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "98762b1f54f208eba913a3b41acc5cd1194b4fdba4112afeb61e19d645452386", + "chksum_sha256": "29038bbc4e7381cde90cfa774449ef28f18206b0bb0f22dae4b5aca5a9391b18", "format": 1 }, { - "name": "docs/edit_ipv6_module.rst", + "name": "docs/network_bond_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "9103d86e811374f3b2bfd5c2d19fa94df769f4a979d23db4feb6677119f86b3f", + "chksum_sha256": "f2dbe74fc7765c05fadccc542ec2a01364bd88f05db606b1d762daf6b7d7b03c", "format": 1 }, { - "name": "docs/edit_kvm_module.rst", + "name": "docs/ncsi_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "2c06b76e9cca240c5bc7cde27a47947b853740ce8549cb65ad85aaa69d8caf0c", + "chksum_sha256": "b297e5ea383e6500c66672f29d6b9aa566e4cac7a7e8fc51e9a990da27afa5c9", "format": 1 }, { - "name": "docs/edit_ldap_module.rst", + "name": "docs/mem_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "14512a6137c8b17b002493a772db4a123216ee2c1554c698ae3ad92a748d8491", + "chksum_sha256": "6599241b834db3fff08303423fae6075af3ce90d9ca84b9ef753c458d670fa4c", "format": 1 }, { - "name": "docs/edit_ldisk_module.rst", + "name": "docs/media_instance_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "6a49ba296b1cb159bdfdadaaa22fa4e6edc6b3569177368c46d3fad2e5d35149", + "chksum_sha256": "de17a82cd7f7bdf163175c723fe5ba9806a133692e5de367b97f44fe90c3fc8e", "format": 1 }, { - "name": "docs/edit_log_setting_module.rst", + "name": "docs/log_setting_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "e3968f6f6529f2dd3c4651a75c57ae87566e629d9a60a210cc0f6365364d608b", + "chksum_sha256": "7d7c50b6ebb8b983ee2bfcfee97320550b4ef91b4085ee248a9cb47b390a4bff", "format": 1 }, { - "name": "docs/edit_m6_log_setting_module.rst", + "name": "docs/ldisk_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "6c736c0380e0df2730d4b65c5bfca9a361e9feed060f88890037b3444f9f028d", + "chksum_sha256": "7f27b3b66b84c966f06077bfab1a1b87000fbcfe3ac33c1be09736bb0a07c307", "format": 1 }, { - "name": "docs/edit_manual_capture_module.rst", + "name": "docs/ldap_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "b7f0c45b99b1a2431c84aba86c9b4b15759d302191b06bb305e70d0b5bb0bb99", + "chksum_sha256": "946fa9ff1f4ee129666947b1283e0a1606b20001f4166523cb472ecb63664156", "format": 1 }, { - "name": "docs/edit_media_instance_module.rst", + "name": "docs/ldap_group_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "e008131a315de628df8d4d449ea915f327830c125f54d8ee0f1ccd8239bca035", + "chksum_sha256": "f706d936d52eb35ccbba50518e4f2f5902ff8b52d9d9bb8c6d39aec672487fc4", "format": 1 }, { - "name": "docs/edit_ncsi_module.rst", + "name": "docs/ldap_group_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "89dfd45cd2ab81b1969db427e54e5c9fc6f6f538396018a6aee3cdadfbef09d4", + "chksum_sha256": "acd7d82dc88604e57173dadec71c646868d3b74b3494352d81431937f4d2cfce", "format": 1 }, { - "name": "docs/edit_network_module.rst", + "name": "docs/kvm_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "ffa6ef1b2bbbf1711fa56eb77ceedd2e3499837b3d6d3a43638331541ad8969f", + "chksum_sha256": "11ad751b589819ce50fc3faa4ab545a4d7a8fe8b49975506bf849d5263bb05d6", "format": 1 }, { - "name": "docs/edit_network_bond_module.rst", + "name": "docs/index.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "2f9e815795ce9af554c4cf9ddd43ff3c457661ef5bb7dcd6ff6a3ac90773c486", + "chksum_sha256": "be54102d2eec4a9ec710418a8e8b65e58946183d5ef4408fb44ccc5a35341157", "format": 1 }, { - "name": "docs/edit_network_link_module.rst", + "name": "docs/hba_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4a4d4cc34c1d12f0a7b7f0e6bcc4accac84f4c10940595e75e2405d28efe506b", + "chksum_sha256": "ef629219d83a7bbce7b9b71d0c0e1e81a30af1969f975628048aaea0719ab077", "format": 1 }, { - "name": "docs/edit_ntp_module.rst", + "name": "docs/hard_disk_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "481f76b5edec753b290b68f8d015ca3bd17a20726d262a630d91b8a3fcc0fdb0", + "chksum_sha256": "7bcb1e71b38f2bc5368172e3a39a005b118a407b80e303e36188dec0fed8ea4b", "format": 1 }, { - "name": "docs/edit_pdisk_module.rst", + "name": "docs/gpu_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "ee2674ee160e17fa3cb25f93586aeb9a7a01237197312058bdedeb9992f76faa", + "chksum_sha256": "3f02a58a2d862a14db6e90f6a59459a2c7af5ec75291716b6b9a3cc437ec2c3f", "format": 1 }, { - "name": "docs/edit_power_budget_module.rst", + "name": "docs/fw_version_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "28922c015e74806fc79abb98c2ac60824d4ba5e2bed03709d0994dc8fa5abfce", + "chksum_sha256": "ecbc01991417867d09226e4c93669b307667fcb52198a11616298f19d6e65429", "format": 1 }, { - "name": "docs/edit_power_restore_module.rst", + "name": "docs/fru_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4cbe2c17aadd9cacb8ccd2cef6bf2da5252dfce4ba06f76dee7bdc324d01680f", + "chksum_sha256": "49265375eed8b252bc4c1e95330593d9438c084580052a9eeeb3b9695f9be598", "format": 1 }, { - "name": "docs/edit_power_status_module.rst", + "name": "docs/fan_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "89b6315d854300bae3f5cb1072bb79d9481ca66dc55499a5b8003352ddf066d5", + "chksum_sha256": "7c135b5d8a0f4dcb8f7b4a70552a357d9fc277422558223f4bda06cc0f0e1e8c", "format": 1 }, { - "name": "docs/edit_preserve_config_module.rst", + "name": "docs/event_log_policy_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "597b5e153731c8731c070424169be429eb5339fa8f6c04ee8738810cdd1936a8", + "chksum_sha256": "06bcad836fe0840bc0d407214f666b482a4b04da9f7e26fa835e0cf68072fb2b", "format": 1 }, { - "name": "docs/edit_psu_config_module.rst", + "name": "docs/event_log_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "1f8dfbfc52e9bbc034e746c93d5b27ca24ba8baae931f4c127eb8b434a757ed9", + "chksum_sha256": "154cec3bbb17bcfdc3fe5a5cf75a9c37fc1ceb508a2cb0a77f56da1a0cdaea8b", "format": 1 }, { - "name": "docs/edit_psu_peak_module.rst", + "name": "docs/edit_vlan_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c5cd0b1dfa020f109152a5e52f90767966e0c1ea30d2fbfefb11483568fa5d49", + "chksum_sha256": "1a40fd9f62d549b66aa12f6c41c8780b3e9516a356d79c128e6a34f40469901b", "format": 1 }, { - "name": "docs/edit_restore_factory_default_module.rst", + "name": "docs/edit_virtual_media_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "dc753b078a8b738f11aaad8ff0c18c2e293843f6f03b3b5dfd8e6d23b6a2744d", + "chksum_sha256": "3d92884a8d1dc25bd1e34b5c16760361cc0c07f340f9d719f5cd471d3c992ece", "format": 1 }, { - "name": "docs/edit_service_module.rst", + "name": "docs/edit_uid_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "1a7f19b53bb3ac7db82e5552e20844336916cca262f97df3602fc33db3da58c5", + "chksum_sha256": "27acd43556a462d7d9912c13914cf9e8811f52e58e34fa05ca3170805c443321", "format": 1 }, { - "name": "docs/edit_smtp_module.rst", + "name": "docs/edit_threshold_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "bf1bd261f0670375cfdf2e63064436a715102cc3a9f573761d4bb7f75d70ecc0", + "chksum_sha256": "320e235461b1bc096b4d2b518b4ef222b33520b114c9b25a61448c60c9f59d92", "format": 1 }, { - "name": "docs/edit_smtp_com_module.rst", + "name": "docs/edit_snmp_trap_module.rst", + "ftype": "file", + "chksum_type": "sha256", + "chksum_sha256": "4251d34c90244ad2cef6ba0df8542777b77264797e47cd14f5c83e30374023ab", + "format": 1 + }, + { + "name": "docs/edit_snmp_module.rst", + "ftype": "file", + "chksum_type": "sha256", + "chksum_sha256": "0eb5097bb2c6a845a390aaefb6db9afa10e199fe70fbb091a774f62ab39944c2", + "format": 1 + }, + { + "name": "docs/edit_smtp_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4ef7ad40d4c81b946715b94ba59a5c39c0c139ad93416961d2ad23e5e3b8f7ce", + "chksum_sha256": "bf1bd261f0670375cfdf2e63064436a715102cc3a9f573761d4bb7f75d70ecc0", "format": 1 }, { @@ -540,437 +554,437 @@ "format": 1 }, { - "name": "docs/edit_snmp_module.rst", + "name": "docs/edit_smtp_com_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "0eb5097bb2c6a845a390aaefb6db9afa10e199fe70fbb091a774f62ab39944c2", + "chksum_sha256": "fb72d17e18f336f5dae2de6865b5cff2a2938fa3a86b9fad93b4e6562f048fcf", "format": 1 }, { - "name": "docs/edit_snmp_trap_module.rst", + "name": "docs/edit_service_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4251d34c90244ad2cef6ba0df8542777b77264797e47cd14f5c83e30374023ab", + "chksum_sha256": "1a7f19b53bb3ac7db82e5552e20844336916cca262f97df3602fc33db3da58c5", "format": 1 }, { - "name": "docs/edit_threshold_module.rst", + "name": "docs/edit_restore_factory_default_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "320e235461b1bc096b4d2b518b4ef222b33520b114c9b25a61448c60c9f59d92", + "chksum_sha256": "dc753b078a8b738f11aaad8ff0c18c2e293843f6f03b3b5dfd8e6d23b6a2744d", "format": 1 }, { - "name": "docs/edit_uid_module.rst", + "name": "docs/edit_psu_peak_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "27acd43556a462d7d9912c13914cf9e8811f52e58e34fa05ca3170805c443321", + "chksum_sha256": "c5cd0b1dfa020f109152a5e52f90767966e0c1ea30d2fbfefb11483568fa5d49", "format": 1 }, { - "name": "docs/edit_virtual_media_module.rst", + "name": "docs/edit_psu_config_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "3d92884a8d1dc25bd1e34b5c16760361cc0c07f340f9d719f5cd471d3c992ece", + "chksum_sha256": "1f8dfbfc52e9bbc034e746c93d5b27ca24ba8baae931f4c127eb8b434a757ed9", "format": 1 }, { - "name": "docs/edit_vlan_module.rst", + "name": "docs/edit_preserve_config_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "1a40fd9f62d549b66aa12f6c41c8780b3e9516a356d79c128e6a34f40469901b", + "chksum_sha256": "597b5e153731c8731c070424169be429eb5339fa8f6c04ee8738810cdd1936a8", "format": 1 }, { - "name": "docs/event_log_info_module.rst", + "name": "docs/edit_power_status_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "154cec3bbb17bcfdc3fe5a5cf75a9c37fc1ceb508a2cb0a77f56da1a0cdaea8b", + "chksum_sha256": "89b6315d854300bae3f5cb1072bb79d9481ca66dc55499a5b8003352ddf066d5", "format": 1 }, { - "name": "docs/event_log_policy_info_module.rst", + "name": "docs/edit_power_restore_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "06bcad836fe0840bc0d407214f666b482a4b04da9f7e26fa835e0cf68072fb2b", + "chksum_sha256": "4cbe2c17aadd9cacb8ccd2cef6bf2da5252dfce4ba06f76dee7bdc324d01680f", "format": 1 }, { - "name": "docs/fan_info_module.rst", + "name": "docs/edit_power_budget_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "7c135b5d8a0f4dcb8f7b4a70552a357d9fc277422558223f4bda06cc0f0e1e8c", + "chksum_sha256": "28922c015e74806fc79abb98c2ac60824d4ba5e2bed03709d0994dc8fa5abfce", "format": 1 }, { - "name": "docs/fru_info_module.rst", + "name": "docs/edit_pdisk_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "49265375eed8b252bc4c1e95330593d9438c084580052a9eeeb3b9695f9be598", + "chksum_sha256": "ee2674ee160e17fa3cb25f93586aeb9a7a01237197312058bdedeb9992f76faa", "format": 1 }, { - "name": "docs/fw_version_info_module.rst", + "name": "docs/edit_ntp_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "ecbc01991417867d09226e4c93669b307667fcb52198a11616298f19d6e65429", + "chksum_sha256": "481f76b5edec753b290b68f8d015ca3bd17a20726d262a630d91b8a3fcc0fdb0", "format": 1 }, { - "name": "docs/gpu_info_module.rst", + "name": "docs/edit_network_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "3f02a58a2d862a14db6e90f6a59459a2c7af5ec75291716b6b9a3cc437ec2c3f", + "chksum_sha256": "ffa6ef1b2bbbf1711fa56eb77ceedd2e3499837b3d6d3a43638331541ad8969f", "format": 1 }, { - "name": "docs/hard_disk_info_module.rst", + "name": "docs/edit_network_link_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "7bcb1e71b38f2bc5368172e3a39a005b118a407b80e303e36188dec0fed8ea4b", + "chksum_sha256": "4a4d4cc34c1d12f0a7b7f0e6bcc4accac84f4c10940595e75e2405d28efe506b", "format": 1 }, { - "name": "docs/kvm_info_module.rst", + "name": "docs/edit_network_bond_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "11ad751b589819ce50fc3faa4ab545a4d7a8fe8b49975506bf849d5263bb05d6", + "chksum_sha256": "2f9e815795ce9af554c4cf9ddd43ff3c457661ef5bb7dcd6ff6a3ac90773c486", "format": 1 }, { - "name": "docs/ldap_group_module.rst", + "name": "docs/edit_ncsi_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f706d936d52eb35ccbba50518e4f2f5902ff8b52d9d9bb8c6d39aec672487fc4", + "chksum_sha256": "89dfd45cd2ab81b1969db427e54e5c9fc6f6f538396018a6aee3cdadfbef09d4", "format": 1 }, { - "name": "docs/ldap_group_info_module.rst", + "name": "docs/edit_media_instance_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "acd7d82dc88604e57173dadec71c646868d3b74b3494352d81431937f4d2cfce", + "chksum_sha256": "e008131a315de628df8d4d449ea915f327830c125f54d8ee0f1ccd8239bca035", "format": 1 }, { - "name": "docs/ldap_info_module.rst", + "name": "docs/edit_manual_capture_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "946fa9ff1f4ee129666947b1283e0a1606b20001f4166523cb472ecb63664156", + "chksum_sha256": "b7f0c45b99b1a2431c84aba86c9b4b15759d302191b06bb305e70d0b5bb0bb99", "format": 1 }, { - "name": "docs/ldisk_info_module.rst", + "name": "docs/edit_m6_log_setting_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "7f27b3b66b84c966f06077bfab1a1b87000fbcfe3ac33c1be09736bb0a07c307", + "chksum_sha256": "dfbc7f600e14140e42ea1c0d604e4095b945a53dd194ef9748d9899636a4ca7b", "format": 1 }, { - "name": "docs/log_setting_info_module.rst", + "name": "docs/edit_log_setting_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "7d7c50b6ebb8b983ee2bfcfee97320550b4ef91b4085ee248a9cb47b390a4bff", + "chksum_sha256": "e3968f6f6529f2dd3c4651a75c57ae87566e629d9a60a210cc0f6365364d608b", "format": 1 }, { - "name": "docs/media_instance_info_module.rst", + "name": "docs/edit_ldisk_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "de17a82cd7f7bdf163175c723fe5ba9806a133692e5de367b97f44fe90c3fc8e", + "chksum_sha256": "6a49ba296b1cb159bdfdadaaa22fa4e6edc6b3569177368c46d3fad2e5d35149", "format": 1 }, { - "name": "docs/mem_info_module.rst", + "name": "docs/edit_ldap_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "6599241b834db3fff08303423fae6075af3ce90d9ca84b9ef753c458d670fa4c", + "chksum_sha256": "14512a6137c8b17b002493a772db4a123216ee2c1554c698ae3ad92a748d8491", "format": 1 }, { - "name": "docs/ncsi_info_module.rst", + "name": "docs/edit_kvm_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "b297e5ea383e6500c66672f29d6b9aa566e4cac7a7e8fc51e9a990da27afa5c9", + "chksum_sha256": "2c06b76e9cca240c5bc7cde27a47947b853740ce8549cb65ad85aaa69d8caf0c", "format": 1 }, { - "name": "docs/network_bond_info_module.rst", + "name": "docs/edit_ipv6_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f2dbe74fc7765c05fadccc542ec2a01364bd88f05db606b1d762daf6b7d7b03c", + "chksum_sha256": "9103d86e811374f3b2bfd5c2d19fa94df769f4a979d23db4feb6677119f86b3f", "format": 1 }, { - "name": "docs/network_info_module.rst", + "name": "docs/edit_ipv4_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "29038bbc4e7381cde90cfa774449ef28f18206b0bb0f22dae4b5aca5a9391b18", + "chksum_sha256": "98762b1f54f208eba913a3b41acc5cd1194b4fdba4112afeb61e19d645452386", "format": 1 }, { - "name": "docs/network_link_info_module.rst", + "name": "docs/edit_fru_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "cc7c806c76d19507758a72fd3a106d1ee1c19b5056fca2d9809c09227a1fae9b", + "chksum_sha256": "d7e53bb0addcbd8bf696ac6426544dfdb039b0bfdcc37c4aba11c5939eac5ffa", "format": 1 }, { - "name": "docs/ntp_info_module.rst", + "name": "docs/edit_fan_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "0e18b5707932ceb23b082ece6ca795ecdaa283363b44d2275044833d880841f4", + "chksum_sha256": "5c76e7b9710b760992b3ae8bbfbb3f0d58916eb74dc793f71cceb5438a2aa67a", "format": 1 }, { - "name": "docs/onboard_disk_info_module.rst", + "name": "docs/edit_event_log_policy_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "ec68ac30bef8ba6766c5f28930b6d63aa2d64d105c9ef178ab2b43e0a193a3f7", + "chksum_sha256": "a561d357f9a6fe114ea57f421baa130c93d178a82444e2d7ee1c84d89b1713de", "format": 1 }, { - "name": "docs/pcie_info_module.rst", + "name": "docs/edit_dns_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "537a1da3ccbf9b212c7a6eb7fee3688331920edfb98891b1204d73c447179747", + "chksum_sha256": "b90e46d7a672277845c8d167d872c19d1050bc09554ede684eb04b270759148f", "format": 1 }, { - "name": "docs/pdisk_info_module.rst", + "name": "docs/edit_connect_media_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c3f5f7caca8887b8f430613a7f342ed58682cfd6917c629f9e02a5063ba799b6", + "chksum_sha256": "30e1d112e8e7dece987dbc066cccb7a0335b3f72e38515922e880bc58e18a95a", "format": 1 }, { - "name": "docs/power_budget_info_module.rst", + "name": "docs/edit_boot_option_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "50e51e3de35810ed52398923d0907ca58b81018e4b4fc3d83269be4bc38b8878", + "chksum_sha256": "fa209405c27d72860804d8cd5ecb5a498a0127af0421b766448652dc30348e4c", "format": 1 }, { - "name": "docs/power_consumption_info_module.rst", + "name": "docs/edit_boot_image_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "88a299c3ba86ced588621248c9b31acc6b394b1d098baf94ae30536d404359f0", + "chksum_sha256": "9a66519f8edd2f5e2f2e5e2da0e5f7082acbc4b48232316e0b56a6460eca3260", "format": 1 }, { - "name": "docs/power_restore_info_module.rst", + "name": "docs/edit_bios_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f6196bbdaba76a0c133f0f6dd93a3f80903549dc5b3a69500d81dd61e5d370cb", + "chksum_sha256": "1b59b31164036a82960c1bbefb871cbf2253b94a2e97ce7d050346af4f78accd", "format": 1 }, { - "name": "docs/power_status_info_module.rst", + "name": "docs/edit_auto_capture_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "5c2f613db2cc6478dcea651e473b1ba332f471fb0f8724d189c0440057b5553b", + "chksum_sha256": "1462be082e48842371c2a2cde6d72bb65e18e129497309fd3fa7d14a84a89380", "format": 1 }, { - "name": "docs/preserve_config_info_module.rst", + "name": "docs/edit_alert_policy_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "a1ceb5360a856832851f0fd2c26096aea43e73aaefb3aeef068f117e97b05cbc", + "chksum_sha256": "0be8fe2d934157f3e79375d5504a39e9ac6145108a1aafa8876ccb4668f041f8", "format": 1 }, { - "name": "docs/psu_config_info_module.rst", + "name": "docs/edit_ad_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "1b547c90013ee6f0f67a2d1050142d4a3ae739fa5a80fc20d4a336571a0eaf74", + "chksum_sha256": "602252f5fdfe6e4b1ba0aaf85298a59fd279635ea3398f70eb016b18760a4ed4", "format": 1 }, { - "name": "docs/psu_info_module.rst", + "name": "docs/download_manual_screenshot_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c18a01a3e7a6b1b91f821459a38157e32819d3d402d10372bd8632df7df4b02d", + "chksum_sha256": "a83f4b1fd2f7c8eec40fc4fe02f0c429b730c6bf868f6cd4ed886d8e1bdb83ca", "format": 1 }, { - "name": "docs/psu_peak_info_module.rst", + "name": "docs/download_auto_screenshot_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "7c7cc3d04f9b5c57167e5511eeb4411a620ba413860ef95a56042f3f30e273e1", + "chksum_sha256": "351dfea8016eeb9d11b51e7dfb62517cbf5e589e06440180fcfafa4ea64cad37", "format": 1 }, { - "name": "docs/raid_info_module.rst", + "name": "docs/dns_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "43678b4fadf808dbd8507229f9847f75a942bfd6c4544a15b9fbd16336bcee37", + "chksum_sha256": "e35564ab29e6d6e850863a78012d9ab265fc66343ea03ec8fc20c36da0b80a2e", "format": 1 }, { - "name": "docs/reset_bmc_module.rst", + "name": "docs/del_session_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "37f3d623c1eecee972f5484f4d2270566de40a77a2247b6c18ea5bcb21f4eec2", + "chksum_sha256": "11e527626e26c86780a57df293454538ae4cd61527ff1ace0d5e798c854d6f94", "format": 1 }, { - "name": "docs/reset_kvm_module.rst", + "name": "docs/cpu_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "0bf0bb03beabc6ed5bca7d40c3e93b4bed87633c12259ae4d066c0d0c81aec1d", + "chksum_sha256": "95101db73e39c829eeac384baea6ccdf2d833beb4158f355f49cbda1397f0f7b", "format": 1 }, { - "name": "docs/restore_module.rst", + "name": "docs/connect_media_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "6478920a3aae22a39b1db8f899585f340f946f67ee00338b8b95756542a79824", + "chksum_sha256": "93851351473154fc23a39de3d257715c390dbc6d2eda20bb591b53b4d10d5c46", "format": 1 }, { - "name": "docs/self_test_info_module.rst", + "name": "docs/collect_log_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "be63ce4f7c0068d1bf3e518a2b0ee68f25faa40ad9f648958d1f71eaef5046ba", + "chksum_sha256": "27039efdbc8b3535a01855e22360e2511b941b296f59c63f2cffcdc22b2fa081", "format": 1 }, { - "name": "docs/sensor_info_module.rst", + "name": "docs/collect_blackbox_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "7eaa8ff49f37b0a94360779a83a6605dedf1ef077a2d9ad2e1600216290b8eca", + "chksum_sha256": "27c376f2eb6cbce6da540c2f63b77c59995f6862cc998dad04e03051b7073d94", "format": 1 }, { - "name": "docs/server_info_module.rst", + "name": "docs/clear_system_log_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "cb32ee0c4b26455f33aa04e2e785b502d2292cd5ea436c8f90028dfe201c8bca", + "chksum_sha256": "0ce929def12e2b76b42789d1dbcbc7472fc3f3ec4287b0a8371893b023c7148b", "format": 1 }, { - "name": "docs/service_info_module.rst", + "name": "docs/clear_event_log_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "84a47ffc809f7b5f066bb5eec37e1270abc729a7a8ff35b35ca37d46b9e6664b", + "chksum_sha256": "57822cf88875a02eecaca07e4c0901bdc03685e09a9ab37ce94f8125cac4b987", "format": 1 }, { - "name": "docs/session_info_module.rst", + "name": "docs/clear_audit_log_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "e7f1bd7502de0cca90491594c7261dfa57491e4ed97553986beebd3926650ce1", + "chksum_sha256": "9778b53dd2bce08877351825a648cde9411e67425071d8488cf50dab5ca3e17b", "format": 1 }, { - "name": "docs/smtp_info_module.rst", + "name": "docs/boot_option_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "0fcd67a4f8aa4b4475a989eac68badd175e5577e9b85270a570511d9ac2a239c", + "chksum_sha256": "8114239f08d19cab6e522417c6b14cc6cd9d59fcd255ede0215ebd67b4a8da66", "format": 1 }, { - "name": "docs/snmp_info_module.rst", + "name": "docs/boot_image_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "a0254305f9adc264ef2581e501718e1cd8f232a27ac6b01fb99806b6c2be4269", + "chksum_sha256": "b33c4c4075a222611d7e0aefc1bec1d7b94986d704742949d3344f615d67421f", "format": 1 }, { - "name": "docs/snmp_trap_info_module.rst", + "name": "docs/bmc_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "2be1c8ec529178ad19396fe78823ef9e0678add0c4bff94910ef99ed5dc2ff00", + "chksum_sha256": "24923e28c766f4ba9d3d08ed106b773e91332902db4a497cedc32bb06df5d53b", "format": 1 }, { - "name": "docs/support_info_module.rst", + "name": "docs/bios_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "45568d3aea720d37db9f64a1771cbd086f4c2db85824e55cea9cbe48805d0382", + "chksum_sha256": "5865da57746af708dd49f47239d6a44d9335353e6f85e8eb1acd65a8b4311831", "format": 1 }, { - "name": "docs/system_log_info_module.rst", + "name": "docs/bios_import_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "ec529f0944b7fb4102a841197d358be32de18872a13eeec5c30580eb5607dc5b", + "chksum_sha256": "f15e2d85759a532cea0637ce422d1fbfc5f4df75f7b7f03f789be213655c2161", "format": 1 }, { - "name": "docs/temp_info_module.rst", + "name": "docs/bios_export_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "3f9c9163bc1e84c2f75284e2726d6814477b4897cb8b9ada10050d667559bf11", + "chksum_sha256": "c032c19f25feae2dc4cc88df2146ff0284df437ef1ca86573ddad8d7d5db0fe4", "format": 1 }, { - "name": "docs/threshold_info_module.rst", + "name": "docs/backup_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "a25068abb57a5ce2a1bebcc176f0f89360683e86d8e5963f1b12f25a402d0e57", + "chksum_sha256": "40504454cb1fe676559e641b27cda7b62870c5cc41452fcef34e7e2c2f97812f", "format": 1 }, { - "name": "docs/uid_info_module.rst", + "name": "docs/backplane_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "28c7a089fde45e7b46807f1c84e6cd8594ead4df4d5e016e9739c8bd416c1b7d", + "chksum_sha256": "9f771db1424a166ea09ec318bea00914853d9b915345191e145f60cbdc13b580", "format": 1 }, { - "name": "docs/update_cpld_module.rst", + "name": "docs/auto_capture_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4c97f94f57bee7d987c1fd18e6741fd6cc816c9732df4196720b7317afbcbfe3", + "chksum_sha256": "198c4f986794eff9fa609a3167f410e96490176d7542630cb12fdfde554e8560", "format": 1 }, { - "name": "docs/update_fw_module.rst", + "name": "docs/audit_log_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "2336afa834ccc952d9674e40e365f598c5e23d69a3b56bf968d82dfaa7edb844", + "chksum_sha256": "0f45e2435dc986d039120c141cfe55b043da376475b552d2048d07efba7549f8", "format": 1 }, { - "name": "docs/user_module.rst", + "name": "docs/alert_policy_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "e5e38393f1503ec18184ac5a5af85d029a583af77876d146f8aadf5273da85b3", + "chksum_sha256": "df90b9392329d46eca208b9e95cc9dbb16ba287ad3eefbf2a02359e05ab7fdf6", "format": 1 }, { - "name": "docs/user_group_module.rst", + "name": "docs/ad_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "5bd3942645ea68f3987c3bc29dd70f9212eb432dbd2f5c87ebfc5141c2fb6341", + "chksum_sha256": "be195d2137bd817b63702df4293956d7bf49952d6437b00ba33f1e020474c392", "format": 1 }, { - "name": "docs/user_group_info_module.rst", + "name": "docs/ad_group_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "52cf6c379a782538da26a8e84a5fa1d327478208fbbb182884f02ac86c2e30bd", + "chksum_sha256": "3cd44e424117da4f6f1dd36be34bc28312244bca1a1532e23c33a391a51de9e8", "format": 1 }, { - "name": "docs/user_info_module.rst", + "name": "docs/ad_group_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f44b0a2bfbaec8af8fa32ccea2efed72f956df21efe5172ab52a2fb4141f08ef", + "chksum_sha256": "5c51173d9f6c28a385a2a882caa059313a394becad4697c14735d3cbd487df3c", "format": 1 }, { - "name": "docs/virtual_media_info_module.rst", + "name": "docs/add_ldisk_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "d595f381c6be9cb096d2cc174cbd3f3d405eef7cbd715e444ba27fb1995194b8", + "chksum_sha256": "619fbc1dc4ec6a8a94a4bfdb5cd7d10b6e81bad244be1f9eaebec7b4f60fe6fd", "format": 1 }, { - "name": "docs/volt_info_module.rst", + "name": "docs/adapter_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "3f45fa63ccd85934cd53e161aef76a27dc4f0058e82f30fee67c03342ce528d3", + "chksum_sha256": "08baf34559b1c38df8c0b13fb09477a76612edbea6522526942292095ad438f0", "format": 1 }, { @@ -1072,6 +1086,13 @@ "format": 1 }, { + "name": "plugins/modules/update_psu.py", + "ftype": "file", + "chksum_type": "sha256", + "chksum_sha256": "4538fdc16b057edcb9b27214670580b75470fa60a82aafa18cc56a8f3347fdc9", + "format": 1 + }, + { "name": "plugins/modules/update_fw.py", "ftype": "file", "chksum_type": "sha256", @@ -1373,6 +1394,13 @@ "format": 1 }, { + "name": "plugins/modules/hba_info.py", + "ftype": "file", + "chksum_type": "sha256", + "chksum_sha256": "ea2ced1fe74d38ed779f7aae00d5d4dc53329477585534375642f4565b408a72", + "format": 1 + }, + { "name": "plugins/modules/hard_disk_info.py", "ftype": "file", "chksum_type": "sha256", @@ -1474,7 +1502,7 @@ "name": "plugins/modules/edit_smtp_com.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "3f84681b42d22bc50f66739bc8039f012d2ccb53118002ff28d8a46197c2c2cd", + "chksum_sha256": "1a5770459c3b0ab438b7f82007d282a86ed5569b4bac2ac9ef864e2632ed828a", "format": 1 }, { @@ -1698,7 +1726,7 @@ "name": "plugins/modules/edit_bios.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "913229e15f09cb8a34f7503da31980c3c228270c8ddb320342e3db5dc06c6450", + "chksum_sha256": "f58a1d19305c03355fb95919033e24a27894ab8745a0271820c1a45b370f1b7b", "format": 1 }, { @@ -1901,7 +1929,7 @@ "name": "plugins/modules/add_ldisk.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "21395635865f0073c3eac817c96875aae8a201eab3a7d22641edc35d13cfff16", + "chksum_sha256": "511feb611555b467176c52f940945da26637562c82edc477984a93e730c721ba", "format": 1 }, { @@ -1936,7 +1964,7 @@ "name": "CHANGELOG.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "121aecf983814387fcdfabda5b873ac575af5ad96c0ffd788e3e80d3155e3d22", + "chksum_sha256": "66193d88779c0af663a37ab4052fad2df20b6c48d5b1da29f7007b0328d01059", "format": 1 }, { diff --git a/ansible_collections/inspur/ispim/MANIFEST.json b/ansible_collections/inspur/ispim/MANIFEST.json index e6a8e8c4d..1c17b459b 100644 --- a/ansible_collections/inspur/ispim/MANIFEST.json +++ b/ansible_collections/inspur/ispim/MANIFEST.json @@ -2,7 +2,7 @@ "collection_info": { "namespace": "inspur", "name": "ispim", - "version": "1.3.0", + "version": "2.2.0", "authors": [ "Baoshan Wang <wangbaoshan@inspur.com>" ], @@ -29,7 +29,7 @@ "name": "FILES.json", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f3c809e344d4e164421645a493054d4888583785b41d71f7566dd93ebf80bcd3", + "chksum_sha256": "73ae68f77dbcd6040daf9921dd7abcc32ae72b0f46a30e9503be6b1538df9aa2", "format": 1 }, "format": 1 diff --git a/ansible_collections/inspur/ispim/changelogs/.plugin-cache.yaml b/ansible_collections/inspur/ispim/changelogs/.plugin-cache.yaml index e7da5a03d..54a1668ea 100644 --- a/ansible_collections/inspur/ispim/changelogs/.plugin-cache.yaml +++ b/ansible_collections/inspur/ispim/changelogs/.plugin-cache.yaml @@ -232,7 +232,7 @@ plugins: description: Set bmc system and audit log setting name: edit_m6_log_setting namespace: '' - version_added: 2.0.0 + version_added: 1.3.0 edit_manual_capture: description: Set manual capture screen name: edit_manual_capture @@ -393,6 +393,11 @@ plugins: name: hard_disk_info namespace: '' version_added: 1.0.0 + hba_info: + description: Get CPU information + name: hba_info + namespace: '' + version_added: 2.1.0 kvm_info: description: Get KVM information name: kvm_info @@ -608,6 +613,11 @@ plugins: name: update_fw namespace: '' version_added: 1.0.0 + update_psu: + description: Update PSU + name: update_psu + namespace: '' + version_added: 2.0.0 user: description: Manage user name: user @@ -642,4 +652,4 @@ plugins: shell: {} strategy: {} vars: {} -version: 1.3.0 +version: 2.2.0 diff --git a/ansible_collections/inspur/ispim/changelogs/changelog.yaml b/ansible_collections/inspur/ispim/changelogs/changelog.yaml index 058101365..bf6d2ccc2 100644 --- a/ansible_collections/inspur/ispim/changelogs/changelog.yaml +++ b/ansible_collections/inspur/ispim/changelogs/changelog.yaml @@ -443,7 +443,43 @@ releases: - 15-ansible-test.yml - 18-edit_m7.yml modules: + - description: Set bmc system and audit log setting + name: edit_m6_log_setting + namespace: '' - description: Get support information name: support_info namespace: '' release_date: '2023-02-21' + 2.0.0: + changes: + minor_changes: + - The edit_bios module adds the list field. + fragments: + - 20-release 2.0.0.yaml + modules: + - description: Update PSU + name: update_psu + namespace: '' + release_date: '2023-05-29' + 2.0.1: + changes: + minor_changes: + - Change the ansible-test.yml application file version. + - Modify logical disk creation, add MV raid card compatible. + fragments: + - 21-ansible_test.yaml + - 24-add_ldisk.yaml + release_date: '2023-07-25' + 2.1.0: + modules: + - description: Get CPU information + name: hba_info + namespace: '' + release_date: '2023-08-04' + 2.2.0: + changes: + minor_changes: + - Modify edit_smtp_com and add description information. + fragments: + - 29-edit_smtp_com.yaml + release_date: '2023-11-28' diff --git a/ansible_collections/inspur/ispim/docs/add_ldisk_module.rst b/ansible_collections/inspur/ispim/docs/add_ldisk_module.rst index 78d2045ba..2f94e68d6 100644 --- a/ansible_collections/inspur/ispim/docs/add_ldisk_module.rst +++ b/ansible_collections/inspur/ispim/docs/add_ldisk_module.rst @@ -147,7 +147,7 @@ Parameters </td> <td> <div>Raid controller ID.</div> - <div>Required when <em>Info=None</em> and controller type is LSI or PMC.</div> + <div>Required when <em>Info=None</em> and controller type is LSI,PMC or MV.</div> </td> </tr> <tr> @@ -373,7 +373,8 @@ Parameters </td> <td> <ul style="margin: 0; padding: 0"><b>Choices:</b> - <li>1</li> + <li>0</li> + <li>1</li> <li>2</li> <li>3</li> <li>4</li> @@ -381,8 +382,10 @@ Parameters </ul> </td> <td> - <div>Strip Size, 1 - 64k, 2 - 128k, 3 - 256k, 4 - 512k, 5 - 1024k.</div> - <div>Required when <em>Info=None</em> and controller type is LSI or PMC.</div> + <div>Strip Size, 0 - 32k, 1 - 64k, 2 - 128k, 3 - 256k, 4 - 512k, 5 - 1024k.</div> + <div>Required when <em>Info=None</em> and controller type is LSI,PMC or MV.</div> + <div>When the controller type is MV,size is [0, 1].</div> + <div>When the controller type is LSI or PMC,size is [1, 2, 3, 4, 5].</div> </td> </tr> <tr> @@ -430,6 +433,7 @@ Parameters <td> <div>Virtual drive name.</div> <div>Required when <em>Info=None</em> and controller type is PMC or server model is M7.</div> + <div>Required when <em>Info=None</em> and controller type is MV.</div> </td> </tr> <tr> @@ -449,7 +453,7 @@ Parameters </ul> </td> <td> - <div>Write Policy, 1 - Write Throgh, 2 - Write Back, 3 - Write caching ok if bad BBU.</div> + <div>Write Policy, 1 - Write Through, 2 - Write Back, 3 - Write caching ok if bad BBU.</div> <div>Required when <em>Info=None</em> and controller type is LSI.</div> </td> </tr> @@ -492,7 +496,7 @@ Examples info: "show" provider: "{{ ism }}" - - name: "Add ldisk" + - name: "Add LSI ldisk" inspur.ispim.add_ldisk: ctrl_id: 0 level: 1 @@ -507,7 +511,7 @@ Examples slot: 0,1 provider: "{{ ism }}" - - name: "Add PMC ldisk" + - name: "Add PMC ldisk" inspur.ispim.add_ldisk: ctrl_id: 0 level: 1 @@ -517,6 +521,13 @@ Examples vname: "test" provider: "{{ ism }}" + - name: "Add MV ldisk" + inspur.ispim.add_ldisk: + ctrl_id: 0 + size: 1 + vname: "test" + provider: "{{ ism }}" + diff --git a/ansible_collections/inspur/ispim/docs/edit_bios_module.rst b/ansible_collections/inspur/ispim/docs/edit_bios_module.rst index 8f768d915..ad6c1de4a 100644 --- a/ansible_collections/inspur/ispim/docs/edit_bios_module.rst +++ b/ansible_collections/inspur/ispim/docs/edit_bios_module.rst @@ -84,7 +84,7 @@ Parameters </td> <td> <div>BIOS setup option.</div> - <div>Required when <em>file_url=None</em>.</div> + <div>Required when <em>list=False</em> and <em>file_url=None</em>.</div> </td> </tr> <tr> @@ -120,6 +120,25 @@ Parameters </tr> <tr> <td colspan="2"> + <div class="ansibleOptionAnchor" id="parameter-list"></div> + <b>list</b> + <a class="ansibleOptionLink" href="#parameter-list" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">boolean</span> + </div> + </td> + <td> + <ul style="margin: 0; padding: 0"><b>Choices:</b> + <li><div style="color: blue"><b>no</b> ←</div></li> + <li>yes</li> + </ul> + </td> + <td> + <div>show attribute name and configurable value.</div> + </td> + </tr> + <tr> + <td colspan="2"> <div class="ansibleOptionAnchor" id="parameter-password"></div> <b>password</b> <a class="ansibleOptionLink" href="#parameter-password" title="Permalink to this option"></a> @@ -225,7 +244,7 @@ Parameters </td> <td> <div>BIOS setup option value.</div> - <div>Required when <em>file_url=None</em>.</div> + <div>Required when <em>list=False</em> and <em>file_url=None</em>.</div> </td> </tr> </table> diff --git a/ansible_collections/inspur/ispim/docs/edit_m6_log_setting_module.rst b/ansible_collections/inspur/ispim/docs/edit_m6_log_setting_module.rst index 0002d0152..044d09d28 100644 --- a/ansible_collections/inspur/ispim/docs/edit_m6_log_setting_module.rst +++ b/ansible_collections/inspur/ispim/docs/edit_m6_log_setting_module.rst @@ -28,7 +28,7 @@ inspur.ispim.edit_m6_log_setting -- Set bmc system and audit log setting .. version_added -.. versionadded:: 2.0.0 of inspur.ispim +.. versionadded:: 1.3.0 of inspur.ispim .. contents:: :local: diff --git a/ansible_collections/inspur/ispim/docs/edit_smtp_com_module.rst b/ansible_collections/inspur/ispim/docs/edit_smtp_com_module.rst index 1d03e4191..ea649925b 100644 --- a/ansible_collections/inspur/ispim/docs/edit_smtp_com_module.rst +++ b/ansible_collections/inspur/ispim/docs/edit_smtp_com_module.rst @@ -82,7 +82,11 @@ Parameters </div> </td> <td> - </td> + <ul style="margin: 0; padding: 0"><b>Choices:</b> + <li>enable</li> + <li>disable</li> + </ul> + </td> <td> <div>product asset label,</div> </td> @@ -112,7 +116,12 @@ Parameters </div> </td> <td> - </td> + <ul style="margin: 0; padding: 0"><b>Choices:</b> + <li>Info</li> + <li>Warning</li> + <li>Critical</li> + </ul> + </td> <td> <div>Events above this level will be sent.</div> </td> @@ -142,7 +151,11 @@ Parameters </div> </td> <td> - </td> + <ul style="margin: 0; padding: 0"><b>Choices:</b> + <li>enable</li> + <li>disable</li> + </ul> + </td> <td> <div>Server name.</div> </td> @@ -236,7 +249,11 @@ Parameters </div> </td> <td> - </td> + <ul style="margin: 0; padding: 0"><b>Choices:</b> + <li>enable</li> + <li>disable</li> + </ul> + </td> <td> <div>Serial number.</div> </td> diff --git a/ansible_collections/inspur/ispim/docs/hba_info_module.rst b/ansible_collections/inspur/ispim/docs/hba_info_module.rst new file mode 100644 index 000000000..2577af8d2 --- /dev/null +++ b/ansible_collections/inspur/ispim/docs/hba_info_module.rst @@ -0,0 +1,302 @@ +.. Document meta + +:orphan: + +.. Anchors + +.. _ansible_collections.inspur.ispim.hba_info_module: + +.. Anchors: short name for ansible.builtin + +.. Anchors: aliases + + + +.. Title + +inspur.ispim.hba_info -- Get CPU information +++++++++++++++++++++++++++++++++++++++++++++ + +.. Collection note + +.. note:: + This plugin is part of the `inspur.ispim collection <https://galaxy.ansible.com/inspur/ispim>`_. + + To install it use: :code:`ansible-galaxy collection install inspur.ispim`. + + To use it in a playbook, specify: :code:`inspur.ispim.hba_info`. + +.. version_added + +.. versionadded:: 2.1.0 of inspur.ispim + +.. contents:: + :local: + :depth: 1 + +.. Deprecated + + +Synopsis +-------- + +.. Description + +- Get HBA information on Inspur server. + + +.. Aliases + + +.. Requirements + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- Python 3.7+ +- inspursmsdk + + +.. Options + +Parameters +---------- + +.. raw:: html + + <table border=0 cellpadding=0 class="documentation-table"> + <tr> + <th colspan="2">Parameter</th> + <th>Choices/<font color="blue">Defaults</font></th> + <th width="100%">Comments</th> + </tr> + <tr> + <td colspan="2"> + <div class="ansibleOptionAnchor" id="parameter-host"></div> + <b>host</b> + <a class="ansibleOptionLink" href="#parameter-host" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">string</span> + </div> + </td> + <td> + </td> + <td> + <div>Specifies the DNS host name or address for connecting to the remote device over the specified transport. The value of host is used as the destination address for the transport.</div> + </td> + </tr> + <tr> + <td colspan="2"> + <div class="ansibleOptionAnchor" id="parameter-password"></div> + <b>password</b> + <a class="ansibleOptionLink" href="#parameter-password" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">string</span> + </div> + </td> + <td> + </td> + <td> + <div>Specifies the password to use to authenticate the connection to the remote device. If the value is not specified in the task, the value of environment variable <code>ANSIBLE_NET_PASSWORD</code> will be used instead.</div> + </td> + </tr> + <tr> + <td colspan="2"> + <div class="ansibleOptionAnchor" id="parameter-provider"></div> + <b>provider</b> + <a class="ansibleOptionLink" href="#parameter-provider" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">dictionary</span> + </div> + </td> + <td> + </td> + <td> + <div>A dict object containing connection details.</div> + </td> + </tr> + <tr> + <td class="elbow-placeholder"></td> + <td colspan="1"> + <div class="ansibleOptionAnchor" id="parameter-provider/host"></div> + <b>host</b> + <a class="ansibleOptionLink" href="#parameter-provider/host" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">string</span> + </div> + </td> + <td> + </td> + <td> + <div>Specifies the DNS host name or address for connecting to the remote device over the specified transport. The value of host is used as the destination address for the transport.</div> + </td> + </tr> + <tr> + <td class="elbow-placeholder"></td> + <td colspan="1"> + <div class="ansibleOptionAnchor" id="parameter-provider/password"></div> + <b>password</b> + <a class="ansibleOptionLink" href="#parameter-provider/password" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">string</span> + </div> + </td> + <td> + </td> + <td> + <div>Specifies the password to use to authenticate the connection to the remote device. If the value is not specified in the task, the value of environment variable <code>ANSIBLE_NET_PASSWORD</code> will be used instead.</div> + </td> + </tr> + <tr> + <td class="elbow-placeholder"></td> + <td colspan="1"> + <div class="ansibleOptionAnchor" id="parameter-provider/username"></div> + <b>username</b> + <a class="ansibleOptionLink" href="#parameter-provider/username" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">string</span> + </div> + </td> + <td> + </td> + <td> + <div>Configures the username to use to authenticate the connection to the remote device. If the value is not specified in the task, the value of environment variable <code>ANSIBLE_NET_USERNAME</code> will be used instead.</div> + </td> + </tr> + + <tr> + <td colspan="2"> + <div class="ansibleOptionAnchor" id="parameter-username"></div> + <b>username</b> + <a class="ansibleOptionLink" href="#parameter-username" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">string</span> + </div> + </td> + <td> + </td> + <td> + <div>Configures the username to use to authenticate the connection to the remote device. If the value is not specified in the task, the value of environment variable <code>ANSIBLE_NET_USERNAME</code> will be used instead.</div> + </td> + </tr> + </table> + <br/> + +.. Notes + +Notes +----- + +.. note:: + - Supports ``check_mode``. + +.. Seealso + + +.. Examples + +Examples +-------- + +.. code-block:: yaml+jinja + + + - name: HBA test + hosts: ism + connection: local + gather_facts: no + vars: + ism: + host: "{{ ansible_ssh_host }}" + username: "{{ username }}" + password: "{{ password }}" + + tasks: + + - name: "Get hba information" + inspur.ispim.hba_info: + provider: "{{ ism }}" + + + + +.. Facts + + +.. Return values + +Return Values +------------- +Common return values are documented :ref:`here <common_return_values>`, the following are the fields unique to this module: + +.. raw:: html + + <table border=0 cellpadding=0 class="documentation-table"> + <tr> + <th colspan="1">Key</th> + <th>Returned</th> + <th width="100%">Description</th> + </tr> + <tr> + <td colspan="1"> + <div class="ansibleOptionAnchor" id="return-changed"></div> + <b>changed</b> + <a class="ansibleOptionLink" href="#return-changed" title="Permalink to this return value"></a> + <div style="font-size: small"> + <span style="color: purple">boolean</span> + </div> + </td> + <td>always</td> + <td> + <div>Check to see if a change was made on the device.</div> + <br/> + </td> + </tr> + <tr> + <td colspan="1"> + <div class="ansibleOptionAnchor" id="return-message"></div> + <b>message</b> + <a class="ansibleOptionLink" href="#return-message" title="Permalink to this return value"></a> + <div style="font-size: small"> + <span style="color: purple">string</span> + </div> + </td> + <td>always</td> + <td> + <div>Messages returned after module execution.</div> + <br/> + </td> + </tr> + <tr> + <td colspan="1"> + <div class="ansibleOptionAnchor" id="return-state"></div> + <b>state</b> + <a class="ansibleOptionLink" href="#return-state" title="Permalink to this return value"></a> + <div style="font-size: small"> + <span style="color: purple">string</span> + </div> + </td> + <td>always</td> + <td> + <div>Status after module execution.</div> + <br/> + </td> + </tr> + </table> + <br/><br/> + +.. Status (Presently only deprecated) + + +.. Authors + +Authors +~~~~~~~ + +- WangBaoshan (@ispim) + + + +.. Parsing errors + diff --git a/ansible_collections/inspur/ispim/docs/index.rst b/ansible_collections/inspur/ispim/docs/index.rst index 09ef35b41..270bdd1c9 100644 --- a/ansible_collections/inspur/ispim/docs/index.rst +++ b/ansible_collections/inspur/ispim/docs/index.rst @@ -134,6 +134,7 @@ Modules * :ref:`uid_info <ansible_collections.inspur.ispim.uid_info_module>` -- Get UID information * :ref:`update_cpld <ansible_collections.inspur.ispim.update_cpld_module>` -- Update CPLD * :ref:`update_fw <ansible_collections.inspur.ispim.update_fw_module>` -- Update firmware +* :ref:`update_psu <ansible_collections.inspur.ispim.update_psu_module>` -- Update PSU * :ref:`user <ansible_collections.inspur.ispim.user_module>` -- Manage user * :ref:`user_group <ansible_collections.inspur.ispim.user_group_module>` -- Manage user group * :ref:`user_group_info <ansible_collections.inspur.ispim.user_group_info_module>` -- Get user group information diff --git a/ansible_collections/inspur/ispim/docs/update_psu_module.rst b/ansible_collections/inspur/ispim/docs/update_psu_module.rst new file mode 100644 index 000000000..13fbfad0c --- /dev/null +++ b/ansible_collections/inspur/ispim/docs/update_psu_module.rst @@ -0,0 +1,338 @@ +.. Document meta + +:orphan: + +.. Anchors + +.. _ansible_collections.inspur.ispim.update_psu_module: + +.. Anchors: short name for ansible.builtin + +.. Anchors: aliases + + + +.. Title + +inspur.ispim.update_psu -- Update PSU ++++++++++++++++++++++++++++++++++++++ + +.. Collection note + +.. note:: + This plugin is part of the `inspur.ispim collection <https://galaxy.ansible.com/inspur/ispim>`_. + + To install it use: :code:`ansible-galaxy collection install inspur.ispim`. + + To use it in a playbook, specify: :code:`inspur.ispim.update_psu`. + +.. version_added + +.. versionadded:: 2.0.0 of inspur.ispim + +.. contents:: + :local: + :depth: 1 + +.. Deprecated + + +Synopsis +-------- + +.. Description + +- Update psu on Inspur server. + + +.. Aliases + + +.. Requirements + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- Python 3.7+ +- inspursmsdk + + +.. Options + +Parameters +---------- + +.. raw:: html + + <table border=0 cellpadding=0 class="documentation-table"> + <tr> + <th colspan="2">Parameter</th> + <th>Choices/<font color="blue">Defaults</font></th> + <th width="100%">Comments</th> + </tr> + <tr> + <td colspan="2"> + <div class="ansibleOptionAnchor" id="parameter-host"></div> + <b>host</b> + <a class="ansibleOptionLink" href="#parameter-host" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">string</span> + </div> + </td> + <td> + </td> + <td> + <div>Specifies the DNS host name or address for connecting to the remote device over the specified transport. The value of host is used as the destination address for the transport.</div> + </td> + </tr> + <tr> + <td colspan="2"> + <div class="ansibleOptionAnchor" id="parameter-mode"></div> + <b>mode</b> + <a class="ansibleOptionLink" href="#parameter-mode" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">string</span> + </div> + </td> + <td> + <ul style="margin: 0; padding: 0"><b>Choices:</b> + <li><div style="color: blue"><b>Auto</b> ←</div></li> + <li>Manual</li> + </ul> + </td> + <td> + <div>Server Auto Reset Option, Manual or Auto(default).</div> + </td> + </tr> + <tr> + <td colspan="2"> + <div class="ansibleOptionAnchor" id="parameter-password"></div> + <b>password</b> + <a class="ansibleOptionLink" href="#parameter-password" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">string</span> + </div> + </td> + <td> + </td> + <td> + <div>Specifies the password to use to authenticate the connection to the remote device. If the value is not specified in the task, the value of environment variable <code>ANSIBLE_NET_PASSWORD</code> will be used instead.</div> + </td> + </tr> + <tr> + <td colspan="2"> + <div class="ansibleOptionAnchor" id="parameter-provider"></div> + <b>provider</b> + <a class="ansibleOptionLink" href="#parameter-provider" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">dictionary</span> + </div> + </td> + <td> + </td> + <td> + <div>A dict object containing connection details.</div> + </td> + </tr> + <tr> + <td class="elbow-placeholder"></td> + <td colspan="1"> + <div class="ansibleOptionAnchor" id="parameter-provider/host"></div> + <b>host</b> + <a class="ansibleOptionLink" href="#parameter-provider/host" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">string</span> + </div> + </td> + <td> + </td> + <td> + <div>Specifies the DNS host name or address for connecting to the remote device over the specified transport. The value of host is used as the destination address for the transport.</div> + </td> + </tr> + <tr> + <td class="elbow-placeholder"></td> + <td colspan="1"> + <div class="ansibleOptionAnchor" id="parameter-provider/password"></div> + <b>password</b> + <a class="ansibleOptionLink" href="#parameter-provider/password" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">string</span> + </div> + </td> + <td> + </td> + <td> + <div>Specifies the password to use to authenticate the connection to the remote device. If the value is not specified in the task, the value of environment variable <code>ANSIBLE_NET_PASSWORD</code> will be used instead.</div> + </td> + </tr> + <tr> + <td class="elbow-placeholder"></td> + <td colspan="1"> + <div class="ansibleOptionAnchor" id="parameter-provider/username"></div> + <b>username</b> + <a class="ansibleOptionLink" href="#parameter-provider/username" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">string</span> + </div> + </td> + <td> + </td> + <td> + <div>Configures the username to use to authenticate the connection to the remote device. If the value is not specified in the task, the value of environment variable <code>ANSIBLE_NET_USERNAME</code> will be used instead.</div> + </td> + </tr> + + <tr> + <td colspan="2"> + <div class="ansibleOptionAnchor" id="parameter-url"></div> + <b>url</b> + <a class="ansibleOptionLink" href="#parameter-url" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">string</span> + / <span style="color: red">required</span> </div> + </td> + <td> + </td> + <td> + <div>Firmware image url.</div> + </td> + </tr> + <tr> + <td colspan="2"> + <div class="ansibleOptionAnchor" id="parameter-username"></div> + <b>username</b> + <a class="ansibleOptionLink" href="#parameter-username" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">string</span> + </div> + </td> + <td> + </td> + <td> + <div>Configures the username to use to authenticate the connection to the remote device. If the value is not specified in the task, the value of environment variable <code>ANSIBLE_NET_USERNAME</code> will be used instead.</div> + </td> + </tr> + </table> + <br/> + +.. Notes + +Notes +----- + +.. note:: + - Does not support ``check_mode``. + +.. Seealso + + +.. Examples + +Examples +-------- + +.. code-block:: yaml+jinja + + + - name: Update psu test + hosts: ism + connection: local + gather_facts: no + vars: + ism: + host: "{{ ansible_ssh_host }}" + username: "{{ username }}" + password: "{{ password }}" + + tasks: + + - name: "update psu" + inspur.ispim.update_psu: + url: "/home/wbs/CRPS1300D2W_00.01.04_BootLoader_Pri_Sec.hpm" + mode: "Auto" + provider: "{{ ism }}" + + + + +.. Facts + + +.. Return values + +Return Values +------------- +Common return values are documented :ref:`here <common_return_values>`, the following are the fields unique to this module: + +.. raw:: html + + <table border=0 cellpadding=0 class="documentation-table"> + <tr> + <th colspan="1">Key</th> + <th>Returned</th> + <th width="100%">Description</th> + </tr> + <tr> + <td colspan="1"> + <div class="ansibleOptionAnchor" id="return-changed"></div> + <b>changed</b> + <a class="ansibleOptionLink" href="#return-changed" title="Permalink to this return value"></a> + <div style="font-size: small"> + <span style="color: purple">boolean</span> + </div> + </td> + <td>always</td> + <td> + <div>Check to see if a change was made on the device.</div> + <br/> + </td> + </tr> + <tr> + <td colspan="1"> + <div class="ansibleOptionAnchor" id="return-message"></div> + <b>message</b> + <a class="ansibleOptionLink" href="#return-message" title="Permalink to this return value"></a> + <div style="font-size: small"> + <span style="color: purple">string</span> + </div> + </td> + <td>always</td> + <td> + <div>Messages returned after module execution.</div> + <br/> + </td> + </tr> + <tr> + <td colspan="1"> + <div class="ansibleOptionAnchor" id="return-state"></div> + <b>state</b> + <a class="ansibleOptionLink" href="#return-state" title="Permalink to this return value"></a> + <div style="font-size: small"> + <span style="color: purple">string</span> + </div> + </td> + <td>always</td> + <td> + <div>Status after module execution.</div> + <br/> + </td> + </tr> + </table> + <br/><br/> + +.. Status (Presently only deprecated) + + +.. Authors + +Authors +~~~~~~~ + +- WangBaoshan (@ispim) + + + +.. Parsing errors + diff --git a/ansible_collections/inspur/ispim/plugins/modules/add_ldisk.py b/ansible_collections/inspur/ispim/plugins/modules/add_ldisk.py index 9abe7bb22..02124b833 100644 --- a/ansible_collections/inspur/ispim/plugins/modules/add_ldisk.py +++ b/ansible_collections/inspur/ispim/plugins/modules/add_ldisk.py @@ -28,7 +28,7 @@ options: ctrl_id: description: - Raid controller ID. - - Required when I(Info=None) and controller type is LSI or PMC. + - Required when I(Info=None) and controller type is LSI,PMC or MV. type: int level: description: @@ -38,9 +38,11 @@ options: type: int size: description: - - Strip Size, 1 - 64k, 2 - 128k, 3 - 256k, 4 - 512k, 5 - 1024k. - - Required when I(Info=None) and controller type is LSI or PMC. - choices: [1, 2, 3, 4, 5] + - Strip Size, 0 - 32k, 1 - 64k, 2 - 128k, 3 - 256k, 4 - 512k, 5 - 1024k. + - Required when I(Info=None) and controller type is LSI,PMC or MV. + - When the controller type is MV,size is [0, 1]. + - When the controller type is LSI or PMC,size is [1, 2, 3, 4, 5]. + choices: [0, 1, 2, 3, 4, 5] type: int access: description: @@ -56,7 +58,7 @@ options: type: int w: description: - - Write Policy, 1 - Write Throgh, 2 - Write Back, 3 - Write caching ok if bad BBU. + - Write Policy, 1 - Write Through, 2 - Write Back, 3 - Write caching ok if bad BBU. - Required when I(Info=None) and controller type is LSI. choices: [1, 2, 3] type: int @@ -99,6 +101,7 @@ options: description: - Virtual drive name. - Required when I(Info=None) and controller type is PMC or server model is M7. + - Required when I(Info=None) and controller type is MV. type: str extends_documentation_fragment: - inspur.ispim.ism @@ -122,7 +125,7 @@ EXAMPLES = ''' info: "show" provider: "{{ ism }}" - - name: "Add ldisk" + - name: "Add LSI ldisk" inspur.ispim.add_ldisk: ctrl_id: 0 level: 1 @@ -137,7 +140,7 @@ EXAMPLES = ''' slot: 0,1 provider: "{{ ism }}" - - name: "Add PMC ldisk" + - name: "Add PMC ldisk" inspur.ispim.add_ldisk: ctrl_id: 0 level: 1 @@ -146,6 +149,13 @@ EXAMPLES = ''' slot: 0,1 vname: "test" provider: "{{ ism }}" + + - name: "Add MV ldisk" + inspur.ispim.add_ldisk: + ctrl_id: 0 + size: 1 + vname: "test" + provider: "{{ ism }}" ''' RETURN = ''' @@ -201,7 +211,7 @@ def main(): info=dict(type='str', required=False, choices=['show']), ctrl_id=dict(type='int', required=False), level=dict(type='int', required=False, choices=[0, 1, 5, 6, 10]), - size=dict(type='int', required=False, choices=[1, 2, 3, 4, 5]), + size=dict(type='int', required=False, choices=[0, 1, 2, 3, 4, 5]), access=dict(type='int', required=False, choices=[1, 2, 3]), r=dict(type='int', required=False, choices=[1, 2]), w=dict(type='int', required=False, choices=[1, 2, 3]), diff --git a/ansible_collections/inspur/ispim/plugins/modules/edit_bios.py b/ansible_collections/inspur/ispim/plugins/modules/edit_bios.py index d1175644f..c9185fc16 100644 --- a/ansible_collections/inspur/ispim/plugins/modules/edit_bios.py +++ b/ansible_collections/inspur/ispim/plugins/modules/edit_bios.py @@ -20,15 +20,20 @@ description: notes: - Does not support C(check_mode). options: + list: + description: + - show attribute name and configurable value. + default: False + type: bool attribute: description: - BIOS setup option. - - Required when I(file_url=None). + - Required when I(list=False) and I(file_url=None). type: str value: description: - BIOS setup option value. - - Required when I(file_url=None). + - Required when I(list=False) and I(file_url=None). type: str file_url: description: @@ -115,6 +120,7 @@ class BIOS(object): def main(): argument_spec = dict( + list=dict(type='bool', required=False, default=False), attribute=dict(type='str', required=False), value=dict(type='str', required=False), file_url=dict(type='str', required=False) diff --git a/ansible_collections/inspur/ispim/plugins/modules/edit_smtp_com.py b/ansible_collections/inspur/ispim/plugins/modules/edit_smtp_com.py index 85bf93b2f..4965ec6c5 100644 --- a/ansible_collections/inspur/ispim/plugins/modules/edit_smtp_com.py +++ b/ansible_collections/inspur/ispim/plugins/modules/edit_smtp_com.py @@ -78,18 +78,22 @@ options: host_name: description: - Server name. + choices: ['enable', 'disable'] type: str serial_number: description: - Serial number. + choices: ['enable', 'disable'] type: str asset_tag: description: - product asset label, + choices: ['enable', 'disable'] type: str event_level: description: - Events above this level will be sent. + choices: ['Info', 'Warning', 'Critical'] type: str extends_documentation_fragment: - inspur.ispim.ism @@ -186,10 +190,10 @@ def main(): ssl_tls_enable=dict(type='str', required=False, choices=['enable', 'disable']), star_tls_enable=dict(type='str', required=False, choices=['enable', 'disable']), subject=dict(type='str', required=False), - host_name=dict(type='str', required=False), - serial_number=dict(type='str', required=False), - asset_tag=dict(type='str', required=False), - event_level=dict(type='str', required=False), + host_name=dict(type='str', required=False, choices=['enable', 'disable']), + serial_number=dict(type='str', required=False, choices=['enable', 'disable']), + asset_tag=dict(type='str', required=False, choices=['enable', 'disable']), + event_level=dict(type='str', required=False, choices=['Info', 'Warning', 'Critical']), ) argument_spec.update(ism_argument_spec) smtp_obj = SMTP(argument_spec) diff --git a/ansible_collections/inspur/ispim/plugins/modules/hba_info.py b/ansible_collections/inspur/ispim/plugins/modules/hba_info.py new file mode 100644 index 000000000..ccb11cb11 --- /dev/null +++ b/ansible_collections/inspur/ispim/plugins/modules/hba_info.py @@ -0,0 +1,99 @@ +#!/usr/bin/python +# -*- coding:utf-8 -*- + +# Copyright (C) 2020 Inspur Inc. All Rights Reserved. +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) + +from __future__ import (absolute_import, division, print_function) + +__metaclass__ = type + +DOCUMENTATION = ''' +--- +module: hba_info +version_added: "2.1.0" +author: + - WangBaoshan (@ispim) +short_description: Get CPU information +description: + - Get HBA information on Inspur server. +notes: + - Supports C(check_mode). +options: {} +extends_documentation_fragment: + - inspur.ispim.ism +''' + +EXAMPLES = ''' +- name: HBA test + hosts: ism + connection: local + gather_facts: no + vars: + ism: + host: "{{ ansible_ssh_host }}" + username: "{{ username }}" + password: "{{ password }}" + + tasks: + + - name: "Get hba information" + inspur.ispim.hba_info: + provider: "{{ ism }}" +''' + +RETURN = ''' +message: + description: Messages returned after module execution. + returned: always + type: str +state: + description: Status after module execution. + returned: always + type: str +changed: + description: Check to see if a change was made on the device. + returned: always + type: bool +''' + +from ansible.module_utils.basic import AnsibleModule +from ansible_collections.inspur.ispim.plugins.module_utils.ism import (ism_argument_spec, get_connection) + + +class HBA(object): + def __init__(self, argument_spec): + self.spec = argument_spec + self.module = None + self.init_module() + self.results = dict() + + def init_module(self): + """Init module object""" + + self.module = AnsibleModule( + argument_spec=self.spec, supports_check_mode=True) + + def run_command(self): + self.module.params['subcommand'] = 'gethba' + self.results = get_connection(self.module) + + def show_result(self): + """Show result""" + self.module.exit_json(**self.results) + + def work(self): + """Worker""" + self.run_command() + self.show_result() + + +def main(): + argument_spec = dict() + argument_spec.update(ism_argument_spec) + hba_obj = HBA(argument_spec) + hba_obj.work() + + +if __name__ == '__main__': + main() diff --git a/ansible_collections/inspur/ispim/plugins/modules/update_psu.py b/ansible_collections/inspur/ispim/plugins/modules/update_psu.py new file mode 100644 index 000000000..94929d326 --- /dev/null +++ b/ansible_collections/inspur/ispim/plugins/modules/update_psu.py @@ -0,0 +1,117 @@ +#!/usr/bin/python +# -*- coding:utf-8 -*- + +# Copyright (C) 2020 Inspur Inc. All Rights Reserved. +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) + +from __future__ import (absolute_import, division, print_function) + +__metaclass__ = type + +DOCUMENTATION = ''' +--- +module: update_psu +version_added: "2.0.0" +author: + - WangBaoshan (@ispim) +short_description: Update PSU +description: + - Update psu on Inspur server. +notes: + - Does not support C(check_mode). +options: + url: + description: + - Firmware image url. + required: true + type: str + mode: + description: + - Server Auto Reset Option, Manual or Auto(default). + default: Auto + choices: ['Auto', 'Manual'] + type: str +extends_documentation_fragment: + - inspur.ispim.ism +''' + +EXAMPLES = ''' +- name: Update psu test + hosts: ism + connection: local + gather_facts: no + vars: + ism: + host: "{{ ansible_ssh_host }}" + username: "{{ username }}" + password: "{{ password }}" + + tasks: + + - name: "update psu" + inspur.ispim.update_psu: + url: "/home/wbs/CRPS1300D2W_00.01.04_BootLoader_Pri_Sec.hpm" + mode: "Auto" + provider: "{{ ism }}" +''' + +RETURN = ''' +message: + description: Messages returned after module execution. + returned: always + type: str +state: + description: Status after module execution. + returned: always + type: str +changed: + description: Check to see if a change was made on the device. + returned: always + type: bool +''' + +from ansible.module_utils.basic import AnsibleModule +from ansible_collections.inspur.ispim.plugins.module_utils.ism import (ism_argument_spec, get_connection) + + +class Update(object): + def __init__(self, argument_spec): + self.spec = argument_spec + self.module = None + self.init_module() + self.results = dict() + + def init_module(self): + """Init module object""" + + self.module = AnsibleModule( + argument_spec=self.spec, supports_check_mode=False) + + def run_command(self): + self.module.params['subcommand'] = 'updatepsu' + self.results = get_connection(self.module) + if self.results['State'] == 'Success': + self.results['changed'] = True + + def show_result(self): + """Show result""" + self.module.exit_json(**self.results) + + def work(self): + """Worker""" + self.run_command() + self.show_result() + + +def main(): + argument_spec = dict( + url=dict(type='str', required=True), + mode=dict(type='str', default='Auto', choices=['Auto', 'Manual']), + ) + argument_spec.update(ism_argument_spec) + update_obj = Update(argument_spec) + update_obj.work() + + +if __name__ == '__main__': + main() |