Skip to content

Ethernet Network Group Policy #17

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

Open
jjordash opened this issue Sep 9, 2022 · 1 comment
Open

Ethernet Network Group Policy #17

jjordash opened this issue Sep 9, 2022 · 1 comment

Comments

@jjordash
Copy link

jjordash commented Sep 9, 2022

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=="}}

@dsoper2
Copy link
Collaborator

dsoper2 commented Sep 12, 2022

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants