[ovs-dev] [PATCH] datapath-windows: Add functionality to return OVSPortName given a VM
Ben Pfaff
blp at nicira.com
Wed Nov 12 16:51:16 UTC 2014
On Tue, Nov 11, 2014 at 06:45:32PM +0000, Alin Serdean 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>
Applied. Thanks Alin (and Nithin)!
More information about the dev
mailing list