aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/rpc_server.py
diff options
context:
space:
mode:
authorThomas Vogel <thomas.vogel@ni.com>2020-11-30 16:57:19 +0100
committerAaron Rossetto <aaron.rossetto@ni.com>2021-03-11 09:29:31 -0600
commit2000bbf17e166e89a32f819d0a31c940e1303d1f (patch)
tree350a3b951821f751d7e293433cfb23f92dedaed5 /mpm/python/usrp_mpm/rpc_server.py
parent09995cc9954877cb56b4f028dc273f2d5fd0be10 (diff)
downloaduhd-2000bbf17e166e89a32f819d0a31c940e1303d1f.tar.gz
uhd-2000bbf17e166e89a32f819d0a31c940e1303d1f.tar.bz2
uhd-2000bbf17e166e89a32f819d0a31c940e1303d1f.zip
mpm: rpc: don't expose reset_mgr call via RPC
Diffstat (limited to 'mpm/python/usrp_mpm/rpc_server.py')
-rw-r--r--mpm/python/usrp_mpm/rpc_server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpm/python/usrp_mpm/rpc_server.py b/mpm/python/usrp_mpm/rpc_server.py
index 481b8e23a..972d18d59 100644
--- a/mpm/python/usrp_mpm/rpc_server.py
+++ b/mpm/python/usrp_mpm/rpc_server.py
@@ -491,7 +491,7 @@ class MPMServer(RPCServer):
unpack_params={'max_buffer_size': 50000000, 'raw': False},
)
- def reset_mgr(self):
+ def _reset_mgr(self):
"""
Reset the Peripheral Manager for this RPC server.
"""
@@ -569,7 +569,7 @@ class MPMServer(RPCServer):
try:
self.log.trace("Reset after updating component? {}".format(reset_now))
if reset_now:
- self.reset_mgr()
+ self._reset_mgr()
self.log.debug("Reset the periph manager")
except Exception as ex:
self.log.error(