Add tunnel_id support

Some logical ports may provide tunneling feature, in which the networks will be isolated by tunnel_id. Another use case we can utilize, is flow control as we do with metadata.