xen-org/xen-api — pull request #812 by johnelse (2012-08-07 18:31:28+00:00)
Title: CA-77238: Use "ip link set <device> [up|down]" to manage disabled VIFs.

This makes things more consistent between bridge and vswitch.

This patch also moves the usual "ip link set up" from the VIF
udev script into setup-vif-rules - this fixes the bug where
setup-vif-rules would call "mod port down" on a disabled VIF, but the
udev script would then call "ip link set up", erroneously re-enabling
the VIF.