From: Ben Pfaff Date: Thu, 11 Feb 2010 00:57:48 +0000 (-0800) Subject: xenserver: Fix bond configuration. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e91087c7f935b74f818739e9a8ec86cc15679cbc;p=openvswitch xenserver: Fix bond configuration. This bug was introduced as part of the merge from "master" and does not therefore exist in Citrix upstream code. --- diff --git a/xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py b/xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py index 006cc99f..6e5deb7e 100644 --- a/xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py +++ b/xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py @@ -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]