On Wed, Jun 23, 2010 at 01:29:48PM -0600, Sean Brady wrote:
> Is there any way to get UUID persistence for these virtual
> interfaces?  If not, is there a clean way to query the DB to get the
> UUID of a named port?  If I could just consistently get the UUID of
> the port using a shell script I can have this working when the VM is
> started up.

You can do the latter with existing OVS with, e.g.:
        ovs-vsctl list port eth0 | sed -n 's/^_uuid *: \(.*\)$/\1/p'

I've sent out a patch that will make it easier with future OVS:
        ovs-vsctl get port eth0 _uuid

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org

Reply via email to