Streams Basic Load Balancing (Allows multiple Forwarding Hosts)

This commit is contained in:
Guillaume Liautard
2022-04-14 01:10:28 +02:00
parent 4db34f5894
commit ec60004c96
9 changed files with 137 additions and 32 deletions

View File

@ -12,7 +12,11 @@
</div>
</td>
<td>
<div class="text-monospace"><%- forwarding_host %>:<%- forwarding_port %></div>
<div class="wrap">
<% forwarding_hosts.map(function(forwarding_host) { %>
<span class="tag hover-green"><%- forwarding_host %></span>
<% }); %>
</div>
</td>
<td>
<div>
@ -24,6 +28,11 @@
<% } %>
</div>
</td>
<td>
<div class="text-monospace">
<%- forwarding_port %>
</div>
</td>
<td>
<%
var o = isOnline();
@ -50,4 +59,4 @@
</div>
</div>
</td>
<% } %>
<% } %>

View File

@ -3,6 +3,7 @@
<th><%- i18n('streams', 'incoming-port') %></th>
<th><%- i18n('str', 'destination') %></th>
<th><%- i18n('streams', 'protocol') %></th>
<th><%- i18n('streams', 'forwarding-port') %></th>
<th><%- i18n('str', 'status') %></th>
<% if (canManage) { %>
<th>&nbsp;</th>