diff options
author | Ole Troan <ot@cisco.com> | 2018-06-22 22:36:46 +0200 |
---|---|---|
committer | Ole Troan <ot@cisco.com> | 2018-06-22 22:37:55 +0200 |
commit | e0d2bd6bd7fc59c0c6ac48195d7f825dc99bfd91 (patch) | |
tree | 1b6f7af08cd0ba04001a0da13efb8ba9d937472f /test/vpp_pg_interface.py | |
parent | c8efa29b6f9a91381897b54f1147daf922ed7164 (diff) |
Revert "ipsec: VPP-1316 calculate IP/TCP/UDP inner checksums"
This reverts commit a98346f664aae148d26a8e158008b773d73db96f.
Change-Id: Iee5b3a5ddff0e8fd3a30fe5973cee24de434fe12
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'test/vpp_pg_interface.py')
-rw-r--r-- | test/vpp_pg_interface.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/vpp_pg_interface.py b/test/vpp_pg_interface.py index 1300f1f1f00..81e9714a37a 100644 --- a/test/vpp_pg_interface.py +++ b/test/vpp_pg_interface.py @@ -84,10 +84,10 @@ class VppPGInterface(VppInterface): def __init__(self, test, pg_index): """ Create VPP packet-generator interface """ - super(VppPGInterface, self).__init__(test) - r = test.vapi.pg_create_interface(pg_index) - self.set_sw_if_index(r.sw_if_index) + self._sw_if_index = r.sw_if_index + + super(VppPGInterface, self).__init__(test) self._in_history_counter = 0 self._out_history_counter = 0 |