Ports:
Added validation for checking if the specified ip is inside the specific subnet
and the Ip is not a broadcast ip.

Change-Id: I66f97c31e784212c6da149d4f357dec68c1b67b6
Closes-Bug: #1403437
Merge "Ports: Added validation for checking if the specified ip is inside the specific subnet and the Ip is not a broadcast ip." into R2.0