diff options
author | Jan Gelety <jgelety@cisco.com> | 2019-02-18 14:55:23 +0100 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2019-02-26 21:54:50 +0100 |
commit | 83e9b227be8316ac06b9104ce9096cfe4b06605e (patch) | |
tree | 8f90a32d53bf6aef65a7e344c19697027467ad00 /resources/templates/vat/ipsec | |
parent | 7a369b106a32b6fddc9ebd624f1a51ae7132d418 (diff) |
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 <jgelety@cisco.com>
Diffstat (limited to 'resources/templates/vat/ipsec')
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} |