Skip to content

Add Vserver resources diagram#75

Merged
rebelinux merged 3 commits intodevfrom
copilot/add-vserver-resources-diagram
Feb 28, 2026
Merged

Add Vserver resources diagram#75
rebelinux merged 3 commits intodevfrom
copilot/add-vserver-resources-diagram

Conversation

Copy link
Contributor

Copilot AI commented Feb 28, 2026

Each vserver lacked a visual representation of its allocated resources. Adds a per-SVM diagram generated via Diagrammer.Core showing the key resource relationships at a glance.

New: Get-AbrOntapVserverDiagram

  • SVM node: name, state, allowed protocols, IPSpace, root volume
  • Aggregates subgraph: each allocated aggregate with type, available space, SnapLock type
  • LIFs subgraph: each data interface with IP/WWPN, protocol, operational status, home port status
  • Edges connect the SVM node to both subgraphs
  • Respects existing diagram themes (Default, Black, Neon) and debug mode

Integration

Diagram is emitted at the top of each $SVM Vserver Configuration section via Export-AbrOntapDiagram, consistent with the Cluster, Aggregate, Network, and Replication diagram patterns:

$VserverDiagram = Get-AbrOntapVserverDiagram -Vserver $SVM
if ($VserverDiagram) {
    Export-AbrOntapDiagram -DiagramObject $VserverDiagram `
        -MainDiagramLabel "$SVM Vserver Diagram" `
        -FileName "AsBuiltReport.NetApp.Ontap.Vserver.$SVM"
}
Original prompt

This section details on the original issue you should resolve

<issue_title>Add Vserver resources diagram</issue_title>
<issue_description>### Description

Create a diagrams of the resources used by the vserver like:

  1. vserver aggregate used
  2. network interfaces (lifs)
  3. ip used
  4. protocol used
  5. etc

Use diagrammer.core to build the diagram

Additional Context

No response

Before submitting

  • I have read the documentation, and referred to the known issues before submitting this change request.
  • I have checked for previously opened & closed issues before submitting this change request.</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: rebelinux <1002783+rebelinux@users.noreply.github.com>
Copilot AI changed the title [WIP] Add Vserver resources diagram Add Vserver resources diagram Feb 28, 2026
@rebelinux rebelinux marked this pull request as ready for review February 28, 2026 14:14
@rebelinux rebelinux merged commit f451357 into dev Feb 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Vserver resources diagram

2 participants