Antoni Segura Puimedon has uploaded a new change for review.
Change subject: net_func_tests: Make use of TEST-NET range instead of future reserved range ......................................................................
net_func_tests: Make use of TEST-NET range instead of future reserved range
IPv4 has, according to RFC 5737, three network ranges that are specifically designed to be used for tests and code samples. Up until now we were using 240.0.0.0/24 that is part of 240.0.0.0/4 which according to RFC 6890 is reserved for future use. Thus, it is more appropriate to use one of the test networks and this patch does just that.
Change-Id: I31ed725b3092da48723ea213ad80205961d9e65a Signed-off-by: Antoni S. Puimedon asegurap@redhat.com --- M tests/functional/networkTests.py 1 file changed, 7 insertions(+), 6 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/59/31259/1
diff --git a/tests/functional/networkTests.py b/tests/functional/networkTests.py index f02c2bc..3afd932 100644 --- a/tests/functional/networkTests.py +++ b/tests/functional/networkTests.py @@ -53,16 +53,17 @@ NETWORK_NAME = 'test-network' VLAN_ID = '27' BONDING_NAME = 'bond0' -IP_ADDRESS = '240.0.0.1' -IP_NETWORK = '240.0.0.0' -IP_ADDRESS_IN_NETWORK = '240.0.0.50' +# Use TEST-NET network (RFC 5737) +IP_ADDRESS = '192.0.2.1' +IP_NETWORK = '192.0.2.0' +IP_ADDRESS_IN_NETWORK = '192.0.2.2' IP_CIDR = '24' IP_NETWORK_AND_CIDR = IP_NETWORK + '/' + IP_CIDR -IP_GATEWAY = '240.0.0.254' +IP_GATEWAY = '192.0.2.254' +DHCP_RANGE_FROM = '192.0.2.10' +DHCP_RANGE_TO = '192.0.2.100' # Current implementation converts ip to its 32 bit int representation IP_TABLE = '4026531841' -DHCP_RANGE_FROM = '240.0.0.10' -DHCP_RANGE_TO = '240.0.0.100' CUSTOM_PROPS = {'linux': 'rules', 'vdsm': 'as well'}
IPv6_ADDRESS = 'fdb3:84e5:4ff4:55e3::1/64'