]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
validate and recommend the cidr
authorYong Sheng Gong <gongysh@unitedstack.com>
Sun, 7 Jul 2013 13:20:36 +0000 (21:20 +0800)
committerYong Sheng Gong <gongysh@unitedstack.com>
Sun, 7 Jul 2013 13:26:59 +0000 (21:26 +0800)
commit53a66b299f18a7184972502b43441a5ad7b050fd
tree4127afa0de18c1b1887c8d77a52bfae85ad168d3
parent31c7bdac68e7ebf1c2e7d91efa155b7212c20388
validate and recommend the cidr

Bug #1195974

It is hard to validate the CIDR typed in by user,
the simple way is to recognize only one and recommend it
if user's input is not the one.

Change-Id: Ic8defe30a43a5ae69c3f737094f866b36bb68f59
neutron/api/v2/attributes.py
neutron/tests/unit/test_attributes.py
neutron/tests/unit/test_db_plugin.py
neutron/tests/unit/test_iptables_firewall.py
neutron/tests/unit/test_l3_plugin.py