You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to using the FabricEthNetworkGroupPolicy this error is generated:
New-IntersightVnicEthIf: Error calling CreateVnicEthIf: {"code":"InvalidRequest","message":"Cannot execute the request. The JSON document is malformed.","messageId":"barcelona_request_malformed_json","messageParams":{},"traceId":"YIAJunfGw5rbEzF2yVghr-gJb9JLyZuxOOP5LMKPHrc2W7uNPV_GFQ==","cause":{"code":"InvalidRequest","message":"Invalid value for the 'class' property. The object reference 'vnic.EthIf:FabricEthNetworkGroupPolicy' has Class 'fabric.EthNetworkGroupPolicy'. It should be 'mo.MoRef'.","messageId":"barcelona_moref_validation_class_not_correct","messageParams":{"1":"vnic.EthIf","2":"FabricEthNetworkGroupPolicy","3":"fabric.EthNetworkGroupPolicy","4":"mo.MoRef"},"traceId":"YIAJunfGw5rbEzF2yVghr-gJb9JLyZuxOOP5LMKPHrc2W7uNPV_GFQ=="}}
The text was updated successfully, but these errors were encountered:
Can you share the code used with New-IntersightVnicEthIf? The example in lan-connectivity.ps1 is working on my system:
$FabricEthNetworkGroupPolicy1 = Get-IntersightFabricEthNetworkGroupPolicy -Name da-compute-network-vlan-settings
...
$mo2 = New-IntersightVnicEthIf -Cdn $Cdn1
-EthAdapterPolicy $EthAdapterPolicy1 -EthQosPolicy $EthQosPolicy1
-FabricEthNetworkControlPolicy $FabricEthNetworkControlPolicy1 -FabricEthNetworkGroupPolicy @($FabricEthNetworkGroupPolicy1)
When trying to using the FabricEthNetworkGroupPolicy this error is generated:
New-IntersightVnicEthIf: Error calling CreateVnicEthIf: {"code":"InvalidRequest","message":"Cannot execute the request. The JSON document is malformed.","messageId":"barcelona_request_malformed_json","messageParams":{},"traceId":"YIAJunfGw5rbEzF2yVghr-gJb9JLyZuxOOP5LMKPHrc2W7uNPV_GFQ==","cause":{"code":"InvalidRequest","message":"Invalid value for the 'class' property. The object reference 'vnic.EthIf:FabricEthNetworkGroupPolicy' has Class 'fabric.EthNetworkGroupPolicy'. It should be 'mo.MoRef'.","messageId":"barcelona_moref_validation_class_not_correct","messageParams":{"1":"vnic.EthIf","2":"FabricEthNetworkGroupPolicy","3":"fabric.EthNetworkGroupPolicy","4":"mo.MoRef"},"traceId":"YIAJunfGw5rbEzF2yVghr-gJb9JLyZuxOOP5LMKPHrc2W7uNPV_GFQ=="}}
The text was updated successfully, but these errors were encountered: