mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-10-29 01:32:31 +00:00
Adding tree import.
This commit is contained in:
@@ -332,13 +332,11 @@ listconfigs() {
|
||||
}
|
||||
|
||||
deviceconfig() {
|
||||
gettag() {
|
||||
curl ${FLAGS} "https://${OWPROV}/api/v1/inventory/$1?config=true" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer ${token}" \
|
||||
-H "accept: application/json" > ${result_file}
|
||||
jq < ${result_file}
|
||||
}
|
||||
curl ${FLAGS} "https://${OWPROV}/api/v1/inventory/$1?config=true" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer ${token}" \
|
||||
-H "accept: application/json" > ${result_file}
|
||||
jq < ${result_file}
|
||||
}
|
||||
|
||||
shopt -s nocasematch
|
||||
|
||||
Reference in New Issue
Block a user