Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConvertTo-OVPowerShellscript for LIG - Error for VC 100 module #652

Open
DungKHoang opened this issue Sep 25, 2023 · 0 comments
Open

ConvertTo-OVPowerShellscript for LIG - Error for VC 100 module #652

DungKHoang opened this issue Sep 25, 2023 · 0 comments
Labels

Comments

@DungKHoang
Copy link
Collaborator

DungKHoang commented Sep 25, 2023

Expected Behavior

There are several errors in the PowerShell script generated by the cmdlet Convertto-OVPowerShellscript for a LIG with VC 100Gb F32 module

  1. Incorrect Module Type : $fabricModuleType = "SEV100f32" -> Should be SEVC100F32
  2. Missing parameter for the New_OVQosTrafficClass
    $trafficClass1 = New-OVQosTrafficClass -Name $name -MaxBandwidth $maxBandwidth -BandwidthShare
    -RealTime:$realTime -EgressDot1pValue $egressDot1pValue -Enabled:$isEnabled
  3. $bandwidthShare = roce --> Should be integer and set to 0 (default value)
  4. $bandwidthShare = fcoe --> Should be integer and set to 0 (default value)
  5. The variable should be an array and NOT integer
    $ingressDot1pClassMapping = 3
    $ingressDot1pClassMapping = 5
  6. The variable should be an array and NOT integer
    $ingressDscpClassMapping = ""
  7. Value does not exist in ValidateSet:
    $QosConfig = New-OVQosConfig -ConfigType CustomWithFCoEWithRoCE -UplinkClassificationType
    DOT1P_AND_DSCP -UplinkClassificationType DOT1P_AND_DSCP -TrafficClassifiers $trafficClass1, $trafficClass2, $trafficClass3, $trafficClass4, $trafficClass5, $trafficClass6, $trafficClass7, $trafficClass8, $trafficClass9, $trafficClass10
  8. Duplicated parameter in New-OVQsConfig :
    $QosConfig = New-OVQosConfig -ConfigType "CustomWithFCoE" -UplinkClassificationType DOT1P_AND_DSCP -UplinkClassificationType DOT1P_AND_DSCP -TrafficClassifiers $trafficClass1, $trafficClass2, $trafficClass3, $trafficClass4, $trafficClass5, $trafficClass6, $trafficClass7, $trafficClass8, $trafficClass9, $trafficClass10
  9. With ConfigType of CustomWithFCOE, the number of TrafficClassifiers can only be 6, but the PowerShell script generates 10
    $QosConfig = New-OVQosConfig -ConfigType "CustomWithFCoE" -UplinkClassificationType DOT1P_AND_DSCP -UplinkClassificationType DOT1P_AND_DSCP -TrafficClassifiers $trafficClass1, $trafficClass2, $trafficClass3, $trafficClass4, $trafficClass5, $trafficClass6, $trafficClass7, $trafficClass8, $trafficClass9, $trafficClass10

Version Information

HPE OneView PowerShell Library Version (Get-HPOVVersion or $PSLibraryVersion): 8.4
HPE OneView Appliance Version (Get-HPOVVersion -ApplianceVer): 8.4
Output from $PSVersionTable on your Windows Host: 7.3.5

lig.txt

@DungKHoang DungKHoang added the Bug label Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant