diff options
author | Jan Gelety <jgelety@cisco.com> | 2020-04-29 08:24:16 +0200 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2020-05-11 14:32:31 +0000 |
commit | 8c90273fb69635987c43fa00ec71a937d8ffb703 (patch) | |
tree | e6ab825260c45d68fd3fb9a22f8bcc5a0759c4ed /resources/libraries/python | |
parent | 0e8f9d1b1cee11004d2a3fd928cb69422e2f36e3 (diff) |
CSIT-1597 API cleanup: ipsec
- cover API changes in VPP: https://gerrit.fd.io/r/c/vpp/+/26276
- update vpp stable to version 20.05-rc0~727
Change-Id: I39a0b5e60fac6a74aff2426f6a448c0e117ab647
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/python')
-rw-r--r-- | resources/libraries/python/IPsecUtil.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/resources/libraries/python/IPsecUtil.py b/resources/libraries/python/IPsecUtil.py index a22a54a9c8..63fb6f1e8e 100644 --- a/resources/libraries/python/IPsecUtil.py +++ b/resources/libraries/python/IPsecUtil.py @@ -328,7 +328,9 @@ class IPsecUtil: flags=flags, tunnel_src=str(src_addr), tunnel_dst=str(dst_addr), - protocol=int(IPsecProto.IPSEC_API_PROTO_ESP) + protocol=int(IPsecProto.IPSEC_API_PROTO_ESP), + udp_src_port=4500, # default value in api + udp_dst_port=4500 # default value in api ) args = dict( is_add=True, @@ -437,7 +439,9 @@ class IPsecUtil: flags=flags, tunnel_src=str(src_addr), tunnel_dst=str(dst_addr), - protocol=int(IPsecProto.IPSEC_API_PROTO_ESP) + protocol=int(IPsecProto.IPSEC_API_PROTO_ESP), + udp_src_port=4500, # default value in api + udp_dst_port=4500 # default value in api ) args = dict( is_add=True, |