Synchronize code from oslo

Use commit 8d0228837c40c02d93d80ae0a179275ac2d7f277
Merge "Break out common functionality for filters and weights"
(Fri May 17 12:12:40 2013 +0000)

Change-Id: Ib2ec8ff64e036a07fad2a38319a9a4c40a698898
Signed-off-by: Shane Wang <shane.wang@intel.com>
Merge "Synchronize code from oslo"
Reuse oslo for is_uuid_like() implementation

In the original code, isalnum() in is_uuid_like() doesn't allow "-",
while for UUID, format like aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa should be
allowed. This patch is to reuse uuidutils's API in oslo.

Change-Id: I339974c75a32d27f8e4443a1b97bb6e410933aa4
Signed-off-by: Shane Wang <shane.wang@intel.com>