<%-- $Id: addNetwork.jsp,v 1.11.4.2 2004/02/09 12:57:05 rsathish Exp $ --%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<TITLE><fmt:message key='webclient.topo.actions.addnetwork.title'/></TITLE>
<BODY class = "bgnone">
<html:form action="/AddNetworkAction" onsubmit="return validateAddNetworkForm(this);"> 

<TABLE cellSpacing=0 cellPadding=0 width=80% border=0 align="left">

<TR>
<td>&nbsp;</td>
<TD valign=bottom height=30>
	<SPAN class=header1><fmt:message key='webclient.topo.addnetwork.header'/></SPAN></TD>
</TR>

<TR>
<td width="10" height="1"><img src="/webclient/common/images/trans.gif" width="1" height="1"></td>
<td height="1" class="hline"><img src="/webclient/common/images/trans.gif" width="1" height="1"></td>
</TR>

<TR>
<td>&nbsp;</td>
<td class="text" height="40"><fmt:message key='webclient.topo.addnetwork.helpmessage'/></td>
</TR>
	
<TR id=high>
<td>&nbsp;</td>
<TD class=header2Bg align=left height=25>
	<SPAN class=boldText>&nbsp;<fmt:message key='webclient.topo.addnetwork.general'/></SPAN></TD>
</TR>

<TR id=high> 
<td>&nbsp;</td>
<TD>
	<TABLE cellSpacing=0 cellPadding=4 width=100% border=0 class=botBorder>
		
		<TR height=25 id=high> 
		<TD align=left>
			<SPAN class=text><fmt:message key='webclient.topo.addnetwork.netaddress'/></SPAN>
		</TD>
		<TD>
			<html:text size="30" styleClass= "formStyle" name="AddNetworkForm" property="ipAddress" />
		</TD>
		</TR>
			
		<TR height=25 id=high>
			
		<TD>
			<SPAN class=text><fmt:message key='webclient.topo.addnetwork.netmask'/></SPAN>
		</TD>
		
		<TD> 
			<html:select   styleClass= "formStyle" name="AddNetworkForm" property="netmask" > 
                                                              <html:option value='255.192.0.0'>255.192.0.0</html:option> 
                                                              <html:option value='255.224.0.0'>255.224.0.0</html:option> 
                                                              <html:option value='255.240.0.0'>255.240.0.0</html:option> 
                                                              <html:option value='255.248.0.0'>255.248.0.0</html:option> 
                                                              <html:option value='255.252.0.0'>255.252.0.0</html:option> 
                                                              <html:option value='255.254.0.0'>255.254.0.0</html:option> 
                                                              <html:option value='255.255.0.0'>255.255.0.0</html:option> 
                                                              <html:option value='255.255.128.0'>255.255.128.0</html:option> 
                                                              <html:option value='255.255.192.0'>255.255.192.0</html:option> 
                                                              <html:option value='255.255.224.0'>255.255.224.0</html:option> 
                                                              <html:option value='255.255.240.0'>255.255.240.0</html:option> 
                                                              <html:option value='255.255.248.0'>255.255.248.0</html:option> 
                                                              <html:option value='255.255.252.0'>255.255.252.0</html:option> 
                                                              <html:option value='255.255.254.0'>255.255.254.0</html:option> 
                                                              <html:option value='255.255.255.0'>255.255.255.0</html:option> 
                                                              <html:option value='255.255.255.128'>255.255.255.128</html:option> 
                                                              <html:option value='255.255.255.192'>255.255.255.192</html:option> 
                                                              <html:option value='255.255.255.224'>255.255.255.224</html:option> 
                                                              <html:option value='255.255.255.240'>255.255.255.240</html:option> 
                                                              <html:option value='255.255.255.248'>255.255.255.248</html:option> 
                                                              <html:option value='255.255.255.252'>255.255.255.252</html:option> 
                                                             </html:select> 
		</TD>
		</TR>
		<tr><td colspan=2>&nbsp</td></tr>
		
	</TABLE>
</TD>
</TR>

<TR id=high> 
 <td>&nbsp;</td>
                                                  
<TD class=header2Bg height=25>
	<SPAN class=boldText>&nbsp;<fmt:message key='webclient.topo.addnetwork.discoveryconfig'/></SPAN></TD>
                                                  </TR>
                                                  <TR id=high>
                                                  <td>&nbsp;</td>

                                                    <TD vAlign=top align=left> 
                                                      <TABLE cellSpacing=4 cellPadding=0 class=botBorder width="100%" 
                                border=0>
                                                        

                                                          <TR vAlign=center align=left> 
                                                            <TD width=20 height=25><html:checkbox name="AddNetworkForm" property="discover" /></TD>
                                                            <TD width=384 height=25><SPAN 
                                class=text><fmt:message key='webclient.topo.addnetwork.startdiscovery'/></SPAN></TD>
                                                          </TR>
                                                          <TR vAlign=center align=left> 
                                                            <TD height=25><html:checkbox name="AddNetworkForm" property="managed"/></TD>
                                                            <TD height=25><SPAN 
                                class=text><fmt:message key='webclient.topo.addnetwork.manage'/></SPAN></TD>
                                                          </TR>
                                                          <TR vAlign=center align=left> 
                                                            <TD height=25><html:checkbox name="AddNetworkForm" property="configFlag"/></TD>
                                                            <TD height=25><SPAN class=text><fmt:message key='webclient.topo.addnetwork.confflag'/></SPAN></TD>
                                                          </TR>
                                                          <TR vAlign=center align=left> 
                                                            <TD height=25><html:checkbox name="AddNetworkForm" property="writeToSeedFile"/></TD>
                                                            <TD height=25><SPAN class=text><fmt:message key='webclient.topo.addnetwork.wtitetoseedfile'/></SPAN></TD>
                                                          </TR>
                                                                   
                                                      </TABLE></TD>
                                                  </TR>
                                                <INPUT 
                                type=hidden value=v1 name=snmpVersion22>

                                                <TR id=high>
                                                <td>&nbsp;</td>
                                                   <TD height=50> 
                                                    <TABLE cellSpacing=0 cellPadding=4 width="100%" 
                                border=0>
                                                      
                                                        <TR> 
                                                          <TD width=1><html:checkbox name="AddNetworkForm" property="asynFlag"/></TD>
                                                          <TD width="228" align=left><SPAN class=text><fmt:message key='webclient.topo.addnetwork.background'/> 
                                                            </SPAN></TD>
                                                          <TD> 
                                                            <INPUT type=submit class=button value=<fmt:message key='webclient.topo.addnetwork.addnetworkbtn'/>
                                                            name=submit>
                                                            <INPUT class=button type=reset value=<fmt:message key='webclient.topo.addnetwork.clearbtn'/>
                                                            name=reset></TD>
                                                        </TR>
                                                      
                                                    </TABLE></TD>
                                                </TR>
                                                   </TABLE></TD>
                                            <TD vAlign=top align=left width="24%"> 
                                              <TABLE cellSpacing=0 cellPadding=0 width="100%" 
                                border=0	>
                                                
                                                  <TR> 
                                                    <TD vAlign=top align=left><IMG height=37 
                                src="/webclient/topo/images/spacer.gif" 
width=1></TD>
                                                  </TR>
                                                  <tr> 
                                                    <td align="left" valign="top" class="messtext"><html:errors property="ipAddress"/></td>
                                                  </tr>
                                                  <TR> 
                                                    <TD class=messtext vAlign=top 
                                align=left> <html:errors property="netmask"/></TD>
                                                  </TR>
                                                
                                              </TABLE>

</html:form> 
<html:javascript formName="AddNetworkForm"/> 
</BODY>