[ovs-dev] [PATCH] datapath-windows: Add functionality to return OVSPortName given a VM

Nithin Raju nithin at vmware.com
Wed Nov 12 15:40:07 UTC 2014


On Nov 11, 2014, at 10:45 AM, Alin Serdean <aserdean at cloudbasesolutions.com> wrote:

> This commit adds functionality to return the ElementName of all the VNIC of a
> given virtual machine name.
> 
> The function returns all the allocated ports including the ones which the OVS
> port name was not set.
> 
> The default OVS port name that is set is the following:
> "ElementName             : Dynamic Ethernet Switch Port".
> 
> 
> Example of usage:
> Import-Module OVS.psm1
> Get-VMNetworkAdapterWithOvsPort test_ubuntu_1
> $a = Get-VMNetworkAdapterWithOvsPort test_2_1
> $a | findstr ElementName
> 
> Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>

Tested-by: Nithin Raju <nithin at vmware.com>
Acked-by: Nithin Raju <nithin at vmware.com>
Requested-by: Nithin Raju <nithin at vmware.com>
Reported-at: https://github.com/openvswitch/ovs-issues/issues/51

thanks,
-- Nithin


More information about the dev mailing list