Skip to content

Commit

Permalink
[airos] added snippet for the undecided about authentication encryption
Browse files Browse the repository at this point in the history
  • Loading branch information
edoput committed Jul 25, 2017
1 parent 42e9867 commit 539d8ff
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions docs/source/backends/airos.rst
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,31 @@ And another that set the authentication protocol to WPA2 enterprise, but this is
{
"name": "wlan0",
"type": "wireless",
"encryption": {
"protocol": "wpa2_enterprise",
"key": "changeme"
"wireless": {
"encryption": {
"protocol": "wpa2_enterprise",
"key": "changeme"
}
}
}
]
}
The ``encryption`` property **must** be specified otherwise you will experience a ``ValidationError``, if you are not sure on what you want
use this snippet to set to no encryption

.. code-block:: json
{
"interfaces": [
{
"name": "wlan0",
"type": "wireless",
"wireless": {
"encryption": {
"protocol": "none"
}
}
}
}
Leaving the `NetJSON Encryption object <http://netjson.org/rfc.html#rfc.section.5.4.2.1>` empty defaults to no encryption at all.

0 comments on commit 539d8ff

Please sign in to comment.