xenserver: Fix missing default route problem.
authorBen Pfaff <blp@nicira.com>
Mon, 18 May 2009 20:31:00 +0000 (13:31 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 18 May 2009 20:31:00 +0000 (13:31 -0700)
commit5dbde79d19949afe952e0dfef391e6d66d08d33f
tree3d4a3a7a15140bf62f4ca9e17a4e56d8b976549e
parenta7bd01df4b619b880b165cf53e1c019ee407357b
xenserver: Fix missing default route problem.

Taking down the vlan_slave's network device deletes any routes associated
with it, including the default route, and those routes are not restored
when the network device is brought up again later.

So don't take that device down at all.  There's no reason to do so.

We still want to bring that device up after configuring the pif, just in
case it was down, so this commit only deletes the down_netdev, not the
corresponding up_netdev later on.

Second half of bug #1327.
xenserver/opt_xensource_libexec_interface-reconfigure