Permalink
Browse files

[schema] Added human readable values for access_points and "802.11s"

  • Loading branch information...
nemesisdesign committed Apr 5, 2016
1 parent d91e671 commit 92f9a43c8844410bc62bbfd927daf2315d69bc37
Showing with 6 additions and 2 deletions.
  1. +6 −2 netjsonconfig/schema.py
@@ -431,7 +431,9 @@
"ap_wireless_settings": {
"title": "Access Point",
"allOf": [
{"properties": {"mode": {"enum": ["access_point"]}}},
{"properties": {
"mode": {"enum": ["access_point"],
"options": {"enum_titles": ["access point"]}}}},
{"$ref": "#/definitions/base_wireless_settings"},
{"$ref": "#/definitions/ssid_wireless_property"},
{"$ref": "#/definitions/hidden_wireless_property"},
@@ -470,7 +472,9 @@
"mesh_wireless_settings": {
"title": "802.11s (mesh)",
"allOf": [
{"properties": {"mode": {"enum": ["802.11s"]}}},
{"properties": {
"mode": {"enum": ["802.11s"],
"options": {"enum_titles": ["802.11s (mesh)"]}}}},
{"$ref": "#/definitions/base_wireless_settings"},
{"$ref": "#/definitions/mesh_id_wireless_property"},
{"$ref": "#/definitions/encryption_wireless_property"},

0 comments on commit 92f9a43

Please sign in to comment.