Python Discussions

Netapp_ontap.resources.cli execute netstat

Preethi
1,425 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
1,049 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