summaryrefslogtreecommitdiffstats
path: root/test/vpp_papi_provider.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/vpp_papi_provider.py')
-rw-r--r--test/vpp_papi_provider.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py
index a4a3799f916..db2b32e1d38 100644
--- a/test/vpp_papi_provider.py
+++ b/test/vpp_papi_provider.py
@@ -980,7 +980,7 @@ class VppPapiProvider(object):
local_port_stop=65535,
remote_port_start=0,
remote_port_stop=65535,
- protocol=0,
+ protocol=socket.IPPROTO_RAW,
policy=0,
priority=100,
is_outbound=1,
@@ -1010,7 +1010,7 @@ class VppPapiProvider(object):
:param is_add: (Default value = 1)
"""
return self.api(
- self.papi.ipsec_spd_entry_add_del,
+ self.papi.ipsec_spd_entry_add_del_v2,
{
"is_add": is_add,
"entry": {