scripts/completions/_rping.zsh
Anna Schumaker 38d323c5ab Create an rping.zsh script
For testing RDMA connections between two machines. I also convert the
cthon.zsh script to use it before testing.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-15 13:47:58 -05:00

13 lines
297 B
Bash

#compdef rping.zsh
function _rping.zsh() {
_arguments \
'1:mode:(siw rxe)' \
'2:client: _alternative
"hosts:hosts: _ssh_hosts"
"domains:domains:($(virsh list --all --name))"' \
'3:server: _alternative
"hosts:hosts: _ssh_hosts"
"domains:domains:($(virsh list --all --name))"'
}