<br><br><div class="gmail_quote">On Tue, Mar 19, 2013 at 9:02 AM, Markku Tavasti <span dir="ltr"><<a href="mailto:markku.tavasti@cybercom.com" target="_blank">markku.tavasti@cybercom.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi!<br>
<br>
We are trying to create setup where one opestack cluster is connected to many existing networks. Networks are each assigned to some specific customer, and every network can have different ip range available.<br>
<br>
For example;<br>
 * cust1 has network <a href="http://10.26.3.0/24" target="_blank">10.26.3.0/24</a>, and has available ip's on 10.26.3.144 - 10.26.3.151 ( /29 mask)<br>
 * cust2 has network <a href="http://10.35.168.0/24" target="_blank">10.35.168.0/24</a> and has available ip's on 10.35.168.128 - 10.35.168.192<br>
<br>
I've tried to setup this environment wit nova-network, but with not too much success.<br>
Tried something like:<br>
<br>
nova-manage network create --label TUNK --fixed_range_v4=<a href="http://10.26.3.0/24" target="_blank">10.26.3.0/24</a> --vlan=1506 --multi_host='T' --dns1=10.131.38.201 --dns2=10.231.52.2 --gateway=10.26.3.1 --fixed_cidr=<a href="http://10.26.3.144/29" target="_blank">10.26.3.144/29</a> --num_networks=1 --network_size=8<br>


<br>
I've tried many different combinations, but haven't still got setup where:<br>
 * network is /24<br>
 * there is network_size 8<br>
 * fixed ip's start from .144<br>
<br>
Preferably we would put virtual machines directly to that network, but if that is not possible, then even floating ip's on every network is ok.<br>
<br>
What you think, is this even possible with nova-network? And what about quantum?<br></blockquote><div><br></div><div>this should be possible with quantum, as it separates out the cidr for a subnet (i.e., <a href="http://10.26.3.0/24">10.26.3.0/24</a>) from the allocation_pools, from which IPs are allocated.  See: <a href="http://docs.openstack.org/trunk/openstack-network/admin/content/api_abstractions.html">http://docs.openstack.org/trunk/openstack-network/admin/content/api_abstractions.html</a></div>

<div><br></div><div>dan</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
--Tavasti<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~<u></u>openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~<u></u>openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/<u></u>ListHelp</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Dan Wendlandt <div>Nicira, Inc: <a href="http://www.nicira.com" target="_blank">www.nicira.com</a><br><div>twitter: danwendlandt<br>

~~~~~~~~~~~~~~~~~~~~~~~~~~~<br></div></div>