forked from microsoft/Validate-DCB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNDKm1-examples.DCB.config.ps1
33 lines (27 loc) · 1020 Bytes
/
NDKm1-examples.DCB.config.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
$AllNodes = @()
$NonNodeData = @()
$Nodes = 'TK5-3WP07R0511', 'TK5-3WP07R0512'
$Nodes | ForEach-Object {
$AllNodes += @{
NodeName = $_
RDMAEnabledAdapters = @(
@{ Name = 'RoCE-01' ; VLANID = '101' ; JumboPacket = 9000 }
@{ Name = 'RoCE-02' ; VLANID = '101' ; JumboPacket = 9000 }
)
RDMADisabledAdapters = @(
@{ Name = 'Mgmt' }
@{ Name = 'Clus' }
)
}
}
$NonNodeData = @{
NetQoS = @(
@{ Name = 'Cluster' ; Template = 'Cluster' ; PriorityValue8021Action = 7 ; BandwidthPercentage = 1 ; Algorithm = 'ETS' }
@{ Name = 'SMB' ; NetDirectPortMatchCondition = 445 ; PriorityValue8021Action = 3 ; BandwidthPercentage = 60 ; Algorithm = 'ETS' }
@{ Name = 'DEFAULT' ; Template = 'Default' ; PriorityValue8021Action = 0 ; BandwidthPercentage = 39 ; Algorithm = 'ETS' }
)
}
$Global:configData = @{
AllNodes = $AllNodes
NonNodeData = $NonNodeData
}