@@ -507,7 +507,7 @@ function Invoke-AsBuiltReport.NetApp.ONTAP {
507507 Get-AbrOntapVserverLunIgroup - Vserver $SVM
508508 }
509509 $NonMappedLun = Get-AbrOntapVserverNonMappedLun - Vserver $SVM
510- if ($Healthcheck.Vserver.Status -and $NonMappedLunFCP ) {
510+ if ($Healthcheck.Vserver.Status -and $NonMappedLun ) {
511511 Section - ExcludeFromTOC - Style Heading6 ' HealthCheck - Non-Mapped Lun Information' {
512512 Paragraph " The following section provides information of Non Mapped Lun on $ ( $SVM ) ."
513513 BlankLine
@@ -525,19 +525,19 @@ function Invoke-AsBuiltReport.NetApp.ONTAP {
525525 Paragraph " The following section provides the Namespace Storage Information on $ ( $SVM ) ."
526526 BlankLine
527527 Get-AbrOntapVserverNamespaceStorage - Vserver $SVM
528- # if (Get-NcIgroup -Vserver $SVM -Controller $Array) {
529- # Section -ExcludeFromTOC -Style Heading6 'Igroup Mapping' {
530- # Get-AbrOntapVserverLunIgroup -Vserver $SVM
531- # }
532- # $NonMappedLun = Get-AbrOntapVserverNonMappedLun -Vserver $SVM
533- # if ($Healthcheck.Vserver.Status -and $NonMappedLunFCP ) {
534- # Section -ExcludeFromTOC -Style Heading6 'HealthCheck - Non-Mapped Lun Information' {
535- # Paragraph "The following section provides information of Non Mapped Lun on $($SVM)."
536- # BlankLine
537- # $NonMappedLun
538- # }
539- # }
540- # }
528+ if (Get-NcNvmeSubsystem - Vserver $SVM - Controller $Array ) {
529+ Section - ExcludeFromTOC - Style Heading6 ' Subsystem Mapping' {
530+ Get-AbrOntapVserverSubsystem - Vserver $SVM
531+ }
532+ $NonMappedNamespace = Get-AbrOntapVserverNonMappedNamespace - Vserver $SVM
533+ if ($Healthcheck.Vserver.Status -and $NonMappedNamespace ) {
534+ Section - ExcludeFromTOC - Style Heading6 ' HealthCheck - Non-Mapped Namespace Information' {
535+ Paragraph " The following table provides information about Non Mapped Namespace on $ ( $SVM ) ."
536+ BlankLine
537+ $NonMappedNamespace
538+ }
539+ }
540+ }
541541 }
542542 }
543543 # ---------------------------------------------------------------------------------------------#
@@ -555,6 +555,11 @@ function Invoke-AsBuiltReport.NetApp.ONTAP {
555555 Get-AbrOntapVserverCGLun - CGObj $CG
556556 }
557557 }
558+ if ($CG.namespaces ) {
559+ Section - ExcludeFromTOC - Style Heading6 " $ ( $CG.name ) Namespaces" {
560+ Get-AbrOntapVserverCGNamespace - CGObj $CG
561+ }
562+ }
558563 }
559564 }
560565 }
0 commit comments