From 83e9b227be8316ac06b9104ce9096cfe4b06605e Mon Sep 17 00:00:00 2001 From: Jan Gelety Date: Mon, 18 Feb 2019 14:55:23 +0100 Subject: FIX: ipsec + vpp stable version update - use exec ipsec sa add - use exec ipsec spd add - use exec set ipsec sa Change-Id: I69d59dd230b99d8efc9bcb5e3fbab79a8b11b18a Signed-off-by: Jan Gelety --- resources/templates/vat/ipsec/ipsec_policy_add.vat | 1 + resources/templates/vat/ipsec/ipsec_sa_set_key.vat | 2 +- resources/templates/vat/ipsec/ipsec_sad_add_entry.vat | 2 +- resources/templates/vat/ipsec/ipsec_spd_add_entry.vat | 1 - 4 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 resources/templates/vat/ipsec/ipsec_policy_add.vat delete mode 100644 resources/templates/vat/ipsec/ipsec_spd_add_entry.vat (limited to 'resources/templates/vat') 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} -- cgit 1.2.3-korg