[PATCH] xenserver: Fix bringing up VLAN PIFs.
[PATCH] xenserver: Fix bringing up VLAN PIFs.

From d77ffabfbcf9eb04b7e69ff6b34e12f000d314ee Mon Sep 17 00:00:00 2001
Date: Mon, 22 Feb 2010 13:08:10 -0800
In configure_datapath(), bringing up a VLAN PIF's datapath is no different
from bringing up a non-VLAN PIF's datapath, but the code was making
unnecessary distinctions.  Also, the test
	if parent and datapath:
did not work at all, because there was no variable named 'datapath' in
scope and no obvious source of one.

In preconfigure(), it then becomes necessary to create a VLAN bridge for a
VLAN PIF, in a straightforward way.

Signed-off-by: Ben Pfaff <6f50513b21952446fbc8c95a8f361b7aa434b7c7@nicira.com>
Signed-off-by: Ian Campbell <9be92b3dbbd6611e3e4c9209fb3d04b4919e7cca@citrix.com>
---
 ...ensource_libexec_InterfaceReconfigureVswitch.py |   34 ++++++++++---------
 1 files changed, 18 insertions(+), 16 deletions(-)

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