[V1] tests/kni: enable ipv6
Checks
Context |
Check |
Description |
ci/Intel-dts-format-test |
success
|
Testing OK
|
ci/Intel-dts-pylama-test |
success
|
Testing OK
|
ci/Intel-dts-suite-test |
success
|
Testing OK
|
Commit Message
the case need ipv6 support, so need make sure that IPv6 is enabled.
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
tests/TestSuite_kni.py | 4 ++++
1 file changed, 4 insertions(+)
Comments
On Wed, 3 Aug 2022 18:15:12 +0000, Jiale Song <songx.jiale@intel.com> wrote:
> the case need ipv6 support, so need make sure that IPv6 is enabled.
>
> Signed-off-by: Jiale Song <songx.jiale@intel.com>
Acked-by: Lijuan Tu <lijuan.tu@intel.com>
Applied, thanks
@@ -485,6 +485,8 @@ class TestKni(TestCase):
self.output_path = os.sep.join([cur_path, self.logger.log_path])
# create an instance to set stream field setting
self.pktgen_helper = PacketGeneratorHelper()
+ # enable dut ipv6
+ self.dut.enable_ipv6("all")
def set_up(self):
"""
@@ -1562,3 +1564,5 @@ class TestKni(TestCase):
"""
self.dut.kill_all()
self.dut.send_expect("rmmod rte_kni", "# ", 10)
+ # disable dut ipv6
+ self.dut.disable_ipv6("all")