Comment 8 for bug 692285

Revision history for this message
Abbakus (abbakus) wrote : Re: [Bug 692285] Re: Time based events/bricks events

You are right, would be better a consistent format, but IMO this is
not so easy to do... You have to change the event class, the load/save
method in brickfactory and the GUI. Then test everything deeply. It's
better to delay this change after the release. At present all is
working pretty good, the only feature missing about events is the
actions update when you configure an existent event (the delay is set
instead). Furthermore, even if the vb-command line is
inconsistent/complicated for the GUI is the same thing (the commands
"add"/"addsh" never appear in the GUI).

Regards.

                       Simone

2011/3/16 Pierre-Louis Bonicoli <email address hidden>:
> "myevent config add mybrick on"
> and
> "myevent config delay=5"
> seems not consistent, would you agree if I modify code in order to accept
> "myevent config actions='mybrick on'"
> instead of
> "myevent config add mybrick on"
> ?
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/692285
>
> Title:
>  Time based events/bricks events
>
> Status in Virtualbricks:
>  In Progress
>
> Bug description:
>  At present, is only possible to specify the configuration for the
>  "start" moment.
>
>  It can be very useful to have time based events. And other interesting
>  events raised by a brick (for example a the brick-shutdown-event).
>
>  Time based events can be useful to simulate problems on the network,
>  as dynamic change of packet loss percentage, switch shutdown, VM-
>  shutdown, and so on.
>
>  One brick has to show some general events and some specific event.
>  General: brick-start, brick-stop, brick-parameters-change, ...
>  Specific: .....
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/virtualbrick/+bug/692285/+subscribe
>