a little nicer wrt pep8
[sfa.git] / sfatables / targets / RESTRICT_SLICE_PROP.xml
index b8d2c25..4f6c146 100644 (file)
@@ -1,12 +1,26 @@
 <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>kbps</operand>
+        </argument>
+        <argument>
+            <name>on-node</name>
+            <help>Node to impose the limit on. Empty => all nodes.</help>
+            <operand>kbps</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>