-
Committer:
MAAS Lander
-
Author(s):
Blake Rouse
-
Date:
2015-04-23 19:30:31 UTC
-
mfrom:
(3830.2.5 fix-1441841)
-
Revision ID:
maas_lander-20150423193031-4d068zw0t2x1zmyr
[r=rvb][bug=1441841][author=blake-rouse] Fix the validation in AddDeviceController, to check that the ip address in the static range is not within the dynamic range. Modify the StaticIPAddress.allocate_new to validate that the requested_address is inside the network, instead of the static range.
This allows users to add a static ip address anywhere in the selected network except for the dynamic range.