mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralgw.git
synced 2025-10-28 17:32:26 +00:00
Signed-off-by: stephb9959 <stephane.bourque@gmail.com>
This commit is contained in:
@@ -950,6 +950,12 @@ rrm_kick() {
|
||||
jq < ${result_file}
|
||||
}
|
||||
|
||||
deletesimulateddevices() {
|
||||
curl ${FLAGS} -X DELETE "https://${OWGW}/api/v1/devices?simulatedDevices=true" \
|
||||
-H "Accept: application/json" \
|
||||
-H "Authorization: Bearer ${token}"
|
||||
}
|
||||
|
||||
check_response() {
|
||||
|
||||
if [ -s "$1" ]; then
|
||||
@@ -1239,6 +1245,7 @@ case "$1" in
|
||||
"transferdevice") login; transferdevice "$2" "$3" "$4"; logout;;
|
||||
"certupdate") login; certupdate "$2" "$3"; logout;;
|
||||
"rrm_kick") login; rrm_kick "$2" "$3" "$4" "$5"; logout;;
|
||||
"deletesimulateddevices") login; deletesimulateddevices ; logout;;
|
||||
"testtoken") testtoken;;
|
||||
*) help ;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user