_# Nokia SR OS parallel example (CLI) — two devices, concurrent _HOST sections
_#
_# 1) OPTIONAL, Check syntax only (${VAR} placeholders are not substituted):
_#    sshtemp --check examples/04-parallel-jumpserver-nokia_sros-cli.txt
_#
_# 2) Run in parallel (substitutes ${VAR} from the environment; prompts if missing):
_#    export JUMP_PASSWORD=clab
_#    export DEVICE_PASSWORD=NokiaSros1!
_#    sshtemp -p 2 examples/04-parallel-jumpserver-nokia_sros-cli.txt
_#    sshtemp --parallel 2 examples/04-parallel-jumpserver-nokia_sros-cli.txt
_#


_# --- 10.100.100.3 DEVICE CONNECTION ---
_HOST: 172.29.112.112
_USERNAME: clab
_PASSWORD: ${JUMP_PASSWORD}
_PORT: 2222
_EXPECT: #\s*$
_LOGID: 10.100.100.3

_IF: continue connecting
_THEN: yes
_IF: .*assword:
_THEN: ${DEVICE_PASSWORD}

ssh -o PubkeyAuthentication=no -o PreferredAuthentications=password -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null admin@10.100.100.3

environment no more
_CAPTURE:show_version_10.100.100.3.txt
show version
_END


_# --- 10.100.100.4 DEVICE CONNECTION ---
_HOST: 172.29.112.112
_USERNAME: clab
_PASSWORD: ${JUMP_PASSWORD}
_PORT: 2222
_EXPECT: #\s*$
_LOGID: 10.100.100.4

_IF: continue connecting
_THEN: yes
_IF: .*assword:
_THEN: ${DEVICE_PASSWORD}

ssh -o PubkeyAuthentication=no -o PreferredAuthentications=password -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null admin@10.100.100.4

environment no more
_CAPTURE:show_version_10.100.100.4.txt
show version
_END
