]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Make ipsec_site_connection dpd_timeout == dpd_interval return 400
authorNachi Ueno <nachi@ntti3.com>
Sun, 1 Sep 2013 17:24:16 +0000 (10:24 -0700)
committerPaul Michali <pcm@cisco.com>
Mon, 2 Sep 2013 11:20:22 +0000 (07:20 -0400)
commit854f5f3c0d56af45fac2ede9ee6a41e3241d1db8
tree22a817c27cd8cf94fc89695b3daa48063889480e
parentc1f34a61de227fc551496dff3197466a1cdacccb
Make ipsec_site_connection dpd_timeout == dpd_interval return 400

dpd_timeout == dpd_interval is a invalid case,
so in this commit, we modify validation and added test.
Fixes bug 1219440

Change-Id: I14fb9aa7df890f9c5a27f18f20d7dc1a316b2d79
neutron/db/vpn/vpn_db.py
neutron/extensions/vpnaas.py
neutron/tests/unit/db/vpn/test_db_vpnaas.py