mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
antispoof parameters from Vifctl.network -- these are already handled by the script, so it is redundant to have a separate override for these parameters coming from outside. Don't use xen.util.process.runscript, because we don't need to return the output, and therefore can just use os.spawnl. Remove XendRoot.get_vif_antispoof, matching change above. Prefix XendRoot.network_script_dir onto the return value for XendRoot.get_network_script(), removing that burden from callers. Signed-off-by: Ewan Mellor <ewan@xensource.com>
The file test.py here is from the Zope project, and is Copyright (c) 2001, 2002 Zope Corporation and Contributors. This file is released under the Zope Public License, version 2.0, a copy of which is in the file ZPL-2.0.