diff options
Diffstat (limited to 'tools/xm-test/lib/XmTestLib/NetConfig.py')
-rw-r--r-- | tools/xm-test/lib/XmTestLib/NetConfig.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/xm-test/lib/XmTestLib/NetConfig.py b/tools/xm-test/lib/XmTestLib/NetConfig.py index 919af65fdb..0c39969806 100644 --- a/tools/xm-test/lib/XmTestLib/NetConfig.py +++ b/tools/xm-test/lib/XmTestLib/NetConfig.py @@ -69,12 +69,6 @@ def getXendNetConfig(): configfile.close() return netenv -def checkZeroconfAddresses(): - # Make sure there aren't existing zeroconf addresses. - rc, out = traceCommand("ip addr show |grep \"inet 169.254\" | grep eth0") - if rc == 0: - raise NetworkError("Zeroconf addresses already used: %s" % out) - class NetConfig: def __init__(self): @@ -101,9 +95,6 @@ class NetConfig: self.__setMaxNumberIPs() - if self.network == "169.254.0.0": - checkZeroconfAddresses() - # Clean out any aliases in the network range for dom0's interface. # If an alias exists, a test xendevice add command could fail. if NETWORK_IP_RANGE != "dhcp": |