[PATCH] xenserver: Accept VLAN PIFs in pif_bridge_name().
[PATCH] xenserver: Accept VLAN PIFs in pif_bridge_name().

From 6987c81c05f21c579fbe60e9b6693862abbbb762 Mon Sep 17 00:00:00 2001
Date: Mon, 22 Feb 2010 12:53:17 -0800
pif_bridge_name() was written when the vswitch interface-reconfigure was
working with the raw Open vSwitch configuration via ovs-cfg-mod.  Then,
it made no sense to ask for the "bridge name" of a VLAN PIF, because a
VLAN PIF didn't have a bridge.

Now, however, the vSwitch interface-reconfigure works with ovs-vsctl, which
provides a thin layer over the OVS configuration that makes VLAN bridges
appear to exist.  So now it makes sense to ask for the bridge of a VLAN
PIF, and this commit enables that.

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

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