tools: fix default resource metadata for instance
Change-Id: I788efa28ae041c7600cad60a03eb4f039c65e560
This commit is contained in:
parent
b96509715d
commit
299d08196a
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user