mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-10-29 09:42:38 +00:00
Signed-off-by: stephb9959 <stephane.bourque@gmail.com>
This commit is contained in:
@@ -528,6 +528,14 @@ getvenuedevices() {
|
||||
jq < ${result_file}
|
||||
}
|
||||
|
||||
getvenuesperrrm() {
|
||||
curl ${FLAGS} -X GET "https://${OWPROV}/api/v1/venue?RRMvendor=$1" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer ${token}" \
|
||||
-H "Accept: application/json" > ${result_file}
|
||||
jq < ${result_file}
|
||||
}
|
||||
|
||||
listrrmalgos() {
|
||||
setrrm
|
||||
curl ${FLAGS} -X GET "http://${OWRRM}/api/v1/algorithms" \
|
||||
@@ -546,6 +554,7 @@ rrmprovider() {
|
||||
jq < ${result_file}
|
||||
}
|
||||
|
||||
|
||||
notifications() {
|
||||
if [[ -z "$1" ]]
|
||||
then
|
||||
@@ -664,6 +673,7 @@ case "$1" in
|
||||
"deleteoverride") login; deleteoverride "$2"; logout;;
|
||||
"venueupgraderevisions") login; venueupgraderevisions "$2"; logout;;
|
||||
"getsystemconfiguration") login; getsystemconfiguration "$2"; logout;;
|
||||
"getvenuesperrrm") login; getvenuesperrrm "$2"; logout;;
|
||||
*) help ;;
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user