#ontap.na_ontap_ssh_command does it use zappi or rest

1 messages · Page 1 of 1 (latest)

junior dagger
#

does it use zappi or rest ?

cyan nexus
#

neither, It directly connects to ONTAP using paramiko module and runs the command in ONTAP cli

unkempt lark
#

What about ontap.na_ontap_command? Does it work through ZAPI?

cyan nexus
#

yes

unkempt lark
#

When na_ontap_command is not supported in 9.12, we have to use na_ontap_ssh_command. But that won't support cert authentication, right?

cyan nexus
#

ONTAP 9.12.1 supports ZAPI, so na_ontap_command should work in 9.12

na_ontap_ssh_command dont support cert authentication as ONTAP does not allow it.

#

Error: ssh: cannot use cert to authenticate

unkempt lark
#

right, after 9.13. na_ontap_ssh_command also won't support cert auth, right?

cyan nexus
#

na_ontap_ssh_command only supports password authentication as of now.

unkempt lark
#

does it support ssh key auth?