def get_single_nic_with_vif_port_id(task):
    for port in task.ports:
        if port.extra.get('vif_port_id'):
            return port.address
Returns a compiled Template object for the given template name,
dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/deploy_utils.py/get_single_nic_with_vif_port_id--crossover with--dataset/ETHPy150Open django/django/django/template/engine.py/Engine.get_template