summaryrefslogtreecommitdiff
path: root/deps/rabbitmq_management/priv/www/js/tmpl/cluster-name.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'deps/rabbitmq_management/priv/www/js/tmpl/cluster-name.ejs')
-rw-r--r--deps/rabbitmq_management/priv/www/js/tmpl/cluster-name.ejs31
1 files changed, 31 insertions, 0 deletions
diff --git a/deps/rabbitmq_management/priv/www/js/tmpl/cluster-name.ejs b/deps/rabbitmq_management/priv/www/js/tmpl/cluster-name.ejs
new file mode 100644
index 0000000000..fbaa3cd24e
--- /dev/null
+++ b/deps/rabbitmq_management/priv/www/js/tmpl/cluster-name.ejs
@@ -0,0 +1,31 @@
+<h1>Cluster name: <b><%= fmt_string(cluster_name.name) %></b></h1>
+
+<p>
+ The cluster name can be used by clients to identify clusters over
+ AMQP connections, and is used by the shovel and federation plugins
+ to identify which clusters a message has been routed through.
+</p>
+<p>
+ Note that the cluster name is announced to clients in the AMQP
+ server properties; i.e. before authentication has taken
+ place. Therefore it should not be considered secret.
+</p>
+<p>
+ The cluster name is generated by default from the name of the first
+ node in the cluster, but can be changed.
+</p>
+
+<div class="section-hidden">
+ <h2>Change name</h2>
+ <div class="hider">
+ <form action="#/cluster-name" method="put">
+ <table class="form">
+ <tr>
+ <th><label>Name:</label></th>
+ <td><input type="text" name="name" value="<%= fmt_string(cluster_name.name) %>"/><span class="mand">*</span></td>
+ </tr>
+ </table>
+ <input type="submit" value="Change name"/>
+ </form>
+ </div>
+</div>