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 authored and Sunil Mohan Adapa committed 2019-05-13 15:53:49 -07:00
1 parent a3adf134b9
commit 1cee306dcb
2 files changed
+6

No files matched your search

+5
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'
+1
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():