You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Jeronimo Garcia <ga...@gmail.com> on 2013/05/06 22:20:04 UTC

Callbacks and Events.

Hi List.

Is there anyway to specify callbacks on api events , or maybe a real time
debug port/url ?

I need to trigger certain actions on VM creation and so far I've thought of
these ones:


   - Mysql Triggers on a given table
   - Virtual Router Modifications (edithosts.sh script)
   - Code modifications , specifically the bit of code that SSH into the
   Vrouter

Thanks a lot for you help.

Re: Callbacks and Events.

Posted by Chip Childers <ch...@sungard.com>.
On Mon, May 06, 2013 at 03:39:08PM -0500, Jeronimo Garcia wrote:
> You know i was checking that out right now ... it seems like a good idea
> ... but when would this be official ?

Once we release 4.1 (upgrade bugs are blocking that release)

> 
> Thanks!
> 
> 
> On Mon, May 6, 2013 at 3:30 PM, Chip Childers <ch...@sungard.com>wrote:
> 
> > On Mon, May 06, 2013 at 03:25:17PM -0500, Jeronimo Garcia wrote:
> > > the Events api call looks interesting ... but i'd need VM name and
> > > Ipaddress ... so it forces me to do one call after a given event.
> >
> > Take a look at this:
> >
> >
> > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Event+Notification+Framework+Proposal
> >
> > >
> > > Thanks
> > >
> > >
> > > On Mon, May 6, 2013 at 3:20 PM, Jeronimo Garcia <garciaj.uk@gmail.com
> > >wrote:
> > >
> > > > Hi List.
> > > >
> > > > Is there anyway to specify callbacks on api events , or maybe a real
> > time
> > > > debug port/url ?
> > > >
> > > > I need to trigger certain actions on VM creation and so far I've
> > thought
> > > > of these ones:
> > > >
> > > >
> > > >    - Mysql Triggers on a given table
> > > >    - Virtual Router Modifications (edithosts.sh script)
> > > >    - Code modifications , specifically the bit of code that SSH into
> > the
> > > >    Vrouter
> > > >
> > > > Thanks a lot for you help.
> > > >
> >

Re: Callbacks and Events.

Posted by Jeronimo Garcia <ga...@gmail.com>.
You know i was checking that out right now ... it seems like a good idea
... but when would this be official ?

Thanks!


On Mon, May 6, 2013 at 3:30 PM, Chip Childers <ch...@sungard.com>wrote:

> On Mon, May 06, 2013 at 03:25:17PM -0500, Jeronimo Garcia wrote:
> > the Events api call looks interesting ... but i'd need VM name and
> > Ipaddress ... so it forces me to do one call after a given event.
>
> Take a look at this:
>
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Event+Notification+Framework+Proposal
>
> >
> > Thanks
> >
> >
> > On Mon, May 6, 2013 at 3:20 PM, Jeronimo Garcia <garciaj.uk@gmail.com
> >wrote:
> >
> > > Hi List.
> > >
> > > Is there anyway to specify callbacks on api events , or maybe a real
> time
> > > debug port/url ?
> > >
> > > I need to trigger certain actions on VM creation and so far I've
> thought
> > > of these ones:
> > >
> > >
> > >    - Mysql Triggers on a given table
> > >    - Virtual Router Modifications (edithosts.sh script)
> > >    - Code modifications , specifically the bit of code that SSH into
> the
> > >    Vrouter
> > >
> > > Thanks a lot for you help.
> > >
>

Re: Callbacks and Events.

Posted by Chip Childers <ch...@sungard.com>.
On Mon, May 06, 2013 at 03:25:17PM -0500, Jeronimo Garcia wrote:
> the Events api call looks interesting ... but i'd need VM name and
> Ipaddress ... so it forces me to do one call after a given event.

Take a look at this: 

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Event+Notification+Framework+Proposal

> 
> Thanks
> 
> 
> On Mon, May 6, 2013 at 3:20 PM, Jeronimo Garcia <ga...@gmail.com>wrote:
> 
> > Hi List.
> >
> > Is there anyway to specify callbacks on api events , or maybe a real time
> > debug port/url ?
> >
> > I need to trigger certain actions on VM creation and so far I've thought
> > of these ones:
> >
> >
> >    - Mysql Triggers on a given table
> >    - Virtual Router Modifications (edithosts.sh script)
> >    - Code modifications , specifically the bit of code that SSH into the
> >    Vrouter
> >
> > Thanks a lot for you help.
> >

Re: Callbacks and Events.

Posted by Jeronimo Garcia <ga...@gmail.com>.
the Events api call looks interesting ... but i'd need VM name and
Ipaddress ... so it forces me to do one call after a given event.

Thanks


On Mon, May 6, 2013 at 3:20 PM, Jeronimo Garcia <ga...@gmail.com>wrote:

> Hi List.
>
> Is there anyway to specify callbacks on api events , or maybe a real time
> debug port/url ?
>
> I need to trigger certain actions on VM creation and so far I've thought
> of these ones:
>
>
>    - Mysql Triggers on a given table
>    - Virtual Router Modifications (edithosts.sh script)
>    - Code modifications , specifically the bit of code that SSH into the
>    Vrouter
>
> Thanks a lot for you help.
>