Developer Community

Who Me Too'd this topic

New Contributor

How to set the controller discovery to static using API on the Mobility Master

Trying to automate all AP deployment within our organization I am working with the API on our Mobility Master (ArubaMM-VA,8.2.1.1)

 

I have been succesfully renaming(ap_rename call) APs using the API and also regrouping(ap_regroup) the AP is working well.

 

I thought that the API function (ap_prov) would help me setting the controller discovery to static, but even though I get a succesful respons, It doesn't really seem to do anything.

 

This is the response I get from the API, but it doesn't set my controller discovery to static.

 

{
"ap_prov": {
"ap_name": {
"ap-name": "a8:bd:27:c5:ce:78",
"_result": {
"status": 0,
"status_str": "NOTE: For cert RAP; ap-name (if specified) in RAP whitelist entry will take the highest preference"
}
},
"ap_group": {
"ap-group": "ag-TESTGROUP",
"_result": {
"status": 0,
"status_str": ""
}
},
"master": {
"master": "10.0.1.15",
"_result": {
"status": 0,
"status_str": ""
}
},
"_result": {
"status": 0,
"status_str": ""
}
},
"_global_result": {
"status": 0,
"status_str": "Success",
"_pending": false
}
}

 

Hopefully one of you can help me with this. 

Who Me Too'd this topic