Adding a new rule for limiting node bandwidth, minor fix to rule for limiting link...
[sfa.git] / sfatables / targets / RESTRICT_SLICE_PROP.xml
index b8d2c25..e37fc6e 100644 (file)
@@ -1,12 +1,21 @@
 <target name="RESTRICT_SLICE_PROP">
     <!-- The context is empty, since this target does not require any input from SFA -->
+    <rule element="node">
+    <context select=""/>
+        <argument>
+            <name>max-node-kbps</name>
+            <help>Maximum node bandwidth in kilobytes per second.</help>
+            <operand>kbps2</operand>
+        </argument>
+    <processor filename="max_node_kbps.xsl"/>
+    </rule>
     <rule element="link">
     <context select=""/>
         <argument>
-            <name>max-link-bandwidth</name>
-            <help>Maximum link bandwidth.</help>
-            <operand>bps</operand>
+            <name>max-link-kbps</name>
+            <help>Maximum link bandwidth in kilobytes per second.</help>
+            <operand>kbps</operand>
         </argument>
-    <processor filename="max_link_bandwidth.xsl"/>
+    <processor filename="max_link_kbps.xsl"/>
     </rule>
-</target>
+    </target>