diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-06-06 00:53:01 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:03:59 -0800 |
commit | eb4a0cb6ebcff0bf3844df690a2d7653700211f2 (patch) | |
tree | 8eefda94a40ab2d96449e4b8d34760829c3c5852 /mpm/python/usrp_mpm/periph_manager/base.py | |
parent | 14f0e113d967c9a9098be8cfea7f333c4bf5373f (diff) | |
download | uhd-eb4a0cb6ebcff0bf3844df690a2d7653700211f2.tar.gz uhd-eb4a0cb6ebcff0bf3844df690a2d7653700211f2.tar.bz2 uhd-eb4a0cb6ebcff0bf3844df690a2d7653700211f2.zip |
mpmd/mpm/n310: Added clock and time source APIs
Diffstat (limited to 'mpm/python/usrp_mpm/periph_manager/base.py')
-rw-r--r-- | mpm/python/usrp_mpm/periph_manager/base.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/base.py b/mpm/python/usrp_mpm/periph_manager/base.py index c0e64ade3..76fd610f1 100644 --- a/mpm/python/usrp_mpm/periph_manager/base.py +++ b/mpm/python/usrp_mpm/periph_manager/base.py @@ -124,6 +124,7 @@ class PeriphManagerBase(object): # the network. Example: ['eth1', 'eth2'] chdr_interfaces = [] @staticmethod + # Yes, this is overridable too: List the required device tree overlays def list_required_dt_overlays(eeprom_md, device_args): """ Lists device tree overlays that need to be applied before this class can @@ -134,7 +135,7 @@ class PeriphManagerBase(object): device_args -- Arbitrary dictionary of info, typically user-defined """ return [] - + ### End of overridables ################################################### def __init__(self, args): # First, make some checks to see if the child class is correctly set up: @@ -332,7 +333,8 @@ class PeriphManagerBase(object): self.log.trace("Resetting SID pool...") self._available_endpoints = list(range(256)) - def safe_list_updateable_components(self): + @no_claim + def list_updateable_components(self): """ return list of updateable components This method does not require a claim_token in the RPC |