Add network. Update api for network and subnet.

Change-Id: Ic2a77e3147b63dd06df0358d4646e8786e9f353e