ceilometer/nova_tests
Shuangtai Tian ae8f7b6b03 Adds flavor_id in the nova_notifier
The instance_type_id is the primary key stored in Nova's instance_types table.
The flavorid is the public id provided at the creation of the flavor.

When we create an instance using the flavor m1.tiny, we can see instance
info contains below keys:
    "instance_type_name" :"m1.tiny"
    "instance_type_id": 2,
Actually, the "m1.tiny" flavorid should be a string '1'. Considering
changing the id's tpye maybe cause confusion with the already saved old
data, add flavor_id to the flavor dictionary.

The instance_ref has all the flavor infomation, not need to get flavor
info from DB again.

Change-Id: I5bd19b2bc2f874d31fd4609306c24e0f51517281
Closes-Bug: #1273638
2014-02-08 14:03:21 +08:00
..
.testr.conf Replace nose with testr 2013-05-18 18:06:38 +10:00
__init__.py Adpated to nova's gettext changes. 2013-04-02 13:43:50 +08:00
test_notifier.py Adds flavor_id in the nova_notifier 2014-02-08 14:03:21 +08:00