xend: Remove unused xoptions.netback_type.
authorKeir Fraser <keir@xensource.com>
Mon, 8 Oct 2007 09:57:32 +0000 (10:57 +0100)
committerKeir Fraser <keir@xensource.com>
Mon, 8 Oct 2007 09:57:32 +0000 (10:57 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/python/xen/xend/XendOptions.py
tools/python/xen/xend/osdep.py

index af0922078220077afa893d7818d7636bb064b2be..0ac9ca62efe92ee42509838afa55b342b2456fbe 100644 (file)
@@ -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
 
index 3dc343385ea34f4f4c21c0a3d576020f43fc26c2..93b2dfdb4e4087d70edc4e8ebcafe43dbfcb22a6 100644 (file)
@@ -33,10 +33,6 @@ _pygrub_path = {
     "SunOS": "/usr/lib/xen/bin/pygrub"
 }
 
-_netback_type = {
-    "SunOS": "SUNW_mac"
-}
-
 _vif_script = {
     "SunOS": "vif-vnic"
 }
@@ -96,6 +92,5 @@ def _get(var, default=None):
 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)