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

How are HPE OneView event types structured? #201

Closed
ricardoas opened this issue Jan 22, 2018 · 4 comments
Closed

How are HPE OneView event types structured? #201

ricardoas opened this issue Jan 22, 2018 · 4 comments

Comments

@ricardoas
Copy link
Contributor

ricardoas commented Jan 22, 2018

How are events organized at HPE OneView resource model and how can they be mapped to Redfish schema?

Check python-hpOneView example code to connect to SCMB and receive events.

@ffdarkpenguin
Copy link
Contributor

How should I respond to this? Here, in a TXT doc, in MD doc?

@ricardoas
Copy link
Contributor Author

Well... at least a comment here should be enough. The goal here is to answer:

  1. Does each OneView event type matches one Redfish event type?
  2. Can we use a single class to map them or we need a hierarchy?
  3. Which SCMB queues should we subscribe to?

@ricardoas
Copy link
Contributor Author

From the last meeting's discussion:

  • for ResourceUpdated, ResourceAdded and ResourceRemoved: subscribing to scmb.*.Created.# in order to get all resource creation, for example, will result in receiving a lot of undesired events for Alert and Tasks resources among others. Our best idea is to subscribe to each OneView resource of interest independently, i.e.; subscribing to scmb.server-hardware.Created.#, scmb.enclosure.Created.#, scmb.rack.Created.#, and so on.
  • for Alert: subscribing to scmb.alert.# and then filtering by the associated resources of interest is the best plan to this kind of event.
  • for StatusChange: we have not yet identified which SCMB topic will lead to this events, see How can we trigger a Status EventType? #226 for more info.

@ricardoas ricardoas added this to the Sprint #12 milestone Feb 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants