add network modes

Change-Id: Ifc978825300d2c3cc28811d43d936df5aebc523a