diff options
author | Klement Sekera <ksekera@cisco.com> | 2018-06-24 22:49:55 +0200 |
---|---|---|
committer | Klement Sekera <ksekera@cisco.com> | 2018-06-24 22:53:37 +0200 |
commit | 31da2e30317bc1fcb4586e1dc0d560600d9b29d3 (patch) | |
tree | 4c025f26e8aa9e4f6499144deea9028154b63fe0 /test/vpp_interface.py | |
parent | 2a8d02df15e71881754bab0bb16b85ccd65f8f74 (diff) |
Revert "Revert "ipsec: VPP-1316 calculate IP/TCP/UDP inner checksums""
This reverts commit e0d2bd6bd7fc59c0c6ac48195d7f825dc99bfd91.
Change-Id: If491e16f9ea66b2493a6a7c7f3c684ed585f8f51
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test/vpp_interface.py')
-rw-r--r-- | test/vpp_interface.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/vpp_interface.py b/test/vpp_interface.py index 194a0c4fb32..e14a31eb722 100644 --- a/test/vpp_interface.py +++ b/test/vpp_interface.py @@ -2,7 +2,6 @@ from abc import abstractmethod, ABCMeta import socket from util import Host, mk_ll_addr -from vpp_neighbor import VppNeighbor class VppInterface(object): @@ -171,6 +170,9 @@ class VppInterface(object): self._hosts_by_ip4 = {} self._hosts_by_ip6 = {} + def set_sw_if_index(self, sw_if_index): + self._sw_if_index = sw_if_index + self.generate_remote_hosts() self._local_ip4 = "172.16.%u.1" % self.sw_if_index |