From c9d198a9f6494558574238dd055a14ef3a251d31 Mon Sep 17 00:00:00 2001 From: Matus Fabian Date: Fri, 1 Jul 2016 04:40:00 -0700 Subject: 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 --- resources/templates/vat/policer/policer_add_3c.vat | 1 + resources/templates/vat/policer/policer_classify_add_session.vat | 1 + resources/templates/vat/policer/policer_classify_set_interface.vat | 1 + 3 files changed, 3 insertions(+) create mode 100644 resources/templates/vat/policer/policer_add_3c.vat create mode 100644 resources/templates/vat/policer/policer_classify_add_session.vat create mode 100644 resources/templates/vat/policer/policer_classify_set_interface.vat (limited to 'resources/templates/vat/policer') 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} -- cgit 1.2.3-korg