Ethan and I sat down last week to talk about the structures and error handling I described in the previous design. While what was described would work well for beadm/libbe it was not quite general enough for use with other consumers such as AI. In order to come up with a more general error handling service or library we've updated the BE observability to include this.
The main area of changes are that instead of just providing the structures inside libbe we will be creating a new library that can be used by consumers such as libbe and AI. It is also expected that this library could be used by the unified design. The library will provide extensible structures encapsulated within the library. This information will be accessed through a set of functions for setting error information as well as for retrieving and translating that information. The ability will also be provided to do a translation from enumerations to descriptive strings based on tables the consumer defines as registers with the library. The updated design has been attached. Thanks, -evan -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: BE Observability design.txt URL: <http://mail.opensolaris.org/pipermail/caiman-discuss/attachments/20090907/840590be/attachment.txt>
