[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xend: Remove unused xoptions.netback_type.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1191837452 -3600
# Node ID 685054d5fa48bd6432d9cf14be7ece1329135994
# Parent  3d13b318349a380b885f12898e212d87f297e377
xend: Remove unused xoptions.netback_type.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendOptions.py |    3 ---
 tools/python/xen/xend/osdep.py       |    5 -----
 2 files changed, 8 deletions(-)

diff -r 3d13b318349a -r 685054d5fa48 tools/python/xen/xend/XendOptions.py
--- a/tools/python/xen/xend/XendOptions.py      Mon Oct 08 10:55:50 2007 +0100
+++ b/tools/python/xen/xend/XendOptions.py      Mon Oct 08 10:57:32 2007 +0100
@@ -111,9 +111,6 @@ class XendOptions:
     """Default xend QCoW storage repository location."""
     xend_storage_path_default = '/var/lib/xend/storage'
 
-    """Default type of backend network interfaces"""
-    netback_type = osdep.netback_type
-
     """Default script to configure a backend network interface"""
     vif_script = osdep.vif_script
 
diff -r 3d13b318349a -r 685054d5fa48 tools/python/xen/xend/osdep.py
--- a/tools/python/xen/xend/osdep.py    Mon Oct 08 10:55:50 2007 +0100
+++ b/tools/python/xen/xend/osdep.py    Mon Oct 08 10:57:32 2007 +0100
@@ -31,10 +31,6 @@ _xend_autorestart = {
 
 _pygrub_path = {
     "SunOS": "/usr/lib/xen/bin/pygrub"
-}
-
-_netback_type = {
-    "SunOS": "SUNW_mac"
 }
 
 _vif_script = {
@@ -96,6 +92,5 @@ scripts_dir = _get(_scripts_dir, "/etc/x
 scripts_dir = _get(_scripts_dir, "/etc/xen/scripts")
 xend_autorestart = _get(_xend_autorestart)
 pygrub_path = _get(_pygrub_path, "/usr/bin/pygrub")
-netback_type = _get(_netback_type, "netfront")
 vif_script = _get(_vif_script, "vif-bridge")
 lookup_balloon_stat = _get(_balloon_stat, _linux_balloon_stat)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.