[ https://issues.apache.org/jira/browse/CLOUDSTACK-5228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13828661#comment-13828661 ]
ASF subversion and git services commented on CLOUDSTACK-5228: ------------------------------------------------------------- Commit 982c5fffbfe7e0af37ee061f6ab4a4b76869ade4 in branch refs/heads/4.2 from [~murali.reddy] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=982c5ff ] CLOUDSTACK-5228: [API] [EIP/ELB enabled Zone] Need to display EIP address as "Public IP Address" for system VMs In system VM response object return EIP as public IP in case of basic zone with EIP service. Conflicts: server/src/com/cloud/api/ApiResponseHelper.java > [API] [EIP/ELB enabled Zone] Need to display EIP address as "Public IP > Address" for system VMs > ---------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-5228 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5228 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Affects Versions: 4.2.0, 4.3.0 > Reporter: Murali Reddy > Assignee: Murali Reddy > Fix For: 4.2.1, 4.3.0 > > > When listing system Vms, we are returning the guest ip address of the system > Vms as "publicip" > http://10.223.49.198:8080/client/api?command=listSystemVms&id=008bfe4b-42c0-4786-a751-2b136f396512&response=json&sessionkey=DvamvMRusfbEBL%2B5nXHWf7tL84g%3D&_=1384907121371 > "listsystemvmsresponse" : { "count":1 ,"systemvm" : [ > {"id":"008bfe4b-42c0-4786-a751-2b136f396512","systemvmtype":"secondarystoragevm","zoneid":"2cc9607c-1280-4ee2-bd0b-01e013fe2ebe","zonename":"KVM-Zone1","dns1":"10.223.240.232","dns2":"10.223.240.234","gateway":"10.223.250.254","name":"s-3-VM","podid":"abef0149-eafe-4940-97f0-058946b14f93","hostid":"aa07c8e0-eab0-44f1-b8bc-79e460054127","hostname":"crema.lab.vmops.com","privateip":"10.223.250.223","privatemacaddress":"06:0c:00:00:00:1c","privatenetmask":"255.255.255.192","linklocalip":"169.254.3.47","linklocalmacaddress":"0e:00:a9:fe:03:2f","linklocalnetmask":"255.255.0.0","publicip":"10.223.250.243","publicmacaddress":"06:db:d2:00:00:30","publicnetmask":"255.255.255.192","templateid":"660b7376-515a-11e3-8936-4290361b938f","created":"2013-11-19T14:25:52-0800","state":"Running"} > ] } } > Expected Result: > listSystemVms() should return EIP as publicip. -- This message was sent by Atlassian JIRA (v6.1#6144)