summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kraft <george.kraft@calxeda.com>2012-06-07 13:08:43 -0500
committerGeorge Kraft <george.kraft@calxeda.com>2012-06-07 13:08:43 -0500
commite27237516e37ac5ce2a1c830ac9c0bb7b568a960 (patch)
treee4064e8e8da03e8336a09f44da0c47fb868f636d
parent2a63b79cee9d1d6001e8f9799c03c8f010b67e93 (diff)
downloadpyipmi-e27237516e37ac5ce2a1c830ac9c0bb7b568a960.tar.gz
fw: Add version and daddr to fw info command
-rw-r--r--pyipmi/commands/fw.py2
-rw-r--r--pyipmi/fw.py4
2 files changed, 5 insertions, 1 deletions
diff --git a/pyipmi/commands/fw.py b/pyipmi/commands/fw.py
index 864c850..03cc217 100644
--- a/pyipmi/commands/fw.py
+++ b/pyipmi/commands/fw.py
@@ -207,6 +207,8 @@ class FWInfoCommand(CommandWithErrors):
"Offset" : {},
"Size" : {},
"Flags" : {},
+ "Version" : {},
+ "Daddr" : {},
"Error" : {}
}
diff --git a/pyipmi/fw.py b/pyipmi/fw.py
index 9510fb3..aa0cb1b 100644
--- a/pyipmi/fw.py
+++ b/pyipmi/fw.py
@@ -16,7 +16,9 @@ class FWInfo(object):
self.type == other.type and
self.offset == other.offset and
self.size == other.size and
- self.flags == other.flags)
+ self.flags == other.flags and
+ self.version == other.version and
+ self.daddr == other.daddr)
else:
return False