]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Added functional tests for L3 schedulers.
authorRitesh Anand <ritesh.anand@hp.com>
Fri, 24 Apr 2015 19:29:22 +0000 (12:29 -0700)
committerRitesh Anand <ritesh.anand@hp.com>
Sun, 19 Jul 2015 20:53:10 +0000 (13:53 -0700)
commit0a8369cc6944d3886d05f8f7734c6d5dfdf3aa6e
treea90b1cee8ba2d852d175e6c41f1a0b73fe3364cc
parent3c6ab9e360e6f29b844e53304d0300714b1d52f9
Added functional tests for L3 schedulers.

Legacy mode agents considered.

Following test cases are added:
Common scenarios:
1. No routers scheduled if no agents are present
2. No routers scheduled if it is already hosted
3. No routers scheduled if all agents are down
4. Router scheduled to the agent if router is not yet hosted
5. Router scheduled to the agent even if it already hosts a router

Following scenario specific to least routers scheduler is added:
1. Router is scheduled to agent hosting least routers

For each of Chance and Least Router schedulers auto scheduling is also verified.

A total of 22 test cases are added.

Change-Id: Ic4df299bac83c80abf0890a81d2dd36d15993b33
neutron/tests/functional/scheduler/test_l3_agent_scheduler.py [new file with mode: 0644]