Oslo.utils provides same method is_valid_cidr, just use it. Change-Id: If3c619a118c4c192951d8603a4b3c2b34546a2cf