| [456] | 1 | <div class="indent">
 | 
|---|
 | 2 | 
 | 
|---|
| [916] | 3 | <TMPL_IF blockmsg><br><div class="strongwarning blockcenter w70"><TMPL_VAR NAME=blockmsg></div><br></TMPL_IF>
 | 
|---|
 | 4 | 
 | 
|---|
| [457] | 5 | <form method="post" action="main.cgi" class="regular">
 | 
|---|
| [513] | 6 | <fieldset><legend class="noshow"> </legend>
 | 
|---|
| [457] | 7 | 
 | 
|---|
| [687] | 8 | <table class="regular altrows" cellspacing="1" cellpadding="1">
 | 
|---|
 | 9 | <tr class="tblsubtitle"><td>Assign IP<TMPL_UNLESS fbip>s</TMPL_UNLESS></td></tr>
 | 
|---|
| [575] | 10 | 
 | 
|---|
 | 11 | <TMPL_IF allocfrom>
 | 
|---|
| [687] | 12 | <tr>
 | 
|---|
| [575] | 13 | <TMPL_IF fbip>
 | 
|---|
 | 14 | <td>IP pool:</td>
 | 
|---|
 | 15 | <TMPL_ELSE>
 | 
|---|
 | 16 | <td>Free block selected:</td>
 | 
|---|
 | 17 | </TMPL_IF>
 | 
|---|
 | 18 | <td><TMPL_VAR NAME=allocfrom><input type="hidden" name="allocfrom" value="<TMPL_VAR NAME=allocfrom>">
 | 
|---|
| [633] | 19 | <input type="hidden" name="parent" value="<TMPL_VAR NAME=parent>">
 | 
|---|
 | 20 | <input type="hidden" name="fbid" value="<TMPL_VAR NAME=fbid>">
 | 
|---|
| [575] | 21 | </td>
 | 
|---|
 | 22 | </tr>
 | 
|---|
| [687] | 23 | <tr>
 | 
|---|
| [575] | 24 | <TMPL_IF fbip>
 | 
|---|
 | 25 | <td>IP:</td>
 | 
|---|
 | 26 | <td>
 | 
|---|
 | 27 | <TMPL_VAR NAME=block><input type="hidden" name="block" value="<TMPL_VAR NAME=block>">
 | 
|---|
| [457] | 28 | <input type="hidden" name="fbassign" value="y">
 | 
|---|
| [575] | 29 | </td>
 | 
|---|
 | 30 | <TMPL_ELSE>
 | 
|---|
 | 31 | <td>Allocation:</td>
 | 
|---|
 | 32 | <td>
 | 
|---|
| [672] | 33 | <input name="block" value="<TMPL_VAR NAME=block>" size="40">
 | 
|---|
| [575] | 34 | <input type="hidden" name="fbassign" value="y">
 | 
|---|
| [692] | 35 |  Reserve space to expand block in future
 | 
|---|
 | 36 | <input type="checkbox" name="reserve">
 | 
|---|
| [575] | 37 | </td>
 | 
|---|
| [457] | 38 | </TMPL_IF>
 | 
|---|
| [575] | 39 | </tr>
 | 
|---|
 | 40 | </TMPL_IF>
 | 
|---|
| [457] | 41 | 
 | 
|---|
| [687] | 42 | <tr>
 | 
|---|
| [457] | 43 | <td>Customer location:</td>
 | 
|---|
| [456] | 44 | <td>
 | 
|---|
| [457] | 45 | <select name="city">
 | 
|---|
| [892] | 46 | <TMPL_IF preselected>
 | 
|---|
 | 47 | <TMPL_LOOP NAME=citylist>
 | 
|---|
 | 48 |         <option<TMPL_IF sel> selected</TMPL_IF>><TMPL_VAR NAME=city></option></TMPL_LOOP>
 | 
|---|
 | 49 | <TMPL_ELSE>
 | 
|---|
| [457] | 50 |         <option selected="selected">-</option>
 | 
|---|
 | 51 | <TMPL_LOOP NAME=citylist>
 | 
|---|
 | 52 |         <option><TMPL_VAR NAME=city></option></TMPL_LOOP>
 | 
|---|
| [892] | 53 | </TMPL_IF>
 | 
|---|
| [456] | 54 | </select>
 | 
|---|
| [511] | 55 |  <a href="javascript:popNotes('<TMPL_VAR NAME=webpath>/cgi-bin/newcity.cgi')">Add new location</a>
 | 
|---|
| [456] | 56 | </td>
 | 
|---|
 | 57 | </tr>
 | 
|---|
 | 58 | 
 | 
|---|
| [687] | 59 | <tr>
 | 
|---|
| [456] | 60 | <td>Allocation type:</td>
 | 
|---|
 | 61 | <td>
 | 
|---|
| [575] | 62 | <TMPL_IF fbip>
 | 
|---|
| [456] | 63 | <TMPL_VAR NAME=fbdisptype><input type="hidden" name="alloctype" value="<TMPL_VAR NAME=type>">
 | 
|---|
 | 64 | <TMPL_ELSE>
 | 
|---|
| [463] | 65 | <select name="alloctype">
 | 
|---|
| [456] | 66 | <TMPL_LOOP name=typelist>
 | 
|---|
| [529] | 67 |         <option value="<TMPL_VAR NAME=type>"<TMPL_IF sel> selected</TMPL_IF>><TMPL_VAR NAME=listname></option></TMPL_LOOP>
 | 
|---|
| [456] | 68 | </select>
 | 
|---|
 | 69 | <input type="button" value=" ? " onclick="helpAllocTypes()" class="regular">
 | 
|---|
 | 70 | </TMPL_IF>
 | 
|---|
 | 71 | </td>
 | 
|---|
 | 72 | </tr>
 | 
|---|
 | 73 | 
 | 
|---|
| [575] | 74 | <TMPL_UNLESS allocfrom>
 | 
|---|
| [687] | 75 | <tr>
 | 
|---|
| [457] | 76 | <td>Subnet CIDR mask length:</td>
 | 
|---|
| [692] | 77 | <td valign="top"> / <input type="text" name="maskbits" size="3" maxlength="3">
 | 
|---|
 | 78 |  Reserve space to expand block in future
 | 
|---|
 | 79 | <input type="checkbox" name="reserve">
 | 
|---|
 | 80 | </td>
 | 
|---|
| [456] | 81 | </tr>
 | 
|---|
| [457] | 82 | </TMPL_UNLESS>
 | 
|---|
| [456] | 83 | 
 | 
|---|
| [687] | 84 | <tr>
 | 
|---|
| [878] | 85 | <td>DNS name/pattern:</td>
 | 
|---|
| [675] | 86 | <td>
 | 
|---|
 | 87 | <input type="text" name="rdns" value="<TMPL_VAR NAME=rdns>" size="40">
 | 
|---|
 | 88 | <input type="button" value=" ? " onclick="helpRDNS()" class="regular">
 | 
|---|
 | 89 | <TMPL_IF cached>(cached)</TMPL_IF>
 | 
|---|
 | 90 | </td>
 | 
|---|
| [585] | 91 | </tr>
 | 
|---|
 | 92 | 
 | 
|---|
| [687] | 93 | <tr>
 | 
|---|
| [457] | 94 | <td>Customer ID:</td>
 | 
|---|
| [456] | 95 | <td><input type="text" name="custid" size="15" maxlength="15"> (Only required for Customer allocations)</td>
 | 
|---|
 | 96 | </tr>
 | 
|---|
 | 97 | 
 | 
|---|
| [687] | 98 | <tr>
 | 
|---|
| [633] | 99 | <td>Layer-2/demarc node</td>
 | 
|---|
| [456] | 100 | <td>
 | 
|---|
 | 101 | <select name="node">
 | 
|---|
| [530] | 102 |         <option selected>-</option>
 | 
|---|
| [456] | 103 | <TMPL_LOOP NAME=nodelist>
 | 
|---|
| [940] | 104 |         <option value="<TMPL_VAR NAME=node_id>"<TMPL_IF selected> selected="selected"</TMPL_IF>><TMPL_VAR NAME=node_name></option></TMPL_LOOP>
 | 
|---|
| [456] | 105 | </select>
 | 
|---|
| [633] | 106 |  <a href="javascript:popNotes('<TMPL_VAR NAME=webpath>/cgi-bin/newnode.cgi')">Add new demarc node</a>
 | 
|---|
| [456] | 107 | </td>
 | 
|---|
 | 108 | </tr>
 | 
|---|
 | 109 | 
 | 
|---|
| [575] | 110 | <TMPL_UNLESS allocfrom>
 | 
|---|
| [687] | 111 | <tr>
 | 
|---|
| [666] | 112 | <td>Allocate from blocks in this location:</td>
 | 
|---|
| [456] | 113 | <td>
 | 
|---|
 | 114 | <select name="pop">
 | 
|---|
| [457] | 115 |         <option selected value="">-</option>
 | 
|---|
| [456] | 116 | <TMPL_LOOP NAME=pops>
 | 
|---|
 | 117 |         <option><TMPL_VAR NAME=pop></option></TMPL_LOOP>
 | 
|---|
 | 118 | </select>
 | 
|---|
 | 119 | </td>
 | 
|---|
 | 120 | </tr>
 | 
|---|
 | 121 | 
 | 
|---|
| [687] | 122 | <tr>
 | 
|---|
| [633] | 123 | <td>Limit to blocks in this master: </td>
 | 
|---|
| [456] | 124 | <td>
 | 
|---|
| [457] | 125 | <select name="allocfrom">
 | 
|---|
 | 126 |         <option selected="selected">-</option>
 | 
|---|
| [456] | 127 | <TMPL_LOOP NAME=masterlist>
 | 
|---|
| [633] | 128 |         <option value=<TMPL_VAR NAME=id>><TMPL_VAR NAME=master><TMPL_IF vrf> (<TMPL_VAR NAME=vrf>)</TMPL_IF></option></TMPL_LOOP>
 | 
|---|
| [456] | 129 | </select>
 | 
|---|
| [457] | 130 | Allow automatic allocation from private IP ranges:<input type="checkbox" name="allowpriv"></td>
 | 
|---|
| [456] | 131 | </tr>
 | 
|---|
 | 132 | </TMPL_UNLESS>
 | 
|---|
 | 133 | 
 | 
|---|
| [687] | 134 | <tr>
 | 
|---|
| [691] | 135 | <td>VLAN:</td>
 | 
|---|
 | 136 | <td><input name="vlan" size="40" value="<TMPL_VAR NAME=pvlan>"></td>
 | 
|---|
 | 137 | </tr>
 | 
|---|
 | 138 | 
 | 
|---|
 | 139 | <tr>
 | 
|---|
| [457] | 140 | <td>Circuit ID:</td>
 | 
|---|
 | 141 | <td><input name="circid" size="40"></td>
 | 
|---|
| [456] | 142 | </tr>
 | 
|---|
 | 143 | 
 | 
|---|
| [687] | 144 | <tr>
 | 
|---|
| [457] | 145 | <td>Description/Name:</td>
 | 
|---|
| [805] | 146 | <td><input name="desc" size="72"></td>
 | 
|---|
| [456] | 147 | </tr>
 | 
|---|
 | 148 | 
 | 
|---|
| [687] | 149 | <tr>
 | 
|---|
| [456] | 150 | <td>Notes: </td>
 | 
|---|
| [805] | 151 | <td><textarea name="notes" rows="8" cols="72" class="regular"></textarea></td>
 | 
|---|
| [456] | 152 | </tr>
 | 
|---|
 | 153 | 
 | 
|---|
| [782] | 154 | <TMPL_IF nocling>
 | 
|---|
| [687] | 155 | <tr>
 | 
|---|
| [456] | 156 | <td>Restricted data:</td>
 | 
|---|
| [805] | 157 | <td><textarea name="privdata" rows="8" cols="72" class="regular"></textarea></td>
 | 
|---|
| [456] | 158 | </tr>
 | 
|---|
| [782] | 159 | 
 | 
|---|
 | 160 | <tr>
 | 
|---|
 | 161 | <td>Configuration backup:</td>
 | 
|---|
 | 162 | <td>
 | 
|---|
 | 163 | <ul class="collapsible notalist"><li>
 | 
|---|
 | 164 | <label for="backupfields">Device/assignment requires backup?</label>
 | 
|---|
 | 165 | <input type="checkbox" id="backupfields" name="backupfields" />
 | 
|---|
 | 166 | <ul class="notalist"><li>
 | 
|---|
 | 167 | <table><tr><td>Brand:</td><td><input name="bkbrand"></td></tr>
 | 
|---|
 | 168 | <tr><td>Model:</td><td><input name="bkmodel"></td></tr>
 | 
|---|
 | 169 | <tr><td colspan="2">Optional settings if different from standard ones for the device type above:</td></tr>
 | 
|---|
 | 170 | <tr><td>Access method:</td><td><select name="bktype">
 | 
|---|
| [796] | 171 | <option selected="selected">SSH</option>
 | 
|---|
 | 172 | <option>telnet</option>
 | 
|---|
| [782] | 173 | </select></td></tr>
 | 
|---|
 | 174 | <tr><td>Connect from:</td><td><input name="bksrc"></td></tr>
 | 
|---|
 | 175 | <tr><td>Username:</td><td><input name="bkuser"></td></tr>
 | 
|---|
 | 176 | <tr><td>VTY password:</td><td><input name="bkvpass"></td></tr>
 | 
|---|
 | 177 | <tr><td>Enable password:</td><td><input name="bkepass"></td></tr>
 | 
|---|
 | 178 | <tr><td>Alternate port (if required):</td><td><input name="bkport"></td></tr>
 | 
|---|
| [798] | 179 | <tr><td>IP (if device is part of a netblock assignment):</td><td><input name="bkip"></td></tr>
 | 
|---|
| [782] | 180 | </table>
 | 
|---|
 | 181 | </li></ul>
 | 
|---|
 | 182 | </li></ul>
 | 
|---|
 | 183 | </td>
 | 
|---|
 | 184 | </tr>
 | 
|---|
| [456] | 185 | </TMPL_IF>
 | 
|---|
 | 186 | 
 | 
|---|
| [687] | 187 | <tr>
 | 
|---|
| [456] | 188 | <td class="center" colspan="2"><input type="submit" value="  Assign  "></td>
 | 
|---|
 | 189 | </tr>
 | 
|---|
 | 190 | 
 | 
|---|
 | 191 | </table>
 | 
|---|
 | 192 | 
 | 
|---|
| [457] | 193 | <input type="hidden" name="action" value="confirm">
 | 
|---|
 | 194 | </fieldset>
 | 
|---|
 | 195 | </form>
 | 
|---|
 | 196 | 
 | 
|---|
| [456] | 197 | </div>
 | 
|---|