HewlettPackard / python-ilorest-library-old

Python library for iLO RESTful API
Apache License 2.0
88 stars 65 forks source link

Does this work for HP Insight CMU (Moonshot)? #13

Closed rdeusser closed 7 years ago

rdeusser commented 8 years ago

I suspect that it wouldn't, but I figured I'd ask anyway.

LumbaJack commented 8 years ago

They wont work without modification. They are based on the resource directory and the moonshot servers don't have it. What exactly are you trying to do? I may be able to help you modify them to work for you.

rdeusser commented 8 years ago

@LumbaJack I basically want to create a Python CLI to the CMU so I don't have to use the web GUI. I prefer working in a CLI environment. I need to be able to create an autoinstall image group and run a kickstart on all of the cartridges in a Moonshot chassis.

LumbaJack commented 8 years ago

Have you used HPREST before? This may be what you are looking for as it is built on top of this library. http://www8.hp.com/us/en/products/server-software/product-detail.html?oid=7630408

PS> it is going open source very soon.

rdeusser commented 8 years ago

I haven't used it before. I'll see what that can do for me. Thanks!

rdeusser commented 8 years ago

@LumbaJack Is it written in Python? I would be nice to be able to call this from Python directly.

LumbaJack commented 8 years ago

Yes it is written in python and will be modular so that you can build your own version of the utility.

brookshire commented 8 years ago

@iamthemuffinman You can drive CMU using the CLI utilities in /opt/cmu/bin, and /opt/cmu/tools. The Moonshot Provisioning Manager sits on top of CMU and does just that. You can download MPM and look at the source in /opt/hp/moonshot/tinkerbell/prov_mgr/cmu.py--that is the wrapper around the CMU CLI tools.

rdeusser commented 8 years ago

@brookshire Awesome! Do you know where I can get MPM at?

brookshire commented 8 years ago

It is distributed as a VM image at https://h20392.www2.hpe.com/portal/swdepot/displayProductInfo.do?productNumber=HPMPM1

brookshire commented 8 years ago

If you don't have VM player, I can find the RPM and upload it to an FTP site.

LumbaJack commented 7 years ago

@iamthemuffinman did this resolve your issue?

rdeusser commented 7 years ago

@LumbaJack Ah, yes sorry I forgot to close this. Thank you!