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