tahoe: Show port forwarding info

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
James Valleroy 2019-05-11 15:59:06 -04:00 committed by Sunil Mohan Adapa
parent a3adf134b9
commit 1cee306dcb
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2
2 changed files with 6 additions and 0 deletions

View File

@ -43,6 +43,11 @@ short_description = _('Distributed File Storage')
service = None
port_forwarding_info = [
('TCP', 3456),
('TCP', 5678),
]
tahoe_home = '/var/lib/tahoe-lafs'
introducer_name = 'introducer'
storage_node_name = 'storage_node'

View File

@ -55,6 +55,7 @@ class TahoeServiceView(ServiceView):
template_name = 'tahoe-post-setup.html'
description = tahoe.description
diagnostics_module_name = 'tahoe'
port_forwarding_info = tahoe.port_forwarding_info
def dispatch(self, request, *args, **kwargs):
if not tahoe.is_setup():