[Ofmfwg] Updates to OFMF framework POC ...

Herrell, Russ W (Senior System Architect) russ.herrell at hpe.com
Fri Nov 5 10:04:07 PDT 2021


Adding Jim Hull explicitly just in case the regular distro list isn't yet working right:

I do think Jim and Erich wanted to be able delete connections and memory chunks so they could demo some dynamic adds and deletes to running images.  Plus, without them we may have to restart everything in the stack to change just the resource bindings of one of the systems...
I think we can get by without PATCHing memory chunks and connections, but I bet we need DELETE.  Hopefully that is almost trivial to pass through to the Agent.

As for your last bug fix you mention, I don't understand the problem you are describing.  I probably do not have the correct definition of 'properties' relative to the body of the POST request.  I am not having problems adding additional dictionary items to the POST body after I create an initial version from the templates; they seem to POST to the Resources directory of the OFMF_POC instance just fine.  The template building process DOES NOT LIKE empty dictionaries during the 'formatting' and 'replacing process'.  So a property of ' OEM: {} ' will crash the template build in something like get_FabricAdapters_instance().  But I just inject such things into the body of the request before I send it off.
If this is  the problem you are referring to, then I don't know that it has to be fixed.

And thanks for all the work!

Russ


From: Ahlvers, Richelle [mailto:richelle.ahlvers at intel.com]
Sent: Friday, November 5, 2021 10:40 AM
To: ofmfwg at lists.openfabrics.org; Herrell, Russ W (Senior System Architect) <russ.herrell at hpe.com>
Cc: Cayton, Phil <phil.cayton at intel.com>; Angadi, Rajalaxmi <rajalaxmi.angadi at intel.com>
Subject: Updates to OFMF framework POC ...

The implementation should now support:
*        POST MemoryChunk - passes information down to agent, returns results from agent, and saves those in OFMF to service GETs
*        POST Connection - passes information down to agent, returns results from agent, and saves those in OFMF to service GETs.  Also adds the new Connection to the "Links" section in the related endpoints from the "InitiatorEndpoints" and "TargetEndpoints" properties.  (Not implemented for EndpointGroups.)
*        To reset to an empty system:
o   DELETE /redfish/v1/resetclear



Follow-up questions:
*        Is there anything else I need to add for SC?  I don't think we had discussed supporting modifying or deleting connections (or MemoryChunks), just creating.  If we need more functionality, let me know.

I've found another bug that I'll be fixing on other objects (it's good for Connections / MemoryChunks), that Russ will likely need:
-        When you send properties in the body of the request on a POST operation, the properties were not being copied in.  I have an easy fix for this, but it has to be replicated in each object.

Thanks,
Richelle


Richelle Ahlvers

Richelle.ahlvers at intel.com<mailto:Richelle.ahlvers at intel.com>
+1 720-652-5711 (work)
+1 719-659-0166 (cell)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofmfwg/attachments/20211105/7a53cee4/attachment-0001.htm>


More information about the Ofmfwg mailing list