change networkapi implementation to receive vlanId
merge