Fixing firmware inheritance rules.

This commit is contained in:
stephb9959
2021-10-27 14:42:42 -07:00
parent 7740c501f3
commit 66649d821e
4 changed files with 57 additions and 0 deletions

View File

@@ -449,6 +449,15 @@ addresscheck() {
wscat -c wss://${OWPROV}/api/v1/ws
}
affecteddevices() {
computedAffected
curl ${FLAGS} -X GET "https://${OWPROV}/api/v1/configurations/${1}?computedAffected=true" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${token}" \
-H "accept: application/json" > ${result_file}
jq < ${result_file}
}
shopt -s nocasematch
case "$1" in
"login") login; help ; logout ;;