d82d3f1340
'cidr2netmask' of function doesn't have enough test case and test code isn't smart. This patch adds test case and refactors test code. Change-Id: Iab20ef06fe78316a78198ab75c0afe738a577dd6 Closes-bug: #1457989