Skip to content

Commit 8df7635

Browse files
authored
Merge pull request #57 from rebelinux/dev
v0.6.9
2 parents 5ccc78f + f8b99b8 commit 8df7635

File tree

5 files changed

+54
-24
lines changed

5 files changed

+54
-24
lines changed

.github/workflows/Release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,13 @@ jobs:
4949
TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
5050
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
5151
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
52+
bsky-post:
53+
needs: publish-to-gallery
54+
runs-on: ubuntu-latest
55+
steps:
56+
- uses: zentered/[email protected]
57+
with:
58+
post: "[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"
59+
env:
60+
BSKY_IDENTIFIER: ${{ secrets.BSKY_IDENTIFIER }}
61+
BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }}

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.8'
15+
ModuleVersion = '0.6.9'
1616

1717
# Supported PSEditions
1818
# CompatiblePSEditions = @()
@@ -58,11 +58,11 @@
5858
},
5959
@{
6060
ModuleName = 'NetApp.ONTAP';
61-
ModuleVersion = '9.16.1.2501'
61+
ModuleVersion = '9.17.1.2509'
6262
},
6363
@{
6464
ModuleName = 'Diagrammer.Core';
65-
ModuleVersion = '0.2.29'
65+
ModuleVersion = '0.2.30'
6666
}
6767
)
6868

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.6.9] - 2025-09-??
9+
10+
### Changed
11+
12+
- General code cleanup/improvements
13+
- Add Bluesky post action to release workflow
14+
- Increased Required Modules version:
15+
- Diagrammer.Core v0.2.30
16+
- NetApp.Ontap v9.17.1.2509
17+
18+
### Fixed
19+
20+
- Fix issue where cluster replication diagram generation fails if no replication relationships are found.
21+
822
## [0.6.8] - 2025-08-18
923

1024
### Added

README.md

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ Each of the following modules will be automatically installed by following the [
6868
These modules may also be manually installed.
6969

7070
| Module Name | Minimum Required Version | PS Gallery | GitHub |
71-
|--------------------|:------------------------:|:---------------------------------------------------------------------:|:---------------------------------------------------------------------------:|
72-
| PScribo | 0.10.0 | [Link](https://www.powershellgallery.com/packages/PScribo) | [Link](https://github.com/iainbrighton/PScribo/tree/master) |
71+
| ------------------ | :----------------------: | :-------------------------------------------------------------------: | :-------------------------------------------------------------------------: |
72+
| PScribo | 0.10.0 | [Link](https://www.powershellgallery.com/packages/PScribo) | [Link](https://github.com/iainbrighton/PScribo/tree/master) |
7373
| AsBuiltReport.Core | 1.4.0 | [Link](https://www.powershellgallery.com/packages/AsBuiltReport.Core) | [Link](https://github.com/AsBuiltReport/AsBuiltReport.Core/releases/latest) |
74-
| Netapp.ONTAP | 9.15.1.2407 | [Link](https://www.powershellgallery.com/packages/NetApp.ONTAP) | |
74+
| Netapp.ONTAP | 9.15.1.2407 | [Link](https://www.powershellgallery.com/packages/NetApp.ONTAP) | |
7575

7676
## :package: Module Installation
7777

@@ -137,21 +137,21 @@ The **Report** schema provides configuration of the NetApp ONTAP report informat
137137
### Options
138138

139139
The **Options** schema allows certain options within the report to be toggled on or off.
140-
| Sub-Schema | Setting | Default | Description |
141-
| --------------------- | ------------ | ------- | -------------------------------------------------- |
142-
| Exclude: Vserver | Array List | Empty | Allow to filter on Vserver Name |
143-
| Exclude: MetroCluster | true / false | false | Allow to filter automatically all Vserver with -mc |
144-
| DiagramColumnSize | int | 3 | Set the diagram node table size |
145-
| DiagramTheme | string | White | Set the diagram theme (Black/White/Neon) |
146-
| DiagramWaterMark | string | empty | Set the diagram watermark |
147-
| DiagramType | true / false | true | Toggle to enable/disable the export of individual diagram diagrams |
148-
| EnableDiagrams | true / false | false | Toggle to enable/disable infrastructure diagrams |
149-
| EnableDiagramsDebug | true / false | false | Toggle to enable/disable diagram debug option |
150-
| EnableDiagramSignature | true / false | false | Toggle to enable/disable diagram signature (bottom right corner) |
151-
| ExportDiagrams | true / false | true | Toggle to enable/disable diagram export option |
152-
| ExportDiagramsFormat | string array | png | Set the format used to export the infrastructure diagram (dot, png, pdf, svg) |
153-
| SignatureAuthorName | string | empty | Set the signature author name |
154-
| SignatureCompanyName | string | empty | Set the signature company name |
140+
| Sub-Schema | Setting | Default | Description |
141+
| ---------------------- | ------------ | ------- | ----------------------------------------------------------------------------- |
142+
| Exclude: Vserver | Array List | Empty | Allow to filter on Vserver Name |
143+
| Exclude: MetroCluster | true / false | false | Allow to filter automatically all Vserver with -mc |
144+
| DiagramColumnSize | int | 3 | Set the diagram node table size |
145+
| DiagramTheme | string | White | Set the diagram theme (Black/White/Neon) |
146+
| DiagramWaterMark | string | empty | Set the diagram watermark |
147+
| DiagramType | true / false | true | Toggle to enable/disable the export of individual diagram diagrams |
148+
| EnableDiagrams | true / false | false | Toggle to enable/disable infrastructure diagrams |
149+
| EnableDiagramsDebug | true / false | false | Toggle to enable/disable diagram debug option |
150+
| EnableDiagramSignature | true / false | false | Toggle to enable/disable diagram signature (bottom right corner) |
151+
| ExportDiagrams | true / false | true | Toggle to enable/disable diagram export option |
152+
| ExportDiagramsFormat | string array | png | Set the format used to export the infrastructure diagram (dot, png, pdf, svg) |
153+
| SignatureAuthorName | string | empty | Set the signature author name |
154+
| SignatureCompanyName | string | empty | Set the signature company name |
155155

156156
### InfoLevel
157157

@@ -204,3 +204,5 @@ PS C:\> New-AsBuiltReport -Report NetApp.ONTAP -Target 192.168.7.60 -Username 'a
204204
205205
```
206206
## :x: Known Issues
207+
208+
- Issues with ASA v1/v2 hardware model. [#56](https://github.com/AsBuiltReport/AsBuiltReport.NetApp.ONTAP/issues/56)

Src/Private/Get-AbrOntapClusterReplicationDiagram.ps1

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Get-AbrOntapClusterReplicationDiagram {
55
.DESCRIPTION
66
77
.NOTES
8-
Version: 0.6.8
8+
Version: 0.6.9
99
Author: Jonathan Colon
1010
Twitter: @jcolonfzenpr
1111
Github: rebelinux
@@ -199,12 +199,14 @@ function Get-AbrOntapClusterReplicationDiagram {
199199
$Num++
200200
}
201201

202-
if ($ClusterReplicaInfo) {
202+
if ($ClusterReplicaInfo -and $NodeReplicaSum) {
203203
try {
204204
$ClusterReplicaNodeObj = Add-DiaHTMLNodeTable -ImagesObj $Images -inputObject $NodeReplicaSum -Align "Center" -iconType "Ontap_Node" -columnSize $NodeSumColumnSize -IconDebug $IconDebug -MultiIcon -AditionalInfo $NodeAdditionalInfo -Subgraph -SubgraphIconType "Ontap_Node_Icon" -SubgraphLabel $ClusterReplicaInfo.ClusterName -SubgraphLabelPos "top" -SubgraphTableStyle "dashed,rounded" -TableBorderColor "#71797E" -TableBorder "1" -SubgraphLabelFontsize 22 -fontSize 18
205205
} catch {
206206
Write-PScriboMessage -IsWarning $_.Exception.Message
207207
}
208+
} else {
209+
Write-PScriboMessage -IsWarning "Unable to create Cluster Replication Node. No Cluster Management Object found."
208210
}
209211

210212
if ($ClusterReplicaNodeObj) {
@@ -238,9 +240,11 @@ function Get-AbrOntapClusterReplicationDiagram {
238240

239241
$PeerVserverPeerSubGraphObj = Add-DiaHTMLSubGraph -ImagesObj $Images -TableArray $PeerVserverPeerObj -Align 'Center' -IconDebug $IconDebug -Label "Peer Storage VMs" -LabelPos 'top' -TableStyle "dashed,rounded" -TableBorderColor $Edgecolor -TableBorder "1" -columnSize $PeerVserverPeerObjColumnSize -fontSize 18 -IconType "Ontap_SVM_Icon"
240242

241-
if ($PeerVserverPeerSubGraphObj) {
243+
if ($PeerVserverPeerSubGraphObj -and $RemoteClusterName) {
242244
Node "$($RemoteClusterName)PeerVservers" @{Label = $PeerVserverPeerSubGraphObj; shape = 'plain'; fillColor = 'transparent'; fontsize = 14 }
243245
Edge -From $RemoteClusterName -To "$($RemoteClusterName)PeerVservers" @{minlen = 2; color = '#71797E'; style = 'filled'; arrowhead = 'box'; arrowtail = 'box' }
246+
} else {
247+
Write-PScriboMessage -IsWarning "Unable to create Peer Vserver Node. No Peer Vserver Object found."
244248
}
245249
} catch {
246250
Write-PScriboMessage -IsWarning $_.Exception.Message

0 commit comments

Comments
 (0)