aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2016-04-14 13:04:55 +0200
committerMatus Fabian <matfabia@cisco.com>2016-04-26 09:35:31 +0200
commit3e75fd82a125894db2c56eaa6c3f4798e7dea076 (patch)
tree80a829fac2682d0b9207131ca8c316828291c9ff /resources/templates
parent2a3d45aeef95b82c56c32e5bf223b31c788edc5f (diff)
Add IPsec utilities python library
JIRA: CSIT-28 Change-Id: I9513f14a9920bfbdaf34c5cc5d4619d16a383ca2 Signed-off-by: Matus Fabian <matfabia@cisco.com>
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}