[ovs-git] [openvswitch/ovs] a22a95: datapath-windows: Add functionality to return OVSP...
GitHub
noreply at github.com
Wed Nov 12 16:48:39 UTC 2014
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: a22a9529fb86aa906a6a4e1f014826380f4e81d0
https://github.com/openvswitch/ovs/commit/a22a9529fb86aa906a6a4e1f014826380f4e81d0
Author: Alin Serdean <aserdean at cloudbasesolutions.com>
Date: 2014-11-12 (Wed, 12 Nov 2014)
Changed paths:
M datapath-windows/misc/OVS.psm1
Log Message:
-----------
datapath-windows: Add functionality to return OVSPortName given a VM
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
Requested-by: Nithin Raju <nithin at vmware.com>
Reported-at: https://github.com/openvswitch/ovs-issues/issues/51
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>
Signed-off-by: Ben Pfaff <blp at nicira.com>
More information about the git
mailing list