aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vat/policer
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2016-07-01 04:40:00 -0700
committerMatus Fabian <matfabia@cisco.com>2016-08-18 22:27:36 -0700
commitc9d198a9f6494558574238dd055a14ef3a251d31 (patch)
tree6c7aae4c61e2bdb4092b8d324f336259f1fa738f /resources/templates/vat/policer
parent32ffb106ab41adab440a509ff8f6ec947ffe263d (diff)
CSIT-171 CSIT-172 Policer tests initial commit
policer python library, traffic script and IPv4/IPv6 example tests Change-Id: I6470c86ce1acdcaaff9fdcf81510126836f1135e Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'resources/templates/vat/policer')
-rw-r--r--resources/templates/vat/policer/policer_add_3c.vat1
-rw-r--r--resources/templates/vat/policer/policer_classify_add_session.vat1
-rw-r--r--resources/templates/vat/policer/policer_classify_set_interface.vat1
3 files changed, 3 insertions, 0 deletions
diff --git a/resources/templates/vat/policer/policer_add_3c.vat b/resources/templates/vat/policer/policer_add_3c.vat
new file mode 100644
index 0000000000..a1a4ade0b2
--- /dev/null
+++ b/resources/templates/vat/policer/policer_add_3c.vat
@@ -0,0 +1 @@
+policer_add_del name {name} cir {cir} eir {eir} cb {cb} eb {eb} rate_type {rate_type} round_type {round_type} type {p_type} conform_action {conform_action} exceed_action {exceed_action} violate_action {violate_action} {color_aware}
diff --git a/resources/templates/vat/policer/policer_classify_add_session.vat b/resources/templates/vat/policer/policer_classify_add_session.vat
new file mode 100644
index 0000000000..7ba466d16d
--- /dev/null
+++ b/resources/templates/vat/policer/policer_classify_add_session.vat
@@ -0,0 +1 @@
+classify_add_del_session policer-hit-next {policer_index} {pre_color} table-index {table_index} skip_n {skip_n} match_n {match_n} match {match}
diff --git a/resources/templates/vat/policer/policer_classify_set_interface.vat b/resources/templates/vat/policer/policer_classify_set_interface.vat
new file mode 100644
index 0000000000..d0141c9595
--- /dev/null
+++ b/resources/templates/vat/policer/policer_classify_set_interface.vat
@@ -0,0 +1 @@
+policer_classify_set_interface sw_if_index {sw_if_index} {table_type} {table_index}