From 299d08196a35d0625b54ffca1bd9668139d9717f Mon Sep 17 00:00:00 2001 From: Mehdi Abaakouk Date: Wed, 25 Nov 2015 15:07:02 +0000 Subject: [PATCH] tools: fix default resource metadata for instance Change-Id: I788efa28ae041c7600cad60a03eb4f039c65e560 --- tools/make_test_data.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/make_test_data.py b/tools/make_test_data.py index fd2a5995..fd888e1e 100755 --- a/tools/make_test_data.py +++ b/tools/make_test_data.py @@ -44,8 +44,9 @@ def make_test_data(name, meter_type, unit, volume, random_min, end, interval, resource_metadata=None, source='artificial'): resource_metadata = resource_metadata or {'display_name': 'toto', 'host': 'tata', - 'image_ref_url': 'test', + 'image_ref': 'test', 'instance_flavor_id': 'toto', + 'server_group': 'toto', } # Compute start and end timestamps for the new data. if isinstance(start, datetime.datetime):