This repository was archived by the owner on Oct 28, 2022. It is now read-only.
Replies: 1 comment
-
I'm afraid that not possible, I would use a simple bash script like this: #!/bin/bash
set -e
ip_addrs=(
"172.1.2.3"
"191.1.2.3"
)
update_file_names=(
"/path/to/file1"
"/path/to/file2"
)
for i in "${!ip_addrs[@]}"
do
gnmic -a "${ip_addrs[$i]}" --insecure set --update-path $PATH1 --update-file "${update_file_names[$i]}"
done EDIT: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to update multiple targets with individual update values at the same time ?
For example: Can I achieve this in any way ?
gnmic -a --insecure set --update-path PATH1 --update-file FILE1 -a set --update-path PATH1 --update-file FILE2
Beta Was this translation helpful? Give feedback.
All reactions