test1.xml
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
---|---|
2 |
|
3 |
<creole>
|
4 |
|
5 |
<variables>
|
6 |
<family name='parfeu Nantes'> |
7 |
<variable name='test' type='oui/non' description='Règles liées aux protocoles ... (h323,ldap,rdp,...)'> |
8 |
<value>non</value> |
9 |
</variable>
|
10 |
<!-- REGLE NANTES -->
|
11 |
|
12 |
<!-- http -->
|
13 |
<variable name='fw_http' type='oui/non' description='Règles liées au protocole http'> |
14 |
<value>non</value> |
15 |
</variable>
|
16 |
<variable name='fw_http_ip' type='ip' description='ip du serveur http' /> |
17 |
|
18 |
<!-- ftp -->
|
19 |
<variable name='fw_ftp' type='oui/non' description='Règles liées au protocole ftp'> |
20 |
<value>non</value> |
21 |
</variable>
|
22 |
<variable name='fw_ftp_ip' type='ip' description='ip du serveur ftp' /> |
23 |
<separators>
|
24 |
<separator name='test' never_hidden='True' >__________test__________</separator> |
25 |
<separator name='fw_http' >http</separator> |
26 |
<separator name='fw_ftp' >ftp</separator> |
27 |
</separators>
|
28 |
</family>
|
29 |
</variables>
|
30 |
<constraints>
|
31 |
|
32 |
<!-- http -->
|
33 |
<condition name='hidden_if_in' source='test'> |
34 |
<param>non</param> |
35 |
<target >fw_http_ip</target> |
36 |
<target >fw_http</target> |
37 |
</condition>
|
38 |
<condition name='hidden_if_in' source='fw_http'> |
39 |
<param>non</param> |
40 |
<target >fw_http_ip</target> |
41 |
</condition>
|
42 |
|
43 |
<!-- ftp -->
|
44 |
<condition name='hidden_if_in' source='test'> |
45 |
<param>non</param> |
46 |
<target >fw_ftp_ip</target> |
47 |
<target >fw_ftp</target> |
48 |
</condition>
|
49 |
<condition name='hidden_if_in' source='fw_ftp'> |
50 |
<param>non</param> |
51 |
<target >fw_ftp_ip</target> |
52 |
</condition>
|
53 |
</constraints>
|
54 |
<help>
|
55 |
</help>
|
56 |
</creole>
|