Reorganized targets
Sapan Bhatia [Tue, 22 Sep 2009 17:45:29 +0000 (17:45 +0000)]
sfatables/targets/RESTRICT_PROP.xml [moved from sfatables/targets/MAX_LINK_BW.xml with 86% similarity]
sfatables/targets/RESTRICT_SLICE_DOMAIN.xml [moved from sfatables/targets/RESTRICT_TO_NODES.xml with 89% similarity]
sfatables/targets/RESTRICT_TO_NODES.xml.orig [deleted file]
sfatables/targets/RESTRICT_TO_NODE_GROUP.xml.orig [deleted file]

similarity index 86%
rename from sfatables/targets/MAX_LINK_BW.xml
rename to sfatables/targets/RESTRICT_PROP.xml
index 6c91019..6112b89 100644 (file)
@@ -1,12 +1,12 @@
-<target name="MAX_LINK_BANDWIDTH">
+<target name="RESTRICT_PROP">
     <!-- The context is empty, since this target does not require any input from SFA -->
+    <rule element="link">
     <context select=""/>
-    <rule>
         <argument>
             <name>max-link-bandwidth</name>
             <help>Maximum link bandwidth.</help>
             <operand>bps</operand>
         </argument>
-    </rule>
     <processor filename="max_link_banwidth.xsl"/>
+    </rule>
 </target>
similarity index 89%
rename from sfatables/targets/RESTRICT_TO_NODES.xml
rename to sfatables/targets/RESTRICT_SLICE_DOMAIN.xml
index c31b67e..45f2a4b 100644 (file)
@@ -1,7 +1,7 @@
-<target name="RESTRICT_TO_NODES">
+<target name="RESTRICT_SLICE_DOMAIN">
+    <rule element="node">
     <!-- The context is empty, since this target does not require any input from SFA -->
     <context select=""/>
-    <rule>
         <argument>
             <name>whitelist</name>
             <help>Prefix of nodes to whitelist for this match.</help>
@@ -12,6 +12,6 @@
             <help>Prefix of nodes to blacklist for this match.</help>
             <operand>PREFIX</operand>
         </argument>
-    </rule>
     <processor filename="restrict_to_nodes.xsl"/>
+    </rule>
 </target>
diff --git a/sfatables/targets/RESTRICT_TO_NODES.xml.orig b/sfatables/targets/RESTRICT_TO_NODES.xml.orig
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/sfatables/targets/RESTRICT_TO_NODE_GROUP.xml.orig b/sfatables/targets/RESTRICT_TO_NODE_GROUP.xml.orig
deleted file mode 100644 (file)
index e69de29..0000000