aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates
diff options
context:
space:
mode:
Diffstat (limited to 'resources/templates')
-rw-r--r--resources/templates/vat/ipsec/ipsec_interface_add_spd.vat1
-rw-r--r--resources/templates/vat/ipsec/ipsec_sad_add_entry.vat1
-rw-r--r--resources/templates/vat/ipsec/ipsec_show.vat1
-rw-r--r--resources/templates/vat/ipsec/ipsec_spd_add.vat1
-rw-r--r--resources/templates/vat/ipsec/ipsec_spd_add_entry.vat1
5 files changed, 5 insertions, 0 deletions
diff --git a/resources/templates/vat/ipsec/ipsec_interface_add_spd.vat b/resources/templates/vat/ipsec/ipsec_interface_add_spd.vat
new file mode 100644
index 0000000000..4589970641
--- /dev/null
+++ b/resources/templates/vat/ipsec/ipsec_interface_add_spd.vat
@@ -0,0 +1 @@
+ipsec_interface_add_del_spd sw_if_index {sw_if_id} spd_id {spd_id}
diff --git a/resources/templates/vat/ipsec/ipsec_sad_add_entry.vat b/resources/templates/vat/ipsec/ipsec_sad_add_entry.vat
new file mode 100644
index 0000000000..c161bb902e
--- /dev/null
+++ b/resources/templates/vat/ipsec/ipsec_sad_add_entry.vat
@@ -0,0 +1 @@
+ipsec_sad_add_del_entry esp sad_id {sad_id} spi {spi} crypto_alg {calg} crypto_key {ckey} integ_alg {ialg} integ_key {ikey} {tunnel}
diff --git a/resources/templates/vat/ipsec/ipsec_show.vat b/resources/templates/vat/ipsec/ipsec_show.vat
new file mode 100644
index 0000000000..0859d878c9
--- /dev/null
+++ b/resources/templates/vat/ipsec/ipsec_show.vat
@@ -0,0 +1 @@
+exec show ipsec
diff --git a/resources/templates/vat/ipsec/ipsec_spd_add.vat b/resources/templates/vat/ipsec/ipsec_spd_add.vat
new file mode 100644
index 0000000000..a51e536bbc
--- /dev/null
+++ b/resources/templates/vat/ipsec/ipsec_spd_add.vat
@@ -0,0 +1 @@
+ipsec_spd_add_del spd_id {spd_id}
diff --git a/resources/templates/vat/ipsec/ipsec_spd_add_entry.vat b/resources/templates/vat/ipsec/ipsec_spd_add_entry.vat
new file mode 100644
index 0000000000..8573aa532c
--- /dev/null
+++ b/resources/templates/vat/ipsec/ipsec_spd_add_entry.vat
@@ -0,0 +1 @@
+ipsec_spd_add_del_entry spd_id {spd_id} priority {priority} {direction} action {action} {selector}