Skip to content

Commit 00e784e

Browse files
committed
[OpenWrt schema] Added default switch settings
"reset" and "enable_vlan" now default to True.
1 parent 96d216d commit 00e784e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

netjsonconfig/backends/openwrt/schema.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,13 @@
158158
},
159159
"reset": {
160160
"type": "boolean",
161+
"default": True,
161162
"propertyOrder": 2,
162163
},
163164
"enable_vlan": {
164165
"type": "boolean",
166+
"title": "enable vlan",
167+
"default": True,
165168
"propertyOrder": 3,
166169
},
167170
"vlan": {

0 commit comments

Comments
 (0)