summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2009-04-29 18:42:12 +0200
committerDavid Sommerseth <davids@redhat.com>2009-04-29 18:42:12 +0200
commit6453a1131547b71c4a21a978fd9588d67d056233 (patch)
treefe349ca1c5f2c67c0fe1c948a01be7ef1974af0b /src
parent2aaa3c0822bff7204167f73b62035bc10f620881 (diff)
downloadpython-dmidecode-6453a1131547b71c4a21a978fd9588d67d056233.tar.gz
python-dmidecode-6453a1131547b71c4a21a978fd9588d67d056233.tar.xz
python-dmidecode-6453a1131547b71c4a21a978fd9588d67d056233.zip
Completed mapping the bios section
Diffstat (limited to 'src')
-rw-r--r--src/pythonmap.xml35
1 files changed, 23 insertions, 12 deletions
diff --git a/src/pythonmap.xml b/src/pythonmap.xml
index d1bd9dc..6fbc602 100644
--- a/src/pythonmap.xml
+++ b/src/pythonmap.xml
@@ -13,18 +13,29 @@
<Map keytype="constant" key="dmi_size" valuetype="integer" value="/dmidecode/BIOSlanguage/@size"/>
</Map>
<Map keytype="string" key="/dmidecode/BIOSinfo/@handle" valuetype="dict">
- <Map keytype="constant" key="Vendor" valuetype="string" value="/dmidecode/BIOSinfo/Vendor"/>
- <Map keytype="constant" key="Characteristics" valuetype="dict">
- <Map keytype="string" key="/dmidecode/BIOSinfo/Characteristics/flags/flag[../../@level = '0]"
- valuetype="boolean" value="/dmidecode/BIOSinfo/Characteristics/flags/flag/@enabled"/>
- </Map>
- <Map keytype="constant" key="Characteristic x1" valuetype="dict">
- <Map keytype="string" key="/dmidecode/BIOSinfo/Characteristics/characteristic[../@level = 'x1']"
- valuetype="boolean" value="/dmidecode/BIOSinfo/Characteristics/characteristic/@enabled"/>
- </Map>
- <Map keytype="constant" key="Characteristic x2" valuetype="dict">
- <Map keytype="string" key="/dmidecode/BIOSinfo/Characteristics/characteristic[../@level = 'x2']"
- valuetype="boolean" value="/dmidecode/BIOSinfo/Characteristics/characteristic/@enabled"/>
+ <Map keytype="constant" key="data" valuetype="dict">
+ <Map keytype="constant" key="Vendor" valuetype="string" value="/dmidecode/BIOSinfo/Vendor"/>
+ <Map keytype="constant" key="Characteristics" valuetype="dict">
+ <Map keytype="string" key="/dmidecode/BIOSinfo/Characteristics/flags/flag[../../@level = '0']"
+ valuetype="boolean" value="/dmidecode/BIOSinfo/Characteristics/flags/flag/@enabled"/>
+ </Map>
+ <Map keytype="constant" key="Characteristic x1" valuetype="dict">
+ <Map keytype="string" key="/dmidecode/BIOSinfo/Characteristics/characteristic[../@level = 'x1']"
+ valuetype="boolean" value="/dmidecode/BIOSinfo/Characteristics/characteristic/@enabled"/>
+ </Map>
+ <Map keytype="constant" key="Characteristic x2" valuetype="dict">
+ <Map keytype="string" key="/dmidecode/BIOSinfo/Characteristics/characteristic[../@level = 'x2']"
+ valuetype="boolean" value="/dmidecode/BIOSinfo/Characteristics/characteristic/@enabled"/>
+ </Map>
+ <Map keytype="constant" key="Runtime Size" valuetype="string"
+ value="concat(/dmidecode/BIOSinfo/RuntimeSize,' ',/dmidecode/BIOSinfo/RuntimeSize/@unit)"/>
+ <Map keytype="constant" key="BIOS Revision"
+ valuetype="string" value="/dmidecode/BIOSinfo/BIOSrevision"/>
+ <Map keytype="constant" key="Version" valuetype="string" value="/dmidecode/BIOSinfo/Version"/>
+ <Map keytype="constant" key="ROM Size" valuetype="string"
+ value="concat(/dmidecode/BIOSinfo/ROMsize,' ',/dmidecode/BIOSinfo/ROMsize/@unit)"/>
+ <Map keytype="constant" key="Address" valuetype="string" value="/dmidecode/BIOSinfo/Address"/>
+ <Map keytype="constant" key="Relase Date" valuetype="string" value="/dmidecode/BIOSinfo/ReleaseDate"/>
</Map>
<Map keytype="constant" key="dmi_type" valuetype="integer" value="/dmidecode/BIOSinfo/@type"/>
<Map keytype="constant" key="dmi_handle" valuetype="string" value="/dmidecode/BIOSinfo/@handle"/>