HyperVDsc icon indicating copy to clipboard operation
HyperVDsc copied to clipboard

VMNetworkAdapterTeamMapping: New resource proposal

Open BarnumD opened this issue 8 years ago • 3 comments

Is it currently possible to configure VMNetworkAdapterTeamMapping via DSC? (Aka Set-VMNetworkAdapterTeamMapping) If not, can this be implemented?

BarnumD avatar Dec 05 '17 18:12 BarnumD

Doesn't seem possible at the moment. Do you see this implemented in an existing resource or do you see this being a new resource?

johlju avatar May 16 '18 15:05 johlju

Perhaps a new DSC resource under the xHyper-V space - 'xVMNetworkAdapterTeamMapping'. But your guess is better than mine.

BarnumD avatar May 24 '18 10:05 BarnumD

I created my own resource for this as contributing to this repo is too time consuming. If someone would like to use the code and port into this, that would be fine with me.

The module can be viewed using: Find-DSCResource -ModuleName VMNetworkAdapter Install-Module -ModuleName VMNetworkAdapter

Includes 3 resources:

  • VMNetworkAdapterTeamMapping - Team a vNIC to a pNIC
  • VMNetworkAdapterSettings - Currently only toggles the IeeePriorityTag value
  • VMNetworkAdapterIsolation - Uses the VMNetworkAdapterIsolation cmdlets (recommended VLAN tagging mechanism for vNICs)

dcuomo avatar May 22 '19 04:05 dcuomo

Here's a HyperVDSC module that contains the VMNetworkAdapterTeamMapping

https://github.com/rchaganti/HyperVDsc/blob/dev/DSCResources/VMNetworkAdapterTeamMapping/VMNetworkAdapterTeamMapping.psm1

https://github.com/rchaganti/HyperVDsc

I've found that in our environments we've needed to use both the above rchaganti/HyperVDsc as well as xHyperV to meet our configuration requirements.

Things missing from xHyperV that is provided by the rchaganti/HyperVDsc module that we use

  • VMNetworkAdapterVLAN
  • VMNetworkAdapterTeamMapping

Scenario - SET Switch with 1x non-RDMA management vnic and 2x RDMA enabled storage vnics, with the storage vnics affinitized to a specific physical uplink on the SET switch.

jambar42 avatar Dec 13 '22 21:12 jambar42