rohityadavcloud commented on code in PR #8782:
URL: https://github.com/apache/cloudstack/pull/8782#discussion_r1594259073
##########
api/src/main/java/org/apache/cloudstack/api/response/UserVmResponse.java:
##########
@@ -269,6 +270,10 @@ public class UserVmResponse extends
BaseResponseWithTagInformation implements Co
@Param(description = "the hypervisor on which the template runs")
private String hypervisor;
+ @SerializedName(ApiConstants.IP_ADDRESS)
+ @Param(description = "the VM's primary IP address")
+ private String ipAddress;
Review Comment:
.. wait I see you're doing this for the UI- there might be an easier way,
which is to get the resource.nic as nic[0] can be considered as the primary
IP/nic. A workaround in the UI could be something like:
```
resource.publicip | resource.nic[0].ipaddress
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]