aboutsummaryrefslogtreecommitdiffstats
path: root/mpm
diff options
context:
space:
mode:
Diffstat (limited to 'mpm')
-rw-r--r--mpm/python/usrp_mpm/periph_manager/base.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/base.py b/mpm/python/usrp_mpm/periph_manager/base.py
index 76fd610f1..0f8415ba9 100644
--- a/mpm/python/usrp_mpm/periph_manager/base.py
+++ b/mpm/python/usrp_mpm/periph_manager/base.py
@@ -365,14 +365,12 @@ class PeriphManagerBase(object):
result.update(self.mboard_info)
return result
- def get_dboards(self):
+ @no_claim
+ def get_dboard_info(self):
"""
- get a dict with slot: hw_pid for each dboard
+ Returns a list of dicts. One dict per dboard.
"""
- result = {}
- for slot, dboard in iteritems(self.dboards):
- result.update({slot:dboard.hw_pid})
- return result
+ return [dboard.device_info for dboard in self.dboards]
def load_fpga_image(self, target=None):
"""