xenserver: Rewrite refresh-network-uuids script for decent performance.
authorBen Pfaff <blp@nicira.com>
Wed, 21 Apr 2010 17:49:12 +0000 (10:49 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 26 Apr 2010 18:29:32 +0000 (11:29 -0700)
commit3b3289fcb969fa3eab708b55d1b7d24d32644d1b
tree9e9d19dc52d378365c1fdbf9d229c441cdb2c897
parent26efd2563bf76547cf38da49ec83997e091b2517
xenserver: Rewrite refresh-network-uuids script for decent performance.

Calling "interface-reconfigure up" can take a couple of seconds, but all
we have to do here, really, is fetch the network UUIDs and invoke
ovs-vsctl, which is much faster.  So rewrite this script in Python and make
it do just that.
xenserver/usr_share_openvswitch_scripts_refresh-network-uuids