[Ofmfwg] Sunfish----Current implementation of Michele's Event code
Aguilar, Michael J.
mjaguil at sandia.gov
Mon Jun 5 07:49:56 PDT 2023
Everyone
Here is the promised information. I was cursory working with it, yesterday, as I was getting prepared to do a Use-Case description/UML diagram/documentation/code workflow….
Mike
-------------------------
1. Listens to POST Events at the route /EventListener
2. Handles an event named Manager.1.0.ManagerCreated
Example: curl -X POST
-H "Content-Type: application/json"
-d @newmanager.json http://127.0.0.1:5000/EventListener
Where newmanager.json contains the following:
{
"@odata.type": "#Event.v1_7_0.Event",
"Id": "1",
"Name": "Manager Created",
"Context": "",
"Events": [ {
"EventType": "Other",
"EventId": "4594",
"Severity": "Ok",
"Message": "New Manager Available at FQDN http://foo.bar.org and Port 1234 ",
"MessageId": "Manager.1.0.ManagerCreated",
"MessageArgs": [ http://127.0.0.1, "1234" ],
"OriginOfCondition": {
"@odata.id": "/redfish/v1/Managers/Manager1" }} ]}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofmfwg/attachments/20230605/499e637b/attachment.htm>
More information about the Ofmfwg
mailing list