← Back to team overview

openstack team mailing list archive

Re: [Netstack] nova-manage network creation question

 

On Thu, 2012-03-15 at 15:14 -0400, Brian Haley wrote:

> > That is correct. We explicitly check in nova.network.quantum.manager.QuantumManager
> > 
> >         if gateway is not None and len(gateway) > 0:                            
> >             if gateway.split('.')[3] != '1':                                    
> >                 raise Exception(_("QuantumManager requires a valid (.1)"                                 
> >                               " gateway address."))  
> 
> Can you just delete that check?  I'm running a Diablo cluster with a /27 where
> .129 is the gateway (it's the lowest address in the subnet), which is a
> perfectly valid IP address :)
> 
> -Brian
> 

This does sound valid as it's the lowest lsb 1 address in the range.

What is the current check supposed to prevent ?(I gather novice network
users... but it seems the technology itself should prevent that.)



References