From 203799475b3dcd63bdea453c15a8b8ba9067a121 Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Mon, 14 Sep 2009 03:29:18 +0000 Subject: [PATCH 1/1] Added max link bandwidth target for VINI. --- sfatables/targets/MAX_LINK_BW.xml | 13 ++++ sfatables/targets/__init__.py | 1 + sfatables/targets/example_vini_rspec.xml | 75 ++++++++++++++++++++++++ sfatables/targets/max_link_bandwidth.xsl | 27 +++++++++ 4 files changed, 116 insertions(+) create mode 100644 sfatables/targets/MAX_LINK_BW.xml create mode 100644 sfatables/targets/example_vini_rspec.xml create mode 100644 sfatables/targets/max_link_bandwidth.xsl diff --git a/sfatables/targets/MAX_LINK_BW.xml b/sfatables/targets/MAX_LINK_BW.xml new file mode 100644 index 00000000..35645293 --- /dev/null +++ b/sfatables/targets/MAX_LINK_BW.xml @@ -0,0 +1,13 @@ + + + + + + max-link-bandwidth + Maximum link bandwidth. + bps + + + + + diff --git a/sfatables/targets/__init__.py b/sfatables/targets/__init__.py index 8f4e850b..3a5e632c 100644 --- a/sfatables/targets/__init__.py +++ b/sfatables/targets/__init__.py @@ -2,4 +2,5 @@ all=""" RESTRICT_TO_NODES ACCEPT REJECT +MAX_LINK_BW """.split() diff --git a/sfatables/targets/example_vini_rspec.xml b/sfatables/targets/example_vini_rspec.xml new file mode 100644 index 00000000..a693dd1f --- /dev/null +++ b/sfatables/targets/example_vini_rspec.xml @@ -0,0 +1,75 @@ + + + + + max-link-bandwidth + 1000001 + + + + + + + + i2atla1 + i2chic1 + 1000000 + + + i2atla1 + i2hous1 + 1000000 + + + i2atla1 + i2wash1 + 1000000 + + + i2chic1 + i2kans1 + 1000000 + + + i2chic1 + i2wash1 + 1000000 + + + i2hous1 + i2kans1 + 1000000 + + + i2hous1 + i2losa1 + 1000000 + + + i2kans1 + i2salt1 + 1000000 + + + i2losa1 + i2salt1 + 1000000 + + + i2losa1 + i2seat1 + 1000000 + + + i2newy1 + i2wash1 + 1000000 + + + i2salt1 + i2seat1 + 1000000 + + + + diff --git a/sfatables/targets/max_link_bandwidth.xsl b/sfatables/targets/max_link_bandwidth.xsl new file mode 100644 index 00000000..fe3ee247 --- /dev/null +++ b/sfatables/targets/max_link_bandwidth.xsl @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.43.0