xenserver: monitor-external-ids remove redundant ovs-vsctl calls
authorEthan Jackson <ethan@nicira.com>
Fri, 17 Sep 2010 15:23:32 +0000 (08:23 -0700)
committerEthan Jackson <ethan@nicira.com>
Fri, 17 Sep 2010 16:39:57 +0000 (09:39 -0700)
commit00456ddda4110f7f75ea9f8a703b31c7f2df7649
treea8a5c08611104523c9ad02a943dc152e0b81a3d7
parent6b7b9d34c0eab9871cf6284c41108a84129817f3
xenserver: monitor-external-ids remove redundant ovs-vsctl calls

The number of ovs-vsctl calls required to add a new vif in
monitor-external-ids grew linearly with the number of vifs in the
system.  Changed to only do O(1) ovs-vsctl calls per vif addition.
xenserver/usr_share_openvswitch_scripts_monitor-external-ids