Skip to content

Commit

Permalink
Misc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelinux committed Nov 9, 2024
1 parent a0b0014 commit 0d3040d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Src/Private/Get-DiagBackupToTape.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function Get-DiagBackupToTape {
}

$TapeLibrarySubgraphArray = try {
Get-DiaHTMLSubGraph -ImagesObj $Images -TableArray $TapeNodesArray -Align 'Center' -IconDebug $IconDebug -Label "Library" -LabelPos "top" -fontColor $Fontcolor -TableStyle "dashed,rounded" -TableBorderColor $Edgecolor -TableBorder "0" -columnSize 3
Get-DiaHTMLSubGraph -ImagesObj $Images -TableArray $TapeNodesArray -Align 'Center' -IconDebug $IconDebug -Label " " -LabelPos "top" -fontColor $Fontcolor -TableStyle "dashed,rounded" -TableBorderColor $Edgecolor -TableBorder "0" -columnSize 3
} catch {
Write-Verbose "Error: Unable to create Tape Library SubGraph Array Objects. Disabling the section"
Write-Verbose "Error Message: $($_.Exception.Message)"
Expand Down
2 changes: 1 addition & 1 deletion Src/Private/Get-DiagBackupToWanAccel.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function Get-DiagBackupToWanAccel {

Node WanAccelServer @{Label = (Get-DiaHTMLNodeTable -ImagesObj $Images -inputObject ($WanAccel | ForEach-Object { $_.Name.split('.')[0] }) -Align "Center" -iconType "VBR_Wan_Accel" -columnSize 4 -IconDebug $IconDebug -MultiIcon -AditionalInfo ($WanAccel.AditionalInfo ) -Subgraph -SubgraphIconType "VBR_Wan_Accel" -SubgraphLabel "Wan Accelerators" -SubgraphLabelPos "top" -SubgraphTableStyle "dashed,rounded" -fontColor $Fontcolor -TableBorderColor $Edgecolor -TableBorder "1"); shape = 'plain'; fontsize = 14; fontname = "Segoe Ui" }

Edge $BackupServerInfo.Name -To WanAccelServer @{minlen = 3; xlabel = ($WanAccel.AditionalInfo.TrafficPort[0]) }
Edge $BackupServerInfo.Name -To WanAccelServer @{minlen = 3; }

}
}
Expand Down
2 changes: 1 addition & 1 deletion Src/Private/Get-VbrDiagramObjects.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ function Get-VbrTapeVaultInfo {
}
}

# Tape Library Graphviz Cluster
# Service Provider Graphviz Cluster
function Get-VbrServiceProviderInfo {
param (
)
Expand Down
7 changes: 0 additions & 7 deletions Src/Private/Get-VbrInfraDiagram.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,6 @@ function Get-VbrInfraDiagram {
}
}
}
} else {
SubGraph ObjectRepos -Attributes @{Label = (Get-DiaHTMLLabel -ImagesObj $Images -Label "Object Storage" -IconType "VBR_Object" -SubgraphLabel -IconDebug $IconDebug); fontsize = 18; penwidth = 1.5; labelloc = 't'; style = 'dashed,rounded' } {

Node -Name ObjectRepo -Attributes @{Label = 'No Object Storage Repositories'; shape = "rectangle"; labelloc = 'c'; fixedsize = $true; width = "4"; height = "3"; penwidth = 0 }
}
}

# WanAccels Graphviz Cluster
Expand Down Expand Up @@ -514,8 +509,6 @@ function Get-VbrInfraDiagram {

} elseif ($ArchObjRepositoriesInfo -and $ArchObjRepositoriesNode) {
Edge -To VBRRepoPoint -From ArchObjectRepositories @{minlen = 2; arrowtail = 'dot'; arrowhead = 'none'; style = 'dashed' }
} else {
Edge -To VBRRepoPoint -From ObjectRepo @{minlen = 2; arrowtail = 'dot'; arrowhead = 'none'; style = 'dashed' }
}

# Connect Veeam Wan Accelerator to the Dummy line
Expand Down

0 comments on commit 0d3040d

Please sign in to comment.