Local modifications to ClusterLabs/Anvil by Alteeve
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

651 lines
19 KiB

<!-- start create-menu -->
<table align="center" class="anvil_main_menu">
<script type="text/javascript" src="/skins/alteeve/anvil.js"></script>
<tr>
<td colspan="2">
&nbsp;
</td>
</tr>
<tr>
<td colspan="2" class="title">
#!string!striker_0203!#
</td>
</tr>
<tr>
<td colspan="2">
&nbsp;
</td>
</tr>
<tr>
<td class="main_option_icon">
<a href="?anvil=true&task=create&subtask=manifest"><img src="#!data!skin::url!#/images/manifest.png" class="top_icon" ></a>
</td>
<td class="main_option">
<a href="?anvil=true&task=prep-host">#!string!striker_0204!#</a>
</td>
</tr>
<tr>
<td colspan="2">
&nbsp;
</td>
</tr>
<tr>
<td class="main_option_icon">
&nbsp;
</td>
<td class="main_option">
#!string!striker_0205!#
</td>
</tr>
<tr>
<td class="main_option_icon">
&nbsp;
</td>
<td class="main_option">
<table>
#!variable!existing_manifests!#
</table>
</td>
</tr>
</table>
<!-- end create-menu -->
<!-- start existing-manifest-entry -->
<tr>
<td>
<a href="?anvil=true&task=manifest&run=true&manifest_uuid=#!variable!manifest_uuid!#">#!string!striker_0206!#</a>
</td>
<td>
#!variable!manifest_name!#
</td>
<td>
<a href="?anvil=true&task=manifest&edit=true&manifest_uuid=#!variable!manifest_uuid!#">#!string!striker_0207!#</a>
</td>
<td>
<a href="?anvil=true&task=manifest&delete=true&manifest_uuid=#!variable!manifest_uuid!#"><img src="#!data!skin::url!#/images/delete.png" alt="#!string!striker_0068!#" style="height: .8em;"></a>
</td>
</tr>
<!-- end existing-manifest-entry -->
<!-- start main-menu -->
<table align="center" class="anvil_main_menu">
<script type="text/javascript" src="/skins/alteeve/anvil.js"></script>
<tr>
<td colspan="2">
&nbsp;
</td>
</tr>
<tr>
<td colspan="2" class="title">
#!string!striker_0113!#
</td>
</tr>
<tr>
<td colspan="2">
&nbsp;
</td>
</tr>
<tr>
<td class="main_option_icon">
<a href="?anvil=true&task=prep-host"><img src="#!data!skin::url!#/images/prep-host_icon.png" class="top_icon" ></a>
</td>
<td class="main_option">
<a href="?anvil=true&task=prep-host">#!string!striker_0116!#</a>
</td>
</tr>
<tr>
<td rowspan="2" class="main_option_icon" style="cursor: pointer;">
<span id="toggle_unconfigured_icon"><img src="#!data!skin::url!#/images/configure-network.png" class="top_icon" ></span>
</td>
<td class="main_option">
<span id="toggle_unconfigured_text" style="cursor: pointer;">#!string!striker_0130!#</spam>
</td>
</tr>
<tr>
<td class="main_option_list">
<!-- See anvil.js for the in-JS generated HTML table that gets inserted here -->
<div id="unconfigured_hosts" style="display: none;"
data-none="#!string!unit_0003!#"
data-yes="#!string!unit_0001!#"
data-no="#!string!unit_0002!#"
data-configured="#!string!header_0018!#"
data-unconfigured="#!string!header_0016!#"
data-accessible="#!string!header_0017!#"
data-at-ip="#!string!header_0020!#"
data-type="#!string!header_0019!#"
/>
</td>
</tr>
<tr>
<td class="main_option_icon">
<a href="?anvil=true&task=create"><img src="#!data!skin::url!#/images/build-anvil_icon.png" class="top_icon" ></a>
</td>
<td class="main_option">
<a href="?anvil=true&task=create">#!string!striker_0114!#</a>
</td>
</tr>
</table>
<!-- end main-menu -->
<!-- start network_interface_form -->
<table>
<tr>
<td colspan="5" class="form_group_header1">
#!variable!field!#:
<input type="hidden" name="#!variable!network_name!#_create_bridge" id="#!variable!network_name!#_create_bridge" value="#!variable!create_bridge!#">
</td>
</tr>
<tr>
<td colspan="5" class="form_group_header2">
#!variable!description!#<br />
<span class="notice">#!string!prefix_0006!#</span>: #!string!striker_0145!#
</td>
</tr>
<tr>
<td>
#!string!striker_0024!#
</td>
<td>
<input type="text" name="#!variable!ip_key!#" id="#!variable!ip_key!#" value="#!variable!ip_value!#" placeholder="#!string!striker_0024!#" class="#!variable!ip_class!#">
</td>
<td>
&nbsp;
</td>
<td>
#!string!striker_0029!#
</td>
<td>
#!variable!iface1_select!#
</td>
</tr>
<tr>
<td>
#!string!striker_0025!#
</td>
<td>
<input type="text" name="#!variable!subnet_mask_key!#" id="#!variable!subnet_mask_key!#" value="#!variable!subnet_mask_value!#" placeholder="#!string!striker_0025!#" class="#!variable!subnet_mask_class!#">
</td>
<td>
&nbsp;
</td>
<td>
#!string!striker_0030!#
</td>
<td>
#!variable!iface2_select!#
</td>
</tr>
</table>
<!-- end network_interface_form -->
<!-- start network_job_recorded -->
<table>
<tr>
<td>
<span class="config_header2">#!string!striker_0044!#</span><br />
<span class="config_header3">#!string!striker_0161!#</span>
<br />
<hr />
<a href="/cgi-bin/striker?anvil=true" class="button">#!string!striker_0162!#</a>
</td>
</tr>
</table>
<!-- end network_job_recorded -->
<!-- start config-network-main -->
<table align="center" class="anvil_main_menu">
<script type="text/javascript" src="/skins/alteeve/anvil.js"></script>
<tr>
<td colspan="2">
&nbsp;
</td>
</tr>
<tr>
<td colspan="2" class="title">
#!string!striker_0141!#
</td>
</tr>
<tr>
<td colspan="2">
&nbsp;
</td>
</tr>
<tr>
<td colspan="2">
#!string!striker_0142!#
</td>
</tr>
<form name="host_setup" action="" method="post">
<tr>
<td colspan="2">
<hr>
</td>
</tr>
<tr>
<td colspan="2">
&nbsp;
</td>
</tr>
<tr>
<td colspan="2">
<table width="100%">
<div id="network_config">
<form name="network_config_form" action="" method="post">
<tr>
<td width="75%" style="vertical-align: top;">
<table>
<tr>
<td>
#!variable!host_name_form!#
</td>
</tr>
<tr>
<td>
&nbsp;
</td>
</tr>
<tr>
<td>
#!variable!interface_form!#
</td>
</tr>
<tr>
<td>
#!variable!gateway_form!#
</td>
</tr>
<tr>
<td>
#!variable!dns_form!#
</td>
</tr>
</table>
</td>
<td width="25%" style="padding-left: 1em; vertical-align: top;">
<div id="network_interface_table"
data-host-name="#!variable!host_name!#"
data-title="#!string!header_0001!#"
data-mac-address="#!string!header_0002!#"
data-name="#!string!header_0003!#"
data-state="#!string!header_0004!#"
data-speed="#!string!header_0005!#"
data-up-order="#!string!header_0006!#"
data-up="#!string!unit_0013!#"
data-down="#!string!unit_0014!#"
/>
</td>
</tr>
<tr>
<td colspan="2" class="column_row_value_right">
<input type="submit" name="next" id="next" class="button" value="#!string!striker_0013!#">
</td>
</tr>
<input type="hidden" name="host_uuid" id="host_uuid" value="#!variable!host_uuid!#">
<input type="hidden" name="bcn_count" id="bcn_count" value="#!variable!bcn_count!#">
<input type="hidden" name="sn_count" id="sn_count" value="#!variable!sn_count!#">
<input type="hidden" name="ifn_count" id="ifn_count" value="#!variable!ifn_count!#">
<input type="hidden" name="save" id="save" value="true">
<input type="hidden" name="anvil" id="anvil" value="true">
<input type="hidden" name="task" id="task" value="prep-network">
</form>
</div>
</table>
</td>
</tr>
</form>
</table>
<!-- end config-network-main -->
<!-- start config-network-confirm -->
<table align="center" width="75%">
<tr>
<td colspan="2">
&nbsp;
</td>
</tr>
<tr>
<td colspan="2" class="title">
#!string!striker_0146!#
</td>
</tr>
<tr>
<td colspan="2">
&nbsp;
</td>
</tr>
<tr>
<td colspan="2">
#!string!striker_0147!#
</td>
</tr>
<form name="host_setup" action="" method="post">
<tr>
<td colspan="2">
<hr>
</td>
</tr>
<tr>
<td colspan="2">
<table class="centered">
<form name="network_config_confirm" action="" method="post">
<div id="network_plan">
<tr>
<td colspan="2">
<!-- Network Plan -->
#!string!striker_0148!#
</td>
</tr>
<tr>
<td colspan="2" style="vertical-align: top;">
<table class="data_table_nowrap">
<tr>
<td class="column_header">
<!-- Network Name -->
#!string!striker_0149!# &nbsp;
</td>
<td class="column_header">
<!-- Primary Interface -->
&nbsp; #!string!striker_0029!# &nbsp;
</td>
<td class="column_header">
<!-- Secondary Interface -->
&nbsp; #!string!striker_0030!# &nbsp;
</td>
<td class="column_header">
<!-- Primary IP Address/Subnet (or DHCP) -->
&nbsp; #!string!striker_0150!# &nbsp;
</td>
<td class="column_header">
<!-- Bridge? -->
&nbsp; #!string!striker_0151!#
</td>
</tr>
#!variable!interfaces!#
<tr>
<td class="column_header">
#!string!striker_0016!#:
</td>
<td colspan="4" class="column_row_value_fixed">
&nbsp; #!variable!host_name!#
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="column_row_value">
<br />
<input type="submit" name="back" id="back" class="button" value="#!string!striker_0098!#">
</td>
<td class="column_row_value_right">
<br />
<input type="submit" name="confirm" id="confirm" class="button" value="#!string!striker_0082!#">
</td>
</tr>
<input type="hidden" name="host_uuid" id="host_uuid" value="#!variable!host_uuid!#">
<input type="hidden" name="bcn_count" id="bcn_count" value="#!variable!bcn_count!#">
<input type="hidden" name="sn_count" id="sn_count" value="#!variable!sn_count!#">
<input type="hidden" name="ifn_count" id="ifn_count" value="#!variable!ifn_count!#">
<input type="hidden" name="dns" id="dns" value="#!variable!dns!#">
<input type="hidden" name="gateway" id="gateway" value="#!variable!gateway!#">
<input type="hidden" name="gateway_interface" id="gateway_interface" value="#!variable!gateway_interface!#">
<input type="hidden" name="save" id="save" value="true">
<input type="hidden" name="anvil" id="anvil" value="true">
<input type="hidden" name="task" id="task" value="prep-network">
</form>
</div>
</table>
</td>
</tr>
</table>
<!-- end config-network-confirm -->
<!-- start interface-entry -->
<tr>
<td class="column_row_value">
<!-- Network Name -->
#!variable!network!# &nbsp;
</td>
<td class="column_row_value_fixed">
<!-- Primary Interface -->
&nbsp; #!variable!primary!# &nbsp;
<input type="hidden" name="#!variable!link1_key!#" id="#!variable!link1_key!#" value="#!variable!link1_value!#" />
</td>
<td class="column_row_value_fixed">
<!-- Secondary Interface -->
&nbsp; #!variable!secondary!# &nbsp;
<input type="hidden" name="#!variable!link2_key!#" id="#!variable!link2_key!#" value="#!variable!link2_value!#" />
</td>
<td class="column_row_value_fixed">
<!-- Primary IP Address/Subnet (or DHCP) -->
&nbsp; #!variable!say_ip!# &nbsp;
<input type="hidden" name="#!variable!ip_key!#" id="#!variable!ip_key!#" value="#!variable!ip_address!#" />
<input type="hidden" name="#!variable!subnet_key!#" id="#!variable!subnet_key!#" value="#!variable!subnet_mask!#" />
</td>
<td class="column_row_value">
<!-- Bridge? -->
&nbsp; #!variable!bridge!#
<input type="hidden" name="#!variable!bridge_key!#" id="#!variable!bridge_key!#" value="#!variable!bridge_value!#" />
</td>
</tr>
<!-- end interface-entry -->
<!-- start prep-host-main -->
<table align="center" class="anvil_main_menu">
<tr>
<td colspan="2">
&nbsp;
</td>
</tr>
<tr>
<td colspan="2" class="title">
#!string!striker_0121!#
</td>
</tr>
<tr>
<td colspan="2">
&nbsp;
</td>
</tr>
<tr>
<td colspan="2">
#!string!striker_0122!#
</td>
</tr>
<tr>
<td colspan="2">
&nbsp;
</td>
</tr>
<form name="host_setup" action="" method="post">
<tr>
<td colspan="2">
#!variable!form!#
</td>
</tr>
<input type="hidden" name="anvil" id="anvil" value="1">
<input type="hidden" name="task" id="task" value="prep-host">
</form>
</table>
<!-- end prep-host-main -->
<!-- start host-setup-menu1 -->
<table align="center" class="anvil_main_menu">
<div id="host-setup">
<tr>
<td colspan="3">
#!string!message_0146!#
</td>
</tr>
<tr>
<td colspan="3">
<input type="radio" name="type" value="node" id="node" class="radio" #!variable!node_checked!#> #!string!message_0116!# <br />
<input type="radio" name="type" value="dr" id="dr" class="radio" #!variable!dr_checked!#> #!string!message_0117!#
</td>
</tr>
<tr>
<td colspan="3">
&nbsp;
</td>
</tr>
<tr>
<td colspan="3">
#!string!message_0150!#
</td>
</tr>
<tr>
<td colspan="3">
<input type="text" name="host_name" id="host_name" value="#!variable!host_name!#" placeholder="#!string!striker_0016!#" />
<input type="hidden" name="default_host_name" id="default_host_name" value="#!variable!default_host_name!#" />
</td>
</tr>
<tr>
<td colspan="3">
&nbsp;
</td>
</tr>
<tr>
<td colspan="3">
#!string!message_0147!#
</td>
</tr>
<tr>
<td>
<input type="text" name="host_ip_address" id="host_ip_address" value="#!variable!host_ip_address!#" placeholder="#!string!striker_0024!#" />
</td>
<td>
&nbsp;
</td>
<td>
<!--
This combination of input type text, disk characters and autocomplete=off prevents browsers from pre-filling password and offering to save passwords.
-->
<input type="text" name="host_password" id="host_password" value="#!variable!password!#" style="text-security:disc; -webkit-text-security:disc;" autocomplete="off" placeholder="#!string!striker_0123!#" />
</td>
</tr>
<tr>
<td colspan="3">
&nbsp;
</td>
</tr>
<tr>
<td colspan="3">
<input type="submit" name="connect" id="connect" class="button" value="#!string!striker_0049!#">
</td>
</tr>
</div>
</table>
<!-- end host-setup-menu1 -->
<!-- start confirm-initialize-host -->
<table align="center">
<form name="confirm-new-peer" action="" method="post">
<tr>
<td class="menu_title">
#!string!striker_0078!#
</td>
</tr>
<tr>
<td class="menu_details">
#!string!striker_0124!#
</td>
</tr>
<tr>
<td>
&nbsp;
</td>
</tr>
#!variable!redhat_message!#
<tr>
<td>
<table align="center" class="data_table">
<div id="confirm-new-peer">
<tr>
<td class="top_padded_cell">
#!string!striker_0125!#:
</td>
<td class="top_padded_cell">
<span class="fixed_width">#!variable!access!#</span>
</td>
</tr>
<tr>
<td class="padded_cell">
#!string!striker_0126!#:
</td>
<td class="padded_cell">
<span class="fixed_width">#!variable!current_host_name!#</span>
</td>
</tr>
<tr>
<td class="padded_cell">
#!string!striker_0138!#:
</td>
<td class="padded_cell">
<span class="fixed_width">#!variable!new_host_name!#</span>
</td>
</tr>
<tr>
<td class="padded_cell">
#!string!striker_0127!#:
</td>
<td class="padded_cell">
<span class="fixed_width">#!variable!host_uuid!#</span>
<input type="hidden" name="host_uuid" id="host_uuid" value="#!variable!host_uuid!#">
</td>
</tr>
#!variable!redhat_form!#
<tr>
<td class="button_cell" style="text-align: left;">
<a href="/cgi-bin/striker?anvil=true&task=prep-host&host_ip_address=#!data!cgi::host_ip_address::value!#" class="button">#!string!striker_0098!#</a>
</td>
<td class="button_cell" style="text-align: right;">
<input type="submit" name="confirm" id="confirm" class="button" value="#!string!striker_0128!#">
</td>
</tr>
<input type="hidden" name="anvil" id="anvil" value="#!data!cgi::anvil::value!#">
<input type="hidden" name="connect" id="connect" value="#!data!cgi::connect::value!#">
<input type="hidden" name="host_ip_address" id="host_ip_address" value="#!data!cgi::host_ip_address::value!#">
<input type="hidden" name="host_password" id="host_password" value="#!data!cgi::host_password::value!#">
<input type="hidden" name="type" id="type" value="#!data!cgi::type::value!#">
<input type="hidden" name="task" id="task" value="#!data!cgi::task::value!#">
<input type="hidden" name="host_name" id="host_name" value="#!data!cgi::host_name::value!#">
<input type="hidden" name="default_host_name" id="default_host_name" value="#!data!cgi::default_host_name::value!#">
</div>
</table>
</td>
</tr>
</form>
</table>
<!-- end confirm-initialize-host -->
<!-- start host-setup-redhat-message -->
<tr>
<td class="menu_details">
#!variable!message!#
</td>
</tr>
<tr>
<td>
&nbsp;
</td>
</tr>
<!-- end host-setup-redhat-message -->
<!-- start host-setup-redhat-form -->
<tr>
<td class="padded_cell">
#!string!message_0144!#:
</td>
<td class="padded_cell">
<input type="text" name="rh_user" id="rh_user" value="#!variable!rh_user!#" placeholder="#!string!message_0144!#" />
</td>
</tr>
<tr>
<td class="padded_cell">
#!string!message_0145!#:
</td>
<td class="padded_cell">
<input type="text" name="rh_password" id="rh_password" value="#!variable!rh_password!#" style="text-security:disc; -webkit-text-security:disc;" autocomplete="off" placeholder="#!string!message_0145!#" />
</td>
</tr>
<!-- end host-setup-redhat-form -->