Fix subnet_id null bug for newly added subnets

Change-Id: I60dd656e35e1f5c7e4496f8e981462a7f586c414
Merge "Fix subnet_id null bug for newly added subnets"