ArubaOS-CX ConfigSource needed


Recommended Posts

I hoped since ArubaOS-CX is similar to HPE Procurve, I could just use the existing ConfigSource, but it times out in discovery.  I am generally willing to jump in and code solutions, but the current from-scratch monolithic coding methodology used for ConfigSources makes it effectively impossible for regular folks to do, so.... please add a new ArubaOS-CX module or extend HPE Procurve to support that flavor.  I have a pair of 8320's not yet in production I am able to get developers into.

Link to post
Share on other sites
29 minutes ago, Stuart Weenig said:

I think someone got carried away building that module and forgot SOLID (particularly SRP):

singleresponsibilityprinciple.jpg

I long ago despaired of ever doing anything with LMConfig modules since without OOP and library support, each is provided as a 1000+ line blob.  I assume in the backend, developers have a portal-like harness to work in that does not involve editing in the UI as we must.  If I ever did try to fix anything, the changes would be wiped on the next update (I have and they are). Exchange makes it a bit more palatable, but with that much code, the safe import process could still be pretty painful.  I am much more used to the idea of core overridable features in a library with a profile for each device type (e.g., Oxidized) or like our own getconfig script I wrote long ago where I only had to override 3-4 methods for new device types (how to login, what the prompt looks like, how to disable paging, etc.).  I would reference even RANCID, but would not like to see that method used in LM :).  Still, RANCID pulls much more useful details for devices -- adding more detail here means editing the blob.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.