Hi, On Thu, Jun 12, 2014 at 11:53 AM, Valerio Schiavoni < valerio.schiav...@gmail.com> wrote:
> > Is there an easy way to list all the VMs which do not have a scheduled > shutdown (so that we can send reminders to those users) ? > You can do that easily with a ruby script, or any other language parsing the onevm list -x output. The scheduled actions are stored inside each VM template, look for VM/USER_TEMPLATE/SCHED_ACTION <VM> ... <USER_TEMPLATE> <SCHED_ACTION> <ACTION><![CDATA[shutdown-hard]]></ACTION> <ID><![CDATA[0]]></ID> <TIME><![CDATA[1412719200]]></TIME> </SCHED_ACTION> </USER_TEMPLATE> ... </VM> Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula <http://twitter.com/opennebula> <cmar...@opennebula.org> On Thu, Jun 12, 2014 at 11:53 AM, Valerio Schiavoni < valerio.schiav...@gmail.com> wrote: > Dear Javier, > thanks for the pointer to the scheduled actions support. > True, this goes already in the direction of what I was asking, I was not > aware of this feature. > > Is there an easy way to list all the VMs which do not have a scheduled > shutdown (so that we can send reminders to those users) ? > > Then, it would be awesome to have a calendar-view that shows, according to > the scheduled actions, how many virtual machines are going to be running in > a given period of time, etc. That is, to make the open-nebula provisioning > system aware of the scheduled action. > > Best regards, > Valerio > > _______________________________________________ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > >
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org