Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend event handles for mult-registry and version support #33

Open
christian-pinto opened this issue Aug 12, 2024 · 1 comment
Open

Comments

@christian-pinto
Copy link
Collaborator

christian-pinto commented Aug 12, 2024

The redfish event handler groups single events in classes. We should re-engineer the current events plugin to reflect this grouping, to help further development towards supporting the entire registry. Also, the plugin should have the ability of invoking specific message handlers from different versions of the standard for backward compatibility(e.g., supporting legacy hardware/agents).

@christian-pinto
Copy link
Collaborator Author

Upon receiving an event we should validate:

  1. validate the event schema is correct
  2. existing event_type
  3. Valid eventIdentifier (next in sequence, not seen, in range)

For the eventIdentifier a possible implementation is to have a rolling value for each Agent that we reset every X events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant