Unable to set sp_default: true with fw 8.1.1

When deploying routers we change a few settings and then set those as the default config with the API endpoint /rest/o/{organization_id}/g/{group_id}/sp_default.

It has worked great so far, but it does not work anymore with the 8.1.1 firmware on MAX HD4 routers.

I have tested two different HD4 routers on separate instances of IC2 appliance with the same results. IC2 appliances running version 2.8.6 and 2.8.6.1.

Below this is demonstrated with the swagger interface at /api/restful_api.

POST /rest/o/{organization_id}/g/{group_id}/sp_default
The data sent was: {“data”: {“active”: true,“device_ids”: [18]}}

GET /rest/o/{organization_id}/g/{group_id}/sp_default
The router does not change the “sp_default” to “true” as would be expected.

Downgraded to firmware 8.1.0 for testing. There it works as expected.

POST /rest/o/{organization_id}/g/{group_id}/sp_default
The data sent was: {“data”: {“active”: true,“device_ids”: [18]}}

GET /rest/o/{organization_id}/g/{group_id}/sp_default
Here the value of sp_default changes to true as expected.

Can you confirm if this is a bug, or am I doing something wrong?

This is a bug from firmware 8.1.1. We will fix it in 8.2.0. You may remain using 8.1.0 for the time being.

Thanks.

1 Like

Thanks for the quick response.

After some further testing i have found that i can set sp_default to true first and then upgrade to 8.1.1. Sp_default stays at true after upgrading.

1 Like