Skip to content

Commit

Permalink
Release 2.0.0 (#49)
Browse files Browse the repository at this point in the history
Add the onboard_disk_info module
  • Loading branch information
ISIB-Group authored Nov 19, 2021
1 parent 2075702 commit 3639725
Show file tree
Hide file tree
Showing 13 changed files with 595 additions and 20 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@ Inspur.sm Release Notes
.. contents:: Topics


v2.0.0
======

Minor Changes
-------------

- Add the onboard_disk_info module.
- Modified logical disk Settings, added logical disk Settings for M6 PMC card.
- Modify the edit_pdisk function to add new parameters.
- The user module adds the mailbox field.

New Modules
-----------

- inspur.sm.onboard_disk_info - Get onboard disks information.

v1.2.0
======

Expand Down
7 changes: 6 additions & 1 deletion changelogs/.plugin-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,11 @@ plugins:
name: ntp_info
namespace: ''
version_added: 0.1.0
onboard_disk_info:
description: Get onboard disks information.
name: onboard_disk_info
namespace: ''
version_added: 2.0.0
pcie_info:
description: Get PCIE information.
name: pcie_info
Expand Down Expand Up @@ -692,4 +697,4 @@ plugins:
shell: {}
strategy: {}
vars: {}
version: 1.2.0
version: 2.0.0
17 changes: 17 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,20 @@ releases:
fragments:
- m6_compatible.yml
release_date: '2021-05-19'
2.0.0:
changes:
minor_changes:
- Add the onboard_disk_info module.
- Modified logical disk Settings, added logical disk Settings for M6 PMC card.
- Modify the edit_pdisk function to add new parameters.
- The user module adds the mailbox field.
fragments:
- 46-add_user_email.yml
- 47-edit_creaete_ldisk.yml
- 48-edit_pdisk.yml
- 49-add_onboard_disk_info.yml
modules:
- description: Get onboard disks information.
name: onboard_disk_info
namespace: ''
release_date: '2021-11-18'
2 changes: 0 additions & 2 deletions changelogs/fragments/46-add_user_email.yml

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/47-edit_creaete_ldisk.yml

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/48-edit_pdisk.yml

This file was deleted.

68 changes: 57 additions & 11 deletions docs/add_ldisk_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,27 @@ Parameters
</tr>
<tr>
<td colspan="2">
<div class="ansibleOptionAnchor" id="parameter-accelerator"></div>
<b>accelerator</b>
<a class="ansibleOptionLink" href="#parameter-accelerator" title="Permalink to this option"></a>
<div style="font-size: small">
<span style="color: purple">integer</span>
</div>
</td>
<td>
<ul style="margin: 0; padding: 0"><b>Choices:</b>
<li>1</li>
<li>2</li>
<li>3</li>
</ul>
</td>
<td>
<div>Driver accelerator, 1 - 1h, 2 - 2h, 3 - 3h.</div>
<div>Required when <em>Info=None</em> and controller type is PMC.</div>
</td>
</tr>
<tr>
<td colspan="2">
<div class="ansibleOptionAnchor" id="parameter-access"></div>
<b>access</b>
<a class="ansibleOptionLink" href="#parameter-access" title="Permalink to this option"></a>
Expand All @@ -81,7 +102,7 @@ Parameters
</td>
<td>
<div>Access Policy, 1 - Read Write, 2 - Read Only, 3 - Blocked.</div>
<div>Required when <em>Info=None</em>.</div>
<div>Required when <em>Info=None</em> and controller type is LSI.</div>
</td>
</tr>
<tr>
Expand All @@ -102,7 +123,7 @@ Parameters
</td>
<td>
<div>Drive Cache, 1 - Unchanged, 2 - Enabled,3 - Disabled.</div>
<div>Required when <em>Info=None</em>.</div>
<div>Required when <em>Info=None</em> and controller type is LSI.</div>
</td>
</tr>
<tr>
Expand All @@ -118,7 +139,7 @@ Parameters
</td>
<td>
<div>Raid controller ID.</div>
<div>Required when <em>Info=None</em>.</div>
<div>Required when <em>Info=None</em> and controller type is LSI or PMC.</div>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -172,7 +193,7 @@ Parameters
</td>
<td>
<div>Init State, 1 - No Init, 2 - Quick Init, 3 - Full Init.</div>
<div>Required when <em>Info=None</em>.</div>
<div>Required when <em>Info=None</em> and controller type is LSI.</div>
</td>
</tr>
<tr>
Expand All @@ -192,7 +213,7 @@ Parameters
</td>
<td>
<div>IO Policy, 1 - Direct IO, 2 - Cached IO.</div>
<div>Required when <em>Info=None</em>.</div>
<div>Required when <em>Info=None</em> and controller type is LSI.</div>
</td>
</tr>
<tr>
Expand All @@ -215,7 +236,7 @@ Parameters
</td>
<td>
<div>RAID Level, 0 - RAID0, 1 - RAID1, 5 - RAID5, 6 - RAID6, 10 - RAID10.</div>
<div>Required when <em>Info=None</em>.</div>
<div>Required when <em>Info=None</em> and controller type is LSI or PMC.</div>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -314,7 +335,7 @@ Parameters
</td>
<td>
<div>Read Policy, 1 - Read Ahead, 2 - No Read Ahead.</div>
<div>Required when <em>Info=None</em>.</div>
<div>Required when <em>Info=None</em> and controller type is LSI.</div>
</td>
</tr>
<tr>
Expand All @@ -330,7 +351,7 @@ Parameters
</td>
<td>
<div>Select Size, from 1 to 100.</div>
<div>Required when <em>Info=None</em>.</div>
<div>Required when <em>Info=None</em> and controller type is LSI.</div>
</td>
</tr>
<tr>
Expand All @@ -353,7 +374,7 @@ Parameters
</td>
<td>
<div>Strip Size, 1 - 64k, 2 - 128k, 3 - 256k, 4 - 512k, 5 - 1024k.</div>
<div>Required when <em>Info=None</em>.</div>
<div>Required when <em>Info=None</em> and controller type is LSI or PMC.</div>
</td>
</tr>
<tr>
Expand All @@ -369,7 +390,7 @@ Parameters
</td>
<td>
<div>Slot Num,input multiple slotNumber like 0,1,2....</div>
<div>Required when <em>Info=None</em>.</div>
<div>Required when <em>Info=None</em> and controller type is LSI.</div>
</td>
</tr>
<tr>
Expand All @@ -386,6 +407,22 @@ Parameters
<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-vname"></div>
<b>vname</b>
<a class="ansibleOptionLink" href="#parameter-vname" title="Permalink to this option"></a>
<div style="font-size: small">
<span style="color: purple">string</span>
</div>
</td>
<td>
</td>
<td>
<div>Virtual drive name.</div>
<div>Required when <em>Info=None</em> and controller type is PMC.</div>
</td>
</tr>
<tr>
<td colspan="2">
Expand All @@ -405,7 +442,7 @@ Parameters
</td>
<td>
<div>Write Policy, 1 - Write Throgh, 2 - Write Back, 3 - Write caching ok if bad BBU.</div>
<div>Required when <em>Info=None</em>.</div>
<div>Required when <em>Info=None</em> and controller type is LSI.</div>
</td>
</tr>
</table>
Expand Down Expand Up @@ -457,6 +494,15 @@ Examples
slot: 0,1
provider: "{{ ism }}"

- name: "Add PMC ldisk"
inspur.sm.add_ldisk:
ctrl_id: 0
level: 1
size: 1
accelerator: 1
vname: "test"
provider: "{{ ism }}"




Expand Down
Loading

0 comments on commit 3639725

Please sign in to comment.