summaryrefslogtreecommitdiff
path: root/xenserver/opt_xensource_libexec_interface-reconfigure
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2009-11-18 14:14:29 -0800
committerBen Pfaff <blp@nicira.com>2009-11-18 14:14:29 -0800
commitd17ee8689bff22541dccaa792b70a848641f3646 (patch)
treecd5e8c939f4acc98695275590279b8bdf0d66b79 /xenserver/opt_xensource_libexec_interface-reconfigure
parent7c9e113b712e72fcb4ccc6075da7334cb3391059 (diff)
parent0cd8a05ec036ca8f950d4d4034a80bf485581b6a (diff)
downloadopenvswitch-d17ee8689bff22541dccaa792b70a848641f3646.tar.gz
Merge citrix branch into master.
Diffstat (limited to 'xenserver/opt_xensource_libexec_interface-reconfigure')
-rwxr-xr-xxenserver/opt_xensource_libexec_interface-reconfigure15
1 files changed, 13 insertions, 2 deletions
diff --git a/xenserver/opt_xensource_libexec_interface-reconfigure b/xenserver/opt_xensource_libexec_interface-reconfigure
index 6e3522f83..2b6f62b46 100755
--- a/xenserver/opt_xensource_libexec_interface-reconfigure
+++ b/xenserver/opt_xensource_libexec_interface-reconfigure
@@ -1,8 +1,18 @@
#!/usr/bin/python
#
-# Copyright (c) 2008,2009 Citrix Systems, Inc. All rights reserved.
+# Copyright (c) 2008,2009 Citrix Systems, Inc.
# Copyright (c) 2009 Nicira Networks.
#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published
+# by the Free Software Foundation; version 2.1 only. with the special
+# exception on linking described in file LICENSE.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
"""Usage:
%(command-name)s <PIF> up
@@ -1250,7 +1260,8 @@ def datapath_deconfigure_ipdev(interface):
return ['--del-match=bridge.*.port=%s' % interface,
'--del-match=port.%s.[!0-9]*' % interface,
'--del-match=iface.%s.[!0-9]*' % interface,
- '--del-match=vlan.%s.[!0-9]*' % interface]
+ '--del-match=vlan.%s.trunks=*' % interface,
+ '--del-match=vlan.%s.tag=*' % interface]
def datapath_modify_config(commands):
if debug_mode():