Bug 674363

Summary: smallest network that one can create is a /28 (16 addresses, 14 hosts)
Product: [Community] Virtualization Tools Reporter: Brian J. Murrell <brian>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: berrange, crobinso, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-30 00:51:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
allow creation of networks as small as /30 none

Description Brian J. Murrell 2011-02-01 15:55:43 UTC
Created attachment 476424 [details]
allow creation of networks as small as /30

Description of problem:
When one tries to create a network in virt-manager, it's an error to try to create a network smaller than /28 (16 addresses, 14 hosts).

Version-Release number of selected component (if applicable):
0.8.4

How reproducible:
100%

Steps to Reproduce:
I think it's pretty clear how to reproduce this for anyone that knows how to use virt-manager.
  
Actual results:
One gets an error if one tries to create a network smaller than /28.

Expected results:
One should be able to create a network as small as /30 if one wants, for a two node network, for example.

The attached patch attains this expected result.

Comment 1 Cole Robinson 2012-01-30 00:51:08 UTC
Ah, very sorry, I didn't realize a patch was applied till now, if so I would have applied it a long time ago (that still doesn't excuse taking a year to actually look into the bug though, so sorry about that as well)

I've pushed your patch:

http://git.fedorahosted.org/git?p=virt-manager.git;a=commit;h=481e24006c8420fffe231bcc99557092026eb04f

Thanks for your contribution!

Comment 2 Brian J. Murrell 2012-01-30 13:35:55 UTC
Much thanks for pushing that Cole.