xenserver: Fix detection of xs-network-uuids in interface-reconfigure.
authorBen Pfaff <blp@nicira.com>
Tue, 15 Sep 2009 21:21:00 +0000 (14:21 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 15 Sep 2009 21:21:00 +0000 (14:21 -0700)
commitf134604bdccfe0e5d4b2bf43371aebd48a6e2474
treeb6133a5265721a814c3dc4f66feaafb620df3947
parent9d6122026ba5bdd3e6a911699be79c821b6a348c
xenserver: Fix detection of xs-network-uuids in interface-reconfigure.

Commit c798b21c6a "xenserver: Only consider the host we are running on in
interface-reconfigure" dropped the get_pifs_by_record function in favor
of get_pifs_by_device, but didn't adapt callers properly, so that the
XenServer network PIFs weren't properly found and thus the xs-network-uuids
keys weren't set correctly.

This fixes the caller.

Bug #2043.
xenserver/opt_xensource_libexec_interface-reconfigure