aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vat/policer
diff options
context:
space:
mode:
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}