[456] | 1 | <div class="indent">
|
---|
[575] | 2 | <div class="tblsubtitle">Assign IP<TMPL_UNLESS fbip>s</TMPL_UNLESS></div>
|
---|
[456] | 3 | <br>
|
---|
| 4 |
|
---|
[457] | 5 | <form method="post" action="main.cgi" class="regular">
|
---|
[513] | 6 | <fieldset><legend class="noshow"> </legend>
|
---|
[457] | 7 |
|
---|
[575] | 8 | <table class="regular" cellspacing="1" cellpadding="1">
|
---|
| 9 |
|
---|
| 10 | <TMPL_IF allocfrom>
|
---|
| 11 | <tr class="row0">
|
---|
| 12 | <TMPL_IF fbip>
|
---|
| 13 | <td>IP pool:</td>
|
---|
| 14 | <TMPL_ELSE>
|
---|
| 15 | <td>Free block selected:</td>
|
---|
| 16 | </TMPL_IF>
|
---|
| 17 | <td><TMPL_VAR NAME=allocfrom><input type="hidden" name="allocfrom" value="<TMPL_VAR NAME=allocfrom>">
|
---|
[633] | 18 | <input type="hidden" name="parent" value="<TMPL_VAR NAME=parent>">
|
---|
| 19 | <input type="hidden" name="fbid" value="<TMPL_VAR NAME=fbid>">
|
---|
[575] | 20 | </td>
|
---|
| 21 | </tr>
|
---|
| 22 | <tr class="row1">
|
---|
| 23 | <TMPL_IF fbip>
|
---|
| 24 | <td>IP:</td>
|
---|
| 25 | <td>
|
---|
| 26 | <TMPL_VAR NAME=block><input type="hidden" name="block" value="<TMPL_VAR NAME=block>">
|
---|
[457] | 27 | <input type="hidden" name="fbassign" value="y">
|
---|
[575] | 28 | </td>
|
---|
| 29 | <TMPL_ELSE>
|
---|
| 30 | <td>Allocation:</td>
|
---|
| 31 | <td>
|
---|
| 32 | <input name="block" value="<TMPL_VAR NAME=block>">
|
---|
| 33 | <input type="hidden" name="fbassign" value="y">
|
---|
| 34 | </td>
|
---|
[457] | 35 | </TMPL_IF>
|
---|
[575] | 36 | </tr>
|
---|
| 37 | </TMPL_IF>
|
---|
[457] | 38 |
|
---|
[456] | 39 | <tr class="row0">
|
---|
[457] | 40 | <td>Customer location:</td>
|
---|
[456] | 41 | <td>
|
---|
[457] | 42 | <select name="city">
|
---|
| 43 | <option selected="selected">-</option>
|
---|
| 44 | <TMPL_LOOP NAME=citylist>
|
---|
| 45 | <option><TMPL_VAR NAME=city></option></TMPL_LOOP>
|
---|
[456] | 46 | </select>
|
---|
[511] | 47 | <a href="javascript:popNotes('<TMPL_VAR NAME=webpath>/cgi-bin/newcity.cgi')">Add new location</a>
|
---|
[456] | 48 | </td>
|
---|
| 49 | </tr>
|
---|
| 50 |
|
---|
| 51 | <tr class="row1">
|
---|
| 52 | <td>Allocation type:</td>
|
---|
| 53 | <td>
|
---|
[575] | 54 | <TMPL_IF fbip>
|
---|
[456] | 55 | <TMPL_VAR NAME=fbdisptype><input type="hidden" name="alloctype" value="<TMPL_VAR NAME=type>">
|
---|
| 56 | <TMPL_ELSE>
|
---|
[463] | 57 | <select name="alloctype">
|
---|
[456] | 58 | <TMPL_LOOP name=typelist>
|
---|
[529] | 59 | <option value="<TMPL_VAR NAME=type>"<TMPL_IF sel> selected</TMPL_IF>><TMPL_VAR NAME=listname></option></TMPL_LOOP>
|
---|
[456] | 60 | </select>
|
---|
| 61 | <input type="button" value=" ? " onclick="helpAllocTypes()" class="regular">
|
---|
| 62 | </TMPL_IF>
|
---|
| 63 | </td>
|
---|
| 64 | </tr>
|
---|
| 65 |
|
---|
[575] | 66 | <TMPL_UNLESS allocfrom>
|
---|
[456] | 67 | <tr class="row0">
|
---|
[457] | 68 | <td>Subnet CIDR mask length:</td>
|
---|
| 69 | <td valign="top"> / <input type="text" name="maskbits" size="3" maxlength="3"></td>
|
---|
[456] | 70 | </tr>
|
---|
[457] | 71 | </TMPL_UNLESS>
|
---|
[456] | 72 |
|
---|
| 73 | <tr class="<TMPL_VAR NAME=rowa>">
|
---|
[585] | 74 | <td>Reverse DNS pattern:</td>
|
---|
| 75 | <td><input type="text" name="rdns" value="<TMPL_VAR NAME=rdns>" size="40"><input type="button" value=" ? " onclick="helpRDNS()" class="regular"></td>
|
---|
| 76 | </tr>
|
---|
| 77 |
|
---|
| 78 | <tr class="<TMPL_VAR NAME=rowb>">
|
---|
[457] | 79 | <td>Customer ID:</td>
|
---|
[456] | 80 | <td><input type="text" name="custid" size="15" maxlength="15"> (Only required for Customer allocations)</td>
|
---|
| 81 | </tr>
|
---|
| 82 |
|
---|
[585] | 83 | <tr class="<TMPL_VAR NAME=rowa>">
|
---|
[633] | 84 | <td>Layer-2/demarc node</td>
|
---|
[456] | 85 | <td>
|
---|
| 86 | <select name="node">
|
---|
[530] | 87 | <option selected>-</option>
|
---|
[456] | 88 | <TMPL_LOOP NAME=nodelist>
|
---|
[530] | 89 | <option value="<TMPL_VAR NAME=node_id>"><TMPL_VAR NAME=node_name></option></TMPL_LOOP>
|
---|
[456] | 90 | </select>
|
---|
[633] | 91 | <a href="javascript:popNotes('<TMPL_VAR NAME=webpath>/cgi-bin/newnode.cgi')">Add new demarc node</a>
|
---|
[456] | 92 | </td>
|
---|
| 93 | </tr>
|
---|
| 94 |
|
---|
[575] | 95 | <TMPL_UNLESS allocfrom>
|
---|
[585] | 96 | <tr class="<TMPL_VAR NAME=rowb>">
|
---|
[633] | 97 | <td>Limit to blocks in this location:</td>
|
---|
[456] | 98 | <td>
|
---|
| 99 | <select name="pop">
|
---|
[457] | 100 | <option selected value="">-</option>
|
---|
[456] | 101 | <TMPL_LOOP NAME=pops>
|
---|
| 102 | <option><TMPL_VAR NAME=pop></option></TMPL_LOOP>
|
---|
| 103 | </select>
|
---|
| 104 | </td>
|
---|
| 105 | </tr>
|
---|
| 106 |
|
---|
[585] | 107 | <tr class="<TMPL_VAR NAME=rowa>">
|
---|
[633] | 108 | <td>Limit to blocks in this master: </td>
|
---|
[456] | 109 | <td>
|
---|
[457] | 110 | <select name="allocfrom">
|
---|
| 111 | <option selected="selected">-</option>
|
---|
[456] | 112 | <TMPL_LOOP NAME=masterlist>
|
---|
[633] | 113 | <option value=<TMPL_VAR NAME=id>><TMPL_VAR NAME=master><TMPL_IF vrf> (<TMPL_VAR NAME=vrf>)</TMPL_IF></option></TMPL_LOOP>
|
---|
[456] | 114 | </select>
|
---|
[457] | 115 | Allow automatic allocation from private IP ranges:<input type="checkbox" name="allowpriv"></td>
|
---|
[456] | 116 | </tr>
|
---|
| 117 | </TMPL_UNLESS>
|
---|
| 118 |
|
---|
[585] | 119 | <tr class="<TMPL_VAR NAME=rowb>">
|
---|
[457] | 120 | <td>Circuit ID:</td>
|
---|
| 121 | <td><input name="circid" size="40"></td>
|
---|
[456] | 122 | </tr>
|
---|
| 123 |
|
---|
[585] | 124 | <tr class="<TMPL_VAR NAME=rowa>">
|
---|
[457] | 125 | <td>Description/Name:</td>
|
---|
| 126 | <td><input name="desc" size="40"></td>
|
---|
[456] | 127 | </tr>
|
---|
| 128 |
|
---|
[585] | 129 | <tr class="<TMPL_VAR NAME=rowb>">
|
---|
[456] | 130 | <td>Notes: </td>
|
---|
| 131 | <td><textarea name="notes" rows="3" cols="40"></textarea></td>
|
---|
| 132 | </tr>
|
---|
| 133 |
|
---|
[458] | 134 | <TMPL_IF privdata>
|
---|
[585] | 135 | <tr class="<TMPL_VAR NAME=rowa>">
|
---|
[456] | 136 | <td>Restricted data:</td>
|
---|
| 137 | <td><textarea rows="3" cols="64" name="privdata" class="regular"></textarea></td>
|
---|
| 138 | </tr>
|
---|
| 139 | </TMPL_IF>
|
---|
| 140 |
|
---|
[585] | 141 | <tr class="<TMPL_IF privdata><TMPL_VAR NAME=rowb><TMPL_ELSE><TMPL_VAR NAME=rowa></TMPL_IF>">
|
---|
[456] | 142 | <td class="center" colspan="2"><input type="submit" value=" Assign "></td>
|
---|
| 143 | </tr>
|
---|
| 144 |
|
---|
| 145 | </table>
|
---|
| 146 |
|
---|
[457] | 147 | <input type="hidden" name="action" value="confirm">
|
---|
| 148 | </fieldset>
|
---|
| 149 | </form>
|
---|
| 150 |
|
---|
[456] | 151 | </div>
|
---|