xen-org/xen-api — pull request #953 by amarao (2012-12-20 13:44:29+00:00)
Title: Fix to 

- bridge_name = "xenbr%s" % devid
+ bridge_name = get_bridge_name_vswitch(vif_name)

Devid is device number for domU (f.e. vif1.15; 15 - devid) and is definitely NOT a
xenbr number (xenbr0, xenbr1, etc).

This will fix broken Multi-Tenancy feature for xenbrX and vif1.X for X !=0.