Bug 717652 - [RHEVM Backend] Backend should validate the subnet mask
Summary: [RHEVM Backend] Backend should validate the subnet mask
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: unspecified
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: lpeer
QA Contact:
URL:
Whiteboard: network
: 770433 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-29 13:42 UTC by Kiril Nesenko
Modified: 2014-07-11 00:07 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-25 07:25:37 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.