141 |
141 |
%if %%getVar('activer_gaspacho', 'non') == "oui"
|
142 |
142 |
GaspachoEth1
|
143 |
143 |
%end if
|
|
144 |
%if %%type_antivirus == "KASPERSKY"
|
|
145 |
%if %%srv_antivirus == "Admin"
|
|
146 |
%if not %%is_empty(%%getVar('ip_srv_antivirus_adm', None))
|
|
147 |
kav_ped_vers_adm
|
|
148 |
%if not %%is_empty(%%getVar('ip_srv_pri_antivirus', None))
|
|
149 |
kav_pri_vers_adm
|
|
150 |
%end if
|
|
151 |
%if not %%is_empty(%%getVar('ip_srv_pub_antivirus', None))
|
|
152 |
kav_pub_vers_adm
|
|
153 |
%end if
|
|
154 |
%end if
|
|
155 |
%end if
|
|
156 |
%if %%srv_antivirus == "Peda"
|
|
157 |
%if not %%is_empty(%%getVar('ip_srv_antivirus', None))
|
|
158 |
kav_control_ped
|
|
159 |
%if not %%is_empty(%%getVar('ip_srv_pri_antivirus', None))
|
|
160 |
kav_pri_vers_ped
|
|
161 |
%end if
|
|
162 |
%if not %%is_empty(%%getVar('ip_srv_pub_antivirus', None))
|
|
163 |
kav_pub_vers_ped
|
|
164 |
%end if
|
|
165 |
%end if
|
|
166 |
%end if
|
|
167 |
%if %%srv_antivirus == "DMZPri"
|
|
168 |
%if not %%is_empty(%%getVar('ip_srv_antivirus_dmz', None))
|
|
169 |
kav_pri_vers_adm
|
|
170 |
kav_pri_vers_ped
|
|
171 |
kav_control_pri
|
|
172 |
%if not %%is_empty(%%getVar('ip_srv_pub_antivirus', None))
|
|
173 |
kav_pub_vers_pri
|
|
174 |
%end if
|
|
175 |
%end if
|
|
176 |
%end if
|
|
177 |
%end if
|
|
178 |
%if %%type_antivirus == "TREND"
|
|
179 |
%if %%srv_antivirus == "Admin"
|
|
180 |
%if not %%is_empty(%%getVar('ip_srv_antivirus_adm', None))
|
|
181 |
trend_ped_vers_adm
|
|
182 |
%if not %%is_empty(%%getVar('ip_srv_pri_antivirus', None))
|
|
183 |
trend_pri_vers_adm
|
|
184 |
%end if
|
|
185 |
%if not %%is_empty(%%getVar('ip_srv_pub_antivirus', None))
|
|
186 |
trend_pub_vers_adm
|
|
187 |
%end if
|
|
188 |
%end if
|
|
189 |
%end if
|
|
190 |
%if %%srv_antivirus == "Peda"
|
|
191 |
%if not %%is_empty(%%getVar('ip_srv_antivirus', None))
|
|
192 |
trend_control_ped
|
|
193 |
%if not %%is_empty(%%getVar('ip_srv_pri_antivirus', None))
|
|
194 |
trend_pri_vers_ped
|
|
195 |
%end if
|
|
196 |
%if not %%is_empty(%%getVar('ip_srv_pub_antivirus', None))
|
|
197 |
trend_pub_vers_ped
|
|
198 |
%end if
|
|
199 |
%end if
|
|
200 |
%end if
|
|
201 |
%if %%srv_antivirus == "DMZPri"
|
|
202 |
%if not %%is_empty(%%getVar('ip_srv_antivirus_dmz', None))
|
|
203 |
trend_pri_vers_adm
|
|
204 |
trend_pri_vers_ped
|
|
205 |
trend_control_pri
|
|
206 |
%if not %%is_empty(%%getVar('ip_srv_pub_antivirus', None))
|
|
207 |
trend_pub_vers_pri
|
|
208 |
%end if
|
|
209 |
%end if
|
|
210 |
%end if
|
|
211 |
%end if
|
|
212 |
%if not %%is_empty(%%getVar('ip_imprimantes_acces_peda', None))
|
|
213 |
%if not %%is_empty(%%getVar('ip_imprimantes_acces_peda.netmask_imprimantes_acces_peda', None))
|
|
214 |
imprimantes_ped_vers_adm
|
|
215 |
%end if
|
|
216 |
%end if
|
|
217 |
%if %%type_etab == "CG13" and %%type_fai_cg13 == "Intercol"
|
|
218 |
%if not %%is_empty(%%getVar('ip_web_dmzpub', None))
|
|
219 |
serveur_web_CG13_Region
|
|
220 |
%end if
|
|
221 |
%if %%srv_pronote == "Peda"
|
|
222 |
%if not %%is_empty(%%getVar('ip_pronote_dmzpub', None))
|
|
223 |
%if not %%is_empty(%%getVar('ip_pronote_peda', None))
|
|
224 |
pronote_dmz_CG13_Region
|
|
225 |
pronote_peda_CG13_Region
|
|
226 |
%end if
|
|
227 |
%end if
|
|
228 |
%end if
|
|
229 |
%if %%srv_pronote == "DMZPri"
|
|
230 |
%if not %%is_empty(%%getVar('ip_pronote_dmzpub', None))
|
|
231 |
%if not %%is_empty(%%getVar('ip_pronote_dmzpri', None))
|
|
232 |
pronote_dmz_CG13_Region
|
|
233 |
pronote_dmzpri_CG13_Region
|
|
234 |
%end if
|
|
235 |
%end if
|
|
236 |
%end if
|
|
237 |
%if not %%is_empty(%%getVar('ip_spipzwook_dmzpub', None))
|
|
238 |
zwook_dmzpub_CG13_Region
|
|
239 |
%end if
|
|
240 |
%if not %%is_empty(%%getVar('ip_absence_dmzpub', None))
|
|
241 |
serveur_absence_CG13_Region
|
|
242 |
%end if
|
|
243 |
%if not %%is_empty(%%getVar('ip_spipzwook_dmzpri', None))
|
|
244 |
spipzwook_dmzpri
|
|
245 |
%end if
|
|
246 |
%if not %%is_empty(%%getVar('ip_ssh_dmzpub', None))
|
|
247 |
ssh_dmzpub_CG13_Region
|
|
248 |
%end if
|
|
249 |
%if %%srv_edt == "Peda"
|
|
250 |
%if not %%is_empty(%%getVar('ip_edt_dmzpub', None))
|
|
251 |
%if not %%is_empty(%%getVar('ip_edt_peda', None))
|
|
252 |
edt_dmz_CG13_Region
|
|
253 |
edt_peda_CG13_Region
|
|
254 |
%end if
|
|
255 |
%end if
|
|
256 |
%end if
|
|
257 |
%if %%srv_edt == "DMZPri"
|
|
258 |
%if not %%is_empty(%%getVar('ip_edt_dmzpub', None))
|
|
259 |
%if not %%is_empty(%%getVar('ip_edt_dmzpri', None))
|
|
260 |
edt_dmz_CG13_Region
|
|
261 |
edt_dmzpri_CG13_Region
|
|
262 |
%end if
|
|
263 |
%end if
|
|
264 |
%end if
|
|
265 |
%end if
|
|
266 |
%if %%type_etab == "Lycee_Region"
|
|
267 |
%if not %%is_empty(%%getVar('ip_sauv_nas', None))
|
|
268 |
Peda_NASpri
|
|
269 |
%end if
|
|
270 |
%if not %%is_empty(%%getVar('ip_supervision', None))
|
|
271 |
Acces_Station_Supervision
|
|
272 |
%end if
|
|
273 |
%if not %%is_empty(%%getVar('ip_web_dmzpub', None))
|
|
274 |
serveur_web_CG13_Region
|
|
275 |
%end if
|
|
276 |
%if %%srv_pronote == "Peda"
|
|
277 |
%if not %%is_empty(%%getVar('ip_pronote_dmzpub', None))
|
|
278 |
%if not %%is_empty(%%getVar('ip_pronote_peda', None))
|
|
279 |
pronote_dmz_CG13_Region
|
|
280 |
pronote_peda_CG13_Region
|
|
281 |
%end if
|
|
282 |
%end if
|
|
283 |
%end if
|
|
284 |
%if %%srv_pronote == "DMZPri"
|
|
285 |
%if not %%is_empty(%%getVar('ip_pronote_dmzpub', None))
|
|
286 |
%if not %%is_empty(%%getVar('ip_pronote_dmzpri', None))
|
|
287 |
pronote_dmz_CG13_Region
|
|
288 |
pronote_dmzpri_CG13_Region
|
|
289 |
%end if
|
|
290 |
%end if
|
|
291 |
%end if
|
|
292 |
%if %%srv_edt == "Peda"
|
|
293 |
%if not %%is_empty(%%getVar('ip_edt_dmzpub', None))
|
|
294 |
%if not %%is_empty(%%getVar('ip_edt_peda', None))
|
|
295 |
edt_dmz_CG13_Region
|
|
296 |
edt_peda_CG13_Region
|
|
297 |
%end if
|
|
298 |
%end if
|
|
299 |
%end if
|
|
300 |
%if %%srv_edt == "DMZPri"
|
|
301 |
%if not %%is_empty(%%getVar('ip_edt_dmzpub', None))
|
|
302 |
%if not %%is_empty(%%getVar('ip_edt_dmzpri', None))
|
|
303 |
edt_dmz_CG13_Region
|
|
304 |
edt_dmzpri_CG13_Region
|
|
305 |
%end if
|
|
306 |
%end if
|
|
307 |
%end if
|
|
308 |
%if not %%is_empty(%%getVar('ip_spipzwook_dmzpub', None))
|
|
309 |
zwook_dmzpub_CG13_Region
|
|
310 |
%end if
|
|
311 |
%if not %%is_empty(%%getVar('ip_absence_dmzpub', None))
|
|
312 |
serveur_absence_CG13_Region
|
|
313 |
%end if
|
|
314 |
%if not %%is_empty(%%getVar('ip_spipzwook_dmzpri', None))
|
|
315 |
spipzwook_dmzpri
|
|
316 |
%end if
|
|
317 |
%if not %%is_empty(%%getVar('ip_ssh_dmzpub', None))
|
|
318 |
ssh_dmzpub_CG13_Region
|
|
319 |
%end if
|
|
320 |
%end if
|
|
321 |
%if %%type_etab == "Autres (FAI)" or ( %%type_etab == "CG13" and %%type_fai_cg13 == "THD" )
|
|
322 |
%if not %%is_empty(%%getVar('ip_sauv_nas', None))
|
|
323 |
Peda_NASpri
|
|
324 |
%end if
|
|
325 |
%if not %%is_empty(%%getVar('ip_web_dmzpub', None))
|
|
326 |
serveur_web_FAI
|
|
327 |
%end if
|
|
328 |
%if %%srv_pronote == "Peda"
|
|
329 |
%if not %%is_empty(%%getVar('ip_pronote_dmzpub', None))
|
|
330 |
%if not %%is_empty(%%getVar('ip_pronote_peda', None))
|
|
331 |
pronote_dmz_FAI
|
|
332 |
pronote_peda_FAI
|
|
333 |
%end if
|
|
334 |
%end if
|
|
335 |
%end if
|
|
336 |
%if %%srv_pronote == "DMZPri"
|
|
337 |
%if not %%is_empty(%%getVar('ip_pronote_dmzpub', None))
|
|
338 |
%if not %%is_empty(%%getVar('ip_pronote_dmzpri', None))
|
|
339 |
pronote_dmz_FAI
|
|
340 |
pronote_dmzpri_FAI
|
|
341 |
%end if
|
|
342 |
%end if
|
|
343 |
%end if
|
|
344 |
%if %%srv_edt == "Peda"
|
|
345 |
%if not %%is_empty(%%getVar('ip_edt_dmzpub', None))
|
|
346 |
%if not %%is_empty(%%getVar('ip_edt_peda', None))
|
|
347 |
edt_dmz_FAI
|
|
348 |
edt_peda_FAI
|
|
349 |
%end if
|
|
350 |
%end if
|
|
351 |
%end if
|
|
352 |
%if %%srv_edt == "DMZPri"
|
|
353 |
%if not %%is_empty(%%getVar('ip_edt_dmzpub', None))
|
|
354 |
%if not %%is_empty(%%getVar('ip_edt_dmzpri', None))
|
|
355 |
edt_dmz_FAI
|
|
356 |
edt_dmzpri_FAI
|
|
357 |
%end if
|
|
358 |
%end if
|
|
359 |
%end if
|
|
360 |
%if not %%is_empty(%%getVar('ip_spipzwook_dmzpub', None))
|
|
361 |
zwook_dmzpub_FAI
|
|
362 |
%end if
|
|
363 |
%if not %%is_empty(%%getVar('ip_absence_dmzpub', None))
|
|
364 |
serveur_absence_FAI
|
|
365 |
%end if
|
|
366 |
%if not %%is_empty(%%getVar('ip_spipzwook_dmzpri', None))
|
|
367 |
spipzwook_dmzpri
|
|
368 |
%end if
|
|
369 |
%if not %%is_empty(%%getVar('ip_ssh_dmzpub', None))
|
|
370 |
ssh_dmzpub_fai
|
|
371 |
%end if
|
|
372 |
%end if
|
|
373 |
%if not %%is_empty(%%getVar('adresse_global_vlanpeda', None))
|
|
374 |
intercopeda
|
|
375 |
%end if
|
|
376 |
%if %%ent == "local-peda"
|
|
377 |
entpeda
|
|
378 |
%if not %%is_empty(%%getVar('ip_srv_dmzpri_cas', None))
|
|
379 |
dmzpri_cas
|
|
380 |
%end if
|
|
381 |
%if not %%is_empty(%%getVar('ip_srv_dmzpub_cas', None))
|
|
382 |
dmzpub_cas_peda
|
|
383 |
%end if
|
|
384 |
%end if
|
|
385 |
%if %%ent == "local-dmzpri"
|
|
386 |
entdmzpri
|
|
387 |
%if not %%is_empty(%%getVar('ip_srv_dmzpub_cas', None))
|
|
388 |
dmzpub_cas_pri
|
|
389 |
%end if
|
|
390 |
%end if
|
|
391 |
%if %%ent == "centralise"
|
|
392 |
%if not %%is_empty(%%getVar('ip_srv_dmzpub_cas', None))
|
|
393 |
dmzpub_cas_ext
|
|
394 |
%end if
|
|
395 |
%end if
|
|
396 |
%if %%lightsquid_auto == "oui"
|
|
397 |
activer_lightsquid
|
|
398 |
%end if
|
|
399 |
%if %%acces_vpn == "oui"
|
|
400 |
%if not %%is_empty(%%getVar('ip_acces_vpn_admin', None))
|
|
401 |
acces_vpn_admin
|
|
402 |
%end if
|
|
403 |
%end if
|
|
404 |
%if %%acces_vpn == "oui"
|
|
405 |
%if not %%is_empty(%%getVar('ip_acces_vpn_peda', None))
|
|
406 |
acces_vpn_peda
|
|
407 |
%end if
|
|
408 |
%end if
|
|
409 |
%if %%acces_vpn == "oui"
|
|
410 |
%if not %%is_empty(%%getVar('ip_acces_vpn_dmzpri', None))
|
|
411 |
acces_vpn_dmzpri
|
|
412 |
%end if
|
|
413 |
%end if
|
|
414 |
%if %%acces_vpn == "oui"
|
|
415 |
%if not %%is_empty(%%getVar('ip_acces_vpn_dmzpub', None))
|
|
416 |
acces_vpn_dmzpub
|
|
417 |
%end if
|
|
418 |
%end if
|