xenserver: Fix bond configuration.
authorBen Pfaff <blp@nicira.com>
Thu, 11 Feb 2010 00:57:48 +0000 (16:57 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 11 Feb 2010 00:57:48 +0000 (16:57 -0800)
This bug was introduced as part of the merge from "master" and does not
therefore exist in Citrix upstream code.

xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py

index 006cc99fcb8cd2020c220b19c7656949194d197f..6e5deb7ed8bb926f0fcfeb7203c0d33b3ada02b8 100644 (file)
@@ -122,7 +122,7 @@ def datapath_deconfigure_physical(netdev):
 
 def datapath_configure_bond(pif,slaves):
     bridge = pif_bridge_name(pif)
-    pifrec = db.get_pif_record(pif)
+    pifrec = db().get_pif_record(pif)
     interface = pif_netdev_name(pif)
 
     argv = ['--', '--fake-iface', 'add-bond', bridge, interface]