Unfortunately, there is no API that gives you access to the node system shell.
Hi, what information are you trying to get by doing that? I can point you to some APIs based on the workflows you are trying to automate.
Hi, I'm trying to verify if an existing snapshot delete job is currently running on a volume before allowing new snapshot deletion job. Workflow would be,
1) got to node shell
> system node run -node <node>
2) priv set diag
3) verify volume snap status,
*> snap status <volume>
Thanks!
Got it. Have you tried using the /storage/volumes/{volume.uuid}/snapshots API? That might give you what you need.
It does not. I'm hoping that there is a way to issue an API call to go to the node shell (then I'll figure out how to issue a command with it). The key is to have a REST API call that can take me to the node shell.