aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vat
diff options
context:
space:
mode:
authorselias <samelias@cisco.com>2016-08-11 10:02:33 +0200
committerJan Gelety <jgelety@cisco.com>2016-08-25 21:34:48 +0000
commitf2711a847cd8de8dadce1049747e78f96bcae031 (patch)
treee6f0fb27e22c6d32fb4c0241e54a253eaad0ecbe /resources/templates/vat
parent53ce7d17816de6516f3c21bd01835b8c1c474c79 (diff)
CSIT-233 IPv4 IPFIX - baseline tests
- add scapy classes for parsing IPFIX packets - add vat scripts and keywords for settings up IPFIX - add IPv4 IPFIX test suite Change-Id: I80ab76ca361c7920a01a46ad720b1c04acd0d147 Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'resources/templates/vat')
-rw-r--r--resources/templates/vat/classify_add_session_generic.vat1
-rw-r--r--resources/templates/vat/ipfix_exporter_set.vat1
-rw-r--r--resources/templates/vat/ipfix_interface_enable.vat1
-rw-r--r--resources/templates/vat/ipfix_stream_set.vat1
-rw-r--r--resources/templates/vat/ipfix_table_add.vat1
5 files changed, 5 insertions, 0 deletions
diff --git a/resources/templates/vat/classify_add_session_generic.vat b/resources/templates/vat/classify_add_session_generic.vat
new file mode 100644
index 0000000000..b100629c4e
--- /dev/null
+++ b/resources/templates/vat/classify_add_session_generic.vat
@@ -0,0 +1 @@
+classify_add_del_session {type} table-index {table_index} skip_n {skip_n} match_n {match_n} match {match} \ No newline at end of file
diff --git a/resources/templates/vat/ipfix_exporter_set.vat b/resources/templates/vat/ipfix_exporter_set.vat
new file mode 100644
index 0000000000..9217375e01
--- /dev/null
+++ b/resources/templates/vat/ipfix_exporter_set.vat
@@ -0,0 +1 @@
+set_ipfix_exporter collector_address {collector} src_address {source} {fib} {mtu} {interval} \ No newline at end of file
diff --git a/resources/templates/vat/ipfix_interface_enable.vat b/resources/templates/vat/ipfix_interface_enable.vat
new file mode 100644
index 0000000000..5432a6916a
--- /dev/null
+++ b/resources/templates/vat/ipfix_interface_enable.vat
@@ -0,0 +1 @@
+flow_classify_set_interface sw_if_index {interface} {table} {delete} \ No newline at end of file
diff --git a/resources/templates/vat/ipfix_stream_set.vat b/resources/templates/vat/ipfix_stream_set.vat
new file mode 100644
index 0000000000..97d84beb1c
--- /dev/null
+++ b/resources/templates/vat/ipfix_stream_set.vat
@@ -0,0 +1 @@
+set_ipfix_classify_stream {domain} {src_port} \ No newline at end of file
diff --git a/resources/templates/vat/ipfix_table_add.vat b/resources/templates/vat/ipfix_table_add.vat
new file mode 100644
index 0000000000..87b0cc169d
--- /dev/null
+++ b/resources/templates/vat/ipfix_table_add.vat
@@ -0,0 +1 @@
+ipfix_classify_table_add_del table {table} {ip_version} {add_del} \ No newline at end of file