Bug 717652

Summary: [RHEVM Backend] Backend should validate the subnet mask
Product: [Retired] oVirt Reporter: Kiril Nesenko <knesenko>
Component: ovirt-engine-coreAssignee: lpeer <lpeer>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: acathrow, dfediuck, dyasny, iheim, lpeer, mgoldboi, mpavlik, Rhev-m-bugs, yeylon, ykaul, zfridler
Target Milestone: ---Keywords: EasyFix
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-25 07:25:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Kiril Nesenko 2011-06-29 13:42:50 UTC
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:

Comment 1 Itamar Heim 2011-06-29 22:24:49 UTC
(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

Comment 2 Itamar Heim 2012-04-12 00:43:02 UTC
*** Bug 770433 has been marked as a duplicate of this bug. ***

Comment 3 Itamar Heim 2013-02-25 07:25:37 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.