]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Removes regex validation of UUIDs in dhcp_agent
authorZhongyue Luo <zhongyue.nah@intel.com>
Mon, 5 Nov 2012 15:16:03 +0000 (23:16 +0800)
committerZhongyue Luo <zhongyue.nah@intel.com>
Mon, 5 Nov 2012 16:12:10 +0000 (00:12 +0800)
commitf446b1c4137e17894c7b1917b14e39a46e116631
tree79cde2927251731a55ead7151fc29aea8dfca64e
parente3244c285f58edf38252aeaf2362fb45f96650a1
Removes regex validation of UUIDs in dhcp_agent

Removed re and quantum.api.v2 imports
Removed _validate_field method
Use uuidutils.is_uuid_like for uuid validation

Change-Id: I35e751969cf1f9ff7850fc01b8e4a3f6d788918e
quantum/agent/dhcp_agent.py
quantum/tests/unit/test_dhcp_agent.py