]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Disallow 'timeout' in health_monitor to be negative
authorshihanzhang <shihanzhang@huawei.com>
Fri, 16 May 2014 04:02:40 +0000 (12:02 +0800)
committershihanzhang <shihanzhang@huawei.com>
Mon, 26 May 2014 01:20:57 +0000 (09:20 +0800)
commite02846cff4748f7df4d73fb0833fa3dbad1ccf9b
tree2ecf682c748114ba42c375ed48867299b463140d
parentf69db608051d2d45ba853eb8e8935789027540ee
Disallow 'timeout' in health_monitor to be negative

It should limit the value of 'timeout' in 'health_monitor', the 'timeout'
shouldn't to be negative.

Change-Id: I26ae1995c9cc362df7c7dda4c53fb8adda298d13
Closes-bug: #1320062
neutron/extensions/loadbalancer.py
neutron/tests/unit/services/loadbalancer/test_loadbalancer_plugin.py