I just discovered the device override :-)
I question, it seems that the bridge members are appended instead of
overridden.
Example template:
{
"interfaces": [
{
"type": "bridge",
"bridge_members": [
"eth0.52"
],
"name": "wlan52",
"autostart": true,
"network": "vif_vlan_52",
"disabled": false,
"addresses": [],
"wireless": {
"mode": "access_point",
"radio": "radio0",
"ssid": "Wifi1",
"encryption": {
"key": "************",
"protocol": "wpa2_personal",
"cipher": "ccmp"
},
"isolate": false,
"wmm": true,
"wpa_disable_eapol_key_retries": true
},
"delegate": 0,
"force_link": 1
}
]
}
Bridge member "eth0.52" need to be "eth0.1" on device level, so i add
following config at device:
{
"interfaces": [
{
"type": "bridge",
"bridge_members": [
"eth0.1"
],
"name": "wlan52",
"autostart": true,
"network": "vif_vlan_52",
"disabled": false,
"addresses": [],
"delegate": 0,
"force_link": 1
}
]
}
But i get the following results:
config interface 'vif_vlan_52'
option auto '1'
option delegate '0'
option enabled '1'
option force_link '1'
option ifname 'eth0.52 eth0.1'
option proto 'none'
option type 'bridge'
Is this expected behavior? How can i delete the template bridge member?
--
You received this message because you are subscribed to the Google Groups
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.