commit | ee4924c9a6c5a02ac0f3f200714f82cb8a73d1b6 | [log] [tgz] |
---|---|---|
author | Yatin Kumbhare <yatinkumbhare@gmail.com> | Thu Jun 09 15:12:06 2016 +0530 |
committer | Yatin Kumbhare <yatinkumbhare@gmail.com> | Fri Jun 10 13:53:44 2016 +0530 |
tree | 88982fd53093c030d72b272e25cb23ff6d736693 | |
parent | 98e14b70678b68960ead41a2391c2cf446719da0 [diff] |
Use is_valid_ipv4 from oslo.utils In module netaddr valid_ipv4 raise exception AddrFormatError if address is specified as empty string. Method is_valid_ipv4 catches the exception and returns boolean value. So we'd better use it from oslo.utils. Change-Id: I39d074f451b0e3f7b7203acf69ec4dd791e83114