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