I am in the process of migrating the ManageIQ code that interacts with NetApp Filers away from the older NetApp SDK that relies on “c”-language libraries (and bindings to the same) to a newer version of the SDK that uses Ruby code.
The Ruby code ships with the latest versions of the SDK. The code is not shipped in the form of a Ruby Gem; there are (currently) just four Ruby files that must be installed someplace on the customer system. There is no installation script/program with the SDK, so it is up to the NetApp customer to decide where to place the code.
One would think that the NetApp code cannot be added into the ManageIQ source tree on github. Given this as a starting point, I believe we have the following options:
-
Pick a (semi-) standard location for the NetApp/ruby code (something like /usr/lib/NetApp/ruby comes to mind) and inform the customer (via documentation, etc.) that the code from the SDK must be installed in that location.
-
Start with the same location as above, but allow the customer to install the code in an alternate location if they so choose, and to indicate the new location to ManageIQ by way of a change to the application config “yml” file (via the Advanced Configuration screens in the UI) Also requires documentation to step the customer through this process.
I welcome any and all comments/questions etc.