Revert "Apply temporary band-aid to VLAN-related OOPS on XenServer."
authorBen Pfaff <blp@nicira.com>
Thu, 14 May 2009 18:22:01 +0000 (11:22 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 14 May 2009 18:22:01 +0000 (11:22 -0700)
This reverts commit ef4a656e73b3bf157519a8f6e239c0e5f54600a3,
since the need for it was eliminated (I hope).

xenserver/opt_xensource_libexec_interface-reconfigure

index fa18be198b1029426eefb5ee90ccbaf260d2407c..3ec7826240b3f452694d48925aaffddb61611eca 100755 (executable)
@@ -844,8 +844,7 @@ def action_up(pif):
         argv += ['--add=bridge.%s.port=%s' % (datapath, port)]
     if vlan_slave:
         argv += ['--add=vlan.%s.tag=%s' % (ipdev, pifrec['VLAN'])]
-        if os.path.exists("/etc/vswitchd.enable-vlans"):
-            argv += ['--add=iface.%s.internal=true' % (ipdev)]
+        argv += ['--add=iface.%s.internal=true' % (ipdev)]
     if bond_master:
         argv += configure_bond(bond_master)
     modify_config(argv)