From 3e75fd82a125894db2c56eaa6c3f4798e7dea076 Mon Sep 17 00:00:00 2001 From: Matus Fabian Date: Thu, 14 Apr 2016 13:04:55 +0200 Subject: Add IPsec utilities python library JIRA: CSIT-28 Change-Id: I9513f14a9920bfbdaf34c5cc5d4619d16a383ca2 Signed-off-by: Matus Fabian --- resources/templates/vat/ipsec/ipsec_interface_add_spd.vat | 1 + resources/templates/vat/ipsec/ipsec_sad_add_entry.vat | 1 + resources/templates/vat/ipsec/ipsec_show.vat | 1 + resources/templates/vat/ipsec/ipsec_spd_add.vat | 1 + resources/templates/vat/ipsec/ipsec_spd_add_entry.vat | 1 + 5 files changed, 5 insertions(+) create mode 100644 resources/templates/vat/ipsec/ipsec_interface_add_spd.vat create mode 100644 resources/templates/vat/ipsec/ipsec_sad_add_entry.vat create mode 100644 resources/templates/vat/ipsec/ipsec_show.vat create mode 100644 resources/templates/vat/ipsec/ipsec_spd_add.vat create mode 100644 resources/templates/vat/ipsec/ipsec_spd_add_entry.vat (limited to 'resources/templates/vat') 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} -- cgit 1.2.3-korg