@wrap_check_policy
    def allocate_floating_ip(self, context, pool=None):
        return self.floating_manager.allocate_floating_ip(context,
                 context.project_id, False, pool)
Adds (allocates) a floating IP to a project from a pool.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/network/api.py/API.allocate_floating_ip