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)
committerJustin Pettit <jpettit@nicira.com>
Tue, 5 Oct 2010 23:42:51 +0000 (16:42 -0700)
commit04f796a8393016cb274720438f078f3290bd099c
tree422c930b68df7ee05820c41b20af044477b0523a
parent3786d27da280ca70d5e1d2b679333776b16b1954
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