Description of problem:
Backend should validate the subnet mask on UpdateNetworkToVdsInterfaceCommand CanDoAction and AttachNetworkToVdsInterfaceCommand CanDoAction
Version-Release number of selected component (if applicable):
ic127
How reproducible:
Always
Steps to Reproduce:
1. Try to assign illegal subnet mask, like 0.0.4.23
Actual results:
It is possible to assign illegal subnet masks
Expected results:
backend should validate the subnet mask
Additional info:
(In reply to comment #0)
> 1. Try to assign illegal subnet mask, like 0.0.4.23
for future reference
"An IPv4 network mask consist of 32 bits, a sequence of ones (1) followed by a block of 0s. The last block of zeros (0) designate that part as being the host identifier."
http://en.wikipedia.org/wiki/Subnetwork