Rework NAT support.
[bootmanager.git] / source / ModelOptions.py
index ee1cab3..8c8e979 100644 (file)
@@ -1,3 +1,12 @@
+#!/usr/bin/python
+
+# Copyright (c) 2003 Intel Corporation
+# All rights reserved.
+#
+# Copyright (c) 2004-2006 The Trustees of Princeton University
+# All rights reserved.
+
+
 import string
 
 MINHW   = 0x001
@@ -9,6 +18,7 @@ NUMA    = 0x020
 GEODE   = 0x040
 BADHD   = 0x080
 LAST    = 0x100
+RAWDISK = 0x200
 
 modeloptions = {'smp':SMP,
                 'x64':X86_64,
@@ -19,7 +29,8 @@ modeloptions = {'smp':SMP,
                 'numa':NUMA,
                 'geode':GEODE,
                 'badhd':BADHD,
-                'minhw':MINHW}
+                'minhw':MINHW,
+                'rawdisk':RAWDISK}
 
 def Get(model):
     modelinfo = string.split(model,'/')
@@ -30,3 +41,4 @@ def Get(model):
         options = options | modeloptions.get(info,0)
 
     return options
+