summaryrefslogtreecommitdiffstats
path: root/test/vpp_ipsec.py
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2020-10-19 09:59:41 +0000
committerOle Tr�an <otroan@employees.org>2020-10-21 14:44:56 +0000
commit6ba4e41d33ffda2596d9d4b3a1d7fdd3c9a6b870 (patch)
treeebc7c74e7d6490201395521a684daf7e6f214e90 /test/vpp_ipsec.py
parent990f69450781f1110056738707e3fed565262554 (diff)
ipsec: support for multipoint on ipsec interfaces
Type: feature Signed-off-by: Neale Ranns <nranns@cisco.com> Change-Id: Iae9fe35cfbce4c675fa25e0800c0f4629a83e012
Diffstat (limited to 'test/vpp_ipsec.py')
-rw-r--r--test/vpp_ipsec.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/vpp_ipsec.py b/test/vpp_ipsec.py
index f9dcdf09f1a..479870621e0 100644
--- a/test/vpp_ipsec.py
+++ b/test/vpp_ipsec.py
@@ -379,9 +379,10 @@ class VppIpsecInterface(VppInterface):
def __init__(self, test, mode=None, instance=0xffffffff):
super(VppIpsecInterface, self).__init__(test)
- # only p2p mode is supported currently
- self.mode = (VppEnum.vl_api_tunnel_mode_t.
- TUNNEL_API_MODE_P2P)
+ self.mode = mode
+ if not self.mode:
+ self.mode = (VppEnum.vl_api_tunnel_mode_t.
+ TUNNEL_API_MODE_P2P)
self.instance = instance
def add_vpp_config(self):