Abhinav Roy created CLOUDSTACK-3088:
---------------------------------------
Summary: Not able to list InternalLBVMs by "name" using the
listInternalLoadBalancerVMs API
Key: CLOUDSTACK-3088
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3088
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: API
Affects Versions: 4.2.0
Reporter: Abhinav Roy
Assignee: Alena Prokharchyk
Priority: Minor
Fix For: 4.2.0
Steps :
===============================
1. Create a VPC network.
2. Create a Tier in that VPC network with default internal LB offering.
3. Create 2 internal LB rules in that tier.
4. Attach VMs to the rules created so that we have 2 InternalLBVMs.
5. list internal lb vms by their name
http://10.102.192.125:8096/client/api?command=listInternalLoadBalancerVMs&vpcid=1&listall=true&name=b-11-VM
Expected behaviour :
==============================
The internal LB VM should be listed by its name passed in the API
Observed behaviour :
=============================
The internalLBVM is not listed by its name, when we pass the API there is no
response
2013-06-20 13:28:00,698 INFO [cloud.api.ApiServer] (ApiServer-9:null)
(userId=1 accountId=1 sessionId=null) /10.144.6.28 -- GET
/client/api?command=listInternalLoadBalancerVMs&vpcid=1&listall=true&name=b-10-VM
HTTP/1.1 200 <?xml version="1.0" encoding="UTF-8"?><listinternallbvmssresponse
cloud-stack-version="4.2.0-SNAPSHOT"></listinternallbvmssresponse> 200 132
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira