<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Mar 15, 2012, at 11:43 AM, Yapeng Wu wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div>Hello,</div><div><br></div><div>I followed the quantum-admin-guide document to create the network by using: </div><div>"nova-manage network create --label=tenant-private --fixed_range_v4=192.168.1.0/24 --project_id=xxxx --priority=1 --gateway=192.168.1.254"</div><div><br></div><div>I got error caused by:</div><div><a href="https://github.com/openstack/nova/blob/master/nova/network/quantum/manager.py#L194">https://github.com/openstack/nova/blob/master/nova/network/quantum/manager.py#L194</a>
</div><div><br></div><div>Could some one confirm that if Quantum network ONLY supports gateway address: x.x.x.1 format?</div></div></blockquote><div><br></div></div>Hi Yapeng:<div><br></div><div>That is correct. We explicitly check in nova.network.quantum.manager.QuantumManager</div><div><br></div><div><div>        if gateway is not None and len(gateway) > 0:                                                                 </div><div>            if gateway.split('.')[3] != '1':                                                                         </div><div>                raise Exception(_("QuantumManager requires a valid (.1)"                                             </div><div>                              " gateway address."))  </div></div><div><br></div><div>Cheers,</div><div><br></div><div>Dave.</div><div><br></div><div>@davlaps</div></body></html>