You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sander van Harmelen (JIRA)" <ji...@apache.org> on 2014/05/01 14:31:15 UTC
[jira] [Created] (CLOUDSTACK-6555) The listVirtualMachine API does
not do an exact match when using the 'name' parameter
Sander van Harmelen created CLOUDSTACK-6555:
-----------------------------------------------
Summary: The listVirtualMachine API does not do an exact match when using the 'name' parameter
Key: CLOUDSTACK-6555
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6555
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: API
Affects Versions: 4.3.0
Reporter: Sander van Harmelen
When making a call to the listVirtualMachines API using the 'name' to retrieve the ID of a specific virtual machine, you do not get only 1 result where the virtual machine name is an exact match of the value of the 'name' parameter you provided, but instead is a list of results which contains all virtual machines who's name contains the value provided for the 'name' parameter.
Do the 'name' parameter behaves exactly like the 'keyword' parameter for this API call, making it hard to get a single ID for a single machine without doing additional processing on the API result, which our own tools and scripts do not expect hence they are broken now.
--
This message was sent by Atlassian JIRA
(v6.2#6252)