From e91087c7f935b74f818739e9a8ec86cc15679cbc Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 10 Feb 2010 16:57:48 -0800 Subject: [PATCH] xenserver: Fix bond configuration. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- 2.30.2