mirror of
https://github.com/Telecominfraproject/wlan-ucentral-schema.git
synced 2026-01-27 10:23:38 +00:00
enable unicast conversion on wifi instead of bridge layer
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -20,7 +20,6 @@ set network.@device[-1].name=up
|
||||
set network.@device[-1].type=bridge
|
||||
set network.@device[-1].stp={{ loop_detect("upstream") }}
|
||||
set network.@device[-1].igmp_snooping='1'
|
||||
set network.@device[-1].multicast_to_unicast='1'
|
||||
|
||||
{% if (capab.platform != "switch"): %}
|
||||
add network device
|
||||
@@ -28,7 +27,6 @@ set network.@device[-1].name=down
|
||||
set network.@device[-1].type=bridge
|
||||
set network.@device[-1].stp={{ loop_detect("downstream") }}
|
||||
set network.@device[-1].igmp_snooping='1'
|
||||
set network.@device[-1].multicast_to_unicast='1'
|
||||
|
||||
{% endif %}
|
||||
set network.up_none=interface
|
||||
|
||||
@@ -77,6 +77,7 @@ properties:
|
||||
description:
|
||||
Convert multicast traffic to unicast on this BSS.
|
||||
type: boolean
|
||||
default: true
|
||||
services:
|
||||
description:
|
||||
The services that shall be offered on this logical interface. These are
|
||||
|
||||
@@ -4448,6 +4448,9 @@ function instantiateInterfaceSsid(location, value, errors) {
|
||||
if (exists(value, "unicast-conversion")) {
|
||||
obj.unicast_conversion = parseUnicastConversion(location + "/unicast-conversion", value["unicast-conversion"], errors);
|
||||
}
|
||||
else {
|
||||
obj.unicast_conversion = true;
|
||||
}
|
||||
|
||||
function parseServices(location, value, errors) {
|
||||
if (type(value) == "array") {
|
||||
|
||||
@@ -1684,7 +1684,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"unicast-conversion": {
|
||||
"type": "boolean"
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"services": {
|
||||
"type": "array",
|
||||
|
||||
Reference in New Issue
Block a user