Hi guys,
I'm trying to change default VM listing page in order to show more info
like parent host/template/etc. I can add parent host/template easily, but I
can't add a primary nic IP. This is how I add parent host for example:
/usr/share/cloudstack-management/webapps/client/scripts/instances.js:
....
displayname: {
label: 'label.display.name',
truncate: true
},
// parent host comes here
hostname: {
label: 'label.host.name'
},
// end of parent host
zonename: {
label: 'label.zone.name'
},
....
But when I try to add primary nic IP using the similar way it won't work:
....
// primary nic ip
nic[0].ipaddress: {
label: 'label.vm.ip'
},
....
page simply won't load. I checked returned object with VMs and each VM does
have this nic object. Could you please let me know how I can add this info?
Unfortunately ACS doesn't allow to search a VM by ip from GUI, and our
clients would like to have such possibility (currently we use api/direct
sql call but it's not that convenient).
Thanks
--
Serg