Support getting and updating network_info of environment.

Change-Id: I1abd5991bdd1dc59ae943149c98d4880573c9d33
Closes-bug: #1257629
Merge "Support getting and updating network_info of environment."