Enabling subnet-mask as input

Change-Id: Ibd1f4a2e077f7dfc096854f08b62537fe2584165
Signed-off-by: Shuva Jyoti Kar <shuva.jyoti.kar@ericsson.com>