diff options
Diffstat (limited to 'bonafide')
-rw-r--r-- | bonafide/src/leap/bonafide/_protocol.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bonafide/src/leap/bonafide/_protocol.py b/bonafide/src/leap/bonafide/_protocol.py index e9c60de3..b15c6ac9 100644 --- a/bonafide/src/leap/bonafide/_protocol.py +++ b/bonafide/src/leap/bonafide/_protocol.py @@ -145,16 +145,18 @@ class BonafideProtocol(object): return d def do_get_vpn_cert(self): + # FIXME to be implemented pass def do_update_user(self): + # FIXME to be implemented pass def do_stats(self): log.msg('Calculating Bonafide Service STATS') mem = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss - return '[+] Bonafide service: [%s sessions] [Mem usage: %s KB]' % ( - len(self._sessions), mem / 1024) + return {'sessions': len(self._sessions), + 'mem': '%s KB' % (mem / 1024)} def _get_provider_ca_path(provider_id): |