Support getting and updating network_info of environment.

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