xenserver: Completely ignore datapath devices for renaming purposes.
authorBen Pfaff <blp@nicira.com>
Wed, 19 Aug 2009 19:59:56 +0000 (12:59 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 19 Aug 2009 20:44:05 +0000 (13:44 -0700)
commit9d04e270a8749d8dc54cef860abfc8c95823ff28
tree3d0f035f08f5f7bf947c5e17a8f78a84f4c1f14d
parentb78a7336a3318a3c348004760bac3e0057b9e9d1
xenserver: Completely ignore datapath devices for renaming purposes.

Commit 2bb451b69 "xenserver: Rename network devices to match MAC addresses
of physical PIFs" started renaming network devices so that they match
the MAC address that we expect them to have.  This worked OK at the time.

Commit 35c979bff "vswitchd: Support creating fake bond device interfaces"
later started creating fake bond devices to make the Citrix QA scripts
happier.

Unfortunately these commits interact badly: the bond devices created by
the latter commit are sometimes chosen as the physical devices to be
renamed over the physical PIF device names.  This is because we do allow
datapath internal ports to be chosen as "physical devices" as a last
resort.  This commit reverses this decision, eliminating that possibility.
This probably won't become a problem unless somehow we encounter a physical
Ethernet card driver that lacks a queue, but that is unlikely since the
performance would be awful.
xenserver/opt_xensource_libexec_interface-reconfigure