summaryrefslogtreecommitdiffstats
path: root/test/vpp_gre_interface.py
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-12-29 23:55:18 +0000
committerDamjan Marion <dmarion@me.com>2020-01-27 20:40:30 +0000
commit59ff918ea5b86112ffc89054aa38107703354585 (patch)
tree0e6dc887ead19b7be828954a08b1e15da81ddb58 /test/vpp_gre_interface.py
parent3b37125bdb0251181f90a429a4532b339711cf89 (diff)
tunnel: Common types for IP tunnels
Type: refactor Signed-off-by: Neale Ranns <nranns@cisco.com> Change-Id: I18dcdb7af3e327f6cacdbcb1e52b89f13d6ba6e2
Diffstat (limited to 'test/vpp_gre_interface.py')
-rw-r--r--test/vpp_gre_interface.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/vpp_gre_interface.py b/test/vpp_gre_interface.py
index 905c3832532..9a9069ac9ab 100644
--- a/test/vpp_gre_interface.py
+++ b/test/vpp_gre_interface.py
@@ -24,8 +24,8 @@ class VppGreInterface(VppInterface):
GRE_API_TUNNEL_TYPE_L3)
self.t_mode = mode
if not self.t_mode:
- self.t_mode = (VppEnum.vl_api_gre_tunnel_mode_t.
- GRE_API_TUNNEL_MODE_P2P)
+ self.t_mode = (VppEnum.vl_api_tunnel_mode_t.
+ TUNNEL_API_MODE_P2P)
def add_vpp_config(self):
r = self.test.vapi.gre_tunnel_add_del(