[Openstack] Pricing for Floating IP - Cloudkitty

murali muraliselva.10 at gmail.com
Mon Dec 21 08:18:45 UTC 2015


Hello ,

I need to configure price for the floating IP.

I have tried creating the pricing as follows:

First created the service named network.floating.

Then created the group named network.floating.

Have created the service mapping for the same with some cost and pricing
type "Flat".

But still it seems not to be working.

I have checked the Db backend for the same to ensure that whether cost for
the same is displayed.

It is not displaying the cost for the same.

mysql> select * from rated_data_frames where rate!=0 \G;
*************************** 1. row ***************************
       id: 5827
    begin: 2015-12-21 05:30:00
      end: 2015-12-21 05:35:00
     unit: instance
      qty: 1
 res_type: compute
     rate: 10
     desc: {"user_id": "4f2dd27d3c2144eeb87ec5bc4d05c3c5", "name": "sdf",
"availability_zone": "nova", "instance_id":
"540c1351-565f-46b5-bfb6-95e43023b303", "image_id":
"069ce8de-6537-4408-9f6f-7054c43325ef", "vcpus": "1", "memory": "512",
"flavor": "m1.tiny", "project_id": "f944e0a668ee41f2b6529b1530a02041",
"metadata": {}}
tenant_id: f944e0a668ee41f2b6529b1530a02041
*************************** 2. row ***************************
       id: 5831
    begin: 2015-12-21 05:40:00
      end: 2015-12-21 05:45:00
     unit: instance
      qty: 1
 res_type: compute
     rate: 10
     desc: {"user_id": "4f2dd27d3c2144eeb87ec5bc4d05c3c5", "name": "sdf",
"availability_zone": "nova", "instance_id":
"540c1351-565f-46b5-bfb6-95e43023b303", "image_id":
"069ce8de-6537-4408-9f6f-7054c43325ef", "vcpus": "1", "memory": "512",
"flavor": "m1.tiny", "project_id": "f944e0a668ee41f2b6529b1530a02041",
"metadata": {}}
tenant_id: f944e0a668ee41f2b6529b1530a02041
*************************** 3. row ***************************
       id: 5835
    begin: 2015-12-21 05:50:00
      end: 2015-12-21 05:55:00
     unit: instance
      qty: 1
 res_type: compute
     rate: 10
     desc: {"user_id": "4f2dd27d3c2144eeb87ec5bc4d05c3c5", "name": "sdf",
"availability_zone": "nova", "instance_id":
"540c1351-565f-46b5-bfb6-95e43023b303", "image_id":
"069ce8de-6537-4408-9f6f-7054c43325ef", "vcpus": "1", "memory": "512",
"flavor": "m1.tiny", "project_id": "f944e0a668ee41f2b6529b1530a02041",
"metadata": {}}
tenant_id: f944e0a668ee41f2b6529b1530a02041
3 rows in set (0.00 sec)

Only instance creation cost is getting displayed.(1.5 for size and 8.5 for
image)

Could please tell me how we can configure the pricing for floating IP.

I think this is the correct procedure followed, Anyone let me know your
comments.

Any help is appreciable.


Regards,

Murali.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20151221/2351a309/attachment.html>


More information about the Openstack mailing list