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:
parent
5e214620a7
commit
15ac912c23
@ -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)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user