[PATCH] vswitch: do not access XenAPI from VIF hotplug script
[PATCH] vswitch: do not access XenAPI from VIF hotplug script

From 31afafc599ec9806e7a56e947a6ca0cd7af055f1 Mon Sep 17 00:00:00 2001
Date: Fri, 26 Feb 2010 13:25:09 -0800
XenAPI accesses must go through the pool master which introduces a
scalability issue.  All but one of the required values are already
present in xenstore for this reason

The only exception is the network UUID for an internal network. Rather
than working around the lack of callout to interface-reconfigure for
these networks simply pass the network uuid when creating calling out
to create the bridge.

Signed-off-by: Ian Campbell <9be92b3dbbd6611e3e4c9209fb3d04b4919e7cca@citrix.com>
---
 scripts/vif |   48 ++++++++++++++++++++++++++++++----
 1 files changed, 42 insertions(+), 6 deletions(-)

koushikcgit/xcp-rrdd,simonjbeaumont/xcp-rrdd,koushikcgit/xcp-networkd,robhoes/squeezed,sharady/xcp-networkd,koushikcgit/xcp-rrdd,johnelse/xcp-rrdd,sharady/xcp-networkd,koushikcgit/xcp-rrdd,djs55/xcp-networkd,johnelse/xcp-rrdd,djs55/xcp-rrdd,djs55/squeezed,djs55/xcp-rrdd,djs55/xcp-networkd,simonjbeaumont/xcp-rrdd,koushikcgit/xcp-networkd