API changes to manage networks and network assignments

Change-Id: I0f9f7fdd4299ff0c88a72012823b30259d047d8e