Adds `Name` field to `System` resource response
Before this, the system `Name` field was not being populated in the json response being sent on querying a specific `System` resource. This patch populates the said `Name` field. Change-Id: I1fc039de074b4ce41753c13cca9b6ebbca0b23fa
This commit is contained in:
parent
916110d416
commit
1edffefe72
|
@ -163,6 +163,7 @@ def system_resource(identity):
|
|||
with virt_driver() as driver:
|
||||
return flask.render_template(
|
||||
'system.json', identity=identity,
|
||||
name=driver.name(identity),
|
||||
uuid=driver.uuid(identity),
|
||||
power_state=driver.get_power_state(identity),
|
||||
total_memory_gb=driver.get_total_memory(identity),
|
||||
|
|
Loading…
Reference in New Issue