aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vat/ipsec
diff options
context:
space:
mode:
Diffstat (limited to 'resources/templates/vat/ipsec')
-rw-r--r--resources/templates/vat/ipsec/ipsec_policy_add.vat1
-rw-r--r--resources/templates/vat/ipsec/ipsec_sa_set_key.vat2
-rw-r--r--resources/templates/vat/ipsec/ipsec_sad_add_entry.vat2
-rw-r--r--resources/templates/vat/ipsec/ipsec_spd_add_entry.vat1
4 files changed, 3 insertions, 3 deletions
diff --git a/resources/templates/vat/ipsec/ipsec_policy_add.vat b/resources/templates/vat/ipsec/ipsec_policy_add.vat
new file mode 100644
index 0000000000..db025970b6
--- /dev/null
+++ b/resources/templates/vat/ipsec/ipsec_policy_add.vat
@@ -0,0 +1 @@
+exec ipsec policy add spd {spd_id} priority {priority} {direction} action {action} {selector}
diff --git a/resources/templates/vat/ipsec/ipsec_sa_set_key.vat b/resources/templates/vat/ipsec/ipsec_sa_set_key.vat
index 96d570ef93..bd59d6f5cb 100644
--- a/resources/templates/vat/ipsec/ipsec_sa_set_key.vat
+++ b/resources/templates/vat/ipsec/ipsec_sa_set_key.vat
@@ -1 +1 @@
-ipsec_sa_set_key sa_id {sa_id} crypto_key {ckey} integ_key {ikey} \ No newline at end of file
+exec set ipsec sa {sa_id} crypto-key {ckey} integ-key {ikey} \ No newline at end of file
diff --git a/resources/templates/vat/ipsec/ipsec_sad_add_entry.vat b/resources/templates/vat/ipsec/ipsec_sad_add_entry.vat
index c161bb902e..71847ef08c 100644
--- a/resources/templates/vat/ipsec/ipsec_sad_add_entry.vat
+++ b/resources/templates/vat/ipsec/ipsec_sad_add_entry.vat
@@ -1 +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}
+exec ipsec sa add {sad_id} esp spi {spi} crypto-alg {calg} crypto-key {ckey} integ-alg {ialg} integ-key {ikey} {tunnel}
diff --git a/resources/templates/vat/ipsec/ipsec_spd_add_entry.vat b/resources/templates/vat/ipsec/ipsec_spd_add_entry.vat
deleted file mode 100644
index 8573aa532c..0000000000
--- a/resources/templates/vat/ipsec/ipsec_spd_add_entry.vat
+++ /dev/null
@@ -1 +0,0 @@
-ipsec_spd_add_del_entry spd_id {spd_id} priority {priority} {direction} action {action} {selector}