[Fiware-lab-help] [Floating IP] Project Quota not correctly showed

luigi.papino at gmail.com luigi.papino at gmail.com
Fri Jan 31 00:30:51 CET 2014


However, if it is not a problem, can you point me to some documentation to
allocate and associate a floating ip with Claudia?

I tried in two ways:
>
> function filab_get_ip($token) {
>
> include_once 'curl.class.php';
>
> $url = 'http://cloud.lab.fi-ware.eu:4730/v2.0/os-floating-ips';
>
>  $postData = '{"pool":"net8300"}';
>
>  $curl = new Curl ();
>
> $curl->headers [] = "Content-type: application/json";
>
> $curl->headers [] = "X-Auth-Token: $token";
>
> //$curl->headers [] = "Access-Control-Allow-Headers: origin, content-type,
>> X-Auth-Token, Tenant-ID, x-image-meta-is_public, x-image-meta-name";
>
> $json = $curl->post ( $url, $postData );
>
>  $res = json_decode ( $json, true );
>
> $ip = $res ['floating-ip'] ['ip'];
>
> return $token;
>
> }
>
>
and with the url sniffed from FI-LAB, but both doesn't work. In the first
one, the script simply die on "curl->post" instruction and in the second
one the response is a 401 error for unauthorized .

thank you!


On 31 January 2014 00:22, luigi.papino at gmail.com <luigi.papino at gmail.com>wrote:

> Yes, and the interface tell me that  10 ips are stil available
>
>
> On 30 January 2014 23:51, José Ignacio Carretero Guarde <jicg at tid.es>wrote:
>
>> Your project (00000000000000000000000000002021) have 3 ips allocated and
>> only 2 associated:
>>
>> 130.206.82.89    --- Orion Broker & Appetitoo
>> 130.206.82.125 --- AppetitooCleanInstance-Main-1
>> 130.206.82.35  --- Which is not associated with anything.
>>
>> BR,
>> José Ignacio.
>>
>> El 30/01/14 23:37, luigi.papino at gmail.com escribió:
>>
>>> I have alreay two IPs allocated, but the Project Quotas is still 0
>>>
>>> Maybe this can help. Thank you.
>>>
>>> Inline images 1
>>>
>>>
>>> _______________________________________________
>>> Fiware-lab-help mailing list
>>> Fiware-lab-help at lists.fi-ware.eu
>>> https://lists.fi-ware.eu/listinfo/fiware-lab-help
>>>
>>
>>
>> ________________________________
>>
>> Este mensaje se dirige exclusivamente a su destinatario. Puede consultar
>> nuestra política de envío y recepción de correo electrónico en el enlace
>> situado más abajo.
>> This message is intended exclusively for its addressee. We only send and
>> receive email on the basis of the terms set out at:
>> http://www.tid.es/ES/PAGINAS/disclaimer.aspx
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20140131/9ac13cca/attachment.html>


More information about the Fiware-lab-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy