Dynamic Shovels

Shovels

<% if (shovels.length > 0) { %> <% if (vhosts_interesting) { %> <% } %> <% if (vhosts_interesting) { %> <% } %> <% if (!vhosts_interesting) { %> <% } %> <% for (var i = 0; i < shovels.length; i++) { var shovel = shovels[i]; %> > <% if (vhosts_interesting) { %> <% } %> <% } %>
Virtual HostName Source Destination Reconnect Delay Ack mode Auto-delete
Protocol Uri Endpoint Prefetch Protocol Uri Endpoint Add headers
<%= fmt_string(shovel.vhost) %><%= link_shovel(shovel.vhost, shovel.name) %> <%= fmt_string(shovel.value['src-protocol']) %> <%= fmt_shortened_uri(fmt_uri_with_credentials(shovel.value['src-uri'])) %> <%= fmt_shovel_endpoint('src-', shovel.value) %> <%= shovel.value['src-prefetch-count'] %> <%= fmt_string(shovel.value['dest-protocol']) %> <%= fmt_shortened_uri(fmt_uri_with_credentials(shovel.value['dest-uri'])) %> <%= fmt_shovel_endpoint('dest-', shovel.value) %> <%= fmt_boolean(fallback_value(shovel, 'dest-add-forward-headers', 'add-forward-headers')) %> <%= fmt_time(shovel.value['reconnect-delay'], 's') %> <%= fmt_string(shovel.value['ack-mode']) %> <%= fmt_string(fallback_value(shovel, 'src-delete-after', 'delete-after')) %>
<% } else { %>

... no shovels ...

<% } %>

Add a new shovel

<% if (vhosts_interesting) { %> <% } else { %> <% } %>
*
Source:
*
Destination:
*
s

URI examples