mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
interface: check ip address format
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
This commit is contained in:
@@ -965,7 +965,7 @@ class XMLParseTest(unittest.TestCase):
|
||||
check("autoconf", True, False)
|
||||
|
||||
check = self._make_checker(iface.protocols[1].ips[1])
|
||||
check("address", "fe80::215:58ff:fe6e:5", "foobar")
|
||||
check("address", "fe80::215:58ff:fe6e:5", "2002::")
|
||||
check("prefix", 64, 38)
|
||||
|
||||
# Remove a child interface, verify it's data remains intact
|
||||
|
||||
Reference in New Issue
Block a user