NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Python Discussions

Netapp_ontap.resources.cli execute netstat

Preethi
3,171 Views

How do i run system node run -node<> -command "netstat " using cli().execute?

 

I tried the below method but it says . Invalid Json input. Expecting "command" to be an array. 

 

Response=cli(). execute ("system node run", body={"node":"","command":"netstat",poll=false}

 

 

Please advise.

1 REPLY 1

RossC
2,795 Views

Hi @Preethi 

 

Sorry that no one from the community has been able to answer your question.

 

We have an active #ontap-api developer area on our NetApp Community Discord that might be worth checking out. Head on over to https://netappdiscord.com/ to get started. 

Public