Node

<% nodes = ssh_nodes %>
<% nodes.each do |node| %> <% if node["ping"].eql? "true" %> <% else %> <% end %> <% if node["gluster"].eql? "on" %> <% else %> <% end %> <% end %>
Ping Status Host Name Host IP User Name
AttachedNot operational "><%= node["host_name"] %> <%= node["host_ip"] %> <%= node["user_name"] %> ">

Node Detail

<% nodes.each do |node| %> <% if (node["id"].to_s).eql?(@node_id.to_s)%>
"/>
<% if node["ping"].eql? "true" %>
<% if node["ssh"].eql?("on") && node["gluster"].eql?("on")%>
<%end%> <% end %>
" class="form-control col-md-7 col-xs-12" data-validate-length-range="10" data-validate-words="1" name="host_name" placeholder="Host Name" required="required" type="text" data-toggle="tooltip" data-placement="top" title="Put node's representative name">
" class="form-control col-md-7 col-xs-12" data-validate-length-range="10" data-validate-words="1" name="host_ip" placeholder="127.0.0.1" required="required" type="text" data-toggle="tooltip" data-placement="top" title="Put node's ip">
" type="text" name="user_name" placeholder="root" required="required" data-validate-length-range="5,20" class="form-control col-md-7 col-xs-12" data-toggle="tooltip" data-placement="top" title="Put user name for ssh connection. client must have ssh key">
" type="password" name="user_password" placeholder="secret" data-validate-length="1,10" class="form-control col-md-7 col-xs-12" required="required" data-toggle="tooltip" data-placement="top" title="Put user password for ssh connection. client must have ssh key">
<% end %> <% end %>