VMNetworkAdapterTeamMapping: New resource proposal
Is it currently possible to configure VMNetworkAdapterTeamMapping via DSC? (Aka Set-VMNetworkAdapterTeamMapping) If not, can this be implemented?
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?
Perhaps a new DSC resource under the xHyper-V space - 'xVMNetworkAdapterTeamMapping'. But your guess is better than mine.
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)
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.