a little nicer wrt pep8
[sfa.git] / sfatables / targets / RESTRICT_SLICE_DOMAIN.xml
1 <target name="RESTRICT_SLICE_DOMAIN">
2     <rule element="legacy-node">
3         <!-- The context is empty, since this target does not require any input from SFA -->
4         <context select=""/>
5         <argument>
6             <name>whitelist-dns-suffix</name>
7             <help>Suffix of nodes to whitelist for this match.</help>
8             <operand>SUFFIX</operand>
9         </argument>
10         <argument>
11             <name>blacklist-dns-suffix</name>
12             <help>Suffix of nodes to blacklist for this match.</help>
13             <operand>SUFFIX</operand>
14         </argument>
15         <processor filename="legacy-restrict-to-nodes.xsl"/>
16     </rule>
17     <rule element="node">
18         <!-- The context is empty, since this target does not require any input from SFA -->
19         <context select=""/>
20         <argument>
21             <name>whitelist</name>
22             <help>Prefix of nodes to whitelist for this match.</help>
23             <operand>PREFIX</operand>
24         </argument>
25         <argument>
26             <name>blacklist</name>
27             <help>Prefix of nodes to blacklist for this match.</help>
28             <operand>PREFIX</operand>
29         </argument>
30         <processor filename="restrict_to_nodes.xsl"/>
31     </rule>
32     <rule element="flowspec">
33         <context select=""/>
34         <argument>
35             <name>whitelist-switch</name>
36             <help>Switch id to whitelist.</help>
37             <operand>PREFIX</operand>
38         </argument>
39
40         <argument>
41             <name>whitelist-tpsrc</name>
42             <help>Source port to whitelist.</help>
43             <operand>PREFIX</operand>
44         </argument>
45         <argument>
46             <name>whitelist-tpdst</name>
47             <help>Destination port to whitelist.</help>
48             <operand>PREFIX</operand>
49         </argument>
50         <argument>
51             <name>whitelist-ipdst</name>
52             <help>Destination IP to whitelist.</help>
53             <operand>PREFIX</operand>
54         </argument>
55         <argument>
56             <name>whitelist-ipsrc</name>
57             <help>Source IP to whitelist.</help>
58             <operand>PREFIX</operand>
59         </argument>
60
61         <processor filename="restrict_flowspec.xsl"/>
62     </rule>
63 </target>