def tear_down_cleaning_ports(task):
    # If we created cleaning ports, delete them
    provider = dhcp_factory.DHCPFactory()
    if getattr(provider.provider, 'delete_cleaning_ports', None):
        # Allow to raise if it fails, is caught and handled in conductor
        provider.provider.delete_cleaning_ports(task)

        for port in task.ports:
            if 'vif_port_id' in port.extra:
                extra_dict = port.extra
                extra_dict.pop('vif_port_id', None)
                port.extra = extra_dict
                port.save()
Seeks to the specified position in the specified song.
dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/deploy_utils.py/tear_down_cleaning_ports--crossover with--dataset/ETHPy150Open beetbox/beets/beetsplug/bpd/__init__.py/Server.cmd_seek