Fixes and adding external command API for creating a vlan/network in NetworkAPI.