conga/luci/cluster form-macros
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2007-02-02 01:03:46
Modified files:
luci/cluster : form-macros
Log message:
RHEL4 multicast option is boolean and requires an address if true.
luci/cluster/form-macros +16 -3
@@ -986,7 +986,12 @@ onClick="disable_mcast('mcast_address');" tal:attributes="checked python: clusterinfo['is_mcast'] != 'True'" /> - Let cluster choose the multicast address + <tal:block tal:condition="python:os_version == 'rhel4'"> + Do not use multicast + </tal:block> + <tal:block tal:condition="python:os_version != 'rhel4'"> + Let cluster choose the multicast address + </tal:block> </td> </tr>
@@ -997,12 +1002,20 @@ tal:attributes="checked python: clusterinfo['is_mcast'] == 'True'" /> - Specify the multicast address manually + <tal:block tal:condition="python:os_version == 'rhel4'"> + Use multicast + </tal:block> + <tal:block tal:condition="python:os_version != 'rhel4'"> + Specify the multicast address manually + </tal:block> </td> </tr> <tr class="systemsTable"> - <td class="systemsTable" colspan="2"> + <td class="systemsTable"> + Multicast address + </td> + <td class="systemsTable"> <input type="text" name="mcast_address" id="mcast_address" tal:attributes=" disabled python: clusterinfo['is_mcast'] != 'True' and '1' or '0';