summaryrefslogtreecommitdiff
path: root/bonafide/src/leap
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-03-04 01:03:13 -0400
committerKali Kaneko (leap communications) <kali@leap.se>2016-03-04 01:03:13 -0400
commit4cb031e3de822e95d1d16105e786329c686b91c4 (patch)
tree32915a7029e81fccd668550d4240a4b57d6fd5e9 /bonafide/src/leap
parent242aaa656339c020381083593122ebbfef7141c6 (diff)
add a couple of tbd
Diffstat (limited to 'bonafide/src/leap')
-rw-r--r--bonafide/src/leap/bonafide/_protocol.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bonafide/src/leap/bonafide/_protocol.py b/bonafide/src/leap/bonafide/_protocol.py
index e9c60de..b15c6ac 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):