aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates
diff options
context:
space:
mode:
Diffstat (limited to 'resources/templates')
-rw-r--r--resources/templates/vat/span_create.vat2
-rw-r--r--resources/templates/vat/span_dump.vat1
2 files changed, 2 insertions, 1 deletions
diff --git a/resources/templates/vat/span_create.vat b/resources/templates/vat/span_create.vat
index 62c423248b..3671d0b19e 100644
--- a/resources/templates/vat/span_create.vat
+++ b/resources/templates/vat/span_create.vat
@@ -1 +1 @@
-exec set span src {src_if} dst {dst_if}
+sw_interface_span_enable_disable src_sw_if_index {src_sw_if_index} dst_sw_if_index {dst_sw_if_index}
diff --git a/resources/templates/vat/span_dump.vat b/resources/templates/vat/span_dump.vat
new file mode 100644
index 0000000000..0f83af73c3
--- /dev/null
+++ b/resources/templates/vat/span_dump.vat
@@ -0,0 +1 @@
+sw_interface_span_dump \ No newline at end of file