From ec01e620c4b59f82085d21fafa2482e1fdddd7d7 Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Tue, 22 Sep 2009 17:50:59 +0000 Subject: [PATCH] Still reorganizing the default set of rules --- sfatables/matches/__init__.py | 1 + sfatables/matches/slice-whitelist.xml | 2 +- sfatables/processors/core/accept.xsl | 12 ------------ sfatables/processors/flowspec/accept.xsl | 12 ------------ sfatables/processors/link/accept.xsl | 12 ------------ .../link/{RESTRICT_SLICE.xml => restrict_slice.xml} | 0 sfatables/processors/node/accept.xsl | 12 ------------ sfatables/targets/ACCEPT.xml | 12 +++++++----- sfatables/targets/REJECT.xml | 12 +++++++----- sfatables/test.sfarspec | 1 - 10 files changed, 16 insertions(+), 60 deletions(-) delete mode 100644 sfatables/processors/core/accept.xsl delete mode 100644 sfatables/processors/flowspec/accept.xsl delete mode 100644 sfatables/processors/link/accept.xsl rename sfatables/processors/link/{RESTRICT_SLICE.xml => restrict_slice.xml} (100%) delete mode 100644 sfatables/processors/node/accept.xsl diff --git a/sfatables/matches/__init__.py b/sfatables/matches/__init__.py index 99107122..2329359f 100644 --- a/sfatables/matches/__init__.py +++ b/sfatables/matches/__init__.py @@ -1,4 +1,5 @@ all=""" hrn slice-whitelist +all """.split() diff --git a/sfatables/matches/slice-whitelist.xml b/sfatables/matches/slice-whitelist.xml index 91820ffd..2489c1c8 100644 --- a/sfatables/matches/slice-whitelist.xml +++ b/sfatables/matches/slice-whitelist.xml @@ -1,4 +1,4 @@ - + diff --git a/sfatables/processors/core/accept.xsl b/sfatables/processors/core/accept.xsl deleted file mode 100644 index 9a397ef7..00000000 --- a/sfatables/processors/core/accept.xsl +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - diff --git a/sfatables/processors/flowspec/accept.xsl b/sfatables/processors/flowspec/accept.xsl deleted file mode 100644 index 9a397ef7..00000000 --- a/sfatables/processors/flowspec/accept.xsl +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - diff --git a/sfatables/processors/link/accept.xsl b/sfatables/processors/link/accept.xsl deleted file mode 100644 index 9a397ef7..00000000 --- a/sfatables/processors/link/accept.xsl +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - diff --git a/sfatables/processors/link/RESTRICT_SLICE.xml b/sfatables/processors/link/restrict_slice.xml similarity index 100% rename from sfatables/processors/link/RESTRICT_SLICE.xml rename to sfatables/processors/link/restrict_slice.xml diff --git a/sfatables/processors/node/accept.xsl b/sfatables/processors/node/accept.xsl deleted file mode 100644 index 9a397ef7..00000000 --- a/sfatables/processors/node/accept.xsl +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - diff --git a/sfatables/targets/ACCEPT.xml b/sfatables/targets/ACCEPT.xml index 7a8968e3..d97c68d6 100644 --- a/sfatables/targets/ACCEPT.xml +++ b/sfatables/targets/ACCEPT.xml @@ -1,8 +1,10 @@ - - - - - + + + + + + + diff --git a/sfatables/targets/REJECT.xml b/sfatables/targets/REJECT.xml index 7d524db7..8beeb3c1 100644 --- a/sfatables/targets/REJECT.xml +++ b/sfatables/targets/REJECT.xml @@ -1,8 +1,10 @@ - - - - - + + + + + + + diff --git a/sfatables/test.sfarspec b/sfatables/test.sfarspec index db6f0755..c84a56df 100644 --- a/sfatables/test.sfarspec +++ b/sfatables/test.sfarspec @@ -29,4 +29,3 @@ - """ -- 2.43.0