tests, integ: Remove IPv6 exception from the ethX fixtures

IPv6 has been enabled on the test setup interfaces due to the limitation
of disabling IPv6 using NM.

The mentioned limitation has been mitigated by disabling IPv6 through
sysfs. Therefore, always enabling IPv6 in the fixtures is no longer
needed.

Signed-off-by: Edward Haas <edwardh@redhat.com>
This commit is contained in:
Edward Haas 2019-07-28 13:57:52 +03:00
parent 5e214620a7
commit 15ac912c23

View File

@ -22,7 +22,6 @@ import logging
import pytest
import libnmstate
from libnmstate.schema import InterfaceIPv6
from .testlib import statelib
from .testlib.statelib import INTERFACES
@ -78,11 +77,6 @@ def _set_eth_admin_state(ifname, state):
}
]
}
# FIXME: On most systems, IPv6 cannot be disabled by Nmstate/NM.
if state == 'up':
desired_state[INTERFACES][0].update(
{'ipv6': {InterfaceIPv6.ENABLED: True}}
)
libnmstate.apply(desired_state)