pyats icon indicating copy to clipboard operation
pyats copied to clipboard

Support of "idrac" os connection

Open vyahello opened this issue 6 years ago • 4 comments

Hello everyone! I want to execute some ssh commands on idrac (integrated dell remote access controller) os but neither of available connections help me so far.

According to unicon official docs https://pubhub.devnetcloud.com/media/pyats-packages/docs/unicon/user_guide/introduction.html#supported-platforms it does not support the idrac platform.

Do we have support of idrac os somewhere (maybe in other packages)? Or is it planning to be introduced in the future? Thanks!

vyahello avatar Jan 31 '19 11:01 vyahello

hi

we don't have any idrac... actually never heard of this platform before. does it behave like linux? what platform is it based on? how do you connect to it?

simingy avatar May 16 '19 17:05 simingy

@siming85 Thanks for your answer! I know that you have support of cimc os (as I use it in my project) so I had an idea maybe you have also support of idrac os. In general idrac platform is kind of similar to cimc except it has own unique CLI syntax and to connect to it I use simple ssh command e.g ssh user@<idrac-ip>. And unfortunately it does not behave like a linux os thus I had to figure out how to deal with it through unicon package.

As a workaround I have found a solution for idrac platform is to use fxos connection from the unicon package and it works fine for me, but it is a bit weird because fxos has nothing related to idrac platform at all. Anyway I'm glad it works for now as I have no other options, thanks!

vyahello avatar May 16 '19 21:05 vyahello

take a look at $VIRTUAL_ENV/lib/python<ver>/site-packages/unicon/plugins folder

the code there is open-source. each plugin implements how Unicon connects with the device. take a look at the recipe here https://github.com/CiscoDevNet/pyats-plugin-examples/tree/master/unicon_plugin_example

simingy avatar May 17 '19 03:05 simingy

Just status update. still need help from community on this since we don't have the device which uses idrac. so keep pending.

tahigash avatar Sep 01 '20 16:09 tahigash