xenserver: Fix detection of xs-network-uuids in interface-reconfigure.
[openvswitch] / xenserver / opt_xensource_libexec_interface-reconfigure
index 13c68884493d186f5964115adb2a1238f13aff94..07e7ba24b2f7ee0e87d8927d818fa3dd3000b6d8 100755 (executable)
@@ -1191,7 +1191,7 @@ def action_up(pif):
     # - The networks corresponding to any VLANs attached to the
     #   datapath's PIF.
     network_uuids = []
-    for nwpif in db.get_pifs_by_device({'device': pifrec['device']}):
+    for nwpif in db.get_pifs_by_device(pifrec['device']):
         net = db.get_pif_record(nwpif)['network']
         network_uuids += [db.get_network_record(net)['uuid']]