Add function for storing the reason trail of an instance
authorMichele Tartara <mtartara@google.com>
Mon, 25 Mar 2013 15:00:25 +0000 (16:00 +0100)
committerMichele Tartara <mtartara@google.com>
Mon, 22 Apr 2013 11:11:38 +0000 (11:11 +0000)
commit584ea3405cab8a81ea89cceae788ae7508706b0f
treec2c02bc22b028a56fcce777c2a7533b14e1b341f
parentc28911ddf8d75f3473a4f15f3b6e68a792502c8b
Add function for storing the reason trail of an instance

We are interested in storing the reason trail for operations that changed
the state of instances. This commit adds a function to do this.

Also, the GetInstReasonFilename() function name is prepended with an
underscore because it is only used in this file.

Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
lib/backend.py