summaryrefslogtreecommitdiffstats
path: root/test/test_gre.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/test_gre.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/test_gre.py')
-rw-r--r--test/test_gre.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_gre.py b/test/test_gre.py
index f4b4ee2b7e5..f8c410050e1 100644
--- a/test/test_gre.py
+++ b/test/test_gre.py
@@ -1014,8 +1014,8 @@ class TestGRE(VppTestCase):
gre_if = VppGreInterface(self,
itf.local_ip4,
"0.0.0.0",
- mode=(VppEnum.vl_api_gre_tunnel_mode_t.
- GRE_API_TUNNEL_MODE_MP))
+ mode=(VppEnum.vl_api_tunnel_mode_t.
+ TUNNEL_API_MODE_MP))
gre_if.add_vpp_config()
gre_if.admin_up()
gre_if.config_ip4()
@@ -1117,8 +1117,8 @@ class TestGRE(VppTestCase):
gre_if = VppGreInterface(self,
itf.local_ip6,
"::",
- mode=(VppEnum.vl_api_gre_tunnel_mode_t.
- GRE_API_TUNNEL_MODE_MP))
+ mode=(VppEnum.vl_api_tunnel_mode_t.
+ TUNNEL_API_MODE_MP))
gre_if.add_vpp_config()
gre_if.admin_up()
gre_if.config_ip6()