<div dir="ltr"><div>Hi,<br><br></div>network context creates router for each network automatically, so you can not reduce the number of routers with this context<br><div><div><div><a href="https://github.com/openstack/rally/blob/master/rally/plugins/openstack/context/network/networks.py#L79">https://github.com/openstack/rally/blob/master/rally/plugins/openstack/context/network/networks.py#L79</a><br><br></div><div>However you can create and use own network context plugin, inherited from <a href="https://github.com/openstack/rally/blob/master/rally/plugins/openstack/context/network/networks.py#L31">https://github.com/openstack/rally/blob/master/rally/plugins/openstack/context/network/networks.py#L31</a><br></div><div>and override its setup() method - create single router per tenant and then attach it to each created network, like here <a href="https://github.com/openstack/rally/blob/master/rally/plugins/openstack/wrappers/network.py#L342-L343">https://github.com/openstack/rally/blob/master/rally/plugins/openstack/wrappers/network.py#L342-L343</a><br><br></div><div>Ask me if you need more help<br></div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 15, 2016 at 7:58 PM, Akshay Kumar Sanghai <span dir="ltr"><<a href="mailto:akshaykumarsanghai@gmail.com" target="_blank">akshaykumarsanghai@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px">Hi,</span><div style="font-size:12.8px">I have a openstack setup with 1 controller node, 1 network node and 2 compute nodes. I want to perform scale testing of the setup in the following manner:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">- Create 10 tenants</div><div style="font-size:12.8px">- Create 1 router per tenant</div><div style="font-size:12.8px">- Create 100 neutron networks across 10 tenants attached to the router</div><div style="font-size:12.8px">- Create 500 VMs spread across 10 tenants attached to the networks</div><div><br></div><div>I used the boot_server scenario and defined the number of networks and tenants in the network and users context respectively. But I want only one router to be created per tenant. In the current case, one router is created per network. </div><div><br></div><div>Do i have an option to accomplish this using the existing rally code? Or should i go ahead and make some change in the network context for my use case?</div><div><br></div><div>Thanks,</div><div>Akshay</div></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>