Project

General

Profile

test2.xml

Christophe Dezé, 02/27/2012 03:22 PM

Download (3.2 KB)

 
1
<?xml version="1.0" encoding="UTF-8"?>
2

    
3
<creole>
4

    
5
        <variables>
6
        <family name='test2' >
7
            <variable name='test2' type='oui/non' description='Règles liées aux protocoles ... (h323,ldap,rdp,...)'>
8
                <value>non</value>
9
            </variable>
10
         <!-- REGLE NANTES -->
11

    
12
        <!-- pop -->
13
        <variable name='fw_pop' type='oui/non' description='Règles liées au protocole pop'>
14
                <value>non</value>
15
        </variable>
16
        <variable name='fw_pop_ip' type='ip' description='ip du serveur pop' />
17
        <variable name='test_fw_pop' type='oui/non' hidden='True'/>
18
        <variable name='test_fw_test2_pop' type='oui/non' hidden='True'/>
19

    
20

    
21

    
22
        <!-- imap -->
23
        <variable name='fw_imap' type='oui/non' description='Règles liées au protocole imap'>
24
                <value>non</value>
25
        </variable>
26
        <variable name='fw_imap_ip' type='ip' description='ip du serveur imap' />
27
        <variable name='test_fw_imap' type='oui/non' hidden='True'/>
28
        <variable name='test_fw_test2_imap' type='oui/non' hidden='True'/>
29

    
30

    
31
        <separators>
32
  <separator name='test2' never_hidden='True' >__________test2__________</separator>
33
        <separator name='fw_pop' >pop</separator>
34
        <separator name='fw_imap' >imap</separator>
35
        </separators>
36
                </family>
37
        </variables>
38
<constraints>
39

    
40

    
41

    
42
        <!-- pop -->
43

    
44

    
45
        <auto name='calc_multi_condition' target='test_fw_test2_pop'>
46
            <param>oui</param>
47
            <param type='eole' name='condition_1'>test2</param>
48
            <param name='match'>oui</param>
49
            <param name='mismatch'>non</param>
50
        </auto>
51
        <auto name='calc_multi_condition' target='test_fw_pop'>
52
            <param>oui</param>
53
            <param type='eole' name='condition_1'>fw_pop</param>
54
            <param type='eole' name='condition_2'>test2</param>
55
            <param name='match'>oui</param>
56
            <param name='mismatch'>non</param>
57
        </auto>
58

    
59
       <condition  name='hidden_if_in' source='test_fw_pop'>
60
          <param>non</param>
61
          <target >fw_pop_ip</target>
62
        </condition>
63

    
64

    
65
       <condition  name='hidden_if_in' source='test_fw_test2_pop'>
66
          <param>non</param>
67
          <target >fw_pop_ip</target>
68
          <target >fw_pop</target>
69
        </condition>
70

    
71

    
72

    
73
        <!-- imap -->
74

    
75

    
76
        <auto name='calc_multi_condition' target='test_fw_test2_imap'>
77
            <param>oui</param>
78
            <param type='eole' name='condition_1'>test2</param>
79
            <param name='match'>oui</param>
80
            <param name='mismatch'>non</param>
81
        </auto>
82
        <auto name='calc_multi_condition' target='test_fw_imap'>
83
            <param>oui</param>
84
            <param type='eole' name='condition_1'>fw_imap</param>
85
            <param type='eole' name='condition_2'>test2</param>
86
            <param name='match'>oui</param>
87
            <param name='mismatch'>non</param>
88
        </auto>
89

    
90
       <condition  name='hidden_if_in' source='test_fw_imap'>
91
          <param>non</param>
92
          <target >fw_imap_ip</target>
93
        </condition>
94

    
95

    
96
       <condition  name='hidden_if_in' source='test_fw_test2_imap'>
97
          <param>non</param>
98
          <target >fw_imap_ip</target>
99
          <target >fw_imap</target>
100
        </condition>
101

    
102

    
103
</constraints>
104
    <help>
105
    </help>
106
</creole>