Skip to content

Commit f99ec94

Browse files
authored
Merge pull request #21 from AsBuiltReport/dev
v0.6.4 public release
2 parents 54a415b + b62504c commit f99ec94

14 files changed

+76
-24
lines changed

.github/workflows/Release.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,20 @@ jobs:
2828
- name: Publish module to PowerShell Gallery
2929
shell: pwsh
3030
run: |
31-
Publish-Module -Path ./ -NuGetApiKey ${{ secrets.PSGALLERY_API_KEY }} -Verbose
31+
Publish-Module -Path ./ -NuGetApiKey ${{ secrets.PSGALLERY_API_KEY }} -Verbose
32+
tweet:
33+
needs: publish-to-gallery
34+
runs-on: ubuntu-latest
35+
steps:
36+
- uses: Eomm/why-don-t-you-tweet@v1
37+
# We don't want to tweet if the repository is not a public one
38+
if: ${{ !github.event.repository.private }}
39+
with:
40+
# GitHub event payload
41+
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release
42+
tweet-message: "[New Release] ${{ github.event.repository.name }} ${{ github.event.release.tag_name }}! Check out what's new! ${{ github.event.release.html_url }} #Netapp #AsBuiltReport #PowerShell #Ontap #NetAppATeam"
43+
env:
44+
TWITTER_CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
45+
TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
46+
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
47+
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}

AsBuiltReport.NetApp.ONTAP.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
"ShowTableCaptions": true
1010
},
1111
"Options": {
12-
12+
"Exclude": {
13+
"Vserver": []
14+
}
1315
},
1416
"InfoLevel": {
1517
"_comment_": "0 = Disabled, 1 = Enabled, 2 = Adv Summary",

AsBuiltReport.NetApp.ONTAP.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
RootModule = 'AsBuiltReport.NetApp.ONTAP.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '0.6.3'
15+
ModuleVersion = '0.6.4'
1616

1717
# Supported PSEditions
1818
# CompatiblePSEditions = @()
@@ -54,11 +54,11 @@ Description = 'A PowerShell module to generate an as built report on the configu
5454
RequiredModules = @(
5555
@{
5656
ModuleName = 'AsBuiltReport.Core';
57-
ModuleVersion = '1.1.0'
57+
ModuleVersion = '1.2.0'
5858
},
5959
@{
6060
ModuleName = 'NetApp.ONTAP';
61-
ModuleVersion = '9.9.1'
61+
ModuleVersion = '9.10.1.2111'
6262
}
6363
)
6464

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# :arrows_counterclockwise: NetApp ONTAP Storage As Built Report Changelog
22

3+
## [0.6.4] - 2022-05-14
4+
5+
### Added
6+
7+
- Added Option to allow Vserver (SVM) filtering.
8+
9+
### Changed
10+
11+
- Migrated Sample Report URL to htmlpreview.github.io
12+
- The minimum requirement for the AsBuiltReport.Core module has been increased to version 1.2.0.
13+
- The minimum requirement for the NetApp.ONTAP module has been increased to version 9.10.1.2111
14+
315
## [0.6.3] - 2022-01-31
416

517
### Changed

README.md

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Please refer to the AsBuiltReport [website](https://www.asbuiltreport.com) for m
3535

3636
### Sample Report - Custom Style 1
3737

38-
Sample NetApp ONTAP As Built report HTML file: [Sample NetApp As-Built Report.html](https://technomyth.zenprsolutions.net/wp-content/uploads/2021/11/NetApp-ONTAP-As-Built-Report.html)
38+
Sample NetApp ONTAP As Built report HTML file: [Sample NetApp As-Built Report.html](https://htmlpreview.github.io/?https://raw.githubusercontent.com/AsBuiltReport/AsBuiltReport.NetApp.ONTAP/dev/Samples/Sample%20NetApp%20As-Built%20Report.html)
3939

4040
# :beginner: Getting Started
4141

@@ -66,8 +66,8 @@ These modules may also be manually installed.
6666
| Module Name | Minimum Required Version | PS Gallery | GitHub |
6767
|--------------------|:------------------------:|:---------------------------------------------------------------------:|:---------------------------------------------------------------------------:|
6868
| PScribo | 0.9.1 | [Link](https://www.powershellgallery.com/packages/PScribo) | [Link](https://github.com/iainbrighton/PScribo/tree/master) |
69-
| AsBuiltReport.Core | 1.1.0 | [Link](https://www.powershellgallery.com/packages/AsBuiltReport.Core) | [Link](https://github.com/AsBuiltReport/AsBuiltReport.Core/releases/latest) |
70-
| Netapp.ONTAP | 9.9.1 | [Link](https://www.powershellgallery.com/packages/NetApp.ONTAP) | |
69+
| AsBuiltReport.Core | 1.2.0 | [Link](https://www.powershellgallery.com/packages/AsBuiltReport.Core) | [Link](https://github.com/AsBuiltReport/AsBuiltReport.Core/releases/latest) |
70+
| Netapp.ONTAP | 9.10.1.2111 | [Link](https://www.powershellgallery.com/packages/NetApp.ONTAP) | |
7171

7272
### Linux & macOS
7373

@@ -84,7 +84,7 @@ These modules may also be manually installed.
8484
Open a PowerShell terminal window and install each of the required modules as follows;
8585

8686
```powershell
87-
Install-Module AsBuiltReport.NetApp.ONTAP
87+
Install-Module -Name AsBuiltReport.NetApp.ONTAP
8888
```
8989

9090
### GitHub
@@ -141,6 +141,9 @@ The **Report** schema provides configuration of the NetApp ONTAP report informat
141141
### Options
142142

143143
The **Options** schema allows certain options within the report to be toggled on or off.
144+
| Sub-Schema | Setting | Default | Description |
145+
|-----------------|--------------|---------|-----------------------------------------------------------------|
146+
| Exclude: Vserver | Array List | Empty | Allow to filter on Vserver Name
144147

145148
### InfoLevel
146149

@@ -151,9 +154,24 @@ There are 3 levels (0-2) of detail granularity for each section as follows;
151154
| Setting | InfoLevel | Description |
152155
|:-------:|-------------------|--------------------------------------------------------------------------------------------------------------------------------------------|
153156
| 0 | Disabled | Does not collect or display any information |
154-
| 1 | Enabled / Summary | Provides summarised information for a collection of objects |
157+
| 1 | Enabled / Summary | Provides summarised information for a collection of objects |
155158
| 2 | Adv Summary | Provides condensed, detailed information for a collection of objects |
156159

160+
The table below outlines the default and maximum **InfoLevel** settings for each section.
161+
162+
| Sub-Schema | Default Setting | Maximum Setting |
163+
|--------------|:---------------:|:---------------:|
164+
| Cluster | 1 | 2 |
165+
| Node | 1 | 2 |
166+
| Storage | 1 | 2 |
167+
| Network | 1 | 2 |
168+
| License | 1 | 2 |
169+
| Vserver | 1 | 2 |
170+
| Efficiency | 1 | 2 |
171+
| Security | 1 | 2 |
172+
| System | 1 | 2 |
173+
| Replication | 1 | 2 |
174+
157175
### Healthcheck
158176

159177
The **Healthcheck** schema is used to toggle health checks on or off.

Samples/Sample_NetApp_Report_1.png

-169 KB
Binary file not shown.

Samples/Sample_NetApp_Report_2.png

-173 KB
Binary file not shown.

Samples/Sample_NetApp_Report_3.png

-206 KB
Binary file not shown.

Samples/Sample_NetApp_Report_4.png

-248 KB
Binary file not shown.

Src/Private/Get-AbrOntapNetworkMGMT.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Get-AbrOntapNetworkMgmt {
55
.DESCRIPTION
66
77
.NOTES
8-
Version: 0.6.3
8+
Version: 0.6.4
99
Author: Jonathan Colon
1010
Twitter: @jcolonfzenpr
1111
Github: rebelinux
@@ -159,7 +159,7 @@ function Get-AbrOntapNetworkMgmt {
159159
}
160160
try {
161161
Section -Style Heading6 'Data Network Interfaces' {
162-
$ClusterData = Get-NcNetInterface -Controller $Array | Where-Object {$_.Role -eq 'data' -and $_.DataProtocols -ne 'fcp'}
162+
$ClusterData = Get-NcNetInterface -Controller $Array | Where-Object {$_.Role -eq 'data' -and $_.DataProtocols -ne 'fcp' -and $_.Vserver -notin $options.Exclude.Vserver}
163163
$ClusterObj = @()
164164
if ($ClusterData) {
165165
foreach ($Item in $ClusterData) {

0 commit comments

Comments
 (0)