vpp_device: disable IPv6 in containers 24/29924/6
authorJuraj Linkeš <juraj.linkes@pantheon.tech>
Fri, 13 Nov 2020 09:10:07 +0000 (10:10 +0100)
committerPeter Mikus <pmikus@cisco.com>
Thu, 26 Nov 2020 07:03:29 +0000 (07:03 +0000)
commit8e712c8f59fbc0d5488a452540d1acfb3162b942
tree93871a9b7453d137ccecd59799382b4d202fe4e2
parent54f150ba1b09c007240fea9b034b7ded4d78be87
vpp_device: disable IPv6 in containers

Even with IPv6 nd disabled in VMs, there are IPv6 packets coming from
DuT:
--dut_if2_mac ba:dc:0f:fe:02:05
...
  dst       = 33:33:00:00:00:01
  src       = ba:dc:0f:fe:02:05

Docker disables IPv6 by default on interfaces it manages, which doesn't
include VF interfaces. Disabling IPv6 in containers using sysctl may fix
this.

Change-Id: Idba506653442a3da2cd82e69cedddb3294d92788
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
resources/libraries/bash/function/device.sh