scenarios/helpers/helper.NetworkATC.psm1

Function Get-NetworkATCAdapters {
    param (
        [string] $ClusterName
    )

    $NetIntents          = Get-NetIntent -ClusterName "localhost" -ErrorAction SilentlyContinue
    $NetIntentGoalStates = Get-NetIntentAllGoalStates -ClusterName "localhost" -ErrorAction SilentlyContinue

    $IntentData = @()
    Foreach ($intent in $NetIntents) {
        $thisIntentType = Convert-NetworkATCIntentType -IntentType $intent.IntentType

        $VMSwitchName      = $AllGoalStates.${env:computername}.$($intent.IntentName).config.SwitchName
        $ATCStoragevNIC    = $NetIntentGoalStates.${env:computername}.$($intent.IntentName).config.StorageVirtualNetworkAdapters.PhysicalEndpointAdapterName
        $ATCManagementvNIC = $NetIntentGoalStates.${env:computername}.$($intent.IntentName).config.SwitchHostVNic

        $ATCStatus = Get-NetIntentStatus -Name $intent.IntentName -ClusterName "localhost"

        $thisIntent = [PSCustomObject] @{
            Scope      = $intent.Scope
            IntentName = $intent.IntentName
            IntentType = $thisIntentType
            Adapters   = $intent.NetAdapterNamesAsList

            VMSwitchName      = $VMSwitchName
            ManagementvNIC    = $ATCManagementvNIC
            StoragevNIC       = $ATCStoragevNIC

            LastConfigApplied = $ATCStatus.LastConfigApplied
            Progress          = $ATCStatus.Progress
        }

        $IntentData += $thisIntent
    }

    Return $IntentData
}

#region Intent Types
Function Convert-NetworkATCIntentType {
    param ( $IntentType )

    # Define bitwise flags to figure out the specified intents per given intent
    [Flags()] enum IntentEnum {
        None       = 0
        Compute    = 2
        Storage    = 4
        Management = 8
    }

    $IntentType | ForEach-Object {
        $thisIntentType = $_
        $intentsContained = [enum]::GetValues([IntentEnum]) | Where-Object { $_.value__ -band $thisIntentType }
    }

    return $intentsContained
}

Function Get-NetworkATCIntentByAdapterName{
    param (
        [string] $AdapterName
    )

    $NetIntents = Get-NetIntent -ClusterName "localhost" -ErrorAction SilentlyContinue

    Foreach ($intent in $NetIntents) {
        $IntentAdapters   = $intent.NetAdapterNamesAsList
        if($IntentAdapters -contains $AdapterName){
            return $intent.IntentName
        }
    }
}

Function Get-IntentTypesUsage {
    [CmdletBinding(DefaultParameterSetName = 'InUse')]

    param (
        [Parameter(ParameterSetName = 'InUse'      , Mandatory = $true)]
        [Parameter(ParameterSetName = 'AdapterName', Mandatory = $false)]
        [Parameter(ParameterSetName = 'IntentName' , Mandatory = $false)]
        [Switch] $InUse,

        [Parameter(ParameterSetName = 'Missing'    , Mandatory = $true)]
        [Parameter(ParameterSetName = 'AdapterName', Mandatory = $false)]
        [Parameter(ParameterSetName = 'IntentName' , Mandatory = $false)]
        [Switch] $Missing,

        [Parameter(ParameterSetName = 'AdapterName', Mandatory = $true)]
        [String] $AdapterName,

        [Parameter(ParameterSetName = 'IntentName' , Mandatory = $true)]
        [String] $IntentName
    )

    [Flags()] enum IntentEnum {
        None = 0
        Compute = 2
        Storage = 4
        Management = 8
    }

    $allIntentTypes = @()

    if ($AdapterName)
    {
        $foundIntents  = Get-NetIntent -ClusterName "localhost" -ErrorAction SilentlyContinue | Where-Object NetAdapterNamesAsList -Contains $AdapterName
    }
    elseif ($IntentName)
    {
        $foundIntents  = Get-NetIntent -Name $IntentName -ClusterName "localhost" -ErrorAction SilentlyContinue
    }
    else
    {
        $foundIntents  = Get-NetIntent -ClusterName "localhost" -ErrorAction SilentlyContinue
    }

    $foundIntents | ForEach-Object {
        $thisIntent = $_
        $thisIntentTypes = [enum]::GetValues([IntentEnum]) | Where-Object {$_.value__ -band $thisIntent.IntentType}

        Switch ($thisIntentTypes | Sort-Object Name) {
            Compute    { $allIntentTypes += 'Compute'    }
            Storage    { $allIntentTypes += 'Storage'    }
            Management { $allIntentTypes += 'Management' }
        }
    }

    $missingIntentTypes = @()
    if ($allIntentTypes -notcontains 'Management') { $missingIntentTypes += 'Management'}
    if ($allIntentTypes -notcontains 'Storage'   ) { $missingIntentTypes += 'Storage'   }
    if ($allIntentTypes -notcontains 'Compute'   ) { $missingIntentTypes += 'Compute'   }

    if ($Missing) { return $missingIntentTypes }
    if ($InUse)   { return $allIntentTypes }
}

Function Get-FailedIntents {
<#
    .SYNOPSIS
        This function returns a list of failed intents. The native functionality of Get-NetIntentStatus returns all failed nodes in the cluster.
 
    .PARAMETER LocalOnly
        By default, the function will return all failed intents. If specified, this will only return failed intents from the local node.
#>


param (
    [switch] $LocalOnly
)
    $IntentStatus  = Get-NetIntentStatus -ErrorAction SilentlyContinue

    # Nothing to do, nothing to do. I'm returning cause their's nothing to do...
    if (-not($IntentStatus)) { return }

    if ($LocalOnly) {
        $IntentStatus = $IntentStatus | Where-Object Host -eq $env:ComputerName
    }

    $AllStatus = @()

    # We're skipping intermediate completion states such as 'Validating', 'Pending', 'Provisioning', and 'ProvisioningUpdate' and will check again next time.
    $IntentStatus| Where-Object ProvisioningStatus -eq 'Completed' | ForEach-Object {
        $thisIntentStatus = $_
        $ConfigWatermark = $thisIntentStatus.Progress -Split ' ' | Select-Object -Last 1

        if ($thisIntentStatus.ConfigurationStatus -ne 'Success') {
            $thisStatus = New-Object -TypeName psobject

            $thisStatus | Add-Member -MemberType NoteProperty -Name Host                 -Value $thisIntentStatus.Host
            $thisStatus | Add-Member -MemberType NoteProperty -Name IntentName           -Value $thisIntentStatus.IntentName
            $thisStatus | Add-Member -MemberType NoteProperty -Name ConfigurationStatus  -Value $thisIntentStatus.ConfigurationStatus
            $thisStatus | Add-Member -MemberType NoteProperty -Name ProvisioningStatus   -Value $thisIntentStatus.ProvisioningStatus
            $thisStatus | Add-Member -MemberType NoteProperty -Name CurrentConfiguration -Value $thisIntentStatus.LastConfigApplied
            $thisStatus | Add-Member -MemberType NoteProperty -Name LatestConfiguration  -Value $ConfigWatermark
            $thisStatus | Add-Member -MemberType NoteProperty -Name LastUpdate           -Value $thisIntentStatus.LastUpdated

            $AllStatus += $thisStatus
        }
    }

    Return $AllStatus
}
#endregion Intent Types

# SIG # Begin signature block
# MIIoOQYJKoZIhvcNAQcCoIIoKjCCKCYCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaT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