'Retrieve port vnic info
Invoked with a valid port_id.
Return vnic type and the attached physical network name.'

def _get_port_vnic_info(self, context, neutron, port_id):

    phynet_name = None
    port = self._show_port(context, port_id, neutron_client=neutron, fields=['binding:vnic_type', 'network_id'])
    vnic_type = port.get('binding:vnic_type', network_model.VNIC_TYPE_NORMAL)
    if (vnic_type in network_model.VNIC_TYPES_SRIOV):
        net_id = port['network_id']
        phynet_name = self._get_phynet_info(context, neutron, net_id)
    return (vnic_type, phynet_name)
