Commit 9ae747e
committed
Imported two patches from xen-api.git
commit fa5d8321c27725fad175a2c4d259726e9b63d0ac
Author: Kevin Tower <[email protected]>
Date: Mon Apr 29 14:10:44 2013 -0700
Altering get_bridge_name_vswitch() to work correctly with VLANs.
VLAN-tagged networks/ports are connected to a "fake bridge" device.
Most ovs-* commands will not work with a fake bridge
device, so this function needs to return the true parent bridge
device name, not the fake bridge. Otherwise, subsequent calls
in this script to configure port locking via ovs-ofctl will
(silently) fail, and port locking will not activate.
Signed-off-by: Kevin Tower <[email protected]>
commit 06c2d0fedc7031c27ad9215a751c404fde1ebb70
Author: George Shuklin <[email protected]>
Date: Thu Dec 20 17:41:46 2012 +0400
Fix bridge name selection for vswitch mode in scripts/setup-vif-rules
- 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).
Signed-off-by: George Shuklin <[email protected]>
Committed-by: Rob Hoes <[email protected]>1 parent 422ff06 commit 9ae747e
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
197 | 206 | | |
198 | 207 | | |
199 | | - | |
| 208 | + | |
200 | 209 | | |
201 | 210 | | |
202 | 211 | | |
| |||
0 commit comments