def fixed_ip_associate_pool(context, network_id, instance_uuid=None,
                            host=None, virtual_interface_id=None):
    return IMPL.fixed_ip_associate_pool(context, network_id,
                                        instance_uuid, host,
                                        virtual_interface_id)
Find free IP in network and associate it to instance or host.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/db/api.py/fixed_ip_associate_pool