projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3d6452
)
bonding: Use device names instead of Xen OpaqueRefs
author
Jesse Gross
<jesse@nicira.com>
Wed, 13 Jan 2010 22:43:09 +0000
(17:43 -0500)
committer
Jesse Gross
<jesse@nicira.com>
Thu, 14 Jan 2010 21:57:11 +0000
(16:57 -0500)
When configuring the slaves of a bond, interface-reconfigure was
directly writing the Xen OpaqueRef as the name instead of first
converting it into a standard device name.
Bug #2377
xenserver/opt_xensource_libexec_interface-reconfigure
patch
|
blob
|
history
diff --git
a/xenserver/opt_xensource_libexec_interface-reconfigure
b/xenserver/opt_xensource_libexec_interface-reconfigure
index d346cdc4b1b78812c3fccdef670ef000a6a1285a..3021df1db6212b2724ad8ea61d47b0274f8da828 100755
(executable)
--- a/
xenserver/opt_xensource_libexec_interface-reconfigure
+++ b/
xenserver/opt_xensource_libexec_interface-reconfigure
@@
-1214,7
+1214,9
@@
def datapath_configure_bond(pif,slaves):
pifrec = db.get_pif_record(pif)
interface = pif_netdev_name(pif)
- argv = ['--', 'add-bond', bridge, interface] + slaves
+ argv = ['--', 'add-bond', bridge, interface]
+ for slave in slaves:
+ argv += [pif_netdev_name(slave)]
# XXX need ovs-vsctl support
#if pifrec['MAC'] != "":