[Arguments] ${cmd}
[Documentation] Return a json list from the output of an OpenStack command.
@{list} = BuiltIn.Create List
- ${result} = Run Process With Logging And Status Check ${cmd}
- @{list} = RequestsLibrary.To Json ${result.stdout}
+ ${json} = OpenStack CLI ${cmd}
+ @{list} = RequestsLibrary.To Json ${json}
BuiltIn.Log ${list}
[Return] @{list}