-
-
Notifications
You must be signed in to change notification settings - Fork 222
Labels
Description
Describe the bug
Changing configuration variable in the Organization settings does not change the device's config status.
Steps To Reproduce
- Create a shared template:
- Name: WiFi
- Organization: Shared
- Type: Generic
- Backend: OpenWrt
- Default Values:
{ "ssid": "Shared" }
- Config:
{ "interfaces": [ { "wireless": { "mode": "access_point", "radio": "radio0", "ssid": "{{ ssid }}" }, "type": "wireless", "name": "wlan0", "network": "br-lan" } ] }
- Create a device and apply this template to the device.
- Wait for the device's config status to change to "applied". You can also update it manually in the Django shell:
Config.objects.update(status='applied')
- In the organization settings, add a configuration variable and save the organization setting.
{ "ssid": "OrgA" }
Expected behavior
After adding the variable, the device's config status should change to "modified" and OpenWISP should try to push the configuration to the device.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
To do (Python & Django)