summaryrefslogtreecommitdiffstats
path: root/test/vpp_ipip_tun_interface.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/vpp_ipip_tun_interface.py')
-rw-r--r--test/vpp_ipip_tun_interface.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/vpp_ipip_tun_interface.py b/test/vpp_ipip_tun_interface.py
index 6e5ade6eb3d..3558523f61d 100644
--- a/test/vpp_ipip_tun_interface.py
+++ b/test/vpp_ipip_tun_interface.py
@@ -38,3 +38,11 @@ class VppIpIpTunInterface(VppTunnelInterface):
def object_id(self):
return "ipip-%d" % self._sw_if_index
+
+ @property
+ def remote_ip(self):
+ return self.dst
+
+ @property
+ def local_ip(self):
+ return self.src