Added extensions for flowspecs.
authorSapan Bhatia <sapanb@cs.princeton.edu>
Tue, 3 Nov 2009 16:17:54 +0000 (16:17 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Tue, 3 Nov 2009 16:17:54 +0000 (16:17 +0000)
sfatables/targets/RESTRICT_SLICE_DOMAIN.xml

index 4a68fd9..3fc0841 100644 (file)
         </argument>
         <processor filename="restrict_to_nodes.xsl"/>
     </rule>
+    <rule element="flowspec">
+        <context select=""/>
+        <argument>
+            <name>whitelist-switch</name>
+            <help>Switch id to whitelist.</help>
+            <operand>PREFIX</operand>
+        </argument>
+
+        <argument>
+            <name>whitelist-tpsrc</name>
+            <help>Source port to whitelist.</help>
+            <operand>PREFIX</operand>
+        </argument>
+        <argument>
+            <name>whitelist-tpdst</name>
+            <help>Destination port to whitelist.</help>
+            <operand>PREFIX</operand>
+        </argument>
+        <argument>
+            <name>whitelist-ipdst</name>
+            <help>Destination IP to whitelist.</help>
+            <operand>PREFIX</operand>
+        </argument>
+        <argument>
+            <name>whitelist-ipsrc</name>
+            <help>Source IP to whitelist.</help>
+            <operand>PREFIX</operand>
+        </argument>
+
+        <processor filename="restrict_flowspec.xsl"/>
+    </rule>
 </target>